NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
1 2 3 4 5 … 102 Next »
Sub-Title word wrap

 
  • 0 Vote(s) - 0 Average
Sub-Title word wrap
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,232
Threads: 140
Joined: Sep 2004
#1
Yesterday, 04:44 PM
Small issue.

If the Subtitle length in the EPG is longer than a certain length, the subtitle doesn't get word wrapped and heads off beyond the box area.
This happens on multiple screens which would show the subtitle.

e.g.  attached

Ray


Attached Files Thumbnail(s)
   
NPVR Version= 7.0.2.250621
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#2
Yesterday, 05:08 PM (This post was last modified: Yesterday, 07:42 PM by mvallevand.)
Something looks wrong there since that long text should be in the description not the subtitle.  Since OTA EPG doesn't even define a sub title NextpVR parses the title and description. It looks like sub would need a full mux of the frequency or the DVB-S freesat EPG to figure out why the parsing is not working as expected.

Note with good Schedules Direct data that does define a sub title that show is fine.

Martin


Attached Files Thumbnail(s)
   
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,232
Threads: 140
Joined: Sep 2004
#3
11 hours ago
Martin,

Interestingly, EPG Collector also puts the offending details in the Subtitle field.

</programme>
  <programme start="20250718181500 +0100" stop="20250718184500 +0100" channel="6312">
    <title>Richard Osman's House of Games</title>
    <sub-title>100/100. Former winners Nihal Arthanayake, Jay McGuiness, Lucy Porter and Jan Ravens test their general knowledge skills on this week's Richard Osman's House of Games</sub-title>
    <desc>Champions. [S] [HD]</desc>
    <category>Show</category>
    <rating>
      <value>G</value>
    </rating>
    <video>
      <quality>HDTV</quality>
    </video>
    <episode-num system="xmltv_ns"> . 99 . 0/1</episode-num>
  </programme>

I'll see if I can get a full mux capture and post.

Ray.
NPVR Version= 7.0.2.250621
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,232
Threads: 140
Joined: Sep 2004
#4
10 hours ago
Link to Freesat 11426 1min TS capture

https://1drv.ms/v/c/abd395a30314bbbe/Eba...g?e=8bADBX

Ray
NPVR Version= 7.0.2.250621
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#5
8 hours ago (This post was last modified: 8 hours ago by mvallevand.)
Thanks I think I can figure out what causes that. NextPVR and EPG Collector probably use the semi colon to break the description into the sub title and description.

Here it doesn't make sense

Code:
2025-07-18 08:53:57.268    [DEBUG][30]     - 2025-07-18 5:15 PM
2025-07-18 08:53:57.268    [DEBUG][30]        short event descriptor
2025-07-18 08:53:57.268    [DEBUG][30]         Richard Osman's House of Games
2025-07-18 08:53:57.268    [DEBUG][30]         100/100. Former winners Nihal Arthanayake, Jay McGuiness, Lucy Porter and Jan Ravens test their general knowledge skills on this week's Richard Osman's House of Games: Champions. [S] [HD]

but for most series (search Kojak) it does.

Code:
2025-07-18 08:53:58.465    [DEBUG][30]     - 2025-07-22 7:15 AM
2025-07-18 08:53:58.465    [DEBUG][30]        short event descriptor
2025-07-18 08:53:58.465    [DEBUG][30]         Kojak
2025-07-18 08:53:58.466    [DEBUG][30]         Loser Takes All: Detective drama. A woman conspires to have her husband murdered while plotting a diamond heist with her lover. [SL,S,HD] S2 Ep15
2025-07-18 08:53:58.466    [DEBUG][30]     - 2025-07-22 8:20 AM
2025-07-18 08:53:58.466    [DEBUG][30]        short event descriptor
2025-07-18 08:53:58.466    [DEBUG][30]         Kojak
2025-07-18 08:53:58.466    [DEBUG][30]         Close Clover Before Killing: Detective drama. A businessman plans arson for his printing company as an insurance scam, but Theo is not fooled when he kills his partner during it. [S,HD] S2 Ep16

If I was coding a "fix" rather than truncating the sub-title if the sub-title is too long I would leave it in the description. However that doesn't work for all case which is the trouble with parsing. This would work checking the case after the semi-colon but how far to take it?

Code:
2025-07-18 08:53:59.303    [DEBUG][30]     - 2025-07-20 11:40 PM
2025-07-18 08:53:59.303    [DEBUG][30]        short event descriptor
2025-07-18 08:53:59.303    [DEBUG][30]         Such Brave Girls
2025-07-18 08:53:59.303    [DEBUG][30]         5/6. Feminism: has it gone too far? Contains strong language, adult humour and some scenes of a sexual nature. [S,AD] [HD]

2025-07-18 08:53:59.302    [DEBUG][30]     - 2025-07-20 9:45 PM
2025-07-18 08:53:59.302    [DEBUG][30]        short event descriptor
2025-07-18 08:53:59.302    [DEBUG][30]         Such Brave Girls
2025-07-18 08:53:59.302    [DEBUG][30]         1/6. Art school, a car and a new man: yes, the girls have got it all. Contains strong language and adult humour. [S,AD] [HD]

Martin
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,232
Threads: 140
Joined: Sep 2004
#6
8 hours ago
Martin,

I've found a few instances now where the description is ending up as a subtitle (with the text overflow from the box).
I appreciate it's difficult to code for all variations in the EPG given there's no absolute standard across all the channels (and indeed internationally).
Rather than trying to create a parsing fix for every possible scenario, I would be happy to at least mask the issue with a word wrap when it would overflow the box. There is usually room for that in the box

Ray
NPVR Version= 7.0.2.250621
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,186
Threads: 958
Joined: May 2006
#7
7 hours ago (This post was last modified: 7 hours ago by mvallevand.)
The API is used by more than NextPVR.exe and UI clients. Kodi scrolls long text but that gets tiring and the the subtitle is usually truncated not wrapped. Plus you only showed one skin you'd like changed. Screens like the main EPG grid, searches and upcoming and completed recordings all are based on subtitles being short and they would probably need to be truncated not wrapped too to fit the skin.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG mis-identifying shows with same title mattman1968 3 312 2025-02-17, 05:47 PM
Last Post: sub
  Recurring recordings title match question Bobins 4 455 2024-11-16, 12:46 AM
Last Post: sub
  weird issue experienced Don't know how to title it. Brucek2839 1 607 2023-10-21, 03:43 AM
Last Post: mvallevand
  TVGuide program title padding Croftie 5 1,263 2021-11-29, 08:49 PM
Last Post: jcjefferies
  Sub Title's Krepps 9 2,199 2020-12-26, 03:09 PM
Last Post: Joe1959
  Recording fails to start if program title too long zer 7 1,715 2020-11-18, 07:29 PM
Last Post: zer
  Is there any way to use "Title (Year)" naming for a TV series? antenna 4 1,814 2020-10-15, 08:29 PM
Last Post: mvallevand
  NextPVR localhost index page title. Petrovski 1 1,044 2020-08-17, 07:57 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode