Project

General

Profile

Actions

Action Item #526

open

Consider migrating to using Plex database

Added by Hammel almost 8 years ago. Updated about 5 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Database
Target version:
Start date:
16 Jun 2016
Due date:
% Done:

10%

Estimated time:
Severity:
03 - Medium

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:
  1. Plex Web API Overview
  2. Plex export - for exporting data from the db
  3. Plex Media Server URL Commands
  4. Using the API to retrieve Library metadata

It isn't clear what version I'm running or which version these links support.

Actions #1

Updated by Hammel almost 8 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

To query for a particular movie video:

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.

Actions #2

Updated by Hammel almost 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
Actions #3

Updated by Hammel over 7 years ago

  • Priority changed from Immediate to Urgent
Actions #4

Updated by Hammel over 7 years ago

  • Target version changed from 0.11.0 to 0.12.0
Actions #5

Updated by Hammel about 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
Actions

Also available in: Atom PDF