Results 1 to 7 of 7
  1.    #1  
    I am trying to stream a police scanner feed on my Pre. When I click on the link, the player starts up and will only stream for 18 seconds instead of continuesly...any idea why this might be happening?...any help would be greatly appreciated.
  2. twizted25's Avatar
    Posts
    75 Posts
    Global Posts
    88 Global Posts
    #2  
    there was reports of this on another thread also.
  3. #3  
    From what I can gather from extensive (read: 10 hours) of playing with this over the weekend, and only receiving frustration as my prize, it has to do with the way some .pls files are constructed. For example, WTOP in Washington, DC streams an MP3 format using the following .pls file:

    [playlist]
    NumberOfEntries=1
    File1=http://sc1.liquidviewer.com:9062/
    Stations that only give me 15-30 seconds, like WCBS-AM in New York, have .pls files constructed like this:

    [playlist]
    File1=http://38.100.141.5:80/WCBSAMCMP3
    File2=http://38.100.141.5:3690/WCBSAMCMP3
    File3=http://38.100.141.5:443/WCBSAMCMP3
    File4=http://38.100.101.69:80/WCBSAMCMP3
    File5=http://38.100.101.69:3690/WCBSAMCMP3
    File6=http://38.100.101.69:443/WCBSAMCMP3
    File7=http://38.100.141.1:80/WCBSAMCMP3
    File8=http://38.100.141.1:3690/WCBSAMCMP3
    File9=http://38.100.141.1:443/WCBSAMCMP3
    File10=http://38.100.141.4:80/WCBSAMCMP3
    File11=http://38.100.141.4:3690/WCBSAMCMP3
    File12=http://38.100.141.4:443/WCBSAMCMP3
    File13=http://208.80.52.18:80/WCBSAMCMP3
    File14=http://208.80.52.18:3690/WCBSAMCMP3
    File15=http://208.80.52.18:443/WCBSAMCMP3
    File16=http://208.92.52.86:80/WCBSAMCMP3
    File17=http://208.92.52.86:3690/WCBSAMCMP3
    File18=http://208.92.52.86:443/WCBSAMCMP3
    File19=http://208.92.52.20:80/WCBSAMCMP3
    File20=http://208.92.52.20:3690/WCBSAMCMP3
    File21=http://208.92.52.20:443/WCBSAMCMP3
    File22=http://63.243.149.3:80/WCBSAMCMP3
    File23=http://63.243.149.3:443/WCBSAMCMP3
    File24=http://63.243.149.3:3690/WCBSAMCMP3
    File25=http://208.92.52.50:80/WCBSAMCMP3
    File26=http://208.92.52.50:3690/WCBSAMCMP3
    File27=http://208.92.52.50:443/WCBSAMCMP3
    File28=http://38.100.141.2:80/WCBSAMCMP3
    File29=http://38.100.141.2:3690/WCBSAMCMP3
    File30=http://38.100.141.2:443/WCBSAMCMP3
    File31=http://208.80.52.16:80/WCBSAMCMP3
    File32=http://208.80.52.16:3690/WCBSAMCMP3
    File33=http://208.80.52.16:443/WCBSAMCMP3
    File34=http://38.100.101.67:80/WCBSAMCMP3
    File35=http://38.100.101.67:3690/WCBSAMCMP3
    File36=http://38.100.101.67:443/WCBSAMCMP3
    File37=http://208.80.52.26:80/WCBSAMCMP3
    File38=http://208.80.52.26:3690/WCBSAMCMP3
    File39=http://208.80.52.26:443/WCBSAMCMP3
    File40=http://208.92.52.46:80/WCBSAMCMP3
    File41=http://208.92.52.46:3690/WCBSAMCMP3
    File42=http://208.92.52.46:443/WCBSAMCMP3
    File43=http://38.100.101.68:80/WCBSAMCMP3
    File44=http://38.100.101.68:3690/WCBSAMCMP3
    File45=http://38.100.101.68:443/WCBSAMCMP3
    File46=http://208.92.52.26:80/WCBSAMCMP3
    File47=http://208.92.52.26:3690/WCBSAMCMP3
    File48=http://208.92.52.26:443/WCBSAMCMP3
    File49=http://38.100.101.65:80/WCBSAMCMP3
    File50=http://38.100.101.65:3690/WCBSAMCMP3
    File51=http://38.100.101.65:443/WCBSAMCMP3
    File52=http://208.92.52.36:80/WCBSAMCMP3
    File53=http://208.92.52.36:3690/WCBSAMCMP3
    File54=http://208.92.52.36:443/WCBSAMCMP3
    File55=http://208.92.52.88:80/WCBSAMCMP3
    File56=http://208.92.52.88:3690/WCBSAMCMP3
    File57=http://208.92.52.88:443/WCBSAMCMP3
    File58=http://208.80.52.28:80/WCBSAMCMP3
    File59=http://208.80.52.28:3690/WCBSAMCMP3
    File60=http://208.80.52.28:443/WCBSAMCMP3
    File61=http://38.100.141.3:80/WCBSAMCMP3
    File62=http://38.100.141.3:3690/WCBSAMCMP3
    File63=http://38.100.141.3:443/WCBSAMCMP3
    File64=http://38.100.101.66:80/WCBSAMCMP3
    File65=http://38.100.101.66:3690/WCBSAMCMP3
    File66=http://38.100.101.66:443/WCBSAMCMP3
    Title1=WCBSAMCMP3
    Title2=WCBSAMCMP3-Bak
    Length1=-1
    NumberOfEntries=66
    Version=2
    So, WTOP references one stream URL, while WCBS references 66 of 'em. I'm guessing that the Pre's media player plays only the first URL and fails to go to the second. That should be easy to fix by a firmware upgrade or a third-party app developer.
    Treo 300 -> Treo 600 -> Treo 650 -> Treo 755p -> Pre -> Epic 4G -> TouchPad
  4. #4  
    Just for giggles I just now tried creating a file wcbs.pls and uploaded it to my own web server, with the following content:

    [playlist]
    NumberOfEntries=1
    File1=http://38.100.141.5:80/WCBSAMCMP3

    That gave me only 15 seconds of love, too. So there's more to it. I don't know a heck of a lot about playlists, but perhaps the way that WCBS' playlist is constructed with 66 URLs, it goes from one to the other at the end of each 15-second "clip" of live streaming? And the Pre can't natively jump from one to the other? And that's why using a playlist with only one of the URLs still plays only 15 seconds?
    Last edited by northward; 06/22/2009 at 09:07 PM.
    Treo 300 -> Treo 600 -> Treo 650 -> Treo 755p -> Pre -> Epic 4G -> TouchPad
  5. #5  
    The browser appears to be discriminating incorrectly between an actual mp3 download being played in real-time and an mp3 stream itself. The SHOUTcast protocol (see forums.radiotoolbox.com/viewtopic.php?t=74 for details) works roughly as follows:
    1. Your web browser sends a special HTTP request with additional "icy-*" headers to negotiate a streaming connection.
    2. The streaming server responds with some additional special headers, as well, one of these being "icy-metaint".
    3. Your player starts playing the stream, and after #icy-metaint bytes, receives streaming metadata such as the Now Playing information, rather than mp3 data.
    4. When streaming audio is detected incorrectly, the extra SHOUTcast metadata embedded in the stream causes the player to conk out because it's expecting more MPEG data.


    When the browser gets an "ICY 200 OK" response from the SHOUTcast server (note that this is NOT a standard HTTP response!), all seems to work well. When it gets "HTTP/1.0 200 OK" as e.g. ICEcast and I'm sure many other streaming players may respond with instead, it interprets that as a non-streaming mp3 download -- which, as the last step above implies, will make it only play until the next "station identification" info.

    The solution should not be too hard to implement, but it's part of a Palm proprietary library, it seems (you can find it by grepping for "ICY 200 OK" on the webOS base system), so we can't do it ourselves. It simply needs to understand that receiving "icy-*" headers back from the HTTP request means that it should ignore the distinction between "ICY 200 OK" and "HTTP/1.x 200 OK" and open it as a streaming mp3.

    As a work-around, I assume that the browser mp3-content-tasting mechanism can be taken out of the equation, and that one can explicitly launch the streaming player rather than make the browser launch it, and that would potentially override the faulty streaming detection. If this works, it wouldn't be too hard to whip up a Favorite Streams app to do the launching for us.

    I wish I knew how to report this bug's details to Palm so that I could actually expect someone to take a look at it one day :/
  6. #6  
    This issue is now fixed by webOS 1.3.1! I can stream my subscription Digitally Imported channels with abandon!
  7. #7  
    I realise this is an old thread, but thought i'd ask anyway...

    I am currently trying to use the last.fm scrobbler application running on windows to stream to my pre.

    I had to create a tunnel to get the scrobbler to be available on the lan as opposed to the loopback address, but this went without issue.

    I created a .pls file and put it on a local web server so that it would point to the stream, and when i enter the URL of the .pls file it proceeds to start playing the stream from the last.fm scrobbler.

    Unfortunately the pre stops playing the stream when the scrobbler changes track. I have tried seting the length of the track to being "-1" in the .pls file, but this makes no difference.

    I also tried adding several entries in the .pls file to see if it would pick up the same stream each time the track changes, but this makes no difference either.

    Does anyone have experience of this or something similar?

    Thanks

    Sam

Posting Permissions