sftech13 25 Posted March 25 Posted March 25 I'm requesting that the EPG rendering allow for 2 lines of data and line breaks like \n tags. Similar to tivimate.
Luke 42241 Posted March 25 Posted March 25 Hi, can you please show a screenshot example of where you are referring to? Thanks.
brothom 211 Posted March 25 Posted March 25 (edited) @sftech13 do you mean something like this, where the titles are wrapped to (at least) two lines? In this example they've chosen to partially show the third line to indicate "there's more content", which I can get behind. Edited March 25 by brothom
sftech13 25 Posted March 25 Author Posted March 25 (edited) So yes to @brothomin the example but more along the lines of this. What I’m doing: Using a custom XMLTV generated from IPTVBoss Titles and descriptions include line breaks for readability Example: Upcoming in 2 hours: NCAA DII Tournament — Michigan Tech vs Gannon (Elite Eight) What happens in Emby: Emby removes all line breaks and extra spacing The entire title/description is flattened into a single line So the example above becomes: Upcoming in 2 hours: NCAA DII Tournament — Michigan Tech vs Gannon (Elite Eight) The XML itself is valid and supports multi-line formatting (see below) This appears to be how Emby parses and displays EPG data, not an issue with the source or generator Additional context: Some players (like TiviMate or IMPlayer) support multi-line titles and richer formatting Emby seems to normalize whitespace during ingestion, so formatting like \n is ignored <programme start="20260325140000 +0000" stop="20260325150000 +0000" channel="1028.NCAAB"> <title>Upcoming in 2 hours: NCAA DII Tournament — Michigan Tech vs Gannon (Elite Eight)</title> <desc>Upcoming in 2 hours: NCAA DII Tournament — Michigan Tech vs Gannon (Elite Eight)</desc> <category>Sports</category> </programme> Edited March 25 by sftech13
Luke 42241 Posted 15 hours ago Posted 15 hours ago OK we don't currently do this in TV layouts, but options to control this are possible.
brothom 211 Posted 8 hours ago Posted 8 hours ago (edited) @LukeI'd advise to also enforce CDATA tags if special characters are going to be supported, otherwise the XML (might not be) considered valid. See also https://stackoverflow.com/a/17970009: <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="dummy.xsl"?> <item> <summary> <![CDATA[Tootsie roll tiramisu macaroon wafer carrot cake. <br /> Danish topping sugar plum tart bonbon caramels cake.]]> </summary> </item> Or use explicit encoding: Tootsie roll tiramisu macaroon wafer carrot cake. Danish topping sugar plum tart bonbon caramels cake. @sftech13have you tried any of the above? Edited 8 hours ago by brothom
sftech13 25 Posted 1 hour ago Author Posted 1 hour ago 13 hours ago, Luke said: OK we don't currently do this in TV layouts, but options to control this are possible. Can you explain how to control this? I can edit the EPG format with BOSS but since it strips alot and ignores line endings Im confused.
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