Squeezebox & Last.fm

jj_Julle

Käyttäjä
Liittynyt
1.12.2007
Viestejä
40
Onnistuuko Last.fm:n "striimaminen" SB:n kautta?

Squeezenetworkissa tällainen ilmoitus Last.fm välilehdellä:

" Right now we can only stream Last.fm radio to the Squeezebox in the US, UK and Germany—we are working on extending this to other territories. In the meantime, you can listen to Last.fm radio on your computer in other countries"

Onko mitään keinoa kiertää tätä?
 
Tuo maarajoitus on kyllä todella hölmö ominaisuus. Onneksi se voidaan kiertää asentamalla erillinen squeezescrobbler -plug in.

Mikäli plugareiden asennus ei ole tuttua:
Helpoiten asennus onnistuu mielestäni extension downloaderin (web käyttöliittymästä: Settings->Plugins->Extension downloader-> settings) kautta lisäämällä asennuslähteisiin (Additional repositories) seuraava rivi:
http://slimscrobbler.sourceforge.net/repository.xml

Toki pluginien asennus onnistuu myös kopioimalla asennuspaketti oikeaan hakemistoon, mutta tuo muistaakseni slimserver 7.3 myötä tullut downloader on mielestäni aika kätevä.
 
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.
 
jj_Julle sanoi:
Firefox fiaxaaminen menee vielä ok, mutta windows Vista, mistä löytyy tuo "HKEY_CLASSES_ROOT" ja miten sitä editoidaan?

Vistaa ei ole, mutta XP:ssä se menee näin:
Start-menusta > Run... > kirjoita: regedit

(äläkä sitten koske mihinkään mitä et osaa käyttää =)
 
Löytyi...

Näyttää kyllä siltä, että joku joka on kokeillut saa kertoa mitä tehdä ja miten meni - ei oikein huvittaisi vistaa asenta uudelleen...
 
Valitettavasti minä ainakaan en osaa auttaa, sillä oma systeemini pyörii Linuxilla eikä vastaavia ongelmia ole ollut.
 
Näyttää toimivan myös Vistassa ilman muutoksia, kun Sc versio on 7.3.2.

Kannattaa kokeilla, melko mainio palvelu...
 
Moi,

Saakos tällä toiminnolla myös pandora.com:in toimimaan Suomessa? Jos saa, niin mahtava homma.
 
Onkos kukaan saanut toimimaan Squeezebox Duetin kaukosäätimellä? Sain homman toimimaan muuten hienosti, mutta Last.fm -"radiokanavien" kuuntelu onnistuu vain pc:llä tai pc:n kautta SqueezeCenteriä käytettäessä. Duetin kapulaan tulee kyllä last.fm valikkoon vaikka mitä vaihtoehtoja, mutta en pääse niitä valitsemaan..laite napsahtelee paikallaan.
 
Ok, no sitten ei pitäisi olla siinä vika. Itsellä oli ensin 7.4 ja sen kanssa ei toiminut.
 
jj_Julle sanoi:
Ok, no sitten ei pitäisi olla siinä vika. Itsellä oli ensin 7.4 ja sen kanssa ei toiminut.

Eli siis tästä päättelin että toimii sulla mainiosti ihan suoraan kaukollakin? Pitää ruveta säätään jotain. Ei viitsis aina käynnistellä selaimen kautta.
 
Back
Ylös