From 18f084f3872154029ed47ded014ba682a4ca7957 Mon Sep 17 00:00:00 2001 From: Martin Schirrmacher Date: Fri, 4 Apr 2014 20:00:03 +0200 Subject: fix setitemrecording with cutted recordings --- HISTORY | 2 +- README | 4 ++-- displaymenu.c | 5 +---- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/HISTORY b/HISTORY index 64107a67..26ab708b 100644 --- a/HISTORY +++ b/HISTORY @@ -1,7 +1,7 @@ VDR Plugin 'skinflatplus' Revision History --------------------------------------- -2014-XX-XX: Versioin 0.3.0 +2014-XX-XX: Version 0.3.0 - [update] channel logo in wide format (like 3PO or creimer logos) - [add] TVScraper support - [add] more options to show disk usage (not show; timer & recording menu; always on the menu; always show) diff --git a/README b/README index 5c51ed70..2c0d958d 100644 --- a/README +++ b/README @@ -24,13 +24,13 @@ Skin flatPlus basiert auf dem Skin flat. Im Gegensatz zu diesem ist der Skin fla und an die Bedürfnisse Konfigurierbar. Derzeit ist der Hauptunterschied die Decorations mit Border und ProgressBar. -Installation +Installation ------------ Installation wie bei allen VDR Plugins. make make install -Für die Kanallogos empfehle ich die Logos von CReimer: http://creimer.net/channellogos/ +Für die Kanallogos empfehle ich die Logos von Copperhead: http://creimer.net/channellogos/ Ich nutze "nopacity-logos-white" Die Logos müssen im folgenden Ordner zur Verfügung gestellt werden: /plugins/skinflat/logos/ diff --git a/displaymenu.c b/displaymenu.c index db7dd733..54c79e91 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -1429,6 +1429,7 @@ bool cFlatDisplayMenu::SetItemRecording(const cRecording *Recording, int Index, cString buffer; cString RecName = GetRecordingName(Recording, Level, Total == 0); + int y = Index * itemRecordingHeight; int Height = fontHeight; @@ -2412,9 +2413,6 @@ const char * cFlatDisplayMenu::GetRecordingName(const cRecording *Recording, int tokens.push_back(s); } recNamePart = tokens.at(Level); - if(!isFolder && Recording->IsEdited() ) { - recNamePart = recNamePart.substr(1); - } } catch (...) { recNamePart = recName.c_str(); } @@ -2424,7 +2422,6 @@ const char * cFlatDisplayMenu::GetRecordingName(const cRecording *Recording, int recNamePart.erase(0, 1); } } - return recNamePart.c_str(); } -- cgit v1.2.3