Squeezebox Modul - erste Version

Begonnen von bugster_de, 17 Dezember 2013, 22:12:10

Vorheriges Thema - Nächstes Thema

ChrisD

Hallo,

Kannst du einen Neustart von FHEM machen mit verbose 4 beim SB_SERVER und das Log posten (vor allem die Zeilen mit ...4: SB_SERVER_...) ?

Ich bin dabei mir 'talk' anzusehen, allerdings gibt es dabei einige Probleme beim 'Fortsetzen', insbesondere bei aktivem Shuffle und zufälligen Favoriten. Das automatische Fortsetzen nach einem 'talk' bei normalen Playlisten sollte jetzt bereits funktionieren.

Grüße,

ChrisD

oliv06

I am using v25, and I encounter issues with coverarts, which only work on local files. They are broken on radios and spotify (using triode's plugin).

I don't understand where is the ARTWORKURL coming from.

Here is an example of a  coverarturl I get : http://www.mysqueezebox.com/public/imageproxy?u=imageproxy%2Fspotify%3Aimage%3A6d2a1eb52391c214096b04cf46a18bf2a8ccdddb%2Fimage.jpg&h=50&w=50

Why isn't the local LMS server  URL (e.g. http://LMS:9000/music/current/cover_50x50.jpg?player= &x=randomnumber) used in all cases ? It seems that for remote sites image is not redimensioned, but it is possible to render it the right size in a readingsGroup :
valueIcon { 'coverarturl' => '<div><img src="%VALUE" width="50 height="50"></div>' }

ChrisD

Hi,

The ARTWORKURL is coming from the server and is part of the status message (tag artwork_url). The server does not generate a local copy of the image for remote streams, therefore you can not use http://lms:9000/music/current/cover_50x50.jpg...

Can you give an example of a radio station that doesn't work ? The images should be redimensioned through the imageproxy on mysqueezebox.com, can you post an url that doesn't work ?

I think that spotify requires special handling for cover art, can you post the content of the internal ARTWORKURL ?

Regards,

ChrisD

trapperjohn

Zitat von: ChrisD am 07 Februar 2015, 16:38:10
- dein notify abschalten
- das Attribut 'verbose' beim Server auf 4 setzen
- Save config anklicken
- FHEM beenden
- FHEM neu starten
- etwas warten
- die Zeilen aus der FHEM-Logdatei posten die SB_SERVER enthalten
- das Attribut 'verbose' beim Server wieder löschen
- das notify wieder reaktivieren

Das sieht dann so aus:


2015.02.08 14:02:50 3: Opening Squeeze device 127.0.0.1:9090
2015.02.08 14:02:50 3: Squeeze device opened
[...]
2015.02.08 14:02:50 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:global
[...]
2015.02.08 14:02:50 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:HMLAN1
[...]
2015.02.08 14:02:50 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:HMLAN1
[...]
2015.02.08 14:02:51 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:RfxTrx
[...]
2015.02.08 14:02:51 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:RfxTrx
[...]
2015.02.08 14:02:55 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:WindowWestLeft
2015.02.08 14:02:55 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:ActionDetector
[...]
2015.02.08 14:02:55 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:WindowWestRight
2015.02.08 14:02:55 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:ActionDetector
[...]
2015.02.08 14:02:56 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:Awning
[...]
2015.02.08 14:02:57 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:GardenLights
2015.02.08 14:03:00 4: SB_SERVER_DoInit(Squeeze): called
2015.02.08 14:03:00 4: SB_SERVER_Broadcast(Squeeze): called
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d artist ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d album ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d title ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d playlist url ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d remote ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d status 0 500 tags:Kc
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d player ip ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d player model ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d player canpoweroff ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d name ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d power ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d connected ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 artist ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 album ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 title ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 playlist url ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 remote ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 status 0 500 tags:Kc
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 player ip ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 player model ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 player canpoweroff ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 name ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 power ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 connected ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce artist ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce album ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce title ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce playlist url ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce remote ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce status 0 500 tags:Kc
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce player ip ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce player model ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce player canpoweroff ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce name ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce power ?
2015.02.08 14:03:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce connected ?
2015.02.08 14:03:20 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:TX3
2015.02.08 14:03:57 1: SB_PLAYER_Get: called with Squeeze.Pi ?
2015.02.08 14:04:24 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:TX3
2015.02.08 14:04:50 4: SB_SERVER_Alive(Squeeze): called
2015.02.08 14:04:50 4: SB_SERVER_Read(Squeeze): called
2015.02.08 14:04:50 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:Squeeze
2015.02.08 14:04:50 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:fhemalivecheck...
2015.02.08 14:04:50 4: SB_SERVER_ParseCmds(Squeeze): called
2015.02.08 14:04:50 4: SB_SERVER_ParseCmds(Squeeze): alivecheck received
2015.02.08 14:04:50 4: SB_SERVER_Read(Squeeze): called
2015.02.08 14:04:50 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:12:a6:0d artist ?...
2015.02.08 14:05:00 4: SB_SERVER_Alive(Squeeze): called
2015.02.08 14:05:00 4: SB_SERVER_Read(Squeeze): called
2015.02.08 14:05:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:fhemalivecheck...
2015.02.08 14:05:00 4: SB_SERVER_ParseCmds(Squeeze): called
2015.02.08 14:05:00 4: SB_SERVER_ParseCmds(Squeeze): alivecheck received
2015.02.08 14:05:26 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:TX3
2015.02.08 14:06:28 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:TX3
2015.02.08 14:06:50 4: SB_SERVER_Alive(Squeeze): called
2015.02.08 14:06:50 4: SB_SERVER_Read(Squeeze): called
2015.02.08 14:06:50 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:fhemalivecheck...
2015.02.08 14:06:50 4: SB_SERVER_ParseCmds(Squeeze): called
2015.02.08 14:06:50 4: SB_SERVER_ParseCmds(Squeeze): alivecheck received
2015.02.08 14:07:00 4: SB_SERVER_Alive(Squeeze): called
2015.02.08 14:07:00 4: SB_SERVER_Read(Squeeze): called
2015.02.08 14:07:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:fhemalivecheck...
2015.02.08 14:07:00 4: SB_SERVER_ParseCmds(Squeeze): called
2015.02.08 14:07:00 4: SB_SERVER_ParseCmds(Squeeze): alivecheck received
2015.02.08 14:07:30 4: SB_SERVER_Notify(Squeeze): calledOwn:Squeeze Device:TX3
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d artist ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d album ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d title ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d playlist url ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d remote ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d status 0 500 tags:Kc
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d player ip ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d player model ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d player canpoweroff ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d name ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d power ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d connected ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 artist ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 album ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 title ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 playlist url ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 remote ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 status 0 500 tags:Kc
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 player ip ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 player model ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 player canpoweroff ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 name ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 power ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 connected ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce artist ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce album ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce title ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce playlist url ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce remote ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce status 0 500 tags:Kc
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce player ip ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce player model ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce player canpoweroff ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce name ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce power ?
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce connected ?
2015.02.08 14:08:00 4: SB_SERVER_Read(Squeeze): called
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:12:a6:0d artist ?...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:12:a6:0d album ?...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:12:a6:0d title ?...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:12:a6:0d playlist url ?...
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:12:a6:0d mode ?
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:12:a6:0d remote ?...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:12:a6:0d status 0 500 tags:Kc...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:12:a6:0d player ip ?...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:12:a6:0d player model ?...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:12:a6:0d player canpoweroff ?...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:12:a6:0d name ?...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:12:a6:0d power ?...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:12:a6:0d connected ?...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:27:65:58 artist Billy Idol...
2015.02.08 14:08:00 4: SB_SERVER_Read(Squeeze): called
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:27:65:58 album...
2015.02.08 14:08:00 4: SB_SERVER_Read(Squeeze): called
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:27:65:58 title Flesh For Fantasy...
2015.02.08 14:08:00 4: SB_SERVER_Read(Squeeze): called
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:27:65:58 playlist url ...
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:00:04:20:27:65:58 mode ?
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:27:65:58 remote 1...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:27:65:58 status 0 500 tags:Kc player_name:Küche player_connected:1 player_ip:192.168.1.103:60154 power:1 signalstrength:35 mode:play remote:1 current_title:105.5 Spreeradio Livestream time:4281.00390319061 rate:1 mixer volume:26 playlist repeat:0 playlist shuffle:0 playlist mode:off seq_no:865 playlist_cur_index:0 playlist_timestamp:1423396597.0024 playlist_tracks:1 remoteMeta:HASH(0xa302128) playlist index:0 id:-170553312 title:Flesh For Fantasy artwork_url:http://d3tybumvrk5xfv.cloudfront.net/gn/2L1TDDNH81g.jpg coverid:-170553312...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:27:65:58 player ip ? 192.168.1.103:60154...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:27:65:58 player model ? baby...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:27:65:58 player canpoweroff ? 1...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:27:65:58 name Küche...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:27:65:58 power 1...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:27:65:58 connected 1...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:b8:27:eb:27:5a:ce artist Placebo...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:b8:27:eb:27:5a:ce album...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:b8:27:eb:27:5a:ce title Loud Like Love...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:b8:27:eb:27:5a:ce playlist url Slim::Schema::Playlist=HASH(0xa23f5c0)...
2015.02.08 14:08:00 4: SB_SERVER_Write(Squeeze): called with FN:b8:27:eb:27:5a:ce mode ?
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:b8:27:eb:27:5a:ce remote 1...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:b8:27:eb:27:5a:ce status 0 500 tags:Kc player_name:Badezimmer player_connected:1 player_ip:192.168.1.184:51171 power:0 signalstrength:0 mode:stop remote:1 current_title:Placebo - Loud Like Love time:0 rate:1 mixer volume:63 playlist repeat:0 playlist shuffle:0 playlist mode:off seq_no:0 playlist_id:19401 playlist_name:Badezimmer playlist_modified:0 playlist_cur_index:1 playlist_timestamp:1423381764.01402 playlist_tracks:5 remoteMeta:HASH(0x88b0af8) playlist index:0 id:-170539640 title:Timber (feat. Ke$ha) artwork_url:html/images/radio.png coverid:-170539640 playlist index:1 id:-169822864 title:Loud Like Love artwork_url:html/images/radio.png coverid:-169822864 playlist index:2 id:-169878432 title:direkt artwork_url:html/images/radio.png coverid:-169878432 playlist index:3 id:-142113008 title:I Bet You Look Good On the Dancefloor artwork_url:html/images/radio.png coverid:-142113008 playlist index:4 id:-169719056 title:Die besten Songs aller Zeiten artwork_url:html/images/favorites.png coverid:-169719056...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:b8:27:eb:27:5a:ce player ip ? 192.168.1.103:60154...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:b8:27:eb:27:5a:ce player model ? baby...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:b8:27:eb:27:5a:ce player canpoweroff ? 1...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:b8:27:eb:27:5a:ce name Badezimmer...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:b8:27:eb:27:5a:ce power 0...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:b8:27:eb:27:5a:ce connected 1...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:12:a6:0d mode ?...
2015.02.08 14:08:00 4: SB_SERVER_Read(Squeeze): called
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:00:04:20:27:65:58 mode play...
2015.02.08 14:08:00 4: SB_SERVER_DispatchCommandLine(Squeeze): Line:b8:27:eb:27:5a:ce mode stop...
2015.02.08 14:08:06 1: SB_PLAYER_Get: called with Squeeze.Pi ?


Undsoweiter...

ChrisD

Hallo,

Kannst du bitte nochmal mit den aktuellen Versionen (0010/0025) von hier testen ?

Grüße,

ChrisD




trapperjohn

Zitat von: ChrisD am 08 Februar 2015, 14:28:11
Kannst du bitte nochmal mit den aktuellen Versionen (0010/0025) von hier testen ?

Mit denen funktioniert's nach einem Neustart, danke! Kann ich die problemlos weiterverwenden oder kann ich mit unschönen Nebeneffekten rechnen?  ;)

oliv06

Zitat von: ChrisD am 08 Februar 2015, 13:36:37
Can you give an example of a radio station that doesn't work ? The images should be redimensioned through the imageproxy on mysqueezebox.com, can you post an url that doesn't work ?
No radio is working. e.g. :
radio :  Blues Classics- AddictedToRadio.com (États-Unis)   
URL :  http://opml.radiotime.com/Tune.ashx?id=s49071&formats=aac,ogg,mp3,wma,wmvoice&partnerId=16&serial=ec6dbc95aaefbf997e8d7ea8be2be02f 
ARTWORKURL : %2Fimageproxy%2Fhttp%253A%252F%252Fd3tybumvrk5xfv.cloudfront.net%252Fgn%252F3XD0MCXT0Dg.jpg%2Fimage.jpg

Zitat von: ChrisD am 08 Februar 2015, 13:36:37
I think that spotify requires special handling for cover art, can you post the content of the internal ARTWORKURL ?
ARTWORKURL : imageproxy%2Fspotify%3Aimage%3A0b43d3af942e79539ff47f88019c45ba3b78d066%2Fimage.jpg

Required icon (e.g. http://www.mysqueezebox.com/public/imageproxy?u=imageproxy%2Fspotify%3Aimage%3A0b43d3af942e79539ff47f88019c45ba3b78d066%2Fimage.jpg&h=50&w=50 ) gives the following error in a browser :
Error reading file imageproxy/spotify:image:0b43d3af942e79539ff47f88019c45ba3b78d066/image.jpg: read_file '/opt/sn/imageproxy/spotify:image:0b43d3af942e79539ff47f88019c45ba3b78d066/image.jpg' - sysopen: No such file or directory at /opt/sn/script/../lib/SDI/SqueezeNetwork/Controller/Public/ImageProxy.pm line 104

Note that the local URL works for both radios and spotify on my setup. Perheaps it is related to my version of LMS (Logitech Media Server Version : 7.9.0 - 1411111485 @ Mon Sep 22 04:01:30 UTC 2014) ?

oliv06

#577
After little investigations, it appears that last community version of LMS (7.9.0) handles coverart_url smoothly locally and does not need special treatments. This works well for me, for both radios, local files and Spotify :

    # compile the link to the album cover
#    if( $hash->{ISREMOTESTREAM} eq "0" ) {
        $hash->{COVERARTURL} = "http://" . $hash->{SBSERVER} . "/music/" .
            "current/cover_" . AttrVal( $name, "coverartheight", 50 ) .
            "x" . AttrVal( $name, "coverartwidth", 50 ) .
            ".jpg?player=$hash->{PLAYERMAC}&x=".int(rand(100000));      # CD 0025 added rand() to force browser refresh
#    } elsif( $hash->{ISREMOTESTREAM} eq "1" ) { # CD 0017 Abfrage  || ( $hash->{ISREMOTESTREAM} == 1 ) entfernt
        # CD 0011 überprüfen ob überhaupt eine URL vorhanden ist
#        if($hash->{ARTWORKURL} ne "?") {
#            $hash->{COVERARTURL} = "http://www.mysqueezebox.com/public/" .
#                "imageproxy?u=" . $hash->{ARTWORKURL} .
#                "&h=" . AttrVal( $name, "coverartheight", 50 ) .
#                "&w=". AttrVal( $name, "coverartwidth", 50 );
#        } else {
#            $hash->{COVERARTURL} = "http://" . $hash->{SBSERVER} . "/music/" .
#                $hash->{COVERID} . "/cover_" . AttrVal( $name, "coverartheight", 50 ) .
#                "x" . AttrVal( $name, "coverartwidth", 50 ) . ".jpg";
#        }
        # CD 0011 Ende
#    } else {
#        $hash->{COVERARTURL} = "http://" . $hash->{SBSERVER} . "/music/" .
#            $hash->{COVERID} . "/cover_" . AttrVal( $name, "coverartheight", 50 ) .     # CD 0011 -160206228 durch $hash->{COVERID} ersetzt
#            "x" . AttrVal( $name, "coverartwidth", 50 ) . ".jpg";
#    }


I do not know which versions have this behavior. It would be nice to check for the LMS version in order to handle this correctly in all cases

ChrisD

Hi,

ZitatI do not know which versions have this behavior. It would be nice to check for the LMS version in order to handle this correctly in all cases

LMS < 7.8: does not have the local proxy for resizing the image
LMS >=7.8: has the proxy but it must be activated in the preferences (Performance section)

So checking for the version is not enough, I think that I will check on the presence of 'imageproxy' in ARTWORKURL.

Regards,

ChrisD

ChrisD

Hallo,

@trapperjohn: Nebeneffekte kann ich natürlich nicht ausschließen, es sind mir im Moment aber keine gravierenden bekannt. Es ist auch einfacher Fehler zu finden und zu beheben wenn du die aktuelle Version verwendest.

Grüße,

ChrisD

oliv06

Zitat von: ChrisD am 08 Februar 2015, 16:38:11
So checking for the version is not enough, I think that I will check on the presence of 'imageproxy' in ARTWORKURL.
Thanks ChrisD, that would be great !

aeronaut

Hi, ich habe Verständnisfragen :-\ einmal zu der Squeezebox an sich und einmal zum Reifegrade der Anbindung.

Folgender Anwendungsfall: Einstellen/Abfrage der Weckzeit eines Weckers, der in Kastenform am Bett steht, sowohl von FHEM aus als auch direkt am Gerät.

Damit könnte ich die Badheizung 15 Minuten vor dem Aufstehen schon mal einschalten und behalte ein Standgerät direkt am Bett  :D

Was ich bis jetzt verstanden habe:

  • Man besorge sich eine Squeezebox (Ebay o.a)
  • Man installiere den SqueezeServer
  • Man benutze die Integration aus diesem Thread

Ist das soweit korrekt?

Kann die Weckzeit von FHEM aus ausgelesen und gesetzt werden?

Welches Squeezeboxmodell man dafür nimmt ist egal, da die Kommunikation via SqueezeServer geschieht?

lg
aeronaut

gibacht

Zitat von: ChrisD am 08 Februar 2015, 14:28:11
Hallo,

Kannst du bitte nochmal mit den aktuellen Versionen (0010/0025) von hier testen ?

Grüße,

ChrisD

Hallo,

hatte gar nicht mitbekommen, dass ich damit gemenit war. Also die letzte Version 11/26 läuft gar nicht so gut. Die favorites (Zufällige_Titel) werden von den anderen Playern nicht angezeigt. Auch nicht, wenn ich am Masterplayer umstelle.

Die Cover werden bei Zuf. Wiedergabe nur an einem Player (SB_Garten) aktualisiert. Das hat nicht damit zu tun an welchem ich den nächsten Titel wähle. (F5 bringt auch nichts).

Gruß
Dirk
HMLAN, TVserver Headless YAVDR mit LMS und FHEM, Rasperry PI Openelec als Clients.

trapperjohn

Zitat von: aeronaut am 09 Februar 2015, 21:45:19

Folgender Anwendungsfall: Einstellen/Abfrage der Weckzeit eines Weckers, der in Kastenform am Bett steht, sowohl von FHEM aus als auch direkt am Gerät.

Falls du dich jetzt schon per (Android) Handy wecken solltest, könntest du einfach Tasker nutzen, um mit FHEM zu reden...

mrbreil

Also das klingt für mich alles nach etwas sehr mächtigen und praktikablen. Aber was ich einfach noch nicht kapiere, wie ihr das mit der sprachausgabe macht, das ist in meinen Augen ja das super Feature.

Das wären ja ne riesen Menge Zeilen in der config.

*schauen ob Musik gespielt wird
*den Player finden der als "Master" fungiert
*die playlist speichern
*alle Player in eine Gruppe holen
* Text ausprechen
* Gruppe wieder auflösen
*Playlist wieder laden und auf den gleichen Playern an der gleichen Stelle weiter spielen



Oder denke ich hier absolut in die falsche Richtung?
Sind ja nun doch schon einige Seiten über die der Beitrag geht.