View Issue Details

IDProjectCategoryView StatusLast Update
0014715MMW v4Playlist / Searchpublic2018-04-16 08:55
Reporterpeke Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Target Version4.1.21 
Summary0014715: XSPF: Playlists with relative paths to files are not read corectly
DescriptionIn user particular case (XML File attached) "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" instead of \\162.168.1.111\My music\Alben\Phil Collins\Hits\15 - In The Air Tonight.flac Which is invalid path.
Additional Informationhttps://www.mediamonkey.com/forum/viewtopic.php?f=7&t=89212
TagsNo tags attached.
Attached Files
bug14715.xml (448 bytes)   
<?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>
bug14715.xml (448 bytes)   
Fixed in build

Activities