mirror of
https://github.com/tubearchivist/tubearchivist-plex.git
synced 2026-03-23 20:37:11 +00:00
[PR #112] Add Playlist Support with Subscription-Aware Organization #112
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#112
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?
📋 Pull Request Information
Original PR: https://github.com/tubearchivist/tubearchivist-plex/pull/112
Author: @coltoneshaw
Created: 12/17/2025
Status: 🔄 Open
Base:
main← Head:sorting_playlists📝 Commits (3)
2766b25initial sorting playlists910250eupdated channel logicab3d46bAdd Woodpecker CI for versioned releases📊 Changes
4 files changed (+410 additions, -102 deletions)
View changed files
➕
.woodpecker.yml(+40 -0)📝
Contents/Code/__init__.py(+126 -57)📝
README.md(+35 -1)📝
Scanners/Series/TubeArchivist Series Scanner.py(+209 -44)📄 Description
Summary
This PR adds support for organizing videos by TubeArchivist playlists in Plex, with subscription-based filtering. Videos now appear under their subscribed playlists instead of being scattered across individual channel shows.
Changes
Scanner (
Scanners/Series/TubeArchivist Series Scanner.py)get_ta_playlist_metadata()function to fetch playlist metadata from TubeArchivist APIget_ta_video_metadata()to includechannel_id,channel_name, andplaylistfieldsget_ta_channel_metadata()to includechannel_subscribedstatusAgent (
Contents/Code/__init__.py)get_ta_playlist_metadata()function to fetch playlist metadata for agentSearch()function with unified show IDs for playlists to prevent fragmentation across channel foldersUpdate()function to handle both playlist and channel GUIDsDocumentation (
README.md)Behavior
Organization Logic
Multi-Playlist Support
Videos belonging to multiple subscribed playlists will appear in each playlist show (duplicate entries by design).
Backward Compatibility
Existing channel-only videos continue to work as before. The subscription filtering only applies when playlist/channel subscription data is available.
Performance
Metadata caching reduces duplicate API calls during scans. Cache is cleared at the start of each scan to ensure fresh subscription data.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.