Jump to content

Recommended Posts

sftech13
Posted

I'm requesting that the EPG rendering allow for 2 lines of data and line breaks like \n tags. 

 

Similar to tivimate. 

Posted

Hi, can you please show a screenshot example of where you are referring to? Thanks.

brothom
Posted (edited)

@sftech13 do you mean something like this, where the titles are wrapped to (at least) two lines? 

image.thumb.png.589b1a06251e0c5e9900b5cadca503cb.png

In this example they've chosen to partially show the third line to indicate "there's more content", which I can get behind.

Edited by brothom
sftech13
Posted (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>

image.png.e60c2a13eb2e5a57cf2daf2fd92f3696.png

Edited by sftech13

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