From 53c06587dee00deeabdf75b0f124816ce793fc7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCnther?= Date: Wed, 22 Jul 2009 01:00:54 +0200 Subject: =?UTF-8?q?Added=20ReplayMode=20"audiocd"=20(thanks=20to=20Bj?= =?UTF-8?q?=C3=B6rn=20Sturzrehm=20-=20closes=20#138)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- status.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'status.c') diff --git a/status.c b/status.c index 63c9f70..e59764e 100644 --- a/status.c +++ b/status.c @@ -10,7 +10,7 @@ #include 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) { -- cgit v1.2.3