Author Topic: What part fo the code launches media files in playlists  (Read 3833 times)

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
What part fo the code launches media files in playlists
« on: July 25, 2008, 07:54:27 am »
Hello,

I was trying to launch internet radio streams from playlists.

Here is what's happening: if I add a media scenario option to play http://89.149.208.205:7070, it works fine, I can listen to this as a media scenario.
Now automatically, the admin creates an entry in the database containing all the media, with path=http and filename=89.149.208.205:7070

Now I figured, if I want to have a choice among 10 or 20 radio stations, I better need to use playlists rather than have them all in the main media menu.

So I located this media item created by the admin and added it to a playlist. Nothing happens when I click on it from the MD. My guess is that the piece of code that tries to launch the appropriate player for a playlist does not recognize what to do with a filename=89.149.208.205:7070 (also it clearly says mediatype=4 in the database, which is the correct type for streaming audio).

Hence (unless someone has a better suggestion) I was wondering what piece of code is responsible for playing playlists so that I could have a look at it and see if I find an obvious way to make it work...

Thanks.

Jean

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Re: What part fo the code launches media files in playlists
« Reply #1 on: July 29, 2008, 02:43:31 pm »
Hello,

I was trying to launch internet radio streams from playlists.

Here is what's happening: if I add a media scenario option to play http://89.149.208.205:7070, it works fine, I can listen to this as a media scenario.
Now automatically, the admin creates an entry in the database containing all the media, with path=http and filename=89.149.208.205:7070

Now I figured, if I want to have a choice among 10 or 20 radio stations, I better need to use playlists rather than have them all in the main media menu.

So I located this media item created by the admin and added it to a playlist. Nothing happens when I click on it from the MD. My guess is that the piece of code that tries to launch the appropriate player for a playlist does not recognize what to do with a filename=89.149.208.205:7070 (also it clearly says mediatype=4 in the database, which is the correct type for streaming audio).

Hence (unless someone has a better suggestion) I was wondering what piece of code is responsible for playing playlists so that I could have a look at it and see if I find an obvious way to make it work...

Thanks.

Jean
A good start would be to explore LMCE logs first (try TailDCERouter.sh)...

HTH,

regards,

Bulek.
Thanks in advance,

regards,

Bulek.