From 627ecc27d5474cde956dbb1cca97e23620557aa6 Mon Sep 17 00:00:00 2001
From: lado <herrlado@gmail.com>
Date: Sun, 24 Feb 2013 23:29:47 +0100
Subject: sources

---
 vdr-vdrmanager/helpers.cpp | 4 +++-
 vdr-vdrmanager/helpers.h   | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)

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);
+
 };
-- 
cgit v1.2.3