I am running Openhab 1.7.0 on Raspberry Pi and have just installed the Squeezebox binding. Basic features such as Power, Play/Stop and volume are working correctly, however I cannot get the track title to show, either in Habdroid or the web interface. I have tried a track with a shorter title which did not make any difference. I can see the title name in the openhab.log file.
20:58:27.186 [DEBUG] [io.squeezeserver.SqueezeServer:551 ] - Message received: b8%3A27%3Aeb%3A7a%3Af6%3A7d status - 1 subscribe%3A10 tags%3AyagJlN player_name%3ABedroom1 player_connected%3A1 player_ip%3A10.64.7.30%3A35505 power%3A1 signalstrength%3A0 mode%3Aplay time%3A10.5437800121307 rate%3A1 duration%3A329.088 can_seek%3A1 mixer%20volume%3A88 playlist%20repeat%3A0 playlist%20shuffle%3A1 playlist%20mode%3Aoff seq_no%3A0 playlist_cur_index%3A0 playlist_timestamp%3A1451898736.27643 playlist_tracks%3A1 playlist%20index%3A0 id%3A175 title%3AShe%20Talks%20To%20Angels year%3A0 artist%3ABlack%20Crows genre%3ANo%20Genre album%3ANo%20Album
20:58:27.188 [DEBUG] [b.s.internal.SqueezeboxBinding:243 ] - SqueezePlayer Bedroom1 -> time: 10
20:58:27.190 [DEBUG] [b.s.internal.SqueezeboxBinding:243 ] - SqueezePlayer Bedroom1 -> repeat: 0
20:58:27.192 [DEBUG] [b.s.internal.SqueezeboxBinding:243 ] - SqueezePlayer Bedroom1 -> shuffle: 1
20:58:27.194 [DEBUG] [b.s.internal.SqueezeboxBinding:243 ] - SqueezePlayer Bedroom1 -> currentrack: 0
20:58:27.195 [DEBUG] [b.s.internal.SqueezeboxBinding:243 ] - SqueezePlayer Bedroom1 -> numbertracks: 1
Where am I going wrong? Does someone have this working that could share their configuration?
Thanks to all who contribute to the amazing community, it’s what makes OpenHAB so successful.
You don’t need to put a label in your sitemap if your item label is sufficient. If there is one in the sitemap it will be used instead of the item label.
In your case the item label is correct, but your sitemap label has no placeholder for displaying the actual item value (i.e. the [%s]).
This is a common error made by new openHAB users, but it might be worth re-reading the sitemap and item binding WIKI pages to get more familiar.
Thanks Ben, it’s working now once I removed the label=“Title” in the sitemap configuration. As advised, I’ll re-read the items wiki page.
Hows does one get write access to the wiki as I’d like to add an example of the title to the squeezebox binding and/or squeezebox example page?
Sure. I am usually listening to local server which is fully populated with Track, artist, album etc.
I can get the details via xpl, just not via the squeezebox binding…
I’m having the exact same issue. The only String item that is being populated by squeezebox is the “title”, no others are working (artist,album,coverart, year,genre).
Anyone know if there is a fix, or a misconfiguration on my part? This is running against a readynas squeezeserver and a raspberry pi squeezelite player (if that makes any difference at all)