Project

General

Profile

Actions

Bug #1224

open

Disabling Option ShowSubtible does lead to no display of EPG data

Added by Anonymous almost 12 years ago. Updated almost 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/20/2013
Due date:
% Done:

0%

Estimated time:

Description

After turning off the subtitles option, I could only read "Waiting for EPG info." after switching to a new TV Channel.

I looked into the code and in lcd.c around line #866 the code is:

if ( (LcdSetup.ShowSubtitle) && (!isempty(PresentTitle)) && (!isempty(PresentSubtitle)) )
SetRunning(false,Present->GetTimeString(),PresentTitle,PresentSubtitle);
else if ( (LcdSetup.ShowSubtitle) && !isempty(PresentTitle)) SetRunning(false,Present->GetTimeString(),PresentTitle);

In plain words:
When the option ShowSubtitle is set and there is a title and a subtitle then show both.
When the option Showsubtitle is set and there is a title but no subtitle then show only title.

So in my opinion the code should look like this:
if ( (LcdSetup.ShowSubtitle) && (!isempty(PresentTitle)) && (!isempty(PresentSubtitle)) )
SetRunning(false,Present->GetTimeString(),PresentTitle,PresentSubtitle);
else if ( !isempty(PresentTitle) ) SetRunning(false,Present->GetTimeString(),PresentTitle);

I have tested it on my system and it works.

Actions #1

Updated by jowi24 almost 10 years ago

  • Assignee deleted (jowi24)
Actions

Also available in: Atom PDF