ddp 0 Posted December 18, 2020 Share Posted December 18, 2020 Hi, I have some content that I have created a script to take metadata from an existing mythtv setup and create nfo files and then use this in Emby. I have found that when (at least) the title contains an ampersand, e.g. 'Why We Hate: Tools & Tactics' Then the Metadata Manager will not use this as the title, and instead will use the filename. I have tweaked my script to change the '&' to 'and'. This has caused all the metadata to now be correct in Emby. If it helps, sample nfo file: <movie> <title>Why We Hate: Tools & Tactics</title> <plot>If we all have the capacity to hate, what does it take to awaken our worst tendencies? Journalist and author Jelani Cobb investigates how 'hate tools' like propaganda, dehumanisation, the internet, symbols, and more can incite, amplify and spread hatred.</plot> <date>2020-12-08 11:58:00</date> </movie> Link to comment Share on other sites More sharing options...
Luke 37057 Posted December 18, 2020 Share Posted December 18, 2020 Hi, yes the xml parsing is probably failing. This could be resolved by using a cdata element in the nfo file. Link to comment Share on other sites More sharing options...
Happy2Play 8281 Posted December 18, 2020 Share Posted December 18, 2020 Don't know anything about this but Emby writes it this way. <title>Tools & Tactics</title> I don't believe Emby used <date> either. Written by Emby <?xml version="1.0" encoding="utf-8" standalone="yes"?> <movie> <plot><![CDATA[If we all have the capacity to hate, what does it take to awaken our worst tendencies? Journalist and author Jelani Cobb investigates how 'hate tools' like propaganda, dehumanisation, the internet, symbols, and more can incite, amplify and spread hatred.]]></plot> <outline /> <lockdata>false</lockdata> <dateadded>2020-12-17 16:56:24</dateadded> <title>Why We Hate Tools & Tactics</title> <fileinfo> <streamdetails /> </fileinfo> </movie> Link to comment Share on other sites More sharing options...
gbcox 12 Posted December 2, 2021 Share Posted December 2, 2021 Thanks for posting this, I'm in the process of migrating from PleX and couldn't figure out what was going on. Using & fixes it. Link to comment Share on other sites More sharing options...
Luke 37057 Posted December 2, 2021 Share Posted December 2, 2021 You can also use cdata. 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