Metadata agents for exported XBMC library

@maiade:
Thank you for investigating. :slight_smile: I have no free time at the moment and could not look into it yet. Maybe next week I’ll have a bit more time.

@metaMMA:
The most up to date list is the source code of the agent. You can view it with any text editor. The tagline not showing anymore is a plex thing. The agent is not responsible.

@SlrG said:
The most up to date list is the source code of the agent. You can view it with any text editor. The tagline not showing anymore is a plex thing. The agent is not responsible.

@maiade said:
@metaMMA the problem is not limited to this agent it is a function of the client. If using the web client use get info and then view xml to see what metadata has been set.

I apologize if I implied that this was a limitation of this agent in my last post. I’ve used this metadata agent for years and absolutely love it! I’ve used the to display quick info about home videos in my personal collection and was disappointed when Plex stopped displaying this in the web client. I was hoping to use the field to display venue/location of MMA events for my program.

The reason for my original post was just to reach out to the users of this agent for some help/guidance on which meta-data fields are displayed by the clients, because you all seem very knowledgeable about this area.

@maiade Thanks for the xml tip, I’ll keep tinkering around. Again sorry if I offended anyone.

@metaMMA:
I’m not offended. I’m happy you love the agent and find it useful. :smile:

@metaMMA The internet is great in many ways but emoticons are no replacement for body language and tone of voice. No offence was taken. I think in a way you hit a raw nerve in as much as Plex doesn’t provide much info on its internal workings (product or company) and many of us would like the information you seek but there is no easy way to get it. Even worse once you have it it is out of date so quickly.

Re storing Venue/Location there is no place for this at the moment. I presume that your MMA material is all stored in an MMA only library, but what type do you use? My first thought would be to (mis)use Studio to store location as it is usable as a limit and with the current version of the web client at least displays text.

@SirG :slight_smile:

@maiade: I understand completely.

<rant>
It really is unfortunate that Plex leadership doesn’t do a better job of documenting/informing the Plex community of this type of information. It is the people that make these great agents/add-ons/plug-ins that really allow Plex to be used closer to its potential. Ignoring/neglecting us only hurts adoption rates and the company.
</rant>

The MMA events are in their own movie library. If there was some meta-data field that was displayed on multiple clients, I would use that, but I think misusing <studio> is exactly what I am looking for. It displays perfectly in the web client. It’s unfortunate is doesn’t display in other client interfaces (Roku, Android app, chromecast from Android, etc.), but it is better than nothing. It is nice seeing the venue/location, but not necessary. The event participants and weight classes is really what needs to be displayed in all clients, and I have that stored in <plot>. Thanks again for the help. :slight_smile:

Okay. Thank you for the further explanation. What could be done is to add an user option, so the tagline gets added to the plot. So if activated, it will show in the plot field. If plex decides to reenable it showing elsewhere it could be easily deactivated again, so it won’t show in plot anymore. Would that be helpful?

If you give me some time, I could implement this.

@metaMMA Using Movies I think the only fields that are visible in a lot of clients are Title, Genre, Director and Plot. So I guess you could use Genre.

@maiade
I put a s*t load of time into the local actor thumbs problem. Please give this testing version of the movies agent a try.

You need to replace the whole directory as the user options have changed, too. Also you need to select in the agents options what type of actor images you want to use.

linked is the default and uses the link from the nfo file as it did before.
local tries to show the photo from the .actors directory which is stored with the movie.
global tries to mimic your approach of a global actors directory.

For local and global you’ll have to define the localhost or http path to the movies library or the global actors directory.

if local or global is selected but no photo is found, it tries to fallback to linked.
if linked is selected and no photo is given in the nfo it shows nothing, as it did before. (I could not make it fallback to local or global from there.)

I hope it works for you, as I won’t be touching it again in the near future. Putting in over 10 hours just for fun is somewhat depressing. :slight_smile:

@maiade
I put a lot of time into the local actor thumbs problem. Please give this testing version of the movies agent a try.

You need to replace the whole directory as the user options have changed, too. Also you need to select in the agents options what type of actor images you want to use.

linked is the default and uses the link from the nfo file as it did before.
local tries to show the photo from the .actors directory which is stored with the movie.
global tries to mimic your approach of a global actors directory.

For local and global you’ll have to define the localhost or http path to the movies library or the global actors directory.

if local or global is selected but no photo is found, it tries to fallback to linked.
if linked is selected and no photo is given in the nfo it shows nothing, as it did before. (I could not make it fallback to local or global from there.)

Photos need to be .jpg files.

I hope it works for you, as I won’t be touching it again in the near future. Putting in over 10 hours just for fun is somewhat depressing. :slight_smile:

Hi SlrG

That is indeed great news thanks again for spending the time to do this!!! :smiley:

