Looking for a developer to make an app

I have been looking for an app to do what I want for a very long time and while the work that @anon18523487 has done is great, it doesn’t work for me now and doesn’t have all of the options I would like (and he has said that he is just too busy currently to work on it).
So, I am looking to see what someone would charge to create this app.

Background
I have a large number of libraries and movies/shows in those libraries. I also use subfolders for each movie, show, most seasons, etc.

For example

  • M:\Movies\The Last Samurai (2003)\The Last Samurai (2003).m4v

  • M:\Movies\The Last Stand (2013)\The Last Stand (2013).m4v

  • M:\Movies\The Last Starfighter (1984)\The Last Starfighter (1984).m4v

  • T:\TV Shows\24\Season 01\s01e01 - 12:00 A.M. - 1:00 AM.m4v

  • T:\TV Shows\24\Season 01\s01e02 - 1:00 A.M. - 2:00 AM.m4v

  • T:\TV Shows\24\Season 01…

I backup all of my media to both local and non-local backups so that in the event of a disaster, I do not lose all of the data. I would also like to not lose all of the artwork that I have curated over the last 5 years.

Request
I would like to be able to run a job/script/application that lets me choose the library and then interrogates that library and pulls the poster and fanart that is currently selected and places it in the proper folder so that it is named correctly for Plex to read it and use it (I know that the Plex agents need to be set to use local content first, and mine are). This should work for movies and TV shows (the show and the seasons)

A great bonus would be if it worked for Music to get albums/artists also and if it could find the picture used for Collections and put them into a folder so that they could be recreated if needed (I know that Plex doesn’t have a naming convention for collections but something could be kept).

The resulting would look like

  • M:\Movies\The Last Samurai (2003)\The Last Samurai (2003).m4v

  • M:\Movies\The Last Samurai (2003)\The Last Samurai (2003).jpg

  • M:\Movies\The Last Samurai (2003)\The Last Samurai (2003)-fanart.jpg

  • M:\Movies\The Last Stand (2013)\The Last Stand (2013).m4v

  • M:\Movies\The Last Stand (2013)\The Last Stand (2013).jpg

  • M:\Movies\The Last Stand (2013)\The Last Stand (2013)-fanart.jpg

  • M:\Movies\The Last Starfighter (1984)\The Last Starfighter (1984).m4v

  • M:\Movies\The Last Starfighter (1984)\The Last Starfighter (1984).jpg

  • M:\Movies\The Last Starfighter (1984)\The Last Starfighter (1984)-fanart.jpg

  • T:\TV Shows\24\show.jpg

  • T:\TV Shows\24\Season 01\Season01.jpg

  • T:\TV Shows\24\Season 01\s01e01 - 12:00 A.M. - 1:00 AM.m4v

  • T:\TV Shows\24\Season 01\s01e02 - 1:00 A.M. - 2:00 AM.m4v

  • T:\TV Shows\24\Season 01…

  • M:\Movies\Collections\MCU.jpg

  • M:\Movies\Collections\MCU-fanart.jpg

  • M:\Movies\Collections\The Maze Runner.jpg

  • M:\Movies\Collections\The Maze Runner-fanart.jpg

  • T:\TV Shows\Collections\MCU.jpg

  • T:\TV Shows\Collections\MCU-fanart.jpg

  • T:\TV Shows\Collections\Agatha Raisin.jpg

  • T:\TV Shows\Collections\Agatha Raisin-fanart.jpg

The application should also check to see if the file is already there (and matches the file that is being used currently) and then not overwrite it. If the picture in the folder is different than one that is being used in PMS, then it should update the folder.

So, if you are interested in this project, send me a private message and we can discuss it.

A secondary metadata agent would be best, work on all OS, could save locally files alongside the media for all agents, could be practical when putting data on another plex server, this agent would need need these export functions per library type:

  • Movies: poster, fanart, themes
  • Series: Poster, Season, fanart, themes, (episode) thumbs
  • Music Legacy: artist, album
  • nfo file (XBMC format) loading/saving
  • Collection support, can get around updating possibly, but cannot read information at this time. information

Coincidentally have been working on:

If somebody had info on retrieving collection information from the agent side i would start coding…

Might be easiest to adapt:

Existing tools:

So, I am not fully following…when I think of an agent, I think of the agent going to the web and pulling the information and inserting it into the database for a particular movie, tv show, album, etc. What you are saying is an agent that goes “almost” the other way. It would go to the database and copy out the information stored there for the poster and fanart and copy it to the OS file system where the particular movie, tv show, album, etc. is and name it accordingly. Kind of a reverse agent…a Double Agent, so to speak.

