Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

7
Metadata with custom media files and adjacent JSON, best solution?
Post Flair (click to view more posts with a particular flair)
Post Body

I've recently set up my own Plex server and have media files coming from Youtube using youtube-dl, where I'm also getting the metadata for it from the --write-info-json param, however I'm having extreme difficulty getting this JSON data into the metadata forms that plex likes. The videos, typically from playlists, are being inserted into a TV Series style folder, where the playlist name is the Series name, and each entry in the playlist is an 'Episode'. The internal folder structure is:

library folder /
    playlist name /
        first video name s01eXX.mkv
        first video name s01eXX.info.json
        second video name s01eXX.mkv
        second video name s01eXX.info.json

Does anyone have an ideal solution for this, or know of any system in place where Plex can look at a text file alongside the media file to use as metadata?


I've tried a few metadata agents to no avail, typically resulting in critical failures when trying to process the data. It all seems to resolve around the 'search' function where it's trying to split the filename out of the 'media' argument? I've had a few IndexOutOfBounds exceptions, and AttributeErrors.

There's no documentation about this on Plex, even if using the web archive to try to find any, so I'm not sure what the Search function's arguments are looking like.

The agent's I've used are: Youtube-DL Agent and JSONTVAgent. I'm trying to fix the issues with YTDL-Agent but the lack of documentation is taking a while.

Author
Account Strength
100%
Account Age
11 years
Verified Email
Yes
Verified Flair
No
Total Karma
33,537
Link Karma
24,255
Comment Karma
9,135
Profile updated: 1 week ago
Posts updated: 10 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago