Jump to content

Save HTML Tags in NFO


Recommended Posts

Posted (edited)

Since Emby recognizes HTML tags for the text in the TV show, movie and episode overviews - I would like to suggest to save those tags also in the metadata NFO file.

 

Example:

If I change the Overview for a tv show to the following...

<p>As a child living in the town of Lawless, Angelo Lagusa has witnessed a tragedy: his parents and younger brother have been mercilessly slaughtered by the Vanetti mafia family. Losing everything he holds dear, he leaves both his name and hometown behind, adopting the new identity of Avilio Bruno.</p>
<p>Seven years later, Avilio finally has his chance for revenge when he receives a mysterious letter prompting him to return to Lawless. Obliging, he soon encounters the Vanetti don's son, Nero, and seeks to befriend him using the skills he has quietly honed for years.</p>
<p>Set during the Prohibition era, this is the story of Avilio's dark, bloodstained path to vengeance, as he slowly ends each of the men involved in the killing of his family.</p>

... the tags are omitted and only the raw text is saved in the NFO:

<plot>As a child living in the town of Lawless, Angelo Lagusa has witnessed a tragedy: his parents and younger brother have been mercilessly slaughtered by the Vanetti mafia family. Losing everything he holds dear, he leaves both his name and hometown behind, adopting the new identity of Avilio Bruno.
Seven years later, Avilio finally has his chance for revenge when he receives a mysterious letter prompting him to return to Lawless. Obliging, he soon encounters the Vanetti don's son, Nero, and seeks to befriend him using the skills he has quietly honed for years.
Set during the Prohibition era, this is the story of Avilio's dark, bloodstained path to vengeance, as he slowly ends each of the men involved in the killing of his family.</plot>
  <outline>As a child living in the town of Lawless, Angelo Lagusa has witnessed a tragedy: his parents and younger brother have been mercilessly slaughtered by the Vanetti mafia family. Losing everything he holds dear, he leaves both his name and hometown behind, adopting the new identity of Avilio Bruno.
Seven years later, Avilio finally has his chance for revenge when he receives a mysterious letter prompting him to return to Lawless. Obliging, he soon encounters the Vanetti don's son, Nero, and seeks to befriend him using the skills he has quietly honed for years.
Set during the Prohibition era, this is the story of Avilio's dark, bloodstained path to vengeance, as he slowly ends each of the men involved in the killing of his family.</outline>

This presents itself as a problem if the library has to be rebuilt/or metadata has to be refreshed, because then all the styling information is lost.

 

 

Edited by Asturaetus
Posted

Hi, we don't really support this. If it's working in some scenarios, then it's really be accident, sorry.

Posted (edited)

If this is not supported then is there a "proper"/supported way for doing a line break in the overview text?

Edited by Asturaetus
PenkethBoy
Posted

use <br> although not supported works fine

  • Like 1
Happy2Play
Posted

Don't know what clients support it but I used custom css.

/*Overview line break*/
#itemDetailPage  p.overview {white-space: pre-wrap; }
  • Like 1

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