Hi,
Problem: I have several XSPF Files with relative path. After importing this xspf files you cannot play them - files not found.
MM: 4.1.19.1859
Expected behavior: MM should interpret (relative-) paths relativ to the position of the original xspf / playlist (-> VLC will do this).
Another solution would be that MM will use/store the absolut path in the MM db during the import process.
Thx.
XSPF Playlist with relative path are not working [#14715]
Moderator: Gurus
Re: XSPF Playlist with relative path are not working
Hi,
I can't replicate.
Would you be kind to copy/Paste one small XSPF and path where it resides along with full path to one of the files in playlist?
I can't replicate.
Would you be kind to copy/Paste one small XSPF and path where it resides along with full path to one of the files in playlist?
Code: Select all
HINT: Use CODE in reply over XSPF to make it easier to read here
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
How to attach PICTURE/SCREENSHOTS to forum posts
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
How to attach PICTURE/SCREENSHOTS to forum posts
Re: XSPF Playlist with relative path are not working
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<playlist xmlns="http://xspf.org/ns/0/" version="1">
<title>testList</title>
<trackList>
<track>
<location>file:///./../../Alben/Phil Collins/Hits/15 - In The Air Tonight.flac</location>
<title>In The Air Tonight</title>
<creator>Phil Collins</creator>
<album />
<image>file:///./cover.jpg</image>
</track>
</trackList>
</playlist>
Re: XSPF Playlist with relative path are not working
Have you been able to reproduce this now?
Re: XSPF Playlist with relative path are not working
Update - the "problematic" part seems to be
if i change this to
it's half working - during the import process there is a popup saying "could not find the following files..." but a nice click on "cancel" and the list is imported.
Whats wrong with the first file:/// approach? And why is there an "error" window with ./../.. ? (Changing it to win style \ and the popup is not shown)
Code: Select all
file:///./../../
Code: Select all
./../../
Whats wrong with the first file:/// approach? And why is there an "error" window with ./../.. ? (Changing it to win style \ and the popup is not shown)
Re: XSPF Playlist with relative path are not working
Hi,
problem looks like with Linux translation and windows translation as Linux uses "/" as folder separator and "file:///" Means network path URI.
In your particular case "file:///./../../Alben/Phil Collins/Hits/15 - In The Air Tonight.flac" for Linux it is translated as: file:///./ -> Take Path from XSPF path as a current folder eg. "//162.168.1.111/My music/Lists/XSPF Playlists/", then go back two folders eg. "/../../" an then navigate to "/Alben/Phil Collins/Hits/" which makes full path to file as "//162.168.1.111/My music/Alben/Phil Collins/Hits/15 - In The Air Tonight.flac" and file plays Windows in the other side translates this completely differently that make full path ending in "\\162.168.1.111\.\..\..\Alben\Phil Collins\Hits\15 - In The Air Tonight.flac" Which is invalid path.
problem looks like with Linux translation and windows translation as Linux uses "/" as folder separator and "file:///" Means network path URI.
In your particular case "file:///./../../Alben/Phil Collins/Hits/15 - In The Air Tonight.flac" for Linux it is translated as: file:///./ -> Take Path from XSPF path as a current folder eg. "//162.168.1.111/My music/Lists/XSPF Playlists/", then go back two folders eg. "/../../" an then navigate to "/Alben/Phil Collins/Hits/" which makes full path to file as "//162.168.1.111/My music/Alben/Phil Collins/Hits/15 - In The Air Tonight.flac" and file plays Windows in the other side translates this completely differently that make full path ending in "\\162.168.1.111\.\..\..\Alben\Phil Collins\Hits\15 - In The Air Tonight.flac" Which is invalid path.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
How to attach PICTURE/SCREENSHOTS to forum posts
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
How to attach PICTURE/SCREENSHOTS to forum posts
Re: XSPF Playlist with relative path are not working
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
How to attach PICTURE/SCREENSHOTS to forum posts
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
How to attach PICTURE/SCREENSHOTS to forum posts