[REL] Extended Personal Media Shows Agent

@mmicire Would it be possible to get the whole log file. If you could reproduce with a smaller subset of files that would be great. Thanks.

@mjarends Thanks for the quick response! You are correct that I am on Linux/Ubuntu. I apologize, I should have mentioned that. Give me a hot minute and I’ll try to get you a complete log file. It kinda takes off and creates a monster file quickly, so I’ll try to see if I can make it reasonable.

Standby…

And yes… confirmed on the library setting. Screen shot attached.

Here you go from a clean start. It looks like it got something, but then went into it’s death spiral. Log attached. Let me know if you need any more details about the file structure.

Most of all THANKS. Sincerely.

@mmicire Thanks - the full log was very helpful. I have committed what I believe to be the fix to the issue. Please download just the metadata agent and update your local version. Let me know the results and I will publish the change log on the forum. Thanks.

@mjarends Thank you for this cool plugin! First-off I apologize if I am asking an easy and obvious one. But couldn’t figure out how to do it. All I want is, when I’m in a season (in the PML browser), I want to see the episode titles only, not the dates (release dates). But unfortunately my episodes are listed as Episode MM-DD (screenshot attached). From your original post/instruction I assumed at least my episode titles will be like YYYY-MM-DD Episode Title but I must have messed up something.
Current structure of my media folders/files:
PersonalMedia*
   
\Christmas*
      \Christmas - 2015-12-18 - First video.mp4
      \Christmas - 2015-12-20 - Second video.mp4
      \Christmas - 2015-12-25 - Another video.mp4
   \Holiday
      \Holiday - 2012-07-26 - Barcelona.mp4
      \Holiday - 2013-09-07 - Madrid.mp4
      \Holiday - 2014-02-14 - Greece.mp4
      \Holiday - 2015-04-30 - Athens.mp4
      \Holiday - 2015-05-06 - Rhodes.mp4
    \Birthdays
      \Birthdays - 2014-07-01 - Quantum.mp4
      \Birthdays - 2015-09-22 - The Bee.mp4
      \Birthdays - 2016-04-03 - Angel.mp4

@saidulhassan Your folder structure and file names look correct. It looks more like an installation/configuration issue.

Did you install both the Extended Personal Media Scanner and the Metadata Agent? If you did then create a new TV Shows library and set the Scanner to “Extended Personal Media Scanner” and the Agent to “Extended Personal Media Shows” . If you do not see “Extended Personal Media Scanner” in the Scanner list then you did not install the scanner correctly. If you do not see “Extended Personal Media Shows” in the Agent list then you did not install the agent correctly.

@mjarends said:
@saidulhassan Your folder structure and file names look correct. It looks more like an installation/configuration issue.

Did you install both the Extended Personal Media Scanner and the Metadata Agent? If you did then create a new TV Shows library and set the Scanner to “Extended Personal Media Scanner” and the Agent to “Extended Personal Media Shows” . If you do not see “Extended Personal Media Scanner” in the Scanner list then you did not install the scanner correctly. If you do not see “Extended Personal Media Shows” in the Agent list then you did not install the agent correctly.

Thank you @mjarends for such quick response! Yes, turns out I only installed Extended Personal Media Shows Agent (ExtendedPersonalMedia-Agent.bundle) and overlooked the Extended Personal Media Scanner (plex-scanners). Now that I have, I have the option available in the PMS Library advance settings where I can set the Scanner to “Extended Personal Media Scanner” and the Agent to “Extended Personal Media Shows” .
BTW, on my Linux Mint 18 Cinnamon (base Ubuntu 16.04.1 LTS Xenial Xerus) and Plex Server Version 1.1.4.2757 & Plex Web Version 2.8.1; I did not have /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scanners folder.

I just created one and changed user:group to plex to install the Extended Personal Media Scanner and it worked!
Anybody else being as dense as I’m, here is what you need to do to have it work:
01. Download ExtendedPersonalMedia-Agent.bundle and Install as instructed here: [REL] Extended Personal Media Shows Agent
02. Download plex-scanners-XXXXXXXX and Install as instructed here: [REL] Extended Personal Media Scanner
03. Even if it’s for your personal media library, create TV Show type library instead of Home Video types.
04. Make sure to set the Scanner to “Extended Personal Media Scanner” and the Agent to “Extended Personal Media Shows” in the Advance Setting.

And I think this plugin should be with the default PMS bundle!

@saidulhassan Thanks for providing the detailed instructions back. I will incorporate some of your details in the 1st post. Also thanks for the kinds words - hopefully Plex reads this and bundles the plug-in :slight_smile:

@mjarends Firstly thanks for spending time to build this agent and associated scanner, a real time save for all of us wanting to use plex to organise our home movies.

I’ve got it mostly working the way I want it, however I have a questions about .summary files; while not listed in your documentation, the plugin log file seems to suggest that it supports season summary files, is their a convention available for this? I’ve tried season.summary to no avail already?

Thanks for any assistance in advance!

@Trickylion said:
@mjarends Firstly thanks for spending time to build this agent and associated scanner, a real time save for all of us wanting to use plex to organise our home movies.

I’ve got it mostly working the way I want it, however I have a questions about .summary files; while not listed in your documentation, the plugin log file seems to suggest that it supports season summary files, is their a convention available for this? I’ve tried season.summary to no avail already?

Thanks for any assistance in advance!

I have the same issue with .summary files not showing anything. Would be awesome if that would work!

/Niklas

@Trickylion Changes to .summary files do not trigger a refresh in Plex because they are not tracked by Plex. In order to update the Plex UI with changes from the .summary file you will need to force a refresh on the library and/or media file(s) that you want to refresh summary data on.

You are correct the plug-in supports setting the season summary but Plex has a bug currently where the API does not store the summary data within the database. Up vote the bug report here: https://forums.plex.tv/discussion/209537/bug-report-plugin-framework-season-summary-does-not-set-the-summary-information

@lovefall Up vote the season summary bug report here: https://forums.plex.tv/discussion/209537/bug-report-plugin-framework-season-summary-does-not-set-the-summary-information

Hi mjarends

I have installed your agent and set it up for my library. In the logs i can see that it sets the episode.title to the title of the file. The problem is, that for some reason the title is not set in Plex. Any help is very appreciated

@Soxiz Couple of questions first:

  • Did you install both the Extended Personal Media Scanner and the Metadata Agent?
  • Does your library have Scanner set to “Extended Personal Media Scanner” and Agent set to “Extended Personal Media Shows”.

If the answers to both questions is yes above then please provide the log and an example structure of folders/files that are not working. Thanks.

Hi mjarends

I finally got it working with the scanner, thanks for the hint :slight_smile:

Hi again

I have a few MP4 files named “Show SXXEXX - Titel.m4v”. They are getting in fine with titel set as I wanted. But for some reason the metadata is not added. Any ideas?

@Soxiz By metadata I’m assuming you mean the text from the .summary file. Are the .m4v and .summary files named the exact same? If so did you add the .summary file after the shows were already in Plex? If you did then you will need to force Plex to refresh the media in the library. You can either force a refresh at the file level or at the library level. If neither of those steps work post the log file and I can take a look. Thanks.

No, I am talking about the metadata embedded in the .m4v file. Its working fine with the normal plex agent. But maybe thats not suppose to work. Would be great if you would add it :slight_smile:

@Soxiz It works. If you go to the first post and to the Installation section it shows that you need to enable the Local Media Agent if you want the metadata to be read from your files. Once you enable it you will need to refresh your library. Let me know if you have any questions.