Author Topic: Shoutcast not working after last upgrade  (Read 8484 times)

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Shoutcast not working after last upgrade
« 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

huh

  • Guru
  • ****
  • Posts: 245
    • View Profile
Re: Shoutcast not working after last upgrade
« Reply #1 on: December 10, 2010, 07:00:58 am »
Hey,

After last nights (Dec 9, 2010) shoutcast update, my shoutcast now works- no router reloads.

Thank you to whomever fixed it!

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: Shoutcast not working after last upgrade
« Reply #2 on: December 10, 2010, 11:45:46 am »
Thx for the info. I can confirm it's fixed. Thx for who did fix it!

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: Shoutcast not working after last upgrade
« Reply #3 on: December 18, 2010, 07:24:47 pm »
Last update (17 december 2010) broke it again.
Code: [Select]
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>
Code: [Select]
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>

sambuca

  • Guru
  • ****
  • Posts: 462
    • View Profile
Re: Shoutcast not working after last upgrade
« Reply #4 on: December 18, 2010, 09:42:43 pm »
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

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: Shoutcast not working after last upgrade
« Reply #5 on: December 19, 2010, 11:06:05 am »
Hi Sambuca,
The last release shoutcast release - lmce-shoutcast-radio-plugin 2.0.0.44.10120823488.
No reloads, but also no stations.
TIA
« Last Edit: December 19, 2010, 11:07:39 am by pw44 »

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: Shoutcast not working after last upgrade
« Reply #6 on: January 13, 2011, 09:01:22 pm »
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

sambuca

  • Guru
  • ****
  • Posts: 462
    • View Profile
Re: Shoutcast not working after last upgrade
« Reply #7 on: January 13, 2011, 09:33:32 pm »
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

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
Re: Shoutcast not working after last upgrade
« Reply #8 on: March 06, 2011, 08:09:09 am »
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

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Shoutcast not working after last upgrade
« Reply #9 on: March 06, 2011, 09:30:14 am »
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.

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: Shoutcast not working after last upgrade
« Reply #10 on: August 13, 2011, 10:22:32 pm »
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.


sambuca

  • Guru
  • ****
  • Posts: 462
    • View Profile
Re: Shoutcast not working after last upgrade
« Reply #11 on: August 14, 2011, 12:17:18 pm »
This comment describes the problem: 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