View Issue Details

IDProjectCategoryView StatusLast Update
0003238MMW v4Playerpublic2007-07-15 06:29
Reporterrusty Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version3.0 
Summary0003238: Cannot open some streams via 'Open file or URL' dialog
DescriptionMediaMonkey can't open some streams via the 'Open file or URL' dialog, even though the exact same streams can be opened via a hyperlink.

e.g. The following link cannot be opened: http://www.wfmu.org/wfmu.pls
But the same link can be opened via a browser at: http://www.wfmu.org/audiostream.shtml#mp3help

The following link cannot be opened: http://floyd.wcbn.org:8000/wcbn-hi.mp3
But the same link can be opened via a browser at:
http://floyd.wcbn.org/
Additional Informationraised at: http://www.mediamonkey.com/forum/viewtopic.php?t=18443
TagsNo tags attached.
Fixed in build1047

Activities

jiri

2007-07-10 15:43

administrator   ~0009679

Problem is that we use

wsl.LoadFromFile( fname);

in FullPlayer.pas and it results in calling CreateFile() Win API function, which apparently can't open HTTP streams. We should instead write our own function that will read data from a source to a TWideStringList and will use .LoadFromFile() method for files and some Indy calls for streams.

I guess that IsURLPath() from MediaManage.pas should help in this.

Don't forget to handle proxies too (it probably automatically will handle them if some already existing methods in MM are used).

Ludek

2007-07-12 12:01

developer   ~0009692

Fixed in build 1047.

rusty

2007-07-15 06:29

administrator   ~0009763

Verified 1048.