rasmuslos / AmpFin

Native Jellyfin music player for iOS & iPadOS
Other
149 stars 10 forks source link

Playlists not showing up #66

Open Else00 opened 2 weeks ago

Else00 commented 2 weeks ago

I added playlists as .m3u files in the directory given to Jellyfin. While Jellyfin official app and other third party client show correctly the playlists, AmpFin does not.

Ampfin:

Screenshot 2024-09-05 at 13 34 20

Jellyfin:

Screenshot 2024-09-05 at 13 34 07

Finamp:

Screenshot 2024-09-05 at 13 35 07

Jellybox:

Screenshot 2024-09-05 at 13 37 09
rasmuslos commented 2 weeks ago

Are there movies / episodes in the playlists, too?

Else00 commented 2 weeks ago

No only music files.

cat "cool pkmn bw battle ost.m3u"

EXTM3U

Disc 2/2.29 Battle! (Elite Four).flac Disc 3/3.29 Battle! (Legendary Pokémon).flac Disc 3/3.50 Battle! (Cynthia).flac

gnattu commented 1 week ago

M3U playlists are not marked as audio only on the server side and that's why AmpFin is filtering out that.

Currently it has a mediaType of "MediaType": "Unknown", so if we want to show those we need to include that.

The reason of this is that the M3U can link to arbitrary items which may or may not an audio, and some of them are not even in the library itself and that is easily changeable by the user, which makes the server hard to check all item type.

Else00 commented 1 week ago

There is something i can insert in my m3u file to make it compatible with AmpFin? M3U are supported on all the Jellyfin client i found, also music only clients like JellyBox and Finamp, so is possible to make them work.

gnattu commented 1 week ago

AmpFin needs to include unknown type in the result if the goal is to have same behavior as other clients. But i don’t know what will happen if that m3u has non-music item

rasmuslos commented 1 week ago

I received an E-Mail about a similar issue, and I got a pretty neat idea for a solution, but it might take some time to implement