blacktwin / JBOPS

Just a Bunch Of Plex Scripts
1.66k stars 308 forks source link

playlist_manager.py - Add ability to sync contents of Admin playlist to users #354

Open bbrospo opened 2 years ago

bbrospo commented 2 years ago

Is your feature request an improvement on an existing script?

https://github.com/blacktwin/JBOPS/blob/master/fun/playlist_manager.py

A clear and concise description of what you want to happen.

I've been using the script to share music playlists to users. This has been working great, but when I modify the playlist, and I share (remove/add) to the user again, this creates an orphaned playlist object in their recently played. It would be better if we could "sync" the playlist, either dumping all contents / re-populating, or just realizing the changes and syncing those only. There is an '--action update', but it does not work for music playlists. Even if it worked, it appears it still removing / adding, not keeping the original object.

Is your feature request related to a problem? Please describe.

It's only related to objects being orphaned in recently plays, or recent playlists inside Plexamp, improving the user experience.

Describe alternatives you've considered

I could share the playlists via plex's share feature, but I don't like that they don't show up in the users' playlists section. Using this script to actually create a playlist for them makes way more sense. In some cases I copy a playlist only once, and then they just own it to modify, as if they created it.

Additional context

The only additional function that could be cool... now that we can add custom poster art to playlists, when a playlist is copied / sync'd to users, copying the admins custom art to those users would be great. Not sure if this is possible, but it improves the experience.