No niin....
Onnistuin asentamaan plugin....
Mutta ääni ei kuulu, ilmoittaa Waiting for LastFM track details... eikä etene
Help osiosta löytyi, alla oleva pätkä, oletko tehnyt nuo muutokset, toimiiko?
Firefox fiaxaaminen menee vielä ok, mutta windows Vista, mistä löytyy tuo "HKEY_CLASSES_ROOT" ja miten sitä editoidaan?
REQUIREMENTS
* Windows XP
* firefox
To make the radio links playable you need to
* Make sure firefox understands the protocol
* make sure Windows understands the protocol
For the following I will use the following attributes:
* $SERVERHOST$ the ip address/name of your SlimServer
* $WEBPORT$ the port of the web interface (usually 9000)
* $LASTFMDIR$ directory of the lastfm plugin
* $PERLEXE$ full path to perl.exe
Note: you can use wperl.exe (this does not open a command line window so you don't get the brief 'black box on screen' that you would with perl.exe).
FIREFOX
Fire up firefox and browse to about:config
in the main pane right click "New String"
Create a string network.protocol-handler.app.lastfm = $PERLEXE$ $LASTFMDIR$\playStation.pl
WINDOWS
You need to make some changes in the registry to make the protocol work in particular you need to add LastFM to the HKEY_CLASSES_ROOT. The structure of the entries is as follows
[HKEY_CLASSES_ROOT\lastfm]
(Default) = "LastFM protocol"
"URL Protocol" = ""
[HKEY_CLASSES_ROOT\lastfm\DefaultIcon]
(Default)="Notepad.exe"
[HKEY_CLASSES_ROOT\lastfm\shell]
[HKEY_CLASSES_ROOT\lastfm\shell\open]
[HKEY_CLASSES_ROOT\lastfm\shell\open\command]
(Default)="$PERLEXE$ \"$LASTFMDIR$\\playStation.pl\" \"$SERVERHOST$\" \"$WEBPORT$\" \"%1\""
If you have more than one player, add the name of the player you want to use to the end of that last property; for example:
"$PERLEXE$ \"$LASTFMDIR$\\playStation.pl\" \"$SERVERHOST$\" \"$WEBPORT$\" \"%1\" \"Study\""
After all that restart firefox and click on a radio link. It should throw up a prompt to confirm you want to launch the program - say yes. Slim server should start playing the stream.