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

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

Posting Freak

UK (North West)
Posts: 1,244
Threads: 140
Joined: Sep 2004
#1
2025-07-17, 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
Online

Posting Freak

Ontario Canada
Posts: 53,497
Threads: 963
Joined: May 2006
#2
2025-07-17, 05:08 PM (This post was last modified: 2025-07-17, 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,244
Threads: 140
Joined: Sep 2004
#3
2025-07-18, 10:29 AM
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,244
Threads: 140
Joined: Sep 2004
#4
2025-07-18, 10:52 AM
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
Online

Posting Freak

Ontario Canada
Posts: 53,497
Threads: 963
Joined: May 2006
#5
2025-07-18, 01:10 PM (This post was last modified: 2025-07-18, 10:18 PM by mvallevand.)
Thanks I think I can figure out what causes that. NextPVR and EPG Collector probably use the 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,244
Threads: 140
Joined: Sep 2004
#6
2025-07-18, 01:40 PM
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
Online

Posting Freak

Ontario Canada
Posts: 53,497
Threads: 963
Joined: May 2006
#7
2025-07-18, 02:03 PM (This post was last modified: 2025-07-18, 02:30 PM 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
jimil
Offline

Member

Scotland, UK
Posts: 50
Threads: 2
Joined: Jan 2023
#8
2025-07-18, 10:12 PM
This may/may not be useful to your thread, if I use Nextpvr.exe on my Win10 PC I see the same as @Bobins, however if I use NextPVR UI client I see the same as @Mvallevand
Web app is OK on both devices. EPG is UK Freeview OTA.

Jimi


Attached Files Thumbnail(s)
   
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,497
Threads: 963
Joined: May 2006
#9
2025-07-18, 10:17 PM (This post was last modified: 2025-07-18, 10:22 PM by mvallevand.)
That example won't have a parsed sub-title. You have to search out an episode with a colon in the description , like his "Richard Osman's House of Games: Champions" example or some of the Such Brave Girls examples.

Martin
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,244
Threads: 140
Joined: Sep 2004
#10
2025-07-18, 10:32 PM
Martin,

I appreciate it would need a change to 2 or 3 skin files. As I've modded skin files in the past, I did try adding a wrap="true" to the subtitle line in the relevant skin file but it had no effect. (The wrap does work on lines like description).
I had hoped adding the wrap="true" would have been an easy fix.

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
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG mis-identifying shows with same title mattman1968 3 442 2025-02-17, 05:47 PM
Last Post: sub
  Recurring recordings title match question Bobins 4 629 2024-11-16, 12:46 AM
Last Post: sub
  weird issue experienced Don't know how to title it. Brucek2839 1 704 2023-10-21, 03:43 AM
Last Post: mvallevand
  TVGuide program title padding Croftie 5 1,420 2021-11-29, 08:49 PM
Last Post: jcjefferies
  Sub Title's Krepps 9 2,418 2020-12-26, 03:09 PM
Last Post: Joe1959
  Recording fails to start if program title too long zer 7 1,869 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,971 2020-10-15, 08:29 PM
Last Post: mvallevand
  NextPVR localhost index page title. Petrovski 1 1,144 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