I have an issue that newly create playlists in Jellyfin with the same name are treated differently. I understand this might be intended behavior. So I would like some advice if what Im trying to achieve is possible.
Audiomuse AI has the ability to create weekly Sonic Fingerprint Playlists, and, it does this by deleting the old playlist and creating it with a new one with same name.
These playlists are treated differently and means that a user cannot ever sync them offline or online.
Is there a way that symfonium can clean up removed playlists as such to allow sync? After all the naming of the playlists are the same but the sequential numbering has changed.
Ill leave the Github issue here in case, hope its ok for you. Just in case I am missing some important points, I am, but, a mere user and not a developer after all.
Just to add that they are different playlist with the same name.
From what I understood he just want to be aligned with Jellyfin server if possible: so removing from Symfonium the deleted playlist and add then new one using the playlist is on jellyfin.
But maybe I’m wrong and I don’t have an android smartphone to check myself
Edit: on AudioMuse-AI creating a new one is intended. If you want to keep and old version of fingerprint you can just rename it and the algorithm will not remove it.
But it would be more uniform to populate the playlist with the new tracks while removing the old, rather than recreate it. Because, currently it is not client friendly as the name “technically“ changes each time the playlist gets recreated with same name.
In an ideal scenario, I think most users want 1:1 server vs client layout. It makes no sense to have playlists on the server but not on client.
Let’s recap to be sure to be on the same page, and let’s remove the “fingerpint” variable.
An user go on Jellyfin and create 2 totally different playlist with only the same name in common, so on Jellyfin server you will have let’s say:
ID1 - playlist => A,B,C
ID2 - playlist => X,Y,Z
when you import on Symfonium you have:
playlsit .1 => A,B,C
playlsit .2 => X,Y,Z
perfect all aligned.
Now the user delete ID2 from Jellyfin, on Symfonium we should have only:
playlsit .2 => X,Y,Z
If this is the result I totally agree with it because is 100% aligned with Jellyfin. Then ok you add the .2 that jellyfin doesn’t do but I think this is good. The important things is that playlsit .1 didn’t appear on Synfonium if doesn’t exist on Jellyfin.
It depends, Symfonium is offline first, so its possible to have playlists on Symfonium that dont exist on the server until you push them.
With the sonic playlist we ideally want it “online“ meaning the server version is the master. And the ID must remain the same in that case, otherwise there is no definitive way of distinguishing 2 playlists with same name.
I’m not sure to understand the issue here. Symfonium does not automatically remove missing playlist from the server since they can be offline cached and be a temporary server issue or whatever.
I’m not understanding this offline first or online first. I’m just understanding that Symfonium have a cache for offline situation that can still contains deleted playlist from the server. And this is a voluntary decision and not a bug.
From AudioMuse-AI side I can only confirm that create new playlist was intended too. I’ll look if there is a better way to address this without impacting to much AudioMuse-AI but for now I didn’t see easy solution.
I totally understand. I only marked it as a bug on github because it seemed unintended at first.
Is there no way to update playlist via jellyfin API instead of having to destroy and recreate the playlist.? Audiomuse already has the connection.
The way it seems currently seems like a roundabout way with good intentions.
My 2 cents:
I think one thing that keeps users locked into streaming services is the automatic discovery aspect of new music via smart queue / playlist integrations.
I really believe Audiomuse is the bridge to make this experience possible for the self hosted community without joining the plexiverse. In saying that the integration should be as seamless as possible into the clients.
The current way, means a user needs to import the playlist each week into symfonium while deleting the old one from the week before. Which is not user friendly and kind of renders this great feature of audiomuse rather bothersome.
Just my opinion. I still am very greatful for your work @neptunehub and also the great work from @Tolriq .