Jump to content

Emby adding all episodes of one particular season of one particular show as versions of one episode


Recommended Posts

Posted

I run Emby Server on Windows 10 Pro 1903 Build 18362.418.

 

One of the TV shows I have is Supergirl. I have the first four seasons and everthing is fine.

 

Today, I added the first four episodes of Season 5. However they show on Emby as four versions of one unnumbered episode (see screenshots).

 

I'm not sure why this has happened. I've also included a debug log with this post.

 

All help appreciated!

 

Thanks in advance.

post-69174-0-67043200-1572299869_thumb.png

post-69174-0-46610300-1572299900_thumb.png

embyserver.txt

Happy2Play
Posted

Have not see this happen with proper structure and naming scheme.  But the images would appear to point to a metadata issue since there are no episode numbers in the UI.

J:\Library\Videos\TV Shows\Supergirl\Season 05\Supergirl.S05E01.1080p.WEB-DL-QOQ.mkv
Posted

 

Have not see this happen with proper structure and naming scheme.  But the images would appear to point to a metadata issue since there are no episode numbers in the UI.

J:\Library\Videos\TV Shows\Supergirl\Season 05\Supergirl.S05E01.1080p.WEB-DL-QOQ.mkv

 

Thanks for the response, but what does this mean in terms of how do I fix it? The structure and naming scheme is exactly the same as for Season 4, which appears correctly in Emby.

 

I'm not knowledgeable enough to understand if the following parts of the debug log point to the problem, and if so, what to do about it:

