LinuxMCE Forums
May 19, 2013, 07:28:12 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: What part fo the code launches media files in playlists  (Read 988 times)
jeangot
Guru
****
Posts: 233


View Profile
« on: July 25, 2008, 06: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
Logged
bulek
Administrator
wants to work for LinuxMCE
*****
Posts: 868

Living with LMCE


View Profile
« Reply #1 on: July 29, 2008, 01: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.
Logged

Thanks in advance,

regards,

Bulek.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!