Jump to content

Metadata not automatically retrieved following ## EpName format


theoldlr

Recommended Posts

theoldlr

Recently I have been having problems getting metadata automatically for TV shows.  Some episodes would work, some not.  More often than not, a manual refresh button in metadata manager fixes this.  I looked at the docs again on github and realized I was not following a proper format which was ShowName - S##E## - EpName.

 

Thinking this was the problem I changed to a supported scheme: Ep# EpName.ext i.e. 02 EpisodeName.ext

 

To be perfectly clear, the whole file structure is Root\TV\ShowName\Season #\## EpisodeName.ext

 

Since then I have retrieved no metadata automatically.  Worse I changed the auto organize to this format so now I will be out of the option to automatically fix my scheme having removed the ShowName from the file name.  I checked the logs for errors and found some.  Here is one example taken from one of the attached logs. (log1.zip)

 

Thank you!

 

 

2015-01-25 22:05:36.3506 Debug - App: Running EpisodeXmlProvider for E:\TV\Family Guy\Season 13\09 This Little Piggy.mkv

2015-01-25 22:05:36.3506 Debug - App: EpisodeXmlProvider returned no metadata for E:\TV\Family Guy\Season 13\09 This Little Piggy.mkv
2015-01-25 22:05:36.3506 Debug - App: Running EpisodeNfoProvider for E:\TV\Family Guy\Season 13\09 This Little Piggy.mkv
2015-01-25 22:05:36.3506 Error - App: Error in Nfo
*** Error Report ***
Version: 3.0.5490.2
Command line: C:\Users\WMC\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
Processor count: 8
64-Bit OS: True
64-Bit Process: False
Program data path: C:\Users\WMC\AppData\Roaming\MediaBrowser-Server
Application Path: C:\Users\WMC\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
Data at the root level is invalid. Line 1, position 55.
System.Xml.XmlException
  at System.Xml.XmlTextReaderImpl.Throw(Exception e)
  at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
  at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
  at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
  at System.Xml.XmlTextReaderImpl.Read()
  at System.Xml.XmlReader.MoveToContent()
  at MediaBrowser.XbmcMetadata.Parsers.BaseNfoParser`1.Fetch(T item, List`1 userDataList, String metadataFile, XmlReaderSettings settings, CancellationToken cancellationToken)
  at MediaBrowser.XbmcMetadata.Parsers.BaseNfoParser`1.Fetch(T item, List`1 userDataList, String metadataFile, CancellationToken cancellationToken)
  at MediaBrowser.XbmcMetadata.Providers.EpisodeNfoProvider.Fetch(LocalMetadataResult`1 result, String path, CancellationToken cancellationToken)
  at MediaBrowser.XbmcMetadata.Providers.BaseNfoProvider`1.<GetMetadata>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
  at MediaBrowser.Providers.Manager.MetadataService`2.<RefreshWithProviders>d__2a.MoveNext()
 
2015-01-25 22:05:36.3506 Debug - App: Running TvdbEpisodeImageProvider for E:\TV\Family Guy\Season 13\09 This Little Piggy.mkv
2015-01-25 22:05:36.3506 Debug - App: Running MovieDbEpisodeImageProvider for E:\TV\Family Guy\Season 13\09 This Little Piggy.mkv
2015-01-25 22:05:36.3506 Debug - App: Running VideoImageProvider for E:\TV\Family Guy\Season 13\09 This Little Piggy.mkv
2015-01-25 22:05:36.3506 Debug - ProviderManager: Saving E:\TV\Family Guy\Season 13\09 This Little Piggy.mkv to Media Browser Xml.
2015-01-25 22:05:36.3506 Debug - LibraryMonitor: Changed detected of type Created to E:\TV\Family Guy\Season 13\metadata\09 This Little Piggy.xml
2015-01-25 22:05:36.3506 Debug - LibraryMonitor: Ignoring change to E:\TV\Family Guy\Season 13\metadata\09 This Little Piggy.xml
2015-01-25 22:05:36.3506 Debug - LibraryMonitor: Changed detected of type Changed to E:\TV\Family Guy\Season 13\metadata
2015-01-25 22:05:36.3506 Debug - LibraryMonitor: Ignoring change to E:\TV\Family Guy\Season 13\metadata
2015-01-25 22:05:36.3506 Debug - LibraryMonitor: Changed detected of type Changed to E:\TV\Family Guy\Season 13\metadata\09 This Little Piggy.xml
2015-01-25 22:05:36.3506 Debug - ProviderManager: Saving E:\TV\Family Guy\Season 13\09 This Little Piggy.mkv to Nfo.
2015-01-25 22:05:36.3506 Debug - LibraryMonitor: Ignoring change to E:\TV\Family Guy\Season 13\metadata\09 This Little Piggy.xml
2015-01-25 22:05:36.3506 Error - App: Error reading existing xml tags from E:\TV\Family Guy\Season 13\09 This Little Piggy.nfo.
*** Error Report ***
Version: 3.0.5490.2
Command line: C:\Users\WMC\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
Processor count: 8
64-Bit OS: True
64-Bit Process: False
Program data path: C:\Users\WMC\AppData\Roaming\MediaBrowser-Server
Application Path: C:\Users\WMC\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
Data at the root level is invalid. Line 1, position 55.
System.Xml.XmlException
  at System.Xml.XmlTextReaderImpl.Throw(Exception e)
  at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
  at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
  at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
  at System.Xml.XmlTextReaderImpl.Read()
  at System.Xml.XmlReader.MoveToContent()
  at MediaBrowser.XbmcMetadata.Savers.BaseNfoSaver.AddCustomTags(String path, List`1 xmlTagsUsed, XmlWriter writer, ILogger logger)
 
2015-01-25 22:05:36.3506 Debug - LibraryMonitor: Changed detected of type Changed to E:\TV\Family Guy\Season 13\09 This Little Piggy.nfo
2015-01-25 22:05:36.3506 Debug - LibraryMonitor: Ignoring change to E:\TV\Family Guy\Season 13\09 This Little Piggy.nfo
2015-01-25 22:05:36.3662 Debug - LibraryMonitor: Changed detected of type Changed to E:\TV\Family Guy\Season 13\09 This Little Piggy.nfo
2015-01-25 22:05:36.3662 Debug - App: Saving E:\TV\Family Guy\Season 13\09 This Little Piggy.mkv to database.
2015-01-25 22:05:36.3662 Debug - LibraryMonitor: Ignoring change to E:\TV\Family Guy\Season 13\09 This Little Piggy.nfo
 

 

 

log1.zip

log2.zip

Link to comment
Share on other sites

Unfortunately this is hard to test without easily repeatable reproduction steps, but it should work fine. the only thing i can think of is that the log there is reading exiting nfo files. when nfo files are already there it will respect that and not go to the internet. that is why you'd have to go and refresh them manually. so maybe those files are from earlier when you were using an unsupported convention, i'm not sure. otherwise best thing to do is provide one specific, repeatable example with soup to nuts reproduction steps.

Link to comment
Share on other sites

theoldlr

I have sabnzb renaming the files... Is it possible the NFO file is generated before it is fully unpacked/renamed to the proper convention. Does the NFO file track through the rename?

 

Edit: also is the convention: Show - S##E## - EpName.ext truly unsupported? I know there have been advances recently in identification. Tia

Edited by theoldlr
Link to comment
Share on other sites

Show - S##E## - EpName.ext has always been supported. yes it sounds like the nfo rename is the reason. you have basically an empty nfo file. the server is seeing that and reading that instead of using the internet.

Link to comment
Share on other sites

theoldlr

Thanks all... I will have to wait for a new episode to be certain, but I found in my sabnzb tv post processing script that the

 

Del *.NFO

 

command was some how altered to have a square box ascii character after the "*.NFO" I'm betting that was it and explains the reason it was intermittent. You can bet I'll be back if the problem remains ;-) Thanks for the awesome fast support!

Link to comment
Share on other sites

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