If that is it, I like it. If it finds the file already there, it can ignore it so it doesn’t have to overwrite a lot of static stuff.

I tried the JBOPS one but couldn’t get it to work. I even reinstalled the MovieFan one and it worked for oneof my movie libraries but not the other ones and it has never worked for any library type but Movie.

PS If you are working on this, point me to your PayPal or such so I can help in the small way I can.

Like a reverse Local Media Asset Agent that also allow importing/export text fields since Plex doesn’t load NFO files… A double agent, i like it…

My HAMA agent already get the text and lists from the database to compare with the new value and only insert if needed as i wanted to point out fields that changed in logs…

I could already with an agent do the nfo part (apart for collection summary) for Series and Movies. Trying proof of concept to get either the file or url of the poster then saving it locally.
If that work i will do the agent as it will allow local backup of metadata regardless of agents, that would be cool.

Mediaelch does that (https://www.kvibes.de/mediaelch/). I used it as a scraper for kodi, which also created the necessary nfo files, but it also pulls the metadata that you want to have and saves it in the respective folder.

Dunno if Plex recognises the meta data though, but I remember there were some options concerning the naming.

Archos media player will do this automatically. It’s also alternative to plex if you find plex player to fail you.

Proof of concept:

  • extracted theme song successfully
  • extracted poster successfully
  • extracted thumbs and saved locally
  • extracted text fields successfully
  • collection are not possible at the moment as i don’t know hot to access from ‘metadata’ structure, and no agent to my knowledge do anything else than putting a movie/series in a collection.
  • not sure the rank of posters can be respected…

i was looking for a new project (started LRC lyric file local downloader which i didn’t finish since the script i used as source no longer work) but tought me what i needed to do this project

it will extract from database and save if the file doesn’t exist… Will try to:

  • make series agent first with ep thumbs
  • move to season posters (folder detection)
  • move to series poster
  • etc…

Edit: it seems the an agent can see the metadata it added, not other agents. agent rights already elevated…

1 Like

Sounds great. I didn’t think that Collections would have been possible but a guy can dream!! I wasn’t even thinking of all of the posters, just the currently selected one. If you have the one that is currently being shown, then the rest can usually be reapplied as it does regular agent searches.

The default LMA agent reads the ‘Album’ tag from MP4 files - and creates a collection with it.

It assign a collection string which does create a collection, with no means to read/write the collection summary or adding/retrieving the collection poster…
While i can update the poster using http post, it is hackish an i have no means of retrieving collections… If anybody knows how to retrieve collection posters, please ping me

There are a couple links to create collection artwork:

Apparently the metadata from original agent is presented in the secondary agent search() function in the media object: media.primary_metadata so will modify my work in progress agent and see if works but it should…

Proof of concept with separate tv series agent works

  • [*] themes.mp3
  • [*] episode thumbs
  • [!] season poster, location issues

I can make it work. testing with seasons if i can extract the selected poster now
Possible agent options:

  • multiple series poster
  • multiple season poster
  • ep thumbs, off by default

I agree on the Episode thumbs off, that would be a LOT of extra data to store

Funny, cuz. I was considering this 4 WebTools :wink:

When looking at a movie, that is part of a collection, you’ll find like:

<Collection id="15213" filter="collection=15213" tag="28 Days/Weeks Later"/>

Use that, and issue a get like:

http://IPOfPMS:32400/library/sections/X/all?collection=15213

Collection will contain all you need

BTW, thanks for these two links. I hadn’t seen these. I have been doing all of mine using https://www.themoviedb.org/ or making my own when needed (like one for the MCU (Marvel Cinematic Universe) collection or one that combines all of the Star Trek movies. These are very nice.

And adding here @ZeroQI

You can also get a list of collections with a get like:

http://IPOfPMS:32400/library/sections/X/all?type=18

@dane22 Thanks, even better link for this. With that i can complete both my YouTube agent and this Local Media Export agent. After testing it exports, but cannot tel the selected poster from the metadata alone, the order exported is the same regardless… Would you have any ideas on how to know from metadata alone the selected poster by any chance ?

Not sure what you mean here?

Please expand

And remember if grapping a complete list of collections, to get them in small chuncks

What @ZeroQI means with this is that when you select an item and see it’s posters, if there are 20 options (like for Star Wars), how can you tell which one is the currently selected one?

It’s in the metadata xml of the item

For export of a poster, look in the code for ExportTools

1 Like