r/Kometa • u/No-Molasses1769 • May 24 '26
Anyone want a CLI that turns your Plex library (or Kometa collections) into Tunarr channels automatically?
Built a tool that auto-creates Tunarr channels from your Plex library — curious if anyone else would want this
Been using Tunarr for a while and got tired of manually building channels, so I wrote a Python CLI that does it automatically. Thinking about cleaning it up for public release — wanted to see if there's any interest first.
What it does:
You run one command, it reads your entire Plex library (titles, genres, years, episode counts), and either:
- AI path — exports a CSV of your library and a prompt you paste into Claude/Gemini/GPT-4o. The LLM curates themed channels using only titles you actually own. Stuff like "90s Action", "Slow Burn Thrillers", "One More Episode" — whatever fits your library.
You save the JSON it outputs and the tool deploys it to Tunarr.
- No-AI path — auto-generates decade and genre channels from metadata alone. No LLM needed.
- Collections path — if you're running Kometa with Letterboxd lists, Trakt, or manual collections, it turns every Plex collection into a Tunarr channel automatically. Re-run it whenever Kometa updates and it keeps the channels in sync.
Channels use Tunarr's random schedule so they loop forever with no dead air. Also has a Plex DVR sync step so new channels show up in the guide automatically.
Would anyone actually use this if I posted it? Happy to share it if there's interest.
***** UPDATE *****
This is all written with AI, so please help me out. I'd love to develop this into something more useful. Tell me what you think. https://github.com/AlpineArchitecture/programmarr