-
Notifications
You must be signed in to change notification settings - Fork 100
Description
I like this project and it's one of my personal favs for a while now, however it's missing one feature that I think would take it to another level (at least for me).
I use Pinchflat to download YT videos straight to one of my Plex library folders, so I can watch them from Plex. However I still need to manually trigger library scan, in order to have those files added to Plex. I could use Plex's built-in scheduler, but it triggers all libraries scan, when I need just one to be triggered, the YT one.
I know it can be done through Plex API, either with PMS URL commands https://support.plex.tv/articles/201638786-plex-media-server-url-commands/ or Python https://python-plexapi.readthedocs.io/en/latest/introduction.html
Example:
`from plexapi.server import PlexServer
PlexServer('http://localhost:32400', 'my_token').library.section('YouTube').update('/media/YouTube')`
Would it be possible to add such Plex integration to Pinchflat, to be triggered after media download?