! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Impossible to load the entries of an M3U playlist when they use relative paths.
Status:
RESOLVED: FIXED
Severity:
trivial

Comments

Description Alexander De Sousa 2013-10-26 00:15:12 CEST
Created attachment 5203 
Specify dir separator in parole_pl_parser_parse_m3u, src/misc/parole-pl-parser.c.

When opening an M3U playlist Parole fails to load its entries if they're specified using relative paths.

This happens because when appending file name to the directory path using g_strjoin an empty separator is used, resulting in things like this:

/absolute/dirfile.ext

Instead of:

/absolute/dir/file.ext

A patch against current git head is attached to the bug report that specifies the separator to construct the expected absolute path to the file.
Comment 1 Simon Steinbeiss editbugs 2013-10-28 09:25:52 CET
Thanks for both the bugreport and the patch! Applied patch in git-master.

PS: If you specify a valid email address etc. I can simply sign-off the patch next time and your name would be there as the commit-author (if you even want that).

Bug #10436

Reported by:
Alexander De Sousa
Reported on: 2013-10-26
Last modified on: 2013-10-28

People

Assignee:
Simon Steinbeiss
CC List:
1 user

Version

Attachments

Additional information