Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@twitham1
Copy link
Contributor

Thanks to @mosource21 for the bug report and @rcrdnalor for the fix!

Note that themes that have a copy of the programdetails block in their schedule-ui.xml may override this and still have the truncated descriptions bug. If so they will need the same fix.

Checklist

…ault

Thanks to @mosource21 for the bug report and @rcrdnalor for the fix!

Note that themes that have a copy of the programdetails block in their
schedule-ui.xml may override this and still have the truncated
descriptions bug.  If so they will need the same fix.
@rcrdnalor
Copy link
Contributor

On a recording that contains all possible information, all of these items
should be able to be displayed on one page without scrollbar:
See
File: mythfrontend/progdetails.cpp
Function: void ProgDetails::loadPage(void)

addItem(tr("Title"), ... ProgInfoList::kLevel1);
addItem(tr("Description"), s, ProgInfoList::kLevel1);
addItem(tr("Actors"), actors, ProgInfoList::kLevel1);
addItem(tr("Guest Star"), guestStars, ProgInfoList::kLevel1);
addItem(tr("Guest"), guests, ProgInfoList::kLevel1);
addItem(tr("Host"), hosts, ProgInfoList::kLevel1);
addItem(tr("Presenter"), presenters, ProgInfoList::kLevel1);
addItem(tr("Commentator"), commentators, ProgInfoList::kLevel1);
addItem(tr("Director"), directors, ProgInfoList::kLevel1);
addItem(tr("Category"), m_progInfo.GetCategory(), ProgInfoList::kLevel1);
addItem(tr("Genre"), s, ProgInfoList::kLevel1);
addItem(tr("Type", "category_type"), s, ProgInfoList::kLevel1);
addItem(tr("Season"), s, ProgInfoList::kLevel1);
addItem(tr("Episode"), s, ProgInfoList::kLevel1);
addItem(tr("Syndicated Episode Number"), syndicatedEpisodeNum, ProgInfoList::kLevel1);
addItem(tr("Original Airdate"), s, ProgInfoList::kLevel1);
addItem(tr("Program ID"), m_progInfo.GetProgramID(), ProgInfoList::kLevel1);
addItem(tr("Recording Rule"), recordingRule, ProgInfoList::kLevel1);
addItem(tr("Search Phrase"), searchPhrase, ProgInfoList::kLevel1);
addItem(tr("Recorded File Name"), recordedFilename, ProgInfoList::kLevel1);
addItem(tr("Recorded File Size"), recordedFileSize, ProgInfoList::kLevel1);
addItem(tr("Recording Group"), recordingGroup, ProgInfoList::kLevel1);

The current implementation is a valuable compromise to display all content on a single page.

@twitham1
Copy link
Contributor Author

kLevel1 should be on one page for convenience to see it all without scrolling? Most of my TV show descriptions are just a line or few and so the description field has shrunk and all fields still fit on one page. This looks no different than before.

Only a few movies have descriptions long enough to cause a scroll bar for the last few fields. So this is also a good compromise with the advantage that you get the whole description. Those last few fields are less important to see anyway.

I thought perhaps we could invent a truncated shortDescription for kLevel1 while kLevel2 shows the original full description. But it doesn't work that way. kLevel2 shows all of kLevel1 so this would show both truncated and long description which would look redundant.

@linuxdude42 linuxdude42 merged commit ea3399d into MythTV:master Dec 20, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants