contrary-cat / LocalTVExtras.bundle

Local TV Extras Agent for Plex
82 stars 9 forks source link

Does not work at all for me - Mac server #2

Closed dadrepus closed 5 years ago

dadrepus commented 5 years ago

Installed correctly in Plugins folder, show up in Agents. Folders correctly named, files correctly named. Nothing show up in web or any client. did i forget to do something?

contrary-cat commented 5 years ago

Could you please refresh metadata on the TV show you're trying to update with Extras, and then send me the file: ~/Library/Logs/Plex Media Server/PMS Plugins/com.plexapp.agents.localtvextras.log

If the Library folder isn't visible in your home folder, then open the home folder in Finder, hit cmd+J and you will see a "Show Library Folder" option which you can enable

dadrepus commented 5 years ago

Did you get the file? I just replied to your email instead of using this form? com.plexapp.agents.localmedia.log

But here it is again.

contrary-cat commented 5 years ago

That's actually the localmedia log file (the official Plex one), there should be one called com.plexapp.agents.localtvextras.log in the same folder that contains the logs from this agent.

I got a notification email when you posted this comment, but I didn't get anything earlier, so I suspect replying to the emails doesn't work.

dadrepus commented 5 years ago

com.plexapp.agents.localtvextras.log

Right one?

contrary-cat commented 5 years ago

Yes that's the right one. The log tells me that there aren't any errors in the code - the agent just isn't finding any extras for some reason. Could you give me an example of your folder structure for one TV Show including the episode file names and where the extras are located and how they are named?

dadrepus commented 5 years ago

Screen Shot 2019-03-17 at 1 59 34 PM Screen Shot 2019-03-17 at 1 58 53 PM Screen Shot 2019-03-17 at 1 58 01 PM

dadrepus commented 5 years ago

this is what I am getting now after a relink to the server. This is better than I have ever gotten before and I have had the plugin install for several days. Screen Shot 2019-03-17 at 2 08 17 PM

dadrepus commented 5 years ago

still nothing for stargate. Screen Shot 2019-03-17 at 2 16 32 PM

contrary-cat commented 5 years ago

It does seem to be working properly for Atlantis (except for thumbnails?), which is encouraging. Can you try a metadata refresh on SG-1 only – while you're in the show page, click the … (more) button on the top-right, then "Refresh Metadata".

I don't know if you've changed any of the default settings, but I wanted to quickly note that Plex Web doesn't display extras attached to Seasons or Episodes, only the extras attached at the show level. There are some clients that show them, so for some people it is worth enabling the setting for episode & show extras.

dadrepus commented 5 years ago

Well, now they are showing up the same as Atlantis without thumbs which I guess is oK for now. Thanks for working on this plugin. I am an orderly kind of guy and this was driving me crazy.

contrary-cat commented 5 years ago

Can you tell me whether the videos linked to the extras play properly?

I've seen blank thumbnails before in an earlier version of the agent, where I wasn't handling unicode paths properly, and so Plex wasn't able to reach the video to analyse it.

If you can play the videos, then the problem is something different; but if you can't, then there's probably something PMS doesn't understand in the file path that the agent passes to it.

dadrepus commented 5 years ago

Videos play properly, just no thumbs.

contrary-cat commented 5 years ago

I've noticed that blank thumbnails is an issue on Plex Media Server 1.15.2.793 (which I'm running on Mojave), but not Plex Media Server 1.15.0.659 (High Sierra).

I tried adding a test extra to one of my movies, and confirmed that this is also a problem for movie extras using the Plex Local Media agent, so I think there may be a server issue.

There is a workaround if you want to include thumbnails now – if you save an image in the same folder, with the same file name (apart from extension) as an extra, then it will be used as the thumbnail in my agent.

