I have it set up exactly as your first example:
TV Shows/Always sunny in Philadelphia/Season 02/Featurettes/Audition.avi
its still not showing up anywhere. I’ve looked on the Plex app on my LG tv, and on a Firestick.
I have it set up exactly as your first example:
TV Shows/Always sunny in Philadelphia/Season 02/Featurettes/Audition.avi
its still not showing up anywhere. I’ve looked on the Plex app on my LG tv, and on a Firestick.
Can you refresh metadata on the show, and then send me the log file:
Wait for the metadata refresh to finish, then find the location of your log directory in the Manually Finding Log Files section here:
Once you’ve opened that directory, you can find the log file for this agent in the PMS Plugin Logs subdirectory, it is named com.plexapp.agents.localtvextras.log
Note: 3rd Party agents aren’t supported by the download logs option in Plex Media Server, so you have to use the manual method.
Thank you for the descriptive message! I realized that I only selected “Local TV Extras Agent” under the Personal Media Shows section in settings. I selected it under the TheTVDB and The Movie Database and they are now finally showing up.
Also, the Plex app on LG TVs does not show the extras, even though it is android. I can see them on the firestick though.
I might be missing something but regardless of client, I should be able to see the linked extras in PMS, correct? I’ve tried true and false for Assign Extras to Episodes, Seasons or Shows based on folder structure, metadata updates, killing PMS and restarting, and I can only get extras to show up at the series level. It appears from the log that they are linking though at lower level. (Search for “added 55” to find it fast.) I’ve experimented with the file name for the episode trailers and it hasn’t helped. I’m loath to try a separate folder for every episode so I’m hoping for ideas.
com.plexapp.agents.localmedia.log (97.0 KB)
By PMS, you’re probably thinking of the local instance of Plex Web - that will only display show extras.
If you know how to load up the xml API for the episode or season from the server, then you’ll see them there. But that doesn’t help with actually playing them. You’ll need to have one of the clients listed on the readme that support season or episode extras.
It’s possible to make them visible in the local Plex Web with some edits to the javascript (and I do this myself), but it’s a lot of effort for something that will be overwritten with the next update. If I ever finish my script to automate the edits, then I’ll share it.
You are correct about the unfortunate initials being Plex Media Server and looking at it via a web browser. In my defense, it was past midnight my time.
If keeping track of specific Roku devices, I can confirm that extras show up at the show and season but not episode level on a Roku Express+.
Thanks for this! Got it working after a few missteps.
I rip TV series box sets to put on my Plex server, and the ability to have per-show extras is killer. Unfortunately, the Roku client doesn’t specifically support that yet. Is there somewhere we can make feature requests for clients?
In the meantime, I’m cheating by doing the work for both season-level extras (for the Roku client I mainly use) and show-level subdirectories (for the iOS client that I occasionally use). It’s obviously not efficient to have those files duplicated in two different places, but it’s a workaround for now.
I’m joining the convo pretty late here. My understanding is that Plugins are going away? Does that mean Plex will never have this ability in the future? 
Metadata agents are being treated separately from plugins in this case. From the announcement
Will scanners and agents be affected?
While support for browsable plugins is being discontinued, nothing is happening to scanners and metadata agents with this announcement.
This comment in the movie scanner/agent preview thread may also be relevant:
I don’t know what I’m missing. I have 4 seasons of the Office (US) and the extras in the Season 1 folder show up under Season 1 but the extras in all the other folders show up under the show. The log says that it recognizes each Season folder as a Season Folder but then I get the following message for each of the Seasons 2-4 folders “Not searching for season 4 extras, extras will only be added at the show level.” The folder structure for Season 1 is identical to the folder structure for all the other season. Why do the extras show up properly for Season 1 but not the other seasons?
That message happens when either the preference is set to show extras only (ruled out here), or the folder isn’t recognised as a season folder.
Could you paste the path (starting from show folder) to one of the episodes in season 1 and one in season 4? I’ll try to see where the problem is
Thank you, Contrary_cat.
The path to one of the episodes and extras in Season 1 is:
Y:\TV Shows\The Office (US)\Season 1\The Office - S01E02 Diversity Day.m4v
Y:\TV Shows\The Office (US)\Season 1\S01E02 Diversity Day-deleted.m4v
The path to one of the episodes and extras in Season 4 is:
Y:\TV Shows\The Office (US)\Season 4\The Office - S04E03-E04 Dunder Mifflin Infinity.m4v
Y:\TV Shows\The Office (US)\Season 4\S04E03-E04 Dunder Mifflin Infinity-deleted.m4v
That minimal example actually worked correctly for me, so I’m not really sure what to check next.
Could you send me the log file? Also, are the extras from seasons 2-4 linked at the show level, or not found at all?
Here is the log. I have tried everything. I have renamed the files, put them in separate folders. If I add files to Season 1, they show up in Season 1. If I add them to other Seasons, they show up under the Show. It makes no sense.
com.plexapp.agents.localtvextras.log (380.7 KB)
The problem is the directory The Office (US)\Specials\The Office - S00E02 Webisodes The Accountants. When I added an episode in that subfolder to the minimal example, the Season 4 extra was moved to the show.
At the moment, the way the agent works is that if any directory in the list isn’t recognised as a season folder, then it switches to adding everything under the show. So once that sub-directory under Specials was added, everything after that is treated as a show extra.
I originally did it this way because sometimes the episodes for a single season might be saved in two different places (e.g. if there were HD & SD duplicates). But I’ll need to make a change so that it only looks at the directories for the episodes of the season in question instead of all previous directories.
As a quick fix, add The Office - S00E02 Webisodes The Accountants to the Alternative names for season folders, comma separated setting. Once you refresh metadata, the extras should be in the correct place.
You are awesome!!!
That worked! Thank you so much!!! 
To join in with the many others, thank you for helping to fill this severely lacking gap in Plex.
I’m having some trouble getting my extras to show up (I’m using a Mac), but before I put any more time into it I wanted to confirm something:
My primary method for viewing Plex is an Apple TV, and that does NOT support/show any Extras set up through this Agent, correct? (I don’t want to put in more time getting it to work if it’s not going to be displayed anyway.)
Unfortunately you’re correct. The Plex client for Apple TV doesn’t currently display TV extras at any level.
MrMC with the plex for kodi addon will display them (at show and season), so that’s the alternative I use when I really want to play TV extras on Apple TV.
@AlvaroBeiro @contrary_cat Does this still work for you? Have been hunting around the Plex client for windows and can’t find the strings anywhere. Have also tried to do the same on the FreeBSD client but no such luck there either.
The javascript is minified and so it changes with every update. If you have Perl installed, then I can send a script with a regex search/replace that has worked on the past few versions.
I’ve been able to do similar JS edits to enable extras on Plex Media Server (127.0.0.1 version only), and Plex Media Player, but I’m not sure how long any of this will work since there are updates all the time and any small change to the structure might break a regular expression.