diff options
author | lado <herrlado@gmail.com> | 2013-02-24 23:29:47 +0100 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2013-02-24 23:29:47 +0100 |
commit | 627ecc27d5474cde956dbb1cca97e23620557aa6 (patch) | |
tree | 39469d62aa79064bc59e226cdcc84aca4091fdcd | |
parent | 8c6f401b2e73102681fe5d455ce02a21bab6212c (diff) | |
download | vdr-manager-627ecc27d5474cde956dbb1cca97e23620557aa6.tar.gz vdr-manager-627ecc27d5474cde956dbb1cca97e23620557aa6.tar.bz2 |
sources
-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); + }; |