It's a bit cumbersome, because Plex won't update the image unless something else changes; I find the easiest way is to:

  1. Disable the Local TV Extras Agent (under Settings > Agents > Shows > whichever top level agent you're using)
  2. In another tab, navigate to the show you want to update, and perform a metadata refresh on that show only (this will temporarily remove all extras for the show)
  3. Renable the agent
  4. Refresh metadata on the show again, and the extra should return complete with image

Renaming the extra file will also prompt Plex to update the information, but that would also be a two-refresh task if you want to keep the original title.

I'll close this issue, since I think the problem is on Plex's end, but if you have any difficulties then let me know.

ghost commented 5 years ago

It does seem to be working properly for Atlantis (except for thumbnails?), which is encouraging. Can you try a metadata refresh on SG-1 only – while you're in the show page, click the … (more) button on the top-right, then "Refresh Metadata".

I don't know if you've changed any of the default settings, but I wanted to quickly note that Plex Web doesn't display extras attached to Seasons or Episodes, only the extras attached at the show level. There are some clients that show them, so for some people it is worth enabling the setting for episode & show extras.

Sorry to comment on a closed issue, but I wanted to clarify something about your observation. I was able to display the extras at the Show level, but not at the Season level (even though my structure is fully prepared for it). Then I read this comment, and apparently Plex Web is unable to display extras on Show Level, but some other clients are able. Since currently I'm only using Plex Web and Plex iOS (at an iPad, and with this client I can't see extras even at Show level), can you tell me any other client that is able to display at Season level?

contrary-cat commented 5 years ago

I don't have all these clients myself, so this is mostly a summary of what I have been told on the thread in the plex forums.

Episodes only:

Show only:

Show and Season:

Show, Season and Episode:

No TV Extras:

The ones I can personally confirm are Plex Web (naturally), Plex Media Player, Plex for Kodi, iOS and Apple TV.

The quickest way to see your season extras would probably be to download Kodi and install the Plex for Kodi add-on.

ghost commented 5 years ago

Thank you for the quick and thorough response. I'm currently considering getting an Android TV device, so maybe I'll give it a shot on Season extras, but for now, Show extras it is.

Since this feature already exists "natively" for Movies, I think Plex developers should also implement this for TV Shows. But still, great work man, and thanks for sharing the plugin with us.

dadrepus commented 5 years ago

So, as per your advice, I got some images from TVDB and added them to the folder that housed my extras, Named them exactly as the mp4's were named. Refreshed with your plug-in off and once again with your plug-in on. No thumbs created for the extras. Example: Stargate-Continuum.mp4 and Stargate-Continuum.jpg. Any clues?

contrary-cat commented 5 years ago

Did the extras disappear when you refreshed with the agent turned off? (It only works if they are completely removed from the database before adding the thumbnail)

An alternative method is to slightly rename the extra you are testing. E.g. change both Stargate-Continuum mp4 and jpg to Stargate_Continuum or Stargate Continuum, then refresh metadata The file should then be treated as a brand new extra and the thumbnail properly linked.

On May 5, 2019 at 5:38 pm, <dadrepus (mailto:notifications@github.com)> wrote:

So, as per your advice, I got some images from TVDB and added them to the folder that housed my extras, Named them exactly as the mp4's were named. Refreshed with your plug-in off and once again with your plug-in on. No thumbs created for the extras. Example: Stargate-Continuum.mp4 and Stargate-Continuum.jpg. Any clues?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub (https://github.com/contrary-cat/LocalTVExtras.bundle/issues/2#issuecomment-489442337), or mute the thread (https://github.com/notifications/unsubscribe-auth/AK4ZFJY6E2VPGOWA5Y6ABVDPT4EPNANCNFSM4G466IOQ).

dadrepus commented 5 years ago

Turning off your plugin and then refreshing the metadata did not remove the extras, renaming both the mp4 and jpg and refreshing data did indeed give me images. But turning off and back on the plugin did nothing. Screen Shot 2019-05-05 at 1 22 35 PM Unfortunately the did not take on the shape of a normal thumb, just a partial. you can see I added "-extra" to the end of each. Liveable

contrary-cat commented 5 years ago

Yes, extra thumbnails are all in 16:9 aspect ratio in Plex.

If you'd prefer poster thumbnails, then I would recommend including all three in your movie library and using collections: Stargate Collection

There's a Plex support page on collections here. If the exact same name (I used "Stargate") is used for your collections in each library, then they will be linked, and you'll see related movies as well as TV shows. I only have the original movie, but if the three you have here are all added to a Stargate collection, as well as the show, then they will all be displayed there.

The "Collection Inline library display options" section on the support page is quite useful if you don't want all your collections to show up in the main view of the libraries.