LinHES Forums http://forums.linhes.org/ |
|
mythstream and slimserver (slimcenter) and music info.... http://forums.linhes.org/viewtopic.php?f=14&t=18234 |
Page 1 of 1 |
Author: | siasl [ Tue Apr 29, 2008 7:55 pm ] |
Post subject: | mythstream and slimserver (slimcenter) and music info.... |
I have a FE/BE R5E50 system that works great. Have slimserver (slimcenter now) installed on the FE mythtv system. Defined an entry for the slimserver in mythstream. That works fine also. The issue I have is that when streaming audio from the slimserver I do not get any artist/album/title information in mythstream. I do get this information with Shoutcast etc. It is a bit annoying to have to look at the slimserver display to know what song is playing. I would think it would show up on the mythstream display like it does for shoutcast. Has anyone run into this issue? If so how/did you resolve it to see the info in mythstream? Thanks |
Author: | siasl [ Sat May 03, 2008 12:27 pm ] |
Post subject: | |
"For the want of a nail, the kingdom was lost"............. Looks like the problem ended up being an extra "s". After googling and digging into Perl (I'm just an old retired IT guy) it turns out mythstream was looking for a ";s" at the end of the ICY info: StreamTitle string sent by SqueezeCenter. Why I have no idea. But actual string terminates with just a ";". to fix the issue : On your MythTV box run mplayer http://yoursqueezecenterserver:9000/stream.mp3 make sure mplayer is returning ICY Info: StreamTitle='your song'; If it is find player.xml file. Mine was in /usr/share/mythtv/mythstream edit the file : find the <item> <label>ICY Info</label> <options>noclear noappend</options> <properties> <item> <name>StreamCustomEvent0</name> <value>StreamTitle=\'(.*)\';s</value> <area>custominfo</area> <title></title> </item> </properties> </item> On the line : <value>StreamTitle=\'(.*)\';s</value> delete the "s" at the end. New line : <value>StreamTitle=\'(.*)\';</value> That's it. Now the song title shows up in mythstream on the MythTV box. Don't you love computers.............!! |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |