Jump to content

Episodes of the same TV Show get split between multiple directories and appear twice


Recommended Posts

ProperlyFormattedDataFile
Posted

Often when I'm recording a show in Emby, the directory that the episodes record to will change over the course of the season, often by appending a year.  For example, I have episodes of Perfect Harmony recorded to "Perfect Harmony" and "Perfect Harmony (2019)".  

 

The two directories cause the series to appear twice in my library.  Each folder in the library has the same image, the same number of unwatched episodes, and access to all the episodes if I click through.  I don't particularly mind that the files are in different places on my hard drive (though fixing that would be nice), but the double entries in my library makes things pretty cluttered.  Are there any settings I should check that might be causing this or ways that I can get Emby to condense these multiple folders into a single show in the library?

 

Thanks!

Posted

Hi, I would merge existing ones manually into the folder with the year. Then once you've done that it should be pretty rare after that, and especially so following the upcoming 4.3 release. Thanks.

  • Like 1
  • 2 weeks later...
cybergrimes
Posted (edited)

I'm getting a lot of this on the 4.3 branch. All 3 recordings this weekend went to folders without the year included, two of them were existing folders and all based on series timers.

Not the end of the world since the front end keeps it all grouped, just kind of messy and curious why year isn't making it anymore. It's been working for a long time now!

It looks like there are errors searching TheTVDB in the log? It can't find 'en.xml' after searching, looking I do see an 'en.zip.xml' in that directory, is it just named wrong here after getitng the data?

2019-11-17 20:30:00.014 Info LiveTV: Recording timer fired for NCIS: Los Angeles.
2019-11-17 20:30:00.022 Info HttpClient: GET https://www.thetvdb.com/api/GetSeriesByRemoteID.php?zap2it=EP01158361&language=en
2019-11-17 20:30:00.271 Info HttpClient: GET https://www.thetvdb.com/api/B89CE93890E9419B/series/95441/all/en.zip
2019-11-17 20:30:00.537 Error ProviderManager: Error searching
	*** Error Report ***
	Version: 4.3.0.22
	Command line: C:\Users\Matthew\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/Matthew/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 16
	Program data path: C:\Users\Matthew\AppData\Roaming\Emby-Server\programdata
	Application directory: C:\Users\Matthew\AppData\Roaming\Emby-Server\system
	System.IO.FileNotFoundException: System.IO.FileNotFoundException: Could not find file 'C:\Users\Matthew\AppData\Roaming\Emby-Server\programdata\cache\tvdb\EP01158361\en.xml'.
	File name: 'C:\Users\Matthew\AppData\Roaming\Emby-Server\programdata\cache\tvdb\EP01158361\en.xml'
	   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
	   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
	   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, FileOpenOptions fileOpenOptions)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, Boolean isAsync)
	   at Tvdb.TvdbSeriesProvider.ExtractEpisodes(String seriesDataPath, String xmlFile, Nullable`1 lastTvDbUpdateTime)
	   at Tvdb.TvdbSeriesProvider.DownloadSeriesZip(String seriesId, String idType, String seriesName, Nullable`1 seriesYear, String seriesDataPath, Nullable`1 lastTvDbUpdateTime, String preferredMetadataLanguage, String saveAsMetadataLanguage, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.DownloadSeriesZip(String seriesId, String idType, String seriesName, Nullable`1 seriesYear, String seriesDataPath, Nullable`1 lastTvDbUpdateTime, String preferredMetadataLanguage, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.EnsureSeriesInfo(Dictionary`2 seriesProviderIds, String seriesName, Nullable`1 seriesYear, String preferredMetadataLanguage, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.GetMetadata(SeriesInfo searchInfo, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.GetSearchResults(SeriesInfo searchInfo, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.ProviderManager.GetSearchResults[TLookupType](IRemoteSearchProvider`1 provider, TLookupType searchInfo, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.ProviderManager.GetRemoteSearchResults[TItemType,TLookupType](RemoteSearchQuery`1 searchInfo, BaseItem referenceItem, CancellationToken cancellationToken)
	Source: System.Private.CoreLib
	TargetSite: Microsoft.Win32.SafeHandles.SafeFileHandle ValidateFileHandle(Microsoft.Win32.SafeHandles.SafeFileHandle)

5dd2ac3c38ff1_Untitled.png

embyserver.txt

Edited by cybergrimes
Posted

I'm getting a lot of this on the 4.3 branch. All 3 recordings this weekend went to folders without the year included, two of them were existing folders and all based on series timers.

Not the end of the world since the front end keeps it all grouped, just kind of messy and curious why year isn't making it anymore. It's been working for a long time now!

It looks like there are errors searching TheTVDB in the log?

2019-11-17 20:30:00.014 Info LiveTV: Recording timer fired for NCIS: Los Angeles.
2019-11-17 20:30:00.022 Info HttpClient: GET https://www.thetvdb.com/api/GetSeriesByRemoteID.php?zap2it=EP01158361&language=en
2019-11-17 20:30:00.271 Info HttpClient: GET https://www.thetvdb.com/api/B89CE93890E9419B/series/95441/all/en.zip
2019-11-17 20:30:00.537 Error ProviderManager: Error searching
	*** Error Report ***
	Version: 4.3.0.22
	Command line: C:\Users\Matthew\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/Matthew/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 16
	Program data path: C:\Users\Matthew\AppData\Roaming\Emby-Server\programdata
	Application directory: C:\Users\Matthew\AppData\Roaming\Emby-Server\system
	System.IO.FileNotFoundException: System.IO.FileNotFoundException: Could not find file 'C:\Users\Matthew\AppData\Roaming\Emby-Server\programdata\cache\tvdb\EP01158361\en.xml'.
	File name: 'C:\Users\Matthew\AppData\Roaming\Emby-Server\programdata\cache\tvdb\EP01158361\en.xml'
	   at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
	   at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
	   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, FileOpenOptions fileOpenOptions)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, Boolean isAsync)
	   at Tvdb.TvdbSeriesProvider.ExtractEpisodes(String seriesDataPath, String xmlFile, Nullable`1 lastTvDbUpdateTime)
	   at Tvdb.TvdbSeriesProvider.DownloadSeriesZip(String seriesId, String idType, String seriesName, Nullable`1 seriesYear, String seriesDataPath, Nullable`1 lastTvDbUpdateTime, String preferredMetadataLanguage, String saveAsMetadataLanguage, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.DownloadSeriesZip(String seriesId, String idType, String seriesName, Nullable`1 seriesYear, String seriesDataPath, Nullable`1 lastTvDbUpdateTime, String preferredMetadataLanguage, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.EnsureSeriesInfo(Dictionary`2 seriesProviderIds, String seriesName, Nullable`1 seriesYear, String preferredMetadataLanguage, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.GetMetadata(SeriesInfo searchInfo, CancellationToken cancellationToken)
	   at Tvdb.TvdbSeriesProvider.GetSearchResults(SeriesInfo searchInfo, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.ProviderManager.GetSearchResults[TLookupType](IRemoteSearchProvider`1 provider, TLookupType searchInfo, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.ProviderManager.GetRemoteSearchResults[TItemType,TLookupType](RemoteSearchQuery`1 searchInfo, BaseItem referenceItem, CancellationToken cancellationToken)
	Source: System.Private.CoreLib
	TargetSite: Microsoft.Win32.SafeHandles.SafeFileHandle ValidateFileHandle(Microsoft.Win32.SafeHandles.SafeFileHandle)

5dd2ac3c38ff1_Untitled.png

 

A quick perusal of the main forum section should tell you why :).

 

(TVDb is borked right now)

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...