Menu

#34 Playlists with relative paths

open
nobody
None
5
2020-03-04
2012-01-08
Anonymous
No

Subsonic does not work with M3U playlists with relative paths in them, such as e.g. this one as exported by Banshee:

EXTM3U

EXTINF:521,A.R. Rahman - Arziyan

../A.R. Rahman/Signature Collection/01. Arziyan.m4a

EXTINF:258,A.R. Rahman - Ringa Ringa

this is in e.g. ~/Music/Playlists/test.m3u, with the song in e.g. ~/Music/A.R. Rahman/Signature Collection/01. Arziyan.m4a

Subsonic should correctly resolve such relative path, using not the current working dir, but the location of the file being read.

If security is a concern, you could check that the Path does not lead outside any of the known Media folders.

Discussion

  • Nobody/Anonymous

    3L5P00 afejjoxzuibw, [url=http://hzheppafriru.com/]hzheppafriru[/url], [link=http://bdsnucmffwxl.com/]bdsnucmffwxl[/link], http://zfwvxkrfxslt.com/

     
  • Anonymous

    Anonymous - 2016-09-12

    when ist this bug fixed? it does not work. the m3u is placed in my music dir and all paths in the m3u are relative. when i prefix one path to an absolute path ist works for this file.

    e.g.
    my subsonic musicfolder is /mnt/3tb/musik/

    EXTM3U

    /mnt/3tb/music/Compilations/A Album/1.mp3
    Compilations/A Album/1.mp3

    first line worked, the decond not.

     
  • Anonymous

    Anonymous - 2020-03-04
    Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel