Internet Radio (1 Viewer)

SpudR

Retired Team Member
  • Premium Supporter
  • July 27, 2007
    2,657
    718
    Yorkshire, UK
    Home Country
    England England
    There appears to be an odd error in the myRadio section:
    When a .pls file has only one entry it doesn't play when clicked (or press enter using the keyboard)
    When a .pls has more than one entry it plays fine.
    If you press 'next' then the .pls play fine - even with only one entry!

    I have tried enabling/disabling VMR9
    Removing all but one of the entries from know working .pls file confirms this. :(

    I am using the RC3 version with the latest SVN.

    Also the issue with the flickering visualisation window is still there on several pages (the myMusic page etc)

    :confused:
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    There appears to be an odd error in the myRadio section:
    When a .pls file has only one entry it doesn't play when clicked (or press enter using the keyboard)
    When a .pls has more than one entry it plays fine.
    If you press 'next' then the .pls play fine - even with only one entry!

    I have tried enabling/disabling VMR9
    Removing all but one of the entries from know working .pls file confirms this. :(

    I am using the RC3 version with the latest SVN.

    Also the issue with the flickering visualisation window is still there on several pages (the myMusic page etc)

    :confused:


    Can't confirm. This one works fine:
    [playlist]
    NumberOfEntries=1
    File1=http://80.154.38.77:8000
    Title1=HitRadio 77
    Length1=-1
    Version=2


    could you maybe post your pls file?
     

    SpudR

    Retired Team Member
  • Premium Supporter
  • July 27, 2007
    2,657
    718
    Yorkshire, UK
    Home Country
    England England
    Thanks hwahrmann,

    I have attached ALL of the files I use.
    The ones that don't work are:
    BBC Radio 2
    Mix 96.7 FM
    Virgin Classic Rock
    Virgin Radio
    UK Retro

    Pre thanks for helping :)

    i have tried your file - same failure, nothing happens.

    If i take one of the failing ones and duplicate the entries then it works:
    [playlist]
    NumberOfEntries=2
    File1=mms://wmlive-acl.bbc.co.uk/wms/radio2/radio2_nb_e1s1
    Title1=BBC Radio 2
    Length1=-1
    Browser1=http://www.bbc.co.uk/radio2/
    File2=mms://wmlive-acl.bbc.co.uk/wms/radio2/radio2_nb_e1s1
    Title2=BBC Radio 2
    Length2=-1
    Browser2=http://www.bbc.co.uk/radio2/
    Version=2
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    Ok, good that you attached all of your files.

    This was quite an easy one to find out.
    File "UK Retro.pls" contains a wrong entry.
    the "http://" is missing
    it must be: File1=http://216.235.94.10:20822

    then it works.

    But what has this to do with BBC2 i hear you asking?
    Well, quite simple.

    When you click on an icon in the list, we add all the other icons below it to the playlist as well.
    Don't ask me why. Thiis was done by one of my predessors.

    Now, when the clicked item, BBC2 in our case, only has one entry inside, then we don't open it, but add it directly to the list and proceed to the next one, until we end up at "UK Retro.pls", where the invalid entry raises an exception, which causes playback not to start.

    Now, when "BBC2" has 2 entries inside, we open the playlist and show it to you for further selection.
    Now when you click on one of the entrioes, we're inside the BBC2 playlist and thus never hit the invalid UK retro playlist.

    So the solution is simply to correct the UK Retro list and it'll work.
     

    BobMysterios

    Portal Member
    December 13, 2007
    38
    3
    I know this is an old thread - but I found something else

    if the url ends in / it won't play.

    [playlist]
    NumberOfEntries=1
    File1=http://kexp-mp3-128k.cac.washington.edu:8000
    Length1=-1
    Version=2

    Above will play

    but if I add a / after 8000 it won't
     

    SpudR

    Retired Team Member
  • Premium Supporter
  • July 27, 2007
    2,657
    718
    Yorkshire, UK
    Home Country
    England England
    That's because the URL is looking for a stream and not the files in the foder referred to above - the / on the end would point to a subfolder:

    "http://stream:port" is ok
    "http://stream:port/data" would point to a sub folder within that url and the stream would be caled "data"

    It works for internet sites 'cos the web server knows what to end when you ask for a URL with or without the "/"

    hope this helps :)
     

    hwahrmann

    Development Group
  • Team MediaPortal
  • September 15, 2004
    4,633
    2,457
    Vienna, Austria
    Home Country
    Austria Austria
    well, it isn't a problem for me. it was always working.
    however it is a good idea to cleanup the url. so i remove trailing slashes from pls entries.
    fix is available with next public svn build and RC2
     

    Users who are viewing this thread

    Top Bottom