LinuxMCE Forums
General => Users => Topic started by: pw44 on December 08, 2010, 09:19:40 pm
-
Hia,
before the last upgrade, shoutcast plugin was working. After the last upgrade, trying to play any shoutcast station makes the DCErouter reload, and the desired station(s) does not play.
BR
-
Hey,
After last nights (Dec 9, 2010) shoutcast update, my shoutcast now works- no router reloads.
Thank you to whomever fixed it!
-
Thx for the info. I can confirm it's fixed. Thx for who did fix it!
-
Last update (17 december 2010) broke it again.
MediaBrowser parms: mediatype 4, submediatype , fileformat , attribute_genres , sources shoutcast_audio, users_private 0, attributetype_sort 2, users 0, last_viewed 2, pk_attribute !e,shoutcast_audio,Pop <0x91cf3b90>
05 12/18/10 16:15:16.365 Shoutcast_Radio_Plugin::updateGenres() unable to open <0x91cf3b90>
05 12/18/10 16:15:16.365 Shoutcast_Radio_Plugin::updateGenres() end, genres = 0 <0x91cf3b90>
01 12/18/10 16:15:16.678 Shoutcast_Radio_Plugin::updateStationsForGenre() unable to create xml reader <0x91cf3b90>
08 12/18/10 16:15:20.545 Received Message from 21 (OnScreen Orbiter / Living) to 6 (Datagrid Plug-in / Living), type 1 id 34 Command:Request Datagrid Contents, retry none, parameters: <0x6baf0b90> Parameter 10(ID): 149 <0x6baf0b90>
08 12/18/10 16:15:20.545 Parameter 15(DataGrid ID): _MediaFile_21 <0x6baf0b90>
08 12/18/10 16:15:20.545 Parameter 32(Row): 0 <0x6baf0b90>
08 12/18/10 16:15:20.545 Parameter 33(Column): 0 <0x6baf0b90>
08 12/18/10 16:15:20.545 Parameter 34(Row count): 4 <0x6baf0b90>
08 12/18/10 16:15:20.545 Parameter 35(Column count): 5 <0x6baf0b90>
08 12/18/10 16:15:20.545 Parameter 36(Keep Row Header): 0 <0x6baf0b90>
08 12/18/10 16:15:20.545 Parameter 37(Keep Column Header): 0 <0x6baf0b90>
08 12/18/10 16:15:20.545 Parameter 49(Add Up-Down Arrows): 1 <0x6baf0b90>
08 12/18/10 16:15:20.545 Parameter 73(Seek): <0x6baf0b90>
08 12/18/10 16:15:20.545 Parameter 74(Offset): 0 <0x6baf0b90>
08 12/18/10 16:15:21.504 Parameter 4(PK_Variable): 0 <0x6baf0b90>
08 12/18/10 16:15:21.504 Parameter 5(Value To Assign): <0x6baf0b90>
08 12/18/10 16:15:21.504 Parameter 10(ID): 151 <0x6baf0b90>
08 12/18/10 16:15:21.504 Parameter 15(DataGrid ID): MediaFile_21 <0x6baf0b90>
08 12/18/10 16:15:21.504 Parameter 38(PK_DataGrid): 63 <0x6baf0b90>
08 12/18/10 16:15:21.504 Parameter 39(Options): 4||||shoutcast_audio|0|2|0 | 2 | <0x6baf0b90>
08 12/18/10 16:15:21.504 Parameter 40(IsSuccessful): 1 <0x6baf0b90>
08 12/18/10 16:15:21.504 Parameter 44(PK_DeviceTemplate): 0 <0x6baf0b90>
08 12/18/10 16:15:21.504 Parameter 60(Width): 1 <0x6baf0b90>
08 12/18/10 16:15:21.504 Parameter 61(Height): 20 <0x6baf0b90>
05 12/18/10 16:15:21.504 MediaBrowser parms: mediatype 4, submediatype , fileformat , attribute_genres , sources shoutcast_audio, users_private 0, attributetype_sort 2, users 0, last_viewed 2, pk_attribute <0x91cf3b90>
05 12/18/10 16:15:21.794 Shoutcast_Radio_Plugin::updateGenres() unable to open <0x91cf3b90>
05 12/18/10 16:15:21.794 Shoutcast_Radio_Plugin::updateGenres() end, genres = 0 <0x91cf3b90>
05 12/18/10 16:15:21.794 list : Blues date: 1202608800 <0x91cf3b90>
05 12/18/10 16:15:21.794 list : Classical date: 1202608800 <0x91cf3b90>
05 12/18/10 16:15:21.794 list : Eurodance date: 1202608800 <0x91cf3b90>
05 12/18/10 16:15:21.794 list : German date: 1202608800 <0x91cf3b90>
05 12/18/10 16:15:21.794 list : German date: 1202608800 <0x91cf3b90>
05 12/18/10 16:15:21.794 list : Lounge date: 1202608800 <0x91cf3b90>
05 12/18/10 16:15:21.794 list : Pop date: 1202608800 <0x91cf3b90>
05 12/18/10 16:15:21.794 list : Rock date: 1202608800 <0x91cf3b90>
05 12/18/10 16:15:21.794 list : Swiss date: 1202608800 <0x91cf3b90>
05 12/18/10 16:15:21.794 list : Techno date: 1202608800 <0x91cf3b90>
05 12/18/10 16:15:21.794 list : Top500 date: 1202608800 <0x91cf3b90>
05 12/18/10 16:15:21.794 list : Zouk date: 1202608800 <0x91cf3b90>
08 12/18/10 16:15:21.797 Received Message from 21 (OnScreen Orbiter / Living) to 6 (Datagrid Plug-in / Living), type 1 id 34 Command:Request Datagrid Contents, retry none, parameters: <0x6baf0b90>
-
uh, nothing changed in the Shoutcast plugin in the 16. dec. update...
What version of the lmce-shoutcast-plugin package do you have installed?
br,
sambuca
-
Hi Sambuca,
The last release shoutcast release - lmce-shoutcast-radio-plugin 2.0.0.44.10120823488.
No reloads, but also no stations.
TIA
-
Hi,
after lmce-shoutcast-radio-plugin = 2.0.0.44.10122723559, it is not working anymore. The genres are displayed, but no stations for any genre.
Anyone aware?
BR,
Paulo
-
Yes, shoutcast changed their API, some code changes are necessary to get it working again. It is not related to any specific version of the shoutcast-plugin.
Anyone should feel free to fix this, it shouldn't be that hard.
best regards,
sambuca
-
Hello,
here is a patch to make the Shoutcast Plugin work against the new API. Anyone with a dev environement, feel free to test it, and if anyone can add it to svn, that would be great. Some changes:
- I eliminated the parameter for baseurl and xmlurl as I think these are API specific, so any change in URL would also most likely require other changes in the code, so I don't see the point in having these as params
- added a new parameter "apiKey" that you must populate in the Shoutcast device options in the admin. This is a new Shoutcast API key that is required in all programs accessing the new API. You can test it with apiKey=fa1_BmicYQPDbbKm I borrowed this API key from some page found on google, so it could stop working at any time. We would need to register a proper apiKey just for LMCE, but when I tried doing that, the Shoutcast developer registration site was down
- I added a feature so that duplicate stations are automatically eliminated from within the same genre (some people post their station multiple times under different stationids)
Let me know if any problems...
Jean
-
jeangot,
thanks for your patch. I've attached it to the ticket.
In the future, please use svn diff from the root of the checked-out svn tree to create a patch file. That way, the file can be more easily looked at in trac.
Thanks again for your work.
-
Hi,
yesterday, after a long, long time, i did a complete update of the system. I noted that shoutcast was updated, but it's still not working.
TIA.
-
This comment describes the problem: http://svn.linuxmce.org/trac.cgi/ticket/906#comment:10 (http://svn.linuxmce.org/trac.cgi/ticket/906#comment:10). The ticket also includes a patch to fix it, but you're on your own.
br,
sambuca