Zeugma440 / atldotnet

Fully managed, portable and easy-to-use C# library to read and edit audio data and metadata (tags) from various audio formats, playlists and CUE sheets
MIT License
442 stars 60 forks source link

Playlist reader incorrectly returns URLs as absolute paths #174

Closed Aionir closed 1 year ago

Aionir commented 1 year ago

When loading a playlist with GetPlaylistIO, if the file item is actually a URL, it returns an invalid path/url:

Example: Loading a playlist: c:\users\someuser\someplaylist.pls

Playlist contents:

[playlist]
NumberOfEntries=1
File1=http://uk3.internet-radio.com:8405/live

GetPlaylistIO will correctly return 1 file, however the output will be: c:\users\someuser\http://uk3.internet-radio.com:8405/live

When it should just return: http://uk3.internet-radio.com:8405/live

Zeugma440 commented 1 year ago

The fix is available on today's v4.14