Possible to create a metadata agent which pulls from a csv?

I have a bunch of videos for which I have to edit each individually and this ends up eating much of my time. It would be faster if I was able to create a csv which matches the exact filename and provides the relevant information including genre, actors, collections, etc.

 

All of the metadata plugins i've found so far pull in data from website pages. Is it possible to point to and grab data locally from a csv file? Any tips or where to go would be appreciated.

 

 

I'm not sure if there will be much interest, but I wanted to post a script I use to programatically tag collections from a list export from icheckmovies.com.
Premium users of ICM can export top lists and this script will parse that CSV file and create a collection and tag any films in your Plex library that appear in that list.
For example, I can export the top 500 Essential Cult Movies list (https://www.icheckmovies.com/lists/500+essential+cult+movies/) and running the attached script I can create a collection called "500 Essential Cult Movies" and it will tag all the those movies that I own.
 
It only works on linux at the moment, but I think I have the OSX database connection correct and commented out.
 
Even if there is no appetite for ICM integration then some of the functionality might be helpful to those looking to integrate tagging from trakt or other services.
 
 
================
 
 
Usage: create_plex_icm_collection.py [options]
    Options:
        -f CSVFILENAME, --file=CSVFILENAME        ICM top list CSV export [REQUIRED]
        -t "TAG TITLE", --tag="TAG TITLE"         Name of collection tag [REQUIRED]
        -x, --execute                             Commit changes to database, else dry run
        -r, --report                              Print list of films to tag and missing films
        -u, --untag                               Remove "TAG TITLE" from all listed films, essentially an undo
        -h, --help                                Show this help message and exit
 
    Example:
        create_plex_icm_collection.py -f 500+essential+cult+movies.csv -t "500 Essential Cult Movies" -x -r
        The above will tag all owned movies from the .csv file with the tag "500 Essential Cult Movies", commit changes to database and print a report

https://forums.plex.tv/topic/123014-creating-collection-from-icheckmovies-top-list-export/

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.