View Issue Details

IDProjectCategoryView StatusLast Update
0002424MMW v4Playerpublic2009-06-12 03:27
Reporterrusty Assigned To 
PriorityhighSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Fixed in Version3.1 
Summary0002424: Support for parsing of ASX links in need for WMA streaming
DescriptionThis requires that we support reading of the .asx format.

This feature is occasionally requested, but if it's simple to implement, might be worthwhile.
TagsNo tags attached.
Fixed in build1253

Relationships

related to 0005439 closedLudek MMW v4 Some "mms://" radio streams don't play 
parent of 0005341 closedLudek MMW v4 Some MP3 radio streams no longer shows info in Player and doesn't play flawessly (regression) 
parent of 0006373 closedLudek MMW v4 Installer: Add ASX extension to be checked by default 
related to 0004836 closedmichal MMW v4 AAC / AAC+ Streaming (Win 7) 
related to 0004882 closedLudek MMW v4 Regression: AllMusic Listen links are not handeled correctly 
related to 0005701 assignedpeke MMW 5 Better handling of NET Radio Links 
related to 0005502 closedLudek MMW v4 Support XSPF handling 
related to 0005817 closedLudek MMW v4 Windows Media Audio Redirector .WAX file format support 

Activities

rusty

2007-07-30 17:00

administrator   ~0009996

Note: the following may be used as well (have not fully researched this):
RTSP, MMS, MMSU, MMST

jiri

2007-08-22 19:41

administrator   ~0010242

I'd suggest to defer past 3.0 release.

rusty

2007-10-23 18:46

administrator   ~0011494

agreed.

peke

2008-06-30 01:44

developer   ~0014312

Related MSDN information:
http://msdn.microsoft.com/en-us/library/ms910265.aspx

It should not be Hard to support, it follows XML format spec.

eSupport ticket:
http://www.mediamonkey.com/support/staff/index.php?_m=tickets&_a=viewticket&ticketid=820

peke

2008-06-30 01:46

developer   ~0014313

Reminder sent to: jiri, rusty

Please Revise this.
As explained in Ticket MM already support playback of those streams but only if you extract Stream url manually.

user_Morten

2008-09-23 06:59

developer   ~0014636

.wmv/.mov/.mp3 etc. streaming should also be considered. I can make a web UI to integrate with the browsers.

Ludek

2008-09-23 09:20

developer   ~0014637

Last edited: 2008-09-23 10:10

Upon my testing - these WMA streams:

mms://netshow6.play.cz/frekvence1-128?WMContentBitrate=130000
http://cdn-two.977music.com/club977country
mms://wm-live.sr.se/SR-Radiosporten-High

can be played by in_wma.dll, but the plugin does not recognize they as WMA streams.

Related ticket:
http://www.mediamonkey.com/support/staff/index.php?_m=tickets&_a=viewticket&ticketid=2172

I fixed this for the streams without WMA extension and for the mms streams in build 1186.

Ludek

2008-09-23 10:11

developer   ~0014639

Last edited: 2008-09-23 12:11

Reopened in order to implement .asx parsing.

Added support for ASX streams in build 1186.

Such a stream can be added via "Open URL or File" now.

stephen_platt

2009-02-20 00:38

developer   ~0016772

verified 1223

Ludek

2009-06-01 23:14

developer   ~0018099

Last edited: 2009-06-01 23:26

As discussed with Peke over IM, currently only the stream link is parsed from ASX although there is another usefull info that could be parsed from ASX.

Example ASX is here:
http://www.rtvnoord.nl/stream/radio.asx

Fields to be parsed are also described here:
http://www.microsoft.com/windows/windowsmedia/howto/articles/introwmmeta.aspx

At least title and author meta fields should be extracted.

peke

2009-06-01 23:28

developer   ~0018100

Last edited: 2009-06-01 23:32

Small Clarification:
In case MMS:// Stream sends currently track info like shoutcast do info sent in MMS:// stream should override initial info read From ASX file.

peke

2009-06-02 00:40

developer   ~0018101

ASX parsing and other online based playlist type formats is added to new but 0005701 for better handling and overall support of Net Radio Streaming format protocols.

Ludek

2009-06-02 16:40

developer   ~0018102

Fixed in build 1250.

From the list here http://msdn.microsoft.com/en-us/library/ms910265.aspx
the following metadata are extracted from ASX playlists now:

ABSTRACT (-> song's comment)
TITLE (-> song's title)
AUTHOR (-> song's artist)
COPYRIGHT (-> song's copyright)

Ludek

2009-06-03 12:25

developer   ~0018110

Last edited: 2009-06-03 12:28

I forgot to associate the extension with MM, it means that it cannot be obened by using right click on file and "Open with MediaMonkey".
And also the file cannot be dragged into Now Playing.

Associated XSPF and ASX playlists with MM in build 1251.

peke

2009-06-03 13:58

developer   ~0018112

Reminder sent to: jiri, rusty

Rusty, Jiri
I'm not sure that we should do association with MM especially as ASX are more used for Video than for audio to avoid Conflicts especially as in MM 3.1 we do not support Video Playback.

jiri

2009-06-03 14:21

administrator   ~0018113

I haven't tested this, Ludek, is there any associated risk? I wouldn't mind deferring this after 3.1 release...

zvezdan

2009-06-07 08:11

updater   ~0018226

Well, it is great that you added a possibility to open and play .asx files from Explorer with the "Open with MediaMonkey" option, but because of your changes my Track Redirection script doesn't work anymore. You know, I spent too much time writing this script and it is essential for me because it allows me to have small .asx files instead of duplicated audio files (.flac...).

Please, could you return back the reproduction of .asx files stored in the library with my script?

zvezdan

2009-06-07 08:19

updater   ~0018227

By the way, if you want more complete support for metadata, you should handle following PARAM tags:

"Composer", "WM/Composer"
"Album", "WM/AlbumTitle"
"Album Artist", "WM/AlbumArtist"
"Conductor", "WM/Conductor"
"Lyricist", "WM/Writer"
"Date", "WM/Year" '??? not working
"Genre", "WM/Genre"
"Rating", "Rating" '??? not working
"Rating", "WM/SharedUserRating" '??? not working
"Length", "Duration"
"Track #", "WM/TrackNumber"
"Disc #", "WM/PartOfSet"
"Track Volume", "AverageLevel"
"Bitrate", "Bitrate"
"File size", "FileSize"
"Mood", "WM/Mood"
"BPM", "WM/BeatsPerMinute"
"Original Artist", "WM/OriginalArtist"
"Original Album Title", "WM/OriginalAlbumTitle"
"Original Date", "WM/OriginalReleaseYear" '??? not working
"Comment", "Description"
"Lyrics", "WM/Lyrics"
"Grouping", "WM/ContentGroupDescription"
"ISRC", "WM/ISRC" '???
"Original Lyricist", "WM/OriginalLyricist"
"Publisher", "WM/Publisher"
"VBR", "IsVBR" '???

E.g. <PARAM NAME = "WM/AlbumTitle" VALUE = "Shaking the Tree: Sixteen Golden Greats" />

jiri

2009-06-07 14:28

administrator   ~0018231

Zvezdan, what exactly is broken now? I.e. what is necessary to change in order to make your script working?

zvezdan

2009-06-07 16:21

updater   ~0018233

Jiri, I think it is easier to explain what my script do when you choose the Create Redirection option. Here is a simplified algorithm:
- create an .asx file in the same folder as selected audio file from the Library;
- transfer metadata from the audio file to the .asx file;
- rename extension of the Path field in the Library to the .asx, e.g. if I have a Path field C:\Shaking the Tree\Shock the Monkey.flac, after that option I would have C:\Shaking the Tree\Shock the Monkey.asx;
- optionally delete selected audio file.

This worked great till 1249, such tracks with .asx extension played fine, but from 1250 they are not playing anymore. The OnPlaybackEnd event returns immediately after click on the Play Now button. ASX files that are not created with my script (i.e. those not stored in the Library) MM plays fine when I drag them from the Windows Explorer and drop them to the MM player, but if I try to drop some ASX file which is already stored in the Library with my script, it will not play.

jiri

2009-06-07 19:13

administrator   ~0018234

Reopening, Ludek please look into it, I suppose that it should be easily possible to play ASX files in Library.

zvezdan

2009-06-07 21:22

updater   ~0018235

Thanks. When you are already on that, it would be great if you enable a reproduction of .asx files with relative referenced files (something like <REF HREF = "..\..\some_file.mp3" />). Windows Media Player, Winamp and many other players support such files.

Ludek

2009-06-08 06:16

developer   ~0018236

Last edited: 2009-06-08 08:34

Re: Zvezdan's problem
Note that ASX playlist itself aren't supposed to be a part of library content similar like M3U and PLS playlists. I don't fully understand why your script creates ASX entries in library, but for backward compatibility with your script I added the handling that was there in build 1249 and earlier.
-> Fixed in build 1252.

Re: Association with ASX
Note that I added the association only to Options|FileTypes, it is missing from installer.
I am about to add it to installer and ASX association will be unchecked by default.
-> Fixed in build 1252.

Re: relative referenced files (something like <REF HREF = "..\..\some_file.mp3" />)
-> Added in build 1252.

zvezdan

2009-06-10 06:30

updater   ~0018292

Thank you very much for considering my suggestions. I just tried 1252 and .asx files with relative paths work great. Playback of .asx files stored in the Library also works now, but there are several problems when I press Play Now button with selected .asx file:
1. Metadata (Title, Artist, Album, Album cover) in the player are displayed for referenced file, not for track with .asx file in the Path;
2. Referenced audio file appears in the Now Playing panel, instead of the track with .asx extension;
3. Most problematic behavior - the track in the main tracklist with .asx file is replaced with the referenced audio track.

By the way, if you don't understand why my script creates ASX entries in the Library - it is trying to resolve "one song-many albums" situation where users want to keep duplicates of the same track, but instead of several big audio files for same track, my script allows to keep just one big audio file (master) and other files are replaced with small .asx files. Each of those .asx files has its own metadata inherited from the audio file which it replaces. I expect those metadata to be displayed in the Player when I start reproduction of some .asx file, not metadata of the referenced (master) track. For example, I have "Shock the Monkey" song from the "Peter Gabriel [4]" album as master and same track from the "Shaking the Tree" compilation which I replace with .asx file - when I press Play Now button for .asx file I expect to see "Shaking the Tree" as album name and its cover, not "Peter Gabriel [4]" (the Title and the Artist are most probably same for .asx and referenced file, but not necessary).

My script has a possibility to choose if you want to update playstats (Play count and Last Play date) for .asx track or referenced (master) track. However, because MM now replaces .asx tracks with referenced tracks in the Now Playing panel when I press Play Now button, the mentioned option becomes useless since every time playstats will be updated for referenced track, not matter if I enable or disable it.

Versions till 1249 was without those issues. Could you do something about it, please?

zvezdan

2009-06-10 07:20

updater   ~0018293

I forgot to say - when I open .asx file in the Windows Media Player (and some another players), it is displaying metadata from the .asx file, not from the referenced file. I expect same behavior with MM.

Ludek

2009-06-10 09:34

developer   ~0018296

Fixed in 1253.

peke

2009-06-11 02:11

developer   ~0018323

Verified 1253

@Zvezdan
As your last note describe similar things that I added to 0005701 Can you please check if I missed something in expected behavior?

zvezdan

2009-06-11 13:13

updater   ~0018335

@Peke, I am not sure if I know exactly about all those streaming formats and I think you are much qualified for this than me. I know only that .asx files could have many of MM supported metadata like I posted before, and I know that pls and m3u cannot have metadata (if you want to follow standards), except extended .m3u format with Length, Artist - Title. Anyway, I think that player should display metadata stored in playlist file if they exists; if metadata don't exists then player should display them taken from audio file which is referenced in playlist.

However, if you want to know my opinion about Internet radio, I could tell you many suggestions. But, most easily would be if you install and try RaimaRadio - it is working for me every day almost two years and in my opinion it is the best of its kind. If you add some of its functionality to MM, I would be very happy.

jiri

2009-06-11 13:30

administrator   ~0018336

I'm setting this issue as resolved, since it seems to me that the original goal is done and I don't think any other complex changes can be made in MM 3.1. Feel free to open a new issue for other suggestions.

zvezdan

2009-06-11 22:51

updater   ~0018372

I just want to say that it works great in 1255. Thank you very much.