unisoft 287 Posted May 21, 2021 Share Posted May 21, 2021 Library scanning seems to stop at 97.4%. I take a look at the log file and notice there are .NET errors? Attached the log file extract. Last line in paste eblwo says about duplicate path - except it isn't a duplicate path but the path is included in another Photos library (the old one before the new combined Photos & Videos library) Any ideas what needs to be fixed here please? 2021-05-21 14:44:43.912 Error App: Error in Emby Xml *** Error Report *** Version: 4.6.0.50 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -updatepackage emby-server-synology_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 3.10.105 (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25556 SMP Thu Mar 18 12:57:43 CST 2021 Framework: .NET Core 3.1.13 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 4 Data path: /volume1/Emby Application path: /volume1/@appstore/EmbyServer/system System.Xml.XmlException: System.Xml.XmlException: The 'Genres' start tag on line 10 position 3 does not match the end tag of 'Genre'. Line 12, position 4. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.ThrowTagMismatchAsync(NodeData startTag) at System.Xml.AsyncHelper.ReturnTrueTaskWhenFinishCoreAsync(Task task) at System.Xml.XmlSubtreeReader.ReadAsync() at XmlMetadata.Parsers.BaseItemXmlParser`1.FetchFromGenresNode(XmlReader reader, T item) at XmlMetadata.Parsers.BaseItemXmlParser`1.FetchDataFromXmlNode(XmlReader reader, MetadataResult`1 itemResult) at XmlMetadata.Parsers.SeriesXmlParser.FetchDataFromXmlNode(XmlReader reader, MetadataResult`1 item) at XmlMetadata.Parsers.BaseItemXmlParser`1.Fetch(MetadataResult`1 item, String metadataFile, XmlReaderSettings settings, Encoding encoding, CancellationToken cancellationToken) at XmlMetadata.Providers.BaseXmlProvider`1.GetMetadata(ItemInfo info, LibraryOptions libraryOptions, IDirectoryService directoryService, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.MetadataService`2.RefreshWithProviders(MetadataResult`1 metadata, TIdType id, MetadataRefreshOptions options, LibraryOptions libraryOptions, List`1 providers, ItemImageProvider imageService, CancellationToken cancellationToken) Source: System.Private.Xml TargetSite: Void Throw(System.Exception) 2021-05-21 14:44:44.049 Error App: Error in Emby Xml *** Error Report *** Version: 4.6.0.50 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -updatepackage emby-server-synology_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 3.10.105 (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25556 SMP Thu Mar 18 12:57:43 CST 2021 Framework: .NET Core 3.1.13 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 4 Data path: /volume1/Emby Application path: /volume1/@appstore/EmbyServer/system System.Xml.XmlException: System.Xml.XmlException: The 'Genres' start tag on line 10 position 3 does not match the end tag of 'Genre'. Line 12, position 4. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.ThrowTagMismatchAsync(NodeData startTag) at System.Xml.AsyncHelper.ReturnTrueTaskWhenFinishCoreAsync(Task task) at System.Xml.XmlSubtreeReader.ReadAsync() at XmlMetadata.Parsers.BaseItemXmlParser`1.FetchFromGenresNode(XmlReader reader, T item) at XmlMetadata.Parsers.BaseItemXmlParser`1.FetchDataFromXmlNode(XmlReader reader, MetadataResult`1 itemResult) at XmlMetadata.Parsers.SeriesXmlParser.FetchDataFromXmlNode(XmlReader reader, MetadataResult`1 item) at XmlMetadata.Parsers.BaseItemXmlParser`1.Fetch(MetadataResult`1 item, String metadataFile, XmlReaderSettings settings, Encoding encoding, CancellationToken cancellationToken) at XmlMetadata.Providers.BaseXmlProvider`1.GetMetadata(ItemInfo info, LibraryOptions libraryOptions, IDirectoryService directoryService, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.MetadataService`2.RefreshWithProviders(MetadataResult`1 metadata, TIdType id, MetadataRefreshOptions options, LibraryOptions libraryOptions, List`1 providers, ItemImageProvider imageService, CancellationToken cancellationToken) Source: System.Private.Xml TargetSite: Void Throw(System.Exception) 2021-05-21 14:44:52.185 Warn App: Invalid Added value found: 21/12/2020 15:50:59 2021-05-21 14:44:52.226 Error App: Error in Emby Xml *** Error Report *** Version: 4.6.0.50 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -updatepackage emby-server-synology_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 3.10.105 (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25556 SMP Thu Mar 18 12:57:43 CST 2021 Framework: .NET Core 3.1.13 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 4 Data path: /volume1/Emby Application path: /volume1/@appstore/EmbyServer/system System.Xml.XmlException: System.Xml.XmlException: An error occurred while parsing EntityName. Line 15, position 74. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, Int32 lineNo, Int32 linePos) at System.Xml.XmlTextReaderImpl.HandleEntityReferenceAsync(Boolean isInAttributeValue, EntityExpandType expandType) at System.Xml.XmlTextReaderImpl.ParseTextAsync_ParseEntity(Int32 outOrChars, Char[] chars, Int32 pos, Int32 rcount, Int32 rpos, Int32 orChars, Char c) at System.Xml.XmlTextReaderImpl.ParseTextAsync_AsyncFunc(Task`1 task) at System.Xml.XmlTextReaderImpl.FinishPartialValueAsync() at System.Xml.XmlTextReaderImpl._GetValueAsync() at System.Xml.XmlReader.InternalReadContentAsStringAsync() at System.Xml.XmlReader.ReadElementContentAsStringAsync() at XmlMetadata.Parsers.BaseItemXmlParser`1.FetchDataFromXmlNode(XmlReader reader, MetadataResult`1 itemResult) at XmlMetadata.Parsers.SeriesXmlParser.FetchDataFromXmlNode(XmlReader reader, MetadataResult`1 item) at XmlMetadata.Parsers.BaseItemXmlParser`1.Fetch(MetadataResult`1 item, String metadataFile, XmlReaderSettings settings, Encoding encoding, CancellationToken cancellationToken) at XmlMetadata.Providers.BaseXmlProvider`1.GetMetadata(ItemInfo info, LibraryOptions libraryOptions, IDirectoryService directoryService, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.MetadataService`2.RefreshWithProviders(MetadataResult`1 metadata, TIdType id, MetadataRefreshOptions options, LibraryOptions libraryOptions, List`1 providers, ItemImageProvider imageService, CancellationToken cancellationToken) Source: System.Private.Xml TargetSite: Void Throw(System.Exception) 2021-05-21 14:44:52.237 Warn App: Invalid Added value found: 21/12/2020 15:50:59 2021-05-21 14:44:52.250 Error App: Error in Emby Xml *** Error Report *** Version: 4.6.0.50 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /volume1/Emby -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -updatepackage emby-server-synology_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 3.10.105 (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25556 SMP Thu Mar 18 12:57:43 CST 2021 Framework: .NET Core 3.1.13 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 4 Data path: /volume1/Emby Application path: /volume1/@appstore/EmbyServer/system System.Xml.XmlException: System.Xml.XmlException: An error occurred while parsing EntityName. Line 15, position 74. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, Int32 lineNo, Int32 linePos) at System.Xml.XmlTextReaderImpl.HandleEntityReferenceAsync(Boolean isInAttributeValue, EntityExpandType expandType) at System.Xml.XmlTextReaderImpl.ParseTextAsync_ParseEntity(Int32 outOrChars, Char[] chars, Int32 pos, Int32 rcount, Int32 rpos, Int32 orChars, Char c) at System.Xml.XmlTextReaderImpl.ParseTextAsync_AsyncFunc(Task`1 task) at System.Xml.XmlTextReaderImpl.FinishPartialValueAsync() at System.Xml.XmlTextReaderImpl._GetValueAsync() at System.Xml.XmlReader.InternalReadContentAsStringAsync() at System.Xml.XmlReader.ReadElementContentAsStringAsync() at XmlMetadata.Parsers.BaseItemXmlParser`1.FetchDataFromXmlNode(XmlReader reader, MetadataResult`1 itemResult) at XmlMetadata.Parsers.SeriesXmlParser.FetchDataFromXmlNode(XmlReader reader, MetadataResult`1 item) at XmlMetadata.Parsers.BaseItemXmlParser`1.Fetch(MetadataResult`1 item, String metadataFile, XmlReaderSettings settings, Encoding encoding, CancellationToken cancellationToken) at XmlMetadata.Providers.BaseXmlProvider`1.GetMetadata(ItemInfo info, LibraryOptions libraryOptions, IDirectoryService directoryService, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.MetadataService`2.RefreshWithProviders(MetadataResult`1 metadata, TIdType id, MetadataRefreshOptions options, LibraryOptions libraryOptions, List`1 providers, ItemImageProvider imageService, CancellationToken cancellationToken) Source: System.Private.Xml TargetSite: Void Throw(System.Exception) 2021-05-21 14:45:37.848 Info App: Found duplicate path: /volume1/Multimedia/Photos & Videos/Pets embyserver.txt Link to comment Share on other sites More sharing options...
Luke 37161 Posted May 21, 2021 Share Posted May 21, 2021 Hi, the xml errors mean you have xml metadata files that are not valid xml. Regarding the scan, the update will rescan your music and audiobook libraries so I would just be patient and allow it to finish. 1 Link to comment Share on other sites More sharing options...
unisoft 287 Posted May 21, 2021 Author Share Posted May 21, 2021 (edited) 37 minutes ago, Luke said: Hi, the xml errors mean you have xml metadata files that are not valid xml. Regarding the scan, the update will rescan your music and audiobook libraries so I would just be patient and allow it to finish. Is there any way of knowing which XML files have the offending syntax because it doesn't log it in the log file? I just don't recall seeing errors on the previous versions of Emby but you did update the XML plugin, so wondering if you were being more strict and logging now? On another note, I'm happy with the TV guide changes - like being able to change the ordering, the channel numbering and the fcat the logos work for different shades of themes. Very grateful for those changes. The TAGS feature in Live TV is a bit bizarre though, because I tagged TV and Radio stations with things like "Current Affairs", "Politics", "Radio" and the TAGS section then started showing movies and tv content from my libraries that had the same tags? That bit made no sense to me? I thought tags were used to group into Categories of channel types?????? Thanks Edited May 21, 2021 by unisoft Link to comment Share on other sites More sharing options...
Luke 37161 Posted May 21, 2021 Share Posted May 21, 2021 Quote Is there any way of knowing which XML files have the offending syntax because it doesn't log it in the log file? It does not appear that way. We'll have to adjust the logging. You might consider switching entire to nfo at this point as the xml format has been obsolete for a long time. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now