Local TV Extras Agent

You wont see it in plugins they are gone…

This is an agent, check PMS settings agent.

I’m using the Agent with an Nvidia Shield, so extras are supposed to appear at all three levels — show, season, and episode — and they do, but with one problem: The problem is, for extras at the episode level, only the trailer extra appears. So if I try to add a featurette, short, deleted scene, or any other non-trailer extra at the episode level it will simply not appear — again, only trailers appear at the episode level (under the “play trailer” banner). This problem does not occur in either the show or season levels — all my extras, regardless of what type of extras they are, appear just fine at these levels, so the problem is limited to non-trailer extras not appearing at the episode level. Any ideas on what the issue could be or what I can do to troubleshoot?

I’ve had a look at the plex client while emulating android in Nox, and I think I’ve confirmed your observation:

The TV mode shows only trailers linked to episodes, but all extra types linked to seasons or shows.

When I switch to mobile mode, all types of extras are shown for episodes (as well as seasons and shows).

I’ll update the client support list in the github readme to make that distinction.

Thanks for confirming. I was going crazy trying to figure out what exactly I was doing wrong.

So this begs the question: Is there any possibility that this issue can be resolved for the Shield client?

I don’t think there is anything that’s directly under our control as users/third party developers. Even for trailers, only one is shown/played, so you wouldn’t be able to see additional episode extras by defining them as trailers. That only leaves various compromises, so it’s a case of which is least annoying.

Only the Plex devs who work on the android client would be able to change this. You could put in an enhancement request, but (based on the progress of the TV extras feature request) I don’t think it would be treated as a priority unless it is a bug and the episode extras worked in previous versions, or if it’s a very simple thing for them to add.

The other thing is — and I might be wrong about this — I could’ve sworn that ALL extras (not just trailers) appeared just fine at the episode level on the Shield client when I first tried out this Agent in early January. I stopped using the Agent back then because the Shield client would always crash after playing any given extra. I then revisited the Agent last week and discovered the only extra type that appears at the episode level are trailers, but the ironic thing is that extras now no longer crash for me. So I guess the Plex devs made some changes between January and now, but they apparently traded one problem for another. Go figure.

Can confirm here as well that playing TV Extras is no longer causing a crash as it was before. Behavior appears normal when I completely view an extra or if I back out part-way.

My work-around for episode level extras was to name them as -pt2, -pt3 etc and I updated the Season Description to mention that Episodes are followed by a Featurette and Video Podcast.

The only issue with this is that the new player crashes on multi-part episodes so I included in my note that the New Player must be disabled in settings in order to access the bonus after-episode content.

Plex is finally doing things I’ve wanted it to do! Thank you for all of your hard work. Please incorporate com.plexapp.agents.xbmcnfotv support into your code so that it will be there through future updates.

Now to get Plex to actually support this on all clients.

Hey all,

Brand new here, I am trying to add this plugin to add Seinfeld extras

I’m using Open Media Vault and installed Plex service as a docker and installed the plugin
using the Linux format

\Plex\Library\Application Support\Plex Media Server\Plug-ins

I made sure the plug in folder end in the .bundle and pulled the latest Plex image and restarted the service.

The localhost web service does not detect any plugins, im not too sure what I am doing wrong.

Any suggestions?

Thanks,
Sm

It’s not a plugin, It’s an agent…

I see, after checking agents, I do notice the local tv extra agent it is now enabled. Im going to test it a bit more and see if it pops up

Update - OK so I have it set up like this

\Meidavaultpi\tv\Seinfeld.Complete\S01

  • Extra 02-Extras.avi

but it is unable to detect the file after refreshing all metadata
oddly enough some episodes have duplicate video

You should also either change the file name to Extra 02-extra.avi or place it in an Extras subfolder. The inline file naming is with non-plural extra names.

Once that’s done, the agent will probably add the extra to the show level rather than season 1. Since I have to use the folder structure to deduce what season an extra is in. I’ve only hard coded folder names based on the Plex file naming convention, so it’s going to work more reliably if your shows are organised that way.

That said, if you’re attached to your current naming convention, you could try adding ‘S01’ to Alternative names for season folders, comma separated in the agent settings. (‘S’ alone wouldn’t work because there’s too many other folder names that could start with an ‘S’, but ‘S0’, ‘S1’, etc. might be OK)

Do note that season extras won’t be displayed in Plex Web, or many other clients – you should check the list of clients that support season extras before deciding how to organise things.

If you scan files, then empty trash, that should hopefully get rid of the duplicates, but if you do still have issues then I could suggest some things.

Hello,
I am unable to get the Featurettes to show up in the Season folder

Server: Windows
Client: Web / Android

I have “Assign Extras to Episodes, Seasons or Shows based on folder structure” On.

How my Folders are organized (I have featurettes for every season (4)):
Series\The Legend of Korra\The Legend of Korra (2012) Season 1 S01\Featurettes

I read on the Github that it may not be possible for Web client, but it should be possible for the Android client.

How can I make sure that the featurettes show up in the Season instead of the whole show.
What am I doing wrong?

Cheers

The season folder needs to start with ‘Season’ (or a string that you define in the settings) instead of starting with the same name as the show folder. Try:

Series\The Legend of Korra\Season 1\Featurettes

Thanks, this fixed it indeed.
I thought “Season 1” had to be in it, not have to be the full folder name.

Do you know if in the future it is also possible to see the Season Extras in the web player / Windows app? Or if the agent can show them in the Show page if the season page is not available?

Thanks anyway for creating this! I use android app mostly anyway, but use the web player for better overview.

The agent can tell the PMS to link extras to episodes, seasons or shows; but unfortunately there isn’t any finer control over how they are displayed.

If you want to duplicate every episode & season extra to the show level (including on clients where there is full support), then I think adding

    del extras_list[:]

on line 186 above the last FindExtras should work. Though this might be a bit confusing in the clients since most of the titles won’t identify which season or episode they belong to.

It would also end up with a huge number of extras at the show level for some shows, so I tend to think that hard linking the main extras to the show folder, and leaving the rest is a better solution.

I’ve been trying to get this to work and have read through but cannot figure out what I am doing wrong.

I have extras for a TV show Season, so not connected to a single episode. I downloaded the agent, and selected the assign to seasons, shows, based on structure.

I have it setup as “TV Show Name”/Season 02/Season 02 - Extra, and then there are multiple videos in that folder. Do those videos have to start with something specific? Or does it not work with a folder and each video has to have “-extra” added to the end of it?

Just a thought the -extra cannot have a space before for after the - in the filename.

Season 02-extra.mkv

if that’s what your trying to do.

I’m trying to follow the below from the github page to add extras to a season. So i have the Show name, then season, then “Extras”, and then the videos

TV Shows/TVShowName/Season number/Extra_Directory_Type/Descriptive_name.ext

As an example:

Subfolder method:
TV Shows/Star Trek The Next Generation/Season 1/Featurettes/Energized!.mp4

Inline method:
TV Shows/Doctor Who (2005)/Season 1/The Trip of a Lifetime-trailer.mkv

Season extras will not show up in Plex Web (app.plex.tv), so to check they’ve been added correctly, you would have to be using one of the clients that display season extras: Roku, Plex for Kodi or Android.