HydrogenAudio

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: Cutter on 2009-11-27 19:31:06

Title: Issues with ASX streams
Post by: Cutter on 2009-11-27 19:31:06
  • Bug: Certain ASX playlist files are not parsed properly.

Thanks for the release.
This ASX stream isn't played by foobar2000: http://www.polskieradio.pl/sluchaj/play.aspx?p=r1 (http://www.polskieradio.pl/sluchaj/play.aspx?p=r1)
Title: Issues with ASX streams
Post by: Peter on 2009-11-27 19:35:37
This ASX stream isn't played by foobar2000: http://www.polskieradio.pl/sluchaj/play.aspx?p=r1 (http://www.polskieradio.pl/sluchaj/play.aspx?p=r1)

Their ASX file is broken:
Code: [Select]
<ref href = "mms://stream.polskieradio.pl/program1">
Should be:
Code: [Select]
<ref href = "mms://stream.polskieradio.pl/program1" />
Title: Issues with ASX streams
Post by: Cutter on 2009-11-27 19:44:41

Oh, this can be corrected manually. Thanks.
Title: Issues with ASX streams
Post by: Cutter on 2009-11-27 20:04:47
ASX files containing accented characters aren't handled correctly.
Example: http://www.polskieradio.pl/st/program3M.asx (http://www.polskieradio.pl/st/program3M.asx)
The "ó" in the Title tag makes the file unplayable.
Title: Issues with ASX streams
Post by: Yirkha on 2009-11-27 20:27:49
That's not a valid UTF-8, I guess.
Title: Issues with ASX streams
Post by: alwaysdub on 2009-11-27 21:22:57
BBC asx streams are not working, eg

http://www.bbc.co.uk/radio/listen/live/r4.asx (http://www.bbc.co.uk/radio/listen/live/r4.asx)

or

http://www.bbc.co.uk/radio/listen/live/r5lsp.asx (http://www.bbc.co.uk/radio/listen/live/r5lsp.asx)


Errors :-

Unable to open item for playback (IWMReader::Open failed : Unknown error code (0xC00D0026)):
"http://www.bbc.co.uk/radio/listen/live/r4.asx"

Unable to open item for playback (IWMReader::Open failed : Unknown error code (0xC00D0026)):
"http://www.bbc.co.uk/radio/listen/live/r5lsp.asx"

Can you confirm if these are also broken asx or if this is a bug, please?

They work in WMP/VLC.

Thanks.
Title: Issues with ASX streams
Post by: Ritsl on 2009-11-27 22:48:46
BBC asx streams are not working, eg

http://www.bbc.co.uk/radio/listen/live/r4.asx (http://www.bbc.co.uk/radio/listen/live/r4.asx)

..

Can you confirm if these are also broken asx or if this is a bug, please?

They work in WMP/VLC.

If a stream works without errors in common players, it should be considered as a bug if it doesn't work in foobar. These are web resources, Postel's law (http://en.wikipedia.org/wiki/Postel's_law) applies (within limits). This is utterly annoying for the developers, but the feature is much less useful if it only works on perfectly valid asx files.
Title: Issues with ASX streams
Post by: Peter on 2009-11-28 08:30:16
BBC asx streams are not working...

Problem triggered by server not returning content-length, fixed for the next update, thanks for reporting.
You can download the ASX file using your web browser, save it then open the saved copy in foobar2000.
Title: Issues with ASX streams
Post by: oMikR0n on 2009-11-28 10:04:57
Unable to open item for playback (IWMReader::Open failed : Unknown error code (0xC00D0026)):
"http://tvradio.ert.gr/radio/liveradio/asx/erasport.asx"

In WMP works with no problems
Title: Issues with ASX streams
Post by: The Link on 2009-11-28 10:24:39
Unable to open item for playback (IWMReader::Open failed : Unknown error code (0xC00D0026)):
"http://tvradio.ert.gr/radio/liveradio/asx/erasport.asx"

In WMP works with no problems
Works fine here in beta2a.
Title: Issues with ASX streams
Post by: hechacker1 on 2009-11-29 22:56:50
Thanks for the update.

There is one problem with recommending removing support for the mslive plugin. Foobar2000 only works on this stream with the mslive plugin:

http://ordorica.org/tune.pl?station=kfi640 (http://ordorica.org/tune.pl?station=kfi640)

The stream is in asx format (wma/mms:). The link is to my script that generates a stream for ClearChannel websites (they want you to use flash).

For now I will just continue to use the mslive plugin.
Title: Issues with ASX streams
Post by: saivert on 2009-11-29 23:05:37
@hechacker1: Your script doesn't set the proper Content-Type HTTP header.

here is a list of MIME types for Windows Media stuff: http://support.microsoft.com/kb/288102 (http://support.microsoft.com/kb/288102)
Title: Issues with ASX streams
Post by: Yirkha on 2009-11-29 23:18:27
Foobar2000 only works on this stream with the mslive plugin:
http://ordorica.org/tune.pl?station=kfi640 (http://ordorica.org/tune.pl?station=kfi640)
ASX is supposed to be an XML document, therefore you ought to escape ampersands to &amp;.
Title: Issues with ASX streams
Post by: hechacker1 on 2009-11-29 23:39:17
I added the content type to my script:

Content-type: audio/x-ms-wma

But it made no difference for foobar.

As far as changing the ampersands, I just use a perl script to take clear channel's randomly generated strings and pass it as a simple asx file.

I guess I can regex replace their generated content.. but it works fine with other players and mslive.

I'll do it later, hopefully with a simple regex.
Title: Issues with ASX streams
Post by: Zao on 2009-11-30 01:30:37
XML::Writer (http://search.cpan.org/~josephw/XML-Writer-0.606/Writer.pm) or XML::Generator (http://search.cpan.org/~bholzman/XML-Generator-1.01/Generator.pm).
Title: Issues with ASX streams
Post by: Peter on 2009-11-30 09:34:58
I added the content type to my script:

Content-type: audio/x-ms-wma

From http://en.wikipedia.org/wiki/Advanced_Stream_Redirector: (http://en.wikipedia.org/wiki/Advanced_Stream_Redirector:)
Quote
ASX files have MIME type video/x-ms-asf (as do ASF files).


See also: http://support.microsoft.com/kb/288102 (http://support.microsoft.com/kb/288102)
Title: Issues with ASX streams
Post by: Squeller on 2009-11-30 19:24:58
Thanks for the MS streaming support! As we know from experience (foo_input_mslive) this is a hard task, often due to not standard compliant xml files. From the philosophy of fb2k I know you won't workaround things. Anyway, this one also doesn't work, I think the xml is alright:
http://radiodresden.stream.green.ch/radiodresden.wax (http://radiodresden.stream.green.ch/radiodresden.wax)

contents:
Code: [Select]
<ASX version = "3.0">
<title>Radio Dresden</title>
<Entry>
    <Ref href = "mms://stream.green.ch/RadioDresden"/>
</Entry>
</ASX>


fb2k output:
Unable to open item for playback (Unsupported file format):
"http://radiodresden.stream.green.ch/radiodresden.wax"

Peter, are you thinking about Realaudio support? Unfortunately there's quite a few real-stuff around, BBC for instance...
Title: Issues with ASX streams
Post by: Peter on 2009-11-30 19:33:27
Fixed, thanks for reporting.
Temporary workaround: download the .WAX file, rename to .ASX, open.
Title: Issues with ASX streams
Post by: TomBarlow on 2009-11-30 19:59:02
BBC for instance...

Try here: http://iplayerhelp.external.bbc.co.uk/help...eal_wma_streams (http://iplayerhelp.external.bbc.co.uk/help/streaming_programmes/real_wma_streams)
Title: Issues with ASX streams
Post by: Dvvarf on 2009-11-30 20:17:13
Tags for MMS streams are not displayed. mslive (or WMP): displayed; foobar: not displayed. Should it be that way?
Title: Issues with ASX streams
Post by: Peter on 2009-11-30 22:28:25
Tags for MMS streams are not displayed. mslive (or WMP): displayed; foobar: not displayed. Should it be that way?

What kind of tags and not displayed where? Any specific stations where I can see this behavior?
Title: Issues with ASX streams
Post by: Dvvarf on 2009-11-30 23:17:14
What kind of tags and not displayed where? Any specific stations where I can see this behavior?

Metadata in mms-streamed wma. Unfortunately, its our local radio, so its impossible for me to give its url to you (only screenshots - it is not really helpful, is it?).
But for example mms://fr1.101.ru/v1_1_128 (mslive at least shows NRJ as artist/title like WMP does, foobar shows nothing). And those on local server in mslive info has that string:
Code: [Select]
<HASSCRIPT> : Yes

P.S. Sorry, if I'm being dense or non-clearly understandable - my English is not too good.
Title: Issues with ASX streams
Post by: tpijag on 2009-12-01 00:07:04
Have no idea if this is helpful.

mms://fr1.101.ru/v1_1_128

Plays for me while showing:
NRJ as %Artist%
NRJ as %Title%.

Current beta
OS: XP

terry [in dallas, tx.]
Title: Issues with ASX streams
Post by: Peter on 2009-12-01 08:56:08
Shows artist/title as "NRJ" and copyright as "NRJ FM" here.
Title: Issues with ASX streams
Post by: _oao on 2009-12-01 09:25:19
Have no idea if this is helpful.

mms://fr1.101.ru/v1_1_128

Plays for me while showing:
NRJ as %Artist%
NRJ as %Title%.

Current beta
OS: XP

terry [in dallas, tx.]
it doesn't show anything for me in foobar2000 v1.0 beta 2a, works in WMP...

OS: windows 7 64bit

list of components:
Code: [Select]
Core (2009-11-27 18:56:00)
foobar2000 core 1.0 beta 2a
foo_abx.dll (2009-06-07 12:25:26)
ABX Comparator 1.3.4
foo_albumlist.dll (2009-11-27 16:59:38)
Album List 4.4
foo_audioscrobbler.dll (2008-05-13 15:36:16)
Audioscrobbler 2.3.1
foo_binpack.dll (2008-10-25 16:42:42)
BinPack Playlist Generator 1.1.0
foo_bitcompare.dll (2008-12-05 15:08:02)
Binary Comparator 1.2
foo_burninate.dll (2009-06-24 19:14:28)
Audio CD Writer 3.0.1
foo_cdda.dll (2009-11-27 16:59:28)
CD Audio Decoder 3.0
foo_chacon.dll (2008-10-05 14:28:50)
Chacon 0.0.1
foo_chronflow.dll (2008-04-14 00:16:00)
Chronial's Coverflow 0.3.0
foo_converter.dll (2009-11-27 16:59:22)
Converter 1.4
foo_discogs.dll (2009-11-20 20:07:46)
Discogs Tagger 1.22
foo_dockable_panels.dll (2007-03-28 08:19:02)
Dockable Panels 1.0.7b [Mar 28 2007 - 09:18:48]
foo_dsp_std.dll (2009-11-27 16:59:36)
Standard DSP Array 1.0
foo_facets.dll (2008-04-09 19:29:14)
Facets 2008-02-25
foo_fileops.dll (2009-11-27 16:58:42)
File Operations 2.1.2
foo_freedb2.dll (2009-11-27 16:58:44)
freedb Tagger 0.6.2
foo_grabber_python.dll (2009-02-06 12:40:15)
Lyrics Grabber Dances With Python 0.1.12 Alpha
foo_imgburner.dll (2008-10-30 16:18:15)
ImgBurner 0.3.1
foo_infospect.dll (2008-02-01 20:02:58)
Infospect 1.0.3
foo_input_alac.dll (2009-03-22 14:15:46)
ALAC Decoder 1.0.3
foo_input_monkey.dll (2009-05-01 13:40:52)
Monkey's Audio Decoder 2.1.4
foo_input_std.dll (2009-11-27 16:59:22)
Standard Input Array 1.0
foo_jesus.dll (2009-11-20 22:41:02)
Autosave & Autobackup 6
foo_lastfm_radio.dll (2009-02-25 21:05:24)
Last.fm Radio 0.5.6b
foo_lyricsgrabber.dll (2009-02-07 06:12:47)
Lyrics Grabber 0.3.0.7 Alpha
foo_masstag.dll (2009-09-18 09:01:36)
Masstagger 1.8.4
foo_musicbrainz.dll (2009-04-10 20:27:28)
MusicBrainz Tagger 0.2
foo_navigator.dll (2007-08-04 11:36:46)
Navigator 0.63
foo_out_wasapi.dll (2009-05-19 22:45:18)
WASAPI output support 2.1
foo_playcount.dll (2009-04-29 19:09:32)
Playback Statistics 2.1.9
foo_playlist_manager.dll (2007-01-22 12:05:12)
Playlist Manager 1.0.2
foo_playlist_playback_attributes.dll (2009-08-01 13:20:06)
Playlist Playback Attributes 0.1.0 [Aug  1 2009 - 15:15:00]
foo_queuecontents.dll (2009-07-27 10:47:56)
Queue Contents Editor 0.1
foo_quicktag.dll (2008-05-01 19:39:02)
Quick Tagger 1.0.1
foo_random.dll (2009-06-30 22:06:58)
Randomized Playlist Entry 1.3.0
foo_rgscan.dll (2009-11-27 16:59:10)
ReplayGain Scanner 2.0.9
foo_run.dll (2009-06-07 14:15:18)
Run services 0.3.7
foo_scrobblecharts.dll (2007-03-31 16:36:48)
Last.fm Chart Player 0.2.3
foo_sendtodevice.dll (2008-03-14 18:37:38)
Send to Device 1.1.2 [Nov 28 2007 - 10:13:31]
foo_skip.dll (2009-01-03 17:04:18)
Skip Track 0.4
foo_softplaylists.dll (2009-11-30 23:00:00)
Soft Playlists 2009-12-01
foo_stopaftercuralbum.dll (2009-06-01 08:50:42)
foo_stopaftercuralbum 0.2
foo_textdisplay.dll (2008-07-08 18:45:26)
Text Display UI Element 1.0 RC 3
foo_texttools.dll (2009-01-17 15:00:52)
Text Tools 1.0.2
foo_ui_columns.dll (2009-08-30 15:21:36)
Columns UI 0.3.8.0
foo_ui_std.dll (2009-11-27 16:59:48)
Default User Interface 0.9.5
foo_uie_albumlist.dll (2009-06-13 22:49:19)
Album list panel 0.3.5
foo_uie_biography.dll (2009-11-26 00:26:10)
Biography View 0.3.4.1
foo_uie_console.dll (2009-08-29 16:06:24)
Console panel 0.4
foo_uie_elplaylist.dll (2009-06-05 21:01:32)
ELPlaylist 0.6.5.3.3(beta)
foo_uie_graphical_browser.dll (2008-04-19 19:37:53)
Graphical Browser rev015
foo_uie_library_tree.dll (2009-07-25 01:18:14)
Library Tree 0.3.2.5b
foo_uie_lyrics.dll (2008-12-12 09:39:20)
Lyric Show Panel 0.3.3.9 [Dec 12 2008 - 17:39:01]
foo_uie_panel_splitter.dll (2009-11-26 01:03:32)
Panel Stack Splitter 0.3.8.2(alpha)
foo_uie_playlists_dropdown.dll (2009-09-23 23:44:46)
Playlists Dropdown 0.7.6
foo_uie_quicksearch.dll (2007-05-18 13:31:10)
Quick Search Toolbar 2.8l
foo_uie_typefind.dll (2007-10-22 21:30:44)
Typefind 0.2 beta 2
foo_uie_wsh_panel_mod.dll (2009-11-13 12:15:35)
WSH Panel Mod 1.1.11
foo_unpack.dll (2009-11-27 16:58:28)
RAR reader 1.3
ZIP/GZIP reader 1.0
foo_utils.dll (2008-02-08 23:26:58)
Playlist Tools 0.6.2 beta 6
foo_verifier.dll (2009-10-05 10:39:20)
File Integrity Verifier 1.1
foo_vis_shpeck.dll (2009-09-24 18:07:44)
Shpeck - Winamp vis plugins wrapper 0.3.6
foo_w7shell.dll (2009-09-05 01:22:36)
Windows 7 integration 0.2.8.1
foo_whatsnew.dll (2008-08-30 14:45:00)
Feature Watcher 1.0.6
foo_wlm.dll (2009-06-21 20:30:22)
Windows Live Messenger Notifier 1.0.8
Title: Issues with ASX streams
Post by: Peter on 2009-12-01 09:53:06
Doesn't show anything as in what, nothing in the "Metadata" tab of the Properties dialog?
Title: Issues with ASX streams
Post by: _oao on 2009-12-01 10:00:33
Doesn't show anything as in what, nothing in the "Metadata" tab of the Properties dialog?
yeap, it doesn't show anything in the "Metadata" tab, only the filename is displayed.

edit: forgot to say that the radio stream is playing... 
Title: Issues with ASX streams
Post by: Peter on 2009-12-01 11:14:08
OK, figured out what's wrong with the tags, will be fixed in beta 3.
Thanks for reporting.
Title: Issues with ASX streams
Post by: Squeller on 2009-12-01 12:48:00
Try here: http://iplayerhelp.external.bbc.co.uk/help...eal_wma_streams (http://iplayerhelp.external.bbc.co.uk/help/streaming_programmes/real_wma_streams)

Ah they use wma now. Thanks for this information!

BBC asx'es don't work. Console is silent.

E.g. http://bbc.co.uk/radio/listen/live/bbcleeds.asx (http://bbc.co.uk/radio/listen/live/bbcleeds.asx)

Code: [Select]
<ASX version="3.0">
    <ABSTRACT>http://www.bbc.co.uk/iplayer/radio/bbc_radio_leeds/</ABSTRACT>
    <TITLE>BBC Leeds</TITLE>
    <AUTHOR>BBC</AUTHOR>
    <COPYRIGHT>(c) British Broadcasting Corporation</COPYRIGHT>
    <MOREINFO HREF="http://www.bbc.co.uk/iplayer/radio/bbc_radio_leeds/" />
    <PARAM NAME="HTMLView" VALUE="http://www.bbc.co.uk/iplayer/radio/bbc_radio_leeds/" />

    <Entry>
        <ref href="http://wmlive.bbc.net.uk/wms/england/lrleeds?BBC-UID=d48b01e591c0139383dfcd7881f244154732080510b091c424afa9f6bfcec0a7&amp;SSO2-UID=" />
    </Entry>
</ASX>


(The wordwarp in ref href is not there in the asx file)
Title: Issues with ASX streams
Post by: _oao on 2009-12-01 13:06:17
BBC asx'es don't work. Console is silent.

E.g. http://bbc.co.uk/radio/listen/live/bbcleeds.asx (http://bbc.co.uk/radio/listen/live/bbcleeds.asx)
i also have this problem when i try to add the link with foobar2000's Add Location...


however if i download the .asx file and open it with fb2k, the BBC radios work...
Title: Issues with ASX streams
Post by: Yirkha on 2009-12-01 13:32:57
See post #8[a href="index.php?act=findpost&pid=670318"][{POST_SNAPBACK}][/a].
Title: Issues with ASX streams
Post by: Dvvarf on 2009-12-04 15:54:44
Problem with previous mms-stream solved successfully in beta 3 (and with all of these, where %artist%=%title% like "NRJ - NRJ", "Montecarlo - Montecarlo"), but on one of our local mms-streams no artist is showed (in Metadata only Track title and Genre is showed, no Track Artist).
Title: Issues with ASX streams
Post by: kkl on 2009-12-05 06:00:16
beta 3 still can't open this asx. the console window show nothing.
http://www.j-wave.co.jp/radiobar/source/j-wave2.asx (http://www.j-wave.co.jp/radiobar/source/j-wave2.asx)

After i save the asx and use Open command, it emptys my current playlist.
Title: Issues with ASX streams
Post by: Peter on 2009-12-05 11:55:33
beta 3 still can't open this asx. the console window show nothing.
http://www.j-wave.co.jp/radiobar/source/j-wave2.asx (http://www.j-wave.co.jp/radiobar/source/j-wave2.asx)

After i save the asx and use Open command, it emptys my current playlist.

Not a valid XML file, contains invalid UTF-8 characters, please complain at the radio station admin.
Whether this will be fixed and how (there's no way to correctly display titles for such streams) depends on how widespread such cases are.
Title: Issues with ASX streams
Post by: Dvvarf on 2009-12-12 12:27:49
New bug incoming: when track title (of mms-streamed content) changes, player switches to next track in local playlist, not playing next track from mms-stream.
Title: Issues with ASX streams
Post by: Peter on 2009-12-12 13:03:30
Any example streams where this happens?
Title: Issues with ASX streams
Post by: joelzhao on 2009-12-13 08:25:51
I find the same question too, if one track in a radio station finished, FB will switch to another radio station, but not the next track
in the same radio station she just played.
An example stream--mms://music.outboundmusic.com/OMRadioPop

Another case, the player will auto parse the dynamic track title and album(amazing good), but if I switch to another radio station,
the dynamic track information will remain unchanged which I want change back to the defined radio station name. It will helpful
when the radio station name is displayed.

PS: Why not add "update" or "link" in the menu "help"? I think it will useful.
Title: Issues with ASX streams
Post by: Squeller on 2009-12-13 11:46:32
http://www.isles.fm/islesfm.asx (http://www.isles.fm/islesfm.asx)

Code: [Select]
Opening track for playback: "rtsp://hebrides.tv:8000/islesfm"
Unable to open item for playback (IWMReader::Open failed : Unknown error code (0xC00D2EE0)):
"rtsp://hebrides.tv:8000/islesfm"
Title: Issues with ASX streams
Post by: Peter on 2009-12-13 19:55:50
http://www.isles.fm/islesfm.asx (http://www.isles.fm/islesfm.asx)

Code: [Select]
Opening track for playback: "rtsp://hebrides.tv:8000/islesfm"
Unable to open item for playback (IWMReader::Open failed : Unknown error code (0xC00D2EE0)):
"rtsp://hebrides.tv:8000/islesfm"
Broken radio station: they provide 3 URLs, just one actually works, we need to decide which one to pick at the time the playlist is loaded (foobar2000 inherently does not support multiple URLs per playlist entry); we favor RTSP and MMS over HTTP. Their RTSP and MMS links don't work in Windows Media Player either.

I find the same question too, if one track in a radio station finished, FB will switch to another radio station, but not the next track
in the same radio station she just played.
An example stream--mms://music.outboundmusic.com/OMRadioPop
Looking into it now, thanks.
Title: Issues with ASX streams
Post by: Squeller on 2009-12-14 10:06:25
Broken radio station: they provide 3 URLs, just one actually works, we need to decide which one to pick at the time the playlist is loaded (foobar2000 inherently does not support multiple URLs per playlist entry); we favor RTSP and MMS over HTTP.

Thanks, my testing wasn't complete enough,,, So that means, fb2k uses the first (RTSP OR MMS) it finds in a multiple entry playlist?
Title: Issues with ASX streams
Post by: Peter on 2009-12-14 11:07:14
This is not a multiple entry playlist. There is just one entry, with 3 URLs to choose from. We have to pick one; RTSP is currently preferred over MMS and then over HTTP.

The alternative solution would be to try all of them until we find one that works - at the time the ASX playlist is being loaded - but this would slow ASX loading down for everybody.
Title: Issues with ASX streams
Post by: joelzhao on 2009-12-14 14:39:57
Hello Peter, these days I tried FK2B 1.0 beta 4 to play steam, she runs well in most of situations, there are two issues--
firstly, the track-numbers can't been displayed, it will helpful using "sort" command when we array the playlists.
The second issue is that the title will display "gibberish" if the defined name contain "&" or "," . The example showed below:
Code: [Select]
<asx version="3.0">

<title>Big R Radio</title>
<author>Big R Radio</author>

<entry>
<title>70's & 80's pop mix</title>
<author>all office friendly</author>
<copyright></copyright>
<ref href="http://livestream2.bigrradio.com/70s80s"/>
</entry>

<entry>
<title>Grunge FM</title>
<author>ALT & classic rock stations</author>
<copyright></copyright>
<ref href="http://livestream2.bigrradio.com/grungefm"/>
</entry>

<entry>
<title>Blues FM</title>
<author>jazz & blues stations</author>
<copyright></copyright>
<ref href="http://livestream2.bigrradio.com/bluesfm"/>
</entry>

<entry>
<title>108.1 Jamz</title>
<author>R&B,URBAN,HIP-HOP,DANCE</author>
<copyright></copyright>
<ref href="http://livestream2.bigrradio.com/108point1"/>
</entry>

</asx>
Title: Issues with ASX streams
Post by: Zao on 2009-12-15 09:34:42
As ASX aspires to be XML-like, I'm rather surprised that your &s are not &amp; entities.
Title: Issues with ASX streams
Post by: joelzhao on 2009-12-15 12:19:23
As ASX aspires to be XML-like, I'm rather surprised that your &s are not &amp; entities.

Thanks you for your answer, and forgive my ignorance. I refer to the XML rules and find the answer.
Title: Issues with ASX streams
Post by: exore on 2009-12-15 14:28:01
The wma stream on http://www.thearrow.co.uk/ (http://www.thearrow.co.uk/) (http://mediaweb.musicradio.com/Show.asx?StreamID=167) appears to display the incorrect bit rate/refresh rate (or at least different from WMP, 48kHz vs 32kHz).

The wma stream on http://planetrock.radica.com/player/live.html (http://planetrock.radica.com/player/live.html) (http://tx.sharp-stream.com/tune.php?c=planetrock&.wax) does not play and no error is printed. (the streams work after extracting the url)
Title: Issues with ASX streams
Post by: Peter on 2009-12-15 15:46:14
The wma stream on http://www.thearrow.co.uk/ (http://www.thearrow.co.uk/) (http://mediaweb.musicradio.com/Show.asx?StreamID=167) appears to display the incorrect bit rate/refresh rate (or at least different from WMP, 48kHz vs 32kHz).
This stream appears to decode to 48KHz here, not sure if there's anything wrong.
Quote
The wma stream on http://planetrock.radica.com/player/live.html (http://planetrock.radica.com/player/live.html) (http://tx.sharp-stream.com/tune.php?c=planetrock&.wax) does not play and no error is printed. (the streams work after extracting the url)
Fixed, thanks for reporting.

Here's a patch for 1.0 beta 4 with all Windows Media related bug fixes so far:
[removed, beta 5 is out]
Title: Issues with ASX streams
Post by: joelzhao on 2009-12-19 11:15:04
The beta 5 is gift to us all on schedule, thank you so much, Peter!

I have noticed in the "Properties" dialog box, the radio stream address is treated as filename, so "open containing folder" is disable,
besides, the value of "artist name" and "track title" can't been edited. Futhermore,if the steam have multi Urls, they won't displayed totally.
If we wanna edit the values mentioned before, we have to open the file and edit them.

Another thread I want to say, the ASX filename can been displayed as filename, and the "title" and "author" treated as "track title" and "artist name", and stream address is treated as the metadata "REF1", "REF2", etc, in this way,we can edit the "track title" and "artist name" because asx-file can be edited, and the steam's multi Urls can display totally.

Another implement is the tracknumber can been displayed that mentioned before. I know few about stream, I refer to the msdn, I don't know if the "Playlist.attributeCount"
can carry out. http://msdn.microsoft.com/zh-cn/library/aa...-us,VS.85).aspx (http://msdn.microsoft.com/zh-cn/library/aa392453(en-us,VS.85).aspx)

Excuse me for my poor English.
Title: Issues with ASX streams
Post by: Dvvarf on 2009-12-19 11:59:24
Finally I found that stream world-wide available: http://cluster.quantumart.ru/broadcast/def...dia=station2000 (http://cluster.quantumart.ru/broadcast/default.aspx?media=station2000)
Quantum Art is displayed as artist.
P.S. In metadata for radio stations (all in my case) no info is displayed. Should it be that way in beta5 (wasn't in beta 4)?
Title: Issues with ASX streams
Post by: Squeller on 2009-12-20 12:02:29
Hi Peter, all entries inside the asx of BBC streams like http://bbc.co.uk/radio/listen/live/r3.asx (http://bbc.co.uk/radio/listen/live/r3.asx) will be displayed in the playlist. Can you make fb2k handling the stream choice internally, but only display the "outside asx"?

The best wishes
Michael
Title: Issues with ASX streams
Post by: kode54 on 2009-12-20 12:19:22
It doesn't work that way for M3U playlists with multiple entries for the same stream, I don't see why this should be any different.

On the other hand, if that were a playlist with multiple URLs for a single entry, it would only display a single item, but it would only pick the first link when you add the ASX.
Title: Issues with ASX streams
Post by: Dvvarf on 2009-12-29 23:21:53
Beta6 is out and no workaround for my problem (info for http://cluster.quantumart.ru/broadcast/def...dia=station2000 (http://cluster.quantumart.ru/broadcast/default.aspx?media=station2000) stream)... Is there a way to fix it it or i just should stick with mslive?
Title: Issues with ASX streams
Post by: Peter on 2009-12-30 11:21:01
Beta6 is out and no workaround for my problem (info for http://cluster.quantumart.ru/broadcast/def...dia=station2000 (http://cluster.quantumart.ru/broadcast/default.aspx?media=station2000) stream)... Is there a way to fix it it or i just should stick with mslive?

Please complain at the radio station administrator, they use custom metadata field names instead of ones defined in the Windows Media SDK.
Title: Issues with ASX streams
Post by: Dvvarf on 2010-01-04 13:57:16
Please complain at the radio station administrator, they use custom metadata field names instead of ones defined in the Windows Media SDK.

Does that mean that WMP also uses these custom names?
P.S. Please, don't think that I'm trying to be impolite, I highly appreciate your work and I dont want to use this mslive plugin that just started to crush foobar sometimes. And unfortunately, its impossible to complain about this stream, because, though its being translated explicitly, it is not meant to be played with normal player, but with flash player provided by station. Also my posts could be dense, because I'm not too good at English.
Title: Issues with ASX streams
Post by: hechacker1 on 2010-01-09 06:36:24
Ok, so I have done extensive work on my perl script that just returns the asx generated by Clear Channel radio streams (asx, mms).

Here is the asx as passed by clearchannel:

http://ordorica.org/tune.pl?station=kfi640 (http://ordorica.org/tune.pl?station=kfi640)

Yes, I tried changing the content type to:
video/x-ms-as

But it doesn't make a difference for foobar. For the purpose of letting you read the script in the browser I don't have a content type set.

So looking at the asx ClearChannel returns, can you tell me what needs to be fixed? I have a subroutine that tries to fix their asx to be more xml like:

   '&' => '&amp;',
   '<' => '&lt;',
   '>' => '&gt;',
   '"' => '&quot;'

But doing that change doesn't help foobar load. I also tried just changing the ampersand with no luck. Is some part of the clearchannel asx broken or needs to be rewritten to work with foobar?

Thanks if you can take a look at it. Otherwise I will just have to stick with mslive or use vlc.

I also tried changing my script to 302 redirect foobar2000 to a generated asx file linux (ordorica.org/tune.asx), but it made no difference.
Title: Issues with ASX streams
Post by: kode54 on 2010-01-09 09:47:16
Here is the asx as passed by clearchannel:

The quotes are fine, as are the angle brackets. You just need to replace the ampersands with entities. In the links. Otherwise, they're not valid. (Unless, somehow, those links actually contain <> or ". Which I doubt.)
Title: Issues with ASX streams
Post by: hechacker1 on 2010-01-10 00:17:50
Here is the asx as passed by clearchannel:

The quotes are fine, as are the angle brackets. You just need to replace the ampersands with entities. In the links. Otherwise, they're not valid. (Unless, somehow, those links actually contain <> or ". Which I doubt.)


Ok, I have cleaned up ClearChannel's asx by removing leading and trailing whitespace, and changed & -> &amp;.

See it here:
http://ordorica.org/tune.pl?station=kfi640 (http://ordorica.org/tune.pl?station=kfi640)

mslive can play the new asx returned ok. So can vlc.

But foobar2000 beta6 just says "unsupported file format."

I also tried changing the content type:
#print "Content-Type: video/x-ms-as; charset=iso-8859-1\n\n";
#print "Content-Type: video/x-ms-as\n\n";

I tried with iso-8859 as suggested by this site:

http://www.trollied.org/~blimey/blog.php?i...2008:1203026794 (http://www.trollied.org/~blimey/blog.php?id=tag:blimey@trollied.org,2008:1203026794)

But it made no change for foobar.

Any other suggestions? Finally, is there a way to disable that warning that my components are unsupported?

Thanks

EDIT: I had my script generate an .asx file and host it on my website:
http://ordorica.org/tune.asx (http://ordorica.org/tune.asx)

It only gets generated if you call this first:
http://ordorica.org/tune.pl?station=kfi640 (http://ordorica.org/tune.pl?station=kfi640)

And using this I can open a location (CTRL+U) to the .asx and foobar does load and play it!

So it seems foobar has a problem with loading from the content returned from the script itself.
Title: Issues with ASX streams
Post by: hechacker1 on 2010-03-16 00:40:52
Bump: Because I'm pretty sure the ASX is okay, but it still doesn't work with Foobar 1.0.1.

Alternatively: I am happy to use the mslive input plugin, but could we please get the option to prevent Foobar from nagging about it every time I open Foobar2000?

EDIT: The author of the mslive plugin renamed it to msl to get around the nag. I still wish for an option though.
Title: Issues with ASX streams
Post by: joelzhao on 2010-05-25 02:58:27
I find a very strange situation, when I add the asx--"http://www.voanews.com/wm/live/newsnow.asx"--which I downloaded to my HDD, it runs well for a period time, but if change to another station and return this station, then it can't playback, and display the message: Unable to open item for playback (IWMReader::Open failed : 拒绝访问。  (0x80070005)):
And the stranger thing is if I add this asx file once again, the situation will occur again. I try this asx file in the media player, it runs well.
Title: Issues with ASX streams
Post by: joelzhao on 2010-05-29 13:26:24
Does anybody notice that the stream played by FB seems slower - always several seconds - than by media player? Who knows the reason?
Title: Issues with ASX streams
Post by: Brazil2 on 2012-04-25 11:26:20
What kind of tags and not displayed where? Any specific stations where I can see this behavior?

I'm not getting the Artist and Title tags from these streams:
http://wms.absoluteradio.co.uk/absoluteradio.co.uk/a8_hi (http://wms.absoluteradio.co.uk/absoluteradio.co.uk/a8_hi)
http://wms.absoluteradio.co.uk/absoluteradio.co.uk/vc_hi (http://wms.absoluteradio.co.uk/absoluteradio.co.uk/vc_hi)

It's displaying twice the name of the radio instead.
However it's working fine with AIMP. Any thoughts ?
Title: Issues with ASX streams
Post by: Brazil2 on 2012-04-27 09:04:29
So, does anyone know a tagged WMA stream which is working fine on foobar ? Or is it still a known missing feature ?