2019-10-28 21:36:01.031 Error ProviderManager: MovieDbEpisodeImageProvider failed in GetImageInfos for type Episode
	*** Error Report ***
	Version: 4.2.1.0
	Command line: C:\Users\xxxxx\AppData\Roaming\Emby-Server\system\EmbyServer.dll
	Operating system: Microsoft Windows NT 6.2.9200.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///C:/Users/xxxxx/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 2
	Program data path: C:\Users\xxxxx\AppData\Roaming\Emby-Server
	Application directory: C:\Users\xxxxx\AppData\Roaming\Emby-Server\system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: NotFound
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
	   at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
	   at MovieDb.MovieDbProvider.GetMovieDbResponse(HttpRequestOptions options)
	   at MovieDb.MovieDbProviderBase.FetchMainResult(String urlPattern, String id, Int32 seasonNumber, Int32 episodeNumber, String language, String country, CancellationToken cancellationToken)
	   at MovieDb.MovieDbProviderBase.DownloadEpisodeInfo(String id, Int32 seasonNumber, Int32 episodeNumber, String preferredMetadataLanguage, String preferredMetadataCountry, CancellationToken cancellationToken)
	   at MovieDb.MovieDbProviderBase.GetEpisodeInfo(String seriesTmdbId, Int32 season, Int32 episodeNumber, String preferredMetadataLanguage, String preferredMetadataCountry, CancellationToken cancellationToken)
	   at MovieDb.MovieDbEpisodeImageProvider.GetImages(BaseItem item, LibraryOptions libraryOptions, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.ProviderManager.GetImages(BaseItem item, LibraryOptions libraryOptions, CancellationToken cancellationToken, IRemoteImageProvider provider, Int32 providerIndex)
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	

and

2019-10-28 21:36:15.224 Debug App: EpisodeNfoProvider returned no metadata for J:\Library\Videos\TV Shows\Supergirl\Season 05\Supergirl.S05E04.1080p.WEB-DL-QOQ.mkv
Deathsquirrel
Posted

Your file name didn't match to an episode with your metadata provider.  Try standard naming and pathing to eliminate the issue.

 

J:\Library\Videos\TV Shows\Supergirl\Season 05\Supergirl.S05E01.1080p.WEB-DL-QOQ.mkv should be renamed J:\Library\Videos\TV Shows\Supergirl\Season 05\Supergirl S05E01 Event Horizon.mkv.  I'd also share the folder J:\Library\Videos\TV Shows and add that share to the library rather than the Windows path.  Probably clear it right up.

Happy2Play
Posted

The only relevant information when it comes to episodes is Season and Episode number (S05E01).  Episode name has never been a issue in my testing.  But I can not reproduce this behavior either.

Posted

Actually the file name looks OK. Is there a .nfo file of the same name next to the video file?

Posted

Yes there are .nfo files.

 

Here is a screenshot of the Season 5 folder: https://i.imgur.com/YYML7hB.png

 

Here are the .nfo files:

I hope this helps because I'm at a loss!

 

Thanks for all the replies so far!

Happy2Play
Posted (edited)

They all have episode "0" in their nfo files, instead of their actual episode number. 

  <episode>0</episode>
  <season>5</season>
Edited by Happy2Play
Posted

 

They all have episode "0" in their nfo files, instead of their actual episode number. 

  <episode>0</episode>
  <season>5</season>

 

Thanks, good spot! Any reason why Emby would create .nfo files all showing episode 0?

 

I don't really want to manually adjust the .nfo files of all 22 episodes as and when they air if I can avoid it.

Happy2Play
Posted

Thanks, good spot! Any reason why Emby would create .nfo files all showing episode 0?

 

I don't really want to manually adjust the .nfo files of all 22 episodes as and when they air if I can avoid it.

Don't really know if your issue is just a glitch or not as I am still unable to reproduce this with same folder and episode naming scheme.

 

Personally I would remove Season 5, do a library scan.  Remove all the metadata and images from Season 5 folder, then re-add the season to the series and see if it does the same thing.

Posted (edited)

Don't really know if your issue is just a glitch or not as I am still unable to reproduce this with same folder and episode naming scheme.

 

Personally I would remove Season 5, do a library scan.  Remove all the metadata and images from Season 5 folder, then re-add the season to the series and see if it does the same thing.

 

Thanks, I've done this but got the same result.

 

Is there a way for me to check who my metadata provider is so I can check if it holds the correct episode data, etc.?

 

EDIT: After rescanning, it has retained my chosen poster for S05 (which I manually added), despite me deleting the whole S05 folder and performing a library scan prior to re-adding the episodes. So I'm not sure the whole thing was cleared correctly - in other words, is there something else I have to do to completely remove all metadata remembered by Emby?

Edited by AkashKS
Happy2Play
Posted

Thanks, I've done this but got the same result.

 

Is there a way for me to check who my metadata provider is so I can check if it holds the correct episode data, etc.?

 

Go to Dashboard-Library-TV library and enable Advanced settings and scroll down to episode metadata downloaders.  You can check the metadata Emby already pulled from provider sites, in your cache folder by provider by providerid.

 

C:\Users\xxxxx\AppData\Roaming\Emby-Server\programdata\cache\tvdb\295759

C:\Users\xxxxx\AppData\Roaming\Emby-Server\programdata\cache\tmdb-tv\62688

Happy2Play
Posted

 

EDIT: After rescanning, it has retained my chosen poster for S05 (which I manually added), despite me deleting the whole S05 folder and performing a library scan prior to re-adding the episodes. So I'm not sure the whole thing was cleared correctly - in other words, is there something else I have to do to completely remove all metadata remembered by Emby?

Well that would require removing the entire Series, but I am not positive the cache actually gets clear.  I believe that is done in a background cache cleanup task every so often.  You can manually delete the folders above to force Emby to get the information from provider sites again.  

 

But I can only assume there is something wrong within this Series on your setup if this is the only series this is happening to.

Posted

Go to Dashboard-Library-TV library and enable Advanced settings and scroll down to episode metadata downloaders.  You can check the metadata Emby already pulled from provider sites, in your cache folder by provider by providerid.

 

C:\Users\xxxxx\AppData\Roaming\Emby-Server\programdata\cache\tvdb\295759

C:\Users\xxxxx\AppData\Roaming\Emby-Server\programdata\cache\tmdb-tv\62688

 

Well, I'm totally baffled.

 

My metadata provider is TheTVDB, the cache folder also shows Emby has pulled the "Episode 0" details from TheTVDB, and TheTVDB website appears to be all correct: https://www.thetvdb.com/series/supergirl/seasons/5

 

Well that would require removing the entire Series, but I am not positive the cache actually gets clear.  I believe that is done in a background cache cleanup task every so often.  You can manually delete the folders above to force Emby to get the information from provider sites again.  

 

But I can only assume there is something wrong within this Series on your setup if this is the only series this is happening to.

 

Are you saying I might get a different (better) result by deleting the whole series and starting again?

Posted

Were the nfo files still there when you re-did this?  If nfo files exist, they will be the law.  It won't matter what you name the actual item.

 

So make sure those are completely cleaned out.

Posted

Were the nfo files still there when you re-did this?  If nfo files exist, they will be the law.  It won't matter what you name the actual item.

 

So make sure those are completely cleaned out.

 

Yes, I deleted the whole Season 5 folder (which contained the .nfo files as well as the episodes) and started again. In fact I've tried this a couple of times now. But unfortunately I always get the same result.

Happy2Play
Posted

Setting the episode number in the nfo and doing a library scan resolves the issue correct? 

 

You can try removing S05E02,03,e04 and ensure S05E01 is correct before adding the others.  Maybe add them one at a time and see what results you get.

 

**But I am guessing your have rogue entries in your database for this season.  To confirm this theory you could create a New library with new name, with a new library folder and move this issue series out of library, does a scan, then add to the new library folder.  If it works properly in the new library/folder, then are issues specific to the series not being cleared from the database.

Posted

Have you tried this?

 

Sorry, been at work all day. Yes I have tried this (see below).

 

Setting the episode number in the nfo and doing a library scan resolves the issue correct?

 

 Yes it does.

 

You can try removing S05E02,03,e04 and ensure S05E01 is correct before adding the others.  Maybe add them one at a time and see what results you get.

 

I tried adding S05E01 alone (without amending the .nfo file). I got the same result (i.e. unnumbered episode), screenshots here: https://imgur.com/a/wunjnR9

 

**But I am guessing your have rogue entries in your database for this season.  To confirm this theory you could create a New library with new name, with a new library folder and move this issue series out of library, does a scan, then add to the new library folder.  If it works properly in the new library/folder, then are issues specific to the series not being cleared from the database.

 

OK, I've tried this and it worked fine. So how do I get it to work in the correct library in the correct location? Do I just put the show files back into the old location and re-add it to the old library? Or would Emby still remember the old details retaining the old problems?

Happy2Play
Posted (edited)

 

**But I am guessing your have rogue entries in your database for this season.  To confirm this theory you could create a New library with new name, with a new library folder and move this issue series out of library, does a scan, then add to the new library folder.  If it works properly in the new library/folder, then are issues specific to the series not being cleared from the database.

 

 

OK, I've tried this and it worked fine. So how do I get it to work in the correct library in the correct location? Do I just put the show files back into the old location and re-add it to the old library? Or would Emby still remember the old details retaining the old problems?

 

 

Since this is a database issue, it is a matter of finding and removing the rogue entry, but I believe that will require editing the database manually.

Edited by Happy2Play
Posted

OK, well I deleted the whole series folder from my library folder location and did a library scan.

 

Then I copied the series folder (only the .mkv files - I deleted all .jpg files and all .nfo files) back into my library folder and did another library scan.

 

Thankfully this worked and all seasons now show correctly. Thanks so much for all the help troubleshooting this issue.

Posted

Thanks for the feedback !

Posted (edited)

Hi, it seems i have a similar problem, but for me its a different series.

 

As you can see in the screenshots, i have 3 Folders beginning with "Digimon", while "Digimon" and "Digimon Frontier" got deteced just fine, it wont do it for "Digimon Tamers".

It will mix it up with the first season of "Digimon" as a different version. But thetvdb has its own entry for that series, just as it has for Digimon Frontier.

So i dont understand why "Digimon Frontier" works and "Digimon Tamers" dont.

post-206603-0-67881500-1572772353_thumb.png

post-206603-0-56265500-1572772559_thumb.png

post-206603-0-60072600-1572772591_thumb.png

Edited by Kyouma
Happy2Play
Posted

Hi, it seems i have a similar problem, but for me its a different series.

 

As you can see in the screenshots, i have 3 Folders beginning with "Digimon", while "Digimon" and "Digimon Frontier" got deteced just fine, it wont do it for "Digimon Tamers".

It will mix it up with the first season of "Digimon" as a different version. But thetvdb has its own entry for that series, just as it has for Digimon Frontier.

So i dont understand why "Digimon Frontier" works and "Digimon Tamers" dont.

 

Do you see that folder in the Metadata Manager?  If so you may have to manually apply the TVDB id to the metadata or Identify with the TVDBid

Posted

Yes, i  changed the tvdb id and did a refresh.

 

Now it appears correctly, but its not getting the cast and i cant seem to fix the poster image.

Here it is what happens when i try to change the poster:

 

https://i.imgur.com/Wb8yojP.gifv

 

Do you have a solution for this too?

post-206603-0-90811100-1572783163_thumb.jpg

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...