Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

[REL] Static Media Assets Agent

daeksdaeks Members, Plex Pass Posts: 74 Plex Pass
edited February 4 in Plex Channels

This is a Metadata Agent for adding a static poster or background images to movies. The intention of this agent is to prevent spoilers on specific libraries like TV recordings. Both images can be overwritten by custom ones. Full qualified path is required for that.

Download
Source: https://github.com/daeks/StaticMedia-Agent.bundle

Installation
See the How do I manually install a channel? support article.

====

Original Post:

Hi,

currently I am thinking about a library without any thumbnails esp. for sport recordings. Unfortunately Plex always generates thumbnails. Therefore I have the following idea: Why not adding an agent which copies a static image to each movie found without adding it manually?

Best Answer

  • daeksdaeks Members, Plex Pass Posts: 74 Plex Pass
    Accepted Answer

    Updates:

    • Added static background
    • Made everything optional
    • Default image can be overwritten by custom images

Answers

  • daeksdaeks Members, Plex Pass Posts: 74 Plex Pass
    edited October 2016

    I tried it myself and got it working. Is there a way to put images to Resources folder and access it dynamically?

  • ZeroQIZeroQI Members Posts: 1,157 ✭✭✭

    you are talking about a movie library, since the code you have is for "Movies" libraries, so using a Plex Movie agent, possibly "The MovieDB"...
    "Sport shows" kinda hints at Series library, and you do not mention whose agent you are unhappy with selecting posters or fanarts... Is it 18+ rated "Sports" shows you are talking about ?

    If you do use personal video agent then you have no meta, why dnot do that ?
    Why not put a default poster in the folder and put local metadata agent before the metadata agent in priority ?

  • daeksdaeks Members, Plex Pass Posts: 74 Plex Pass
    edited October 2016

    I have running a pvr software recording football matches if I dont have time to watch them live. Therefore I dont want to see the score already before watching which sometimes happened. Plex generates thumbnails for each recording automatically without any known option to disable it (except the commandline tool).

    My PVR library was set to personal video agent before, but each recording is stored in a subfolder automatically. So I didnt want to setup a batch job adding several "dummy posters" to each folder / video file by a scheduled task. Maybe I have missed here something how it could be done better?

    Currently the agent is working like a charm, It hides the preview and I have to extend that also for the background image, but for better structuring I would like to move the images into the Resources folder.

  • mbcplexservermbcplexserver Members, Plex Pass Posts: 55 Plex Pass

    It is so good to hear that there is at last some movement in this issue where Plex has ruined WAY to many sports results for me! Thank You!!

  • daeksdaeks Members, Plex Pass Posts: 74 Plex Pass
    Accepted Answer

    Updates:

    • Added static background
    • Made everything optional
    • Default image can be overwritten by custom images
  • FilposFilpos Members Posts: 27 ✭✭

    Had trouble getting this to work but this thread helped to install this agent:
    https://forums.plex.tv/discussion/61309/how-do-i-install-a-new-metadata-agent

  • niallobrniallobr Members, Plex Pass Posts: 132 Plex Pass

    Just wanted to add my thanks, I added the bundle today and it seems to be working great.

  • mbcplexservermbcplexserver Members, Plex Pass Posts: 55 Plex Pass

    Hi,

    I am running Plex on an unRAID server (Linux) and have copied the extracted folder StaticMedia-Agent.bundle to my plugins folder, restarted but still cannot select anything other than

    1, Personal Media
    2, Plex Movie
    3, The Movie Database

    What am I missing?

    Cheers!

  • daeksdaeks Members, Plex Pass Posts: 74 Plex Pass

    Have you copied it to the right plugins folder? Are there any errors inside the log?

  • mbcplexservermbcplexserver Members, Plex Pass Posts: 55 Plex Pass

    Hi,

    Sorry for the long delay, just revisiting this now as I have setup a new temporary Plex Server to see if this works... I am still getting the same problem of being unable to select your agent and have the log attached to see if you can help as to what is going wrong? Would prefer to move back to Plex if this could work otherwise a permanent switch back to Emby is in order!

    Many Thanks

  • mbcplexservermbcplexserver Members, Plex Pass Posts: 55 Plex Pass

    I have installed Plex on a Windows install and a Linux Install and copied the bundle to the locations mentioned here (https://support.plex.tv/hc/en-us/articles/201106098-How-do-I-find-the-Plug-Ins-folder-) but I still cannot see anything other than

    1, Personal Media
    2, Plex Movie
    3, The Movie Database

    I have tried creating new libraries and editing existing ones but I still cannot see the static agent?

  • daeksdaeks Members, Plex Pass Posts: 74 Plex Pass

    Have you installed the latest version to the path where local application data is stored?
    it should have the following folder structure:

    \Plex Media Server\Plug-ins\StaticMedia-Agent.bundle

    After restart of the server it should look like:

  • mbcplexservermbcplexserver Members, Plex Pass Posts: 55 Plex Pass
    edited February 2

    Hi mate,

    Thanks for the reply!

    I have downloaded the version from here https://github.com/daeks/StaticMedia-Agent.bundle

    I have installed it here (Please note that the DVBLink & Iplayer Plugins Work and are also installed here)

    I am running the latest Plex Version

    restarted many times and still not available? (I have tried Windows as well so I must be missing something?)

  • daeksdaeks Members, Plex Pass Posts: 74 Plex Pass

    Hmm have to tried to rename the foldername from "StaticMedia-Agent.bundle-master" to "StaticMedia-Agent.bundle"? Thats currently the only difference I can see.

  • ZeroQIZeroQI Members Posts: 1,157 ✭✭✭

    YES. it will not show otherwise.
    if it still fails, copy Logs/PMS Plugin Logs/com.plexapp.system.log & plexapp.staticmedia-agent.log

  • mbcplexservermbcplexserver Members, Plex Pass Posts: 55 Plex Pass

    Fantastic!

    Thank you so much! I have everything now masked, no more spoilers! Thanks Again!!!!!!!!

  • Manbearpig_73Manbearpig_73 Members, Plex Pass Posts: 10 Plex Pass

    Thanks for this, works perfectly. No more sport spoilers

  • joe_azerjoe_azer Members, Plex Pass Posts: 8 Plex Pass

    Hi,

    i can't see static media under shows, i want to use it for TV show spoilers, i can only see it under movies :(

    can that be fixed?

    thanks.

Sign In or Register to comment.