_Does this solution require a local webserver to show the actor thumbs? (http://serveraddress/actors/actorimagefilename) _

“local tries to show the photo from the .actors directory which is stored with the movie.”

So selecting this would mean that I don’t have to write any path to the:
“path to movie library or global actor folder” be?

In Plex would I have to use the “Plex movie” agents or the “XBMCnfimovieimporter”

Currently I havent had any luck getting local actor thumbs shown, but maybee I need to rebuild the Library to get it working.
Thanks again!!

Cheers
Casperse

Update: is the path and naming correct (Using meta browser) creates .actor/Mark_Wahlberg.jpg ? (No spaces in actor naming)

Also trying to use the create a “global” actor folder locally, but the path to this folder elude me.
On my Synology NAS the path is normally like this: /volume2/Movies/actors
But for some reason this doesn’t work have tried multiple version?

@casperse
In my tests it does not require an extra local webserver. (plex and the library on the same server.)

I only tested XBMCnfoMovies Importer as agent not Plex Movie. So there might be issues if you use that.

In my tests it was not necessary to refresh the whole library. Refreshing a single movie should give you the actors for that movie if the correct path is provided for local or global.

The spaces in the names of the actors are filled with underscores and should therefore match the name of the photo.

Only linked does not require a path!

Local and global require that you the enter a path to your library!

On my system it is:
Local: http://localhost/mnt/user0/Movies
Global: http://localhost/mnt/user0/Movies/actors

For you it will probably be:
Local: http://localhost/volume2/Movies
Global: http://localhost/volume2/Movies/actors

If you don’t have plex and the library on the same server, it will probably be (untested):
Local: http://name_or_ip_of_server/volume2/Movies
Global: http://name_or_ip_of_server/volume2/Movies/actors

If this does not work I will need the debug log for a single movie. It might be (as you suspected), a webserver serving the actor images is required.

Happy Easter all!

There’s been so much activity here over the past couple months that I’m a bit lost. In order for these agents to work exactly as it should what agents should I enable/disable and what order should I put them? If there’s a post that I missed that already explains it, please direct me so I can follow. Thanks!

@SlrG said:
@maiade
I put a lot of time into the local actor thumbs problem. Please give this testing version of the movies agent a try.

Many thanks for having a go at this.

Been away for Easter. Having a look now. So far I cannot get images. The log indicates that they are being found but they do not display. Will have a go at re-configuring my web server to see if I can get them to be picked up.

How did you get them to work on your rig?

Sadly it seems to be working on my rig only. It’s an unraid system and it seems there is no extra webserver necessary there.

On my system I can access the actor thumbs from my browser if I enter the path to the image (e.g.: http://192.168.178.4/mnt/cache/Devel/plextest/4Filme/!A3/Arrival%20(2016)/.actors/Amy_Adams.jpg). I designed the local/global actor thumb to work based on that. I’m working with another user (with an Synology box) and there it fails. What system do you use?

Now it shows, it won’t work for other users. The only way will probably be, if one sets up a local webserver, which serves all the actor files from a single directory and using the global setting for the actor thumbs.

@SlrG said:
Sadly it seems to be working on my rig only. It’s an unraid system and it seems there is no extra webserver necessary there.

My guess is that you are getting access via unRaid’s built in webserver. Quite a few NAS systems offer http access to the file store without the need for the user to do a lot of work.

I use a debian server it runs various things including PMS.

I really do not understand why actor thumbs are not downloaded in the same way as all other artwork. In the meantime I will have a go at re-configuring my web server to make the actor images available from the .actors using the local configuration. I prefer that as I would like the actor images to be in the role rather than generic ones. Though as Plex at the moment stores the actor thumb as part of the actor record rather than the role global makes more sense for now at least.

That’s exactly what I don’t understand, too. The html based approach to access actor thumbs is just stupid. Why not access, load and store it in the plex database, like all the other artwork. Please keep us updated, if you succeed in setting up the webserver in the way you wan’t and if it works with the testing version.

@SlrG said:
That’s exactly what I don’t understand, too. The html based approach to access actor thumbs is just stupid. Why not access, load and store it in the plex database, like all the other artwork. Please keep us updated, if you succeed in setting up the webserver in the way you want and if it works with the testing version.

Bingo. Reconfigured my apache to give access (via an alias) changed the path to the library and it all works.

Could I be really mean and ask you to do the same for TV Shows?

@casperse said:
Also trying to use the create a “global” actor folder locally, but the path to this folder elude me.
On my Synology NAS the path is normally like this: /volume2/Movies/actors
But for some reason this doesn’t work have tried multiple version?

DSM includes nginx (think you can use apache as well) so you should be able to configure it so that your media directory is accessible via http.

@maiade:
No problem. As it works for you and me, it should be possible for others to setup their system to make it work, too. So I’ll first push the changes to the public nfo movies agent and then start porting the changes over to the tv shows agent.

@maiade:
Please give the changes in the tv shows agent a spin. I hope I made no mistakes. Somehow its not my day. :slight_smile: