Playlist import

Issue description:

import playlist, i select m3u or m3u8 from symfonium local device-files-library, AND select import, then i receive the message “No playlist content to import”, how can i import a playlist?

Logs:

Upload description: nena signos

Additional information:

 
the playlist import works for other music app. same playlist Archive
 

Reproduction steps:

 
import playlist, i select m3u or m3u8 from symfonium local device-files-library, AND select import, then i receive the message “No playlist content to import”, how can i import a playlist
 

Media provider:

Local device

Screenshots:

 

    

You did not upload the logs… Please upload logs reproducing the issue.

the log file was uploaded

In the logs you open the m3u8 playlist.

That playlist contains absolute path in it

/Users/patron/Music/Music/Media.localized/Music/Modest Mouse/Float On-(CDS)/01 Float On.mp3 

They start with / and have a full path, path that does not exist on your phone. What other apps support such invalid content and where is that song actually located on your phone?

apps like musicolet and poweramp can import playlist from m3u and m3u8 like the one i’m trying to import in symfonium.

the songs files are located in my phone
/storage/emulated/0/Music/m/

But how can it work ?

The playlist says the file are exactly at:
/Users/patron/Music/Music/Media.localized/Music/Modest Mouse/Float On-(CDS)/01 Float On.mp3

Your files are in
/storage/emulated/0/Music/m/

So if the actual file is
/storage/emulated/0/Music/m/Modest Mouse/Float On-(CDS)/01 Float On.mp3

Why would the app decide to match that, that’s not how m3u are supposed to work.

/Modest Mouse/Float On-(CDS)/01 Float On.mp3

the end part of the address is the same.

maybe it ignores invalid fractions of the path

At this point this not invalid part since there’s an extra /m/ it’s just ignoring how the playlists works and try to match anything that may work.

This could also lead to many wrong matching with so much differences.

same music folder hierarchy same playlist result

I do not understand, please provide new logs and details about the file structure. While I can relax the matching, I won’t support random non matching paths.

i just upload two files, m3u and m3u8 of the same playlist, one from the pc and one modified hierarchy for the phone.

Please provide the logs for those as asked.

log uploaded
m3u modified imported

So it works as expected when using the proper path.

yes, but isn’t a automate process with the logical path information.

Playlists can have either absolute path or relative path to the playlist and Symfonium support both.

Your path do not match at all yet are absolute and have differences in them.

If I allow random path matching this would mean that a song /ArtistA/GreatestHits/01.mp3 in the playlist could match /ArtistB/GreatestsHists/01.mp3 and it would be a complete non sense.

To avoid those kind of absolute path issues, usually the path are relative to the playlists.

So if you have your playlists in a folder named playlist and the folders are at the same level you use something like ../ArtistA/GreatestHits/01.mp3 and it’s clear where to find the file.