mirror of
https://github.com/tubearchivist/tubearchivist-plex.git
synced 2026-03-23 20:37:11 +00:00
[GH-ISSUE #38] [Feature Request] Automatically Add Playlists #15
Labels
No labels
bug
bug
documentation
duplicate
enhancement
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tubearchivist/archived-tubearchivist-plex#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LordFransie on GitHub (Jan 27, 2024).
Original GitHub issue: https://github.com/tubearchivist/tubearchivist-plex/issues/38
I've read the documentation.
Your Feature Request
Is your feature request related to a problem? Please describe.
It is not.
Describe the solution you'd like
I’d like TA’s Plex Plugin to automatically create playlists
Additional context
I’m aware this is on the roadmap but is not currently in development. I am creating this ticket to act as a hub to discuss the issue. I’ve already gone through the plugin’s code and I’d like to start the development on this feature.
Your help is needed!
@lamusmaser commented on GitHub (Jan 27, 2024):
From my initial brain dump on this issue:
Playlists will probably become collections.
Collections should be notated whether they are plug-in created vs other (this would hopefully correct #37).
Collections that are plug-in created would then be imported/updated following the appropriate scan/ update logic.
There should be a setting to enable/ disable automatic import of playlists.
Let me know if you have specific questions and I'll try to be responsive.
@lamusmaser commented on GitHub (May 14, 2024):
Have you been able to work on this at all? If not, I will look into it further as potential feature with v0.2.0. Once I have more details, I can provide my notes here.
@LordFransie commented on GitHub (Aug 14, 2024):
Okay, I have a rather janky script that just barely works
@tehniemer commented on GitHub (Sep 10, 2024):
Another option for this may be to add a playlist as a "Series" in plex, with the additional option to allow channels to be hidden if they are not subscribed in TA.
For example, I subscribe to a bunch of playlists that have content from multiple channels. All of those channels show up as individual series in my plex library with one or two videos in them, I'd rather see the subscribed playlist show up as the series and the individual channels be hidden. I'm not sure if this is possible or should have a separate feature request.
@lamusmaser commented on GitHub (Sep 10, 2024):
@tehniemer Unfortunately, this one isn't possible. Because of how the relationship has to be associated when generating the Plex reference ID, I cannot a) associate the video in two places nor b) associate it as a Series component. This is because I generate the details based on the filesystem structure as a fallback for when the metadata isn't provided, and those are only associative to Channel/Video details. YouTube Playlists by nature will have to come in as Collections since Plex Playlists are a per-account level interaction and cannot be created by other users. Collections are the only thing that I've found that perform as expected for this area, just haven't had the development time to actually generate the functionality, although @LordFransie's work does help in this arena to lower the threshold for time requirements.
@tehniemer commented on GitHub (Sep 10, 2024):
Understood, I could live with collections of individually subscribed content, playlists or channels, sounds like that's possible?
@tehniemer commented on GitHub (Sep 10, 2024):
Maybe some of the methodology in this project could help with collection building?
https://github.com/Kometa-Team/Kometa
@LordFransie commented on GitHub (Sep 10, 2024):
So currently the script that I posted does this. It turns each playlist into their own collection, so they'll actually show up alongside the channels when you look at library. Then if you want an even easier time going through them you can just hit "collections" and it will just show you your playlists turned collection.
I have an updated version I need to post that handles pagination and also adds playlists as playlists since that works a bit easier for me for downloading purposes, though it does still have the shortfalls mentioned earlier where playlists don't show up for everyone else on the server.
Feel free to give it a rip, it's python3 and very easy to run.
@tehniemer commented on GitHub (Sep 11, 2024):
Does it put each subscribed channel into its own collection also? I would personally like to be able to go to one location in plex to find only my subscribed content, both channels and playlists.
This is the example of what I'm struggling with, I don't want to see all the single video channels since I'm not actually subscribed to them, but the video is part of a playlist.

@LordFransie commented on GitHub (Sep 11, 2024):
No. Channels are still their own series.
The script that I wrote asks tube archivist for a list of all the playlists
it has and then recreates those in Plex as collections.
So you can click on the “collections” button for the library and only view
those collections.
I recommend creating a test collection to see how the collection experience
works.
On Wed, Sep 11, 2024 at 7:29 AM tehniemer @.***> wrote:
@strese commented on GitHub (Oct 28, 2024):
@LordFransie
I've been trying using the script but I only get a SyntaxError.
File "ta-plex-playlist.py", line 59
print(f'Episode Title: "{episode.title}"')
^
SyntaxError: invalid syntax
SOLVED: I was running the wrong Python version. It was a fubar on my part.
@strese commented on GitHub (Oct 31, 2024):
@LordFransie
It's me again. 😂 Everything works flawlessly and it's great. Great job, really!
I have a feature request for the script. Is it possible to have it fetch metadata from the playlists from TubeArchivist as well? Metadata like playlist thumbnail, description and such and have it populated in Plex also?
@LordFransie commented on GitHub (Dec 8, 2024):
I think I can give this the old college try. Playlist thumbnails was already on my roadmap and this will help me get that moving forward.
@lamusmaser commented on GitHub (Mar 11, 2025):
This is probably going to be included as part of the effort with v0.2.0 release, due to the complexity of the playlists functionality.
@coltoneshaw commented on GitHub (Dec 17, 2025):
Here's a rough PR for solving this - https://github.com/tubearchivist/tubearchivist-plex/pull/112 if anyone wants to test.