Action Item #526
openConsider migrating to using Plex database
10%
Description
This would work if I can query an existing Plex database for a specificied path (movie or TV). Then only use those in the local db using the original VideoFE format. The idea is that the user just needs to copy directory trees to a USB stick and then use VideoLib to parse out a local db from the associated Plex db from whence those trees came. It allows reuse of the Plex data in a simplified format.
Here are some links to review:- Plex Web API Overview
- Plex export - for exporting data from the db
- Plex Media Server URL Commands
- Using the API to retrieve Library metadata
It isn't clear what version I'm running or which version these links support.
Updated by Hammel over 8 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
To query for a particular movie video:
- Extract title from the filename
- Replace underscores with spaces
- Call plex: http://feynman.gfxmuse.org:32400/library/sections/1/all?title=A Few Good Men
This will retrieve the JSON for that video, which can then be stored in the local db (modified as needed for videofe)
This hasn't been tested for TV shows but I think it should still work as long as the correct section is used. VideoLib will have to retrieve the sections and have the use select which sections are for movies and which are for TV shows.
Updated by Hammel over 8 years ago
The following will retrieve data in JSON format:
curl -H "Accept: application/json" http://feynman.gfxmuse.org:32400/library/sections/2/all?title=A
Updated by Hammel about 8 years ago
- Target version changed from 0.11.0 to 0.12.0
Updated by Hammel over 5 years ago
- Priority changed from Urgent to Normal
- Target version changed from 0.12.0 to 3.0 - Corrino
- Severity changed from 01 - Critical to 03 - Medium