diff options
-rw-r--r-- | vdr-vdrmanager/helpers.cpp | 4 | ||||
-rw-r--r-- | vdr-vdrmanager/helpers.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/vdr-vdrmanager/helpers.cpp b/vdr-vdrmanager/helpers.cpp index 26de351..72c59f9 100644 --- a/vdr-vdrmanager/helpers.cpp +++ b/vdr-vdrmanager/helpers.cpp @@ -16,6 +16,7 @@ #include "vdrmanagerthread.h" #include <memory> #include <vdr/cutter.h> +#include <vdr/sources.h> #define TIMER_SEP "#|#|#" @@ -141,6 +142,8 @@ string cHelpers::GetChannelsIntern(string wantedChannels) { result += channel->GetChannelID().ToString(); result += ":"; result += GetAudioTracks(channel); + result += ":"; + result += MapSpecialChars(cSource::ToString(channel->Source())); result += "\r\n"; } } @@ -751,7 +754,6 @@ string cHelpers::ToText(const cEvent * event) { // search assigned timer eTimerMatch TimerMatch = tmNone; cTimer * eventTimer = Timers.GetMatch(event, &TimerMatch); - // if(eventTimer){ // // for (cTimer * timer = Timers.First(); timer; timer = Timers.Next(timer)) { diff --git a/vdr-vdrmanager/helpers.h b/vdr-vdrmanager/helpers.h index 71c3e6e..6a0d844 100644 --- a/vdr-vdrmanager/helpers.h +++ b/vdr-vdrmanager/helpers.h @@ -63,4 +63,6 @@ private: static string ConvertWeekdays(int v); static int ConvertWeekdays(string v); static queue<int> ConvertToBinary(int v); + static string DelRecording(cRecording * r); + }; |