question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Generated folder tags are missing from other videos with sidecar NFO metadata

See original GitHub issue

Trying to use local directories. Currently adding as Other Videos All files have an NFO named the exact same as the media file and generated in the Kodi format. It’s fully readable by all my media servers (Emby, Jellyfin, Plex and Stash).

When I scan a local directory, I get the following error in logs

[16:51:29 WRN] Error reading actor content from NFO 
System.Xml.XmlException: '=' is an unexpected token. The expected token is ';'. Line 9, position 80.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
   at System.Xml.XmlTextReaderImpl.HandleEntityReference(Boolean isInAttributeValue, EntityExpandType expandType, Int32& charRefEndPos)
   at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
   at System.Xml.XmlTextReaderImpl.FinishPartialValue()
   at System.Xml.XmlTextReaderImpl.get_Value()
   at System.Xml.Linq.XContainer.ContentReader.ReadContentFrom(XContainer rootContainer, XmlReader r)
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
   at System.Xml.Linq.XElement.ReadElementFrom(XmlReader r, LoadOptions o)
   at System.Xml.Linq.XNode.ReadFrom(XmlReader reader)
   at ErsatzTV.Scanner.Core.Metadata.Nfo.NfoReader`1.ReadActor(XmlReader reader, T nfo, Action`2 action) in /source/ErsatzTV.Scanner/Core/Metadata/Nfo/NfoReader.cs:line 87

The logs don’t actually show which NFO throws the error, but it doesn’t appear to be reading the data from any of them. I’ve checked various ones and cannot find one with an “=” in the referenced position. It also does not generating the tags based on the folder structure.

Issue Analytics

  • State:closed
  • Created 8 months ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Long-Mancommented, Mar 2, 2023

Fixed - merge other video folder tags with nfo tags #1144

0reactions
jasongdovecommented, Feb 3, 2023

Yes, that is expected. Other video libraries were created for filler type content that isn’t necessarily movies or episodes. NFO support was added to allow additional search capabilities (e.g. some users find it helpful for sporting events) but the other videos UI has remained minimal.

I’ll give it some more thought.

Read more comments on GitHub >

github_iconTop Results From Across the Web

transference of photos and retaining metadata
Hi. My Mac is struggling under the weight of too many photos, even though I have sufficient iCloud storage. Im trying to copy...
Read more >
Manual Folder Metadata? : r/jellyfin
NFO files generated by TinyMediaManager, and I was wondering if there were any options for providing folder metadata via a file.
Read more >
Lost tags when moved media - INTERACT FORUM
Re: Tags: Lost tags when moved media​​ I would check the directories where those movies are located and see if any of them...
Read more >
P: Read and write video metadata into video or sid... - Page 4 ...
but I haven't seen a way to transport the metadata to another application, computer, user, etc. Photo Mechanic does this with an XMP...
Read more >
Don't reinvent the wheel! Use metadata systems that work!
I want tag lookups to happen instantaneously and the current approach relies on the underlying filesystem to traverse folders and that can ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found