summaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorThomas Günther <tom@toms-cafe.de>2009-07-22 01:00:54 +0200
committerThomas Günther <tom@toms-cafe.de>2009-07-22 01:00:54 +0200
commit53c06587dee00deeabdf75b0f124816ce793fc7d (patch)
tree56c908bab4b1f13ea304400153346bc3bcb4159a /status.c
parent2f6dbf5a5ad81d3d59d6f7d058cf3eee6227e019 (diff)
downloadvdr-plugin-text2skin-53c06587dee00deeabdf75b0f124816ce793fc7d.tar.gz
vdr-plugin-text2skin-53c06587dee00deeabdf75b0f124816ce793fc7d.tar.bz2
Added ReplayMode "audiocd" (thanks to Björn Sturzrehm - closes #138)
Diffstat (limited to 'status.c')
-rw-r--r--status.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/status.c b/status.c
index 63c9f70..e59764e 100644
--- a/status.c
+++ b/status.c
@@ -10,7 +10,7 @@
#include <vdr/menu.h>
const std::string ReplayNames[__REPLAY_COUNT__] =
- { "", "normal", "mp3", "mplayer", "dvd", "vcd", "image" };
+ { "", "normal", "mp3", "mplayer", "dvd", "vcd", "image", "audiocd" };
cText2SkinStatus Text2SkinStatus;
@@ -70,6 +70,8 @@ void cText2SkinStatus::Replaying(const cControl* /*Control*/, const char *Name,
mReplayMode = replayMPlayer;
else if (strncmp(Name, "[image]", 7) == 0)
mReplayMode = replayImage;
+ else if (strncmp(Name, "[cdda]", 6) == 0)
+ mReplayMode = replayAudioCd;
else if (strlen(Name) > 7) {
int i, n;
for (i = 0, n = 0; Name[i]; ++i) {