Re: [vdr] Patch: Add 'MUTEON' and 'MUTEOFF' options to the SVDRP VOLU command

2013-03-22 Thread Klaus Schmidinger
On 21.03.2013 20:48, Sebastian Frei wrote: Hi all, I made a tiny patch to extend the SVDRP VOLU command. There will be no more changes for version 2.0. I'll look at this again after that. Up until now VDR only had an option to _toggle_ the current audio muted status, but no options to force

Re: [vdr] Patch: Add 'MUTEON' and 'MUTEOFF' options to the SVDRP VOLU command

2013-03-21 Thread Sebastian Frei
vdr@linuxtv.org >Date: Thu, 21 Mar 2013 22:03:50 +0100 >Subject: Re: [vdr] Patch: Add 'MUTEON' and 'MUTEOFF' options to the >SVDRP VOLU command > > >Hi Hardy, > >yes you are right. > >This one should be better: > >--- vdr-1.7.41/svdrp.c 2

Re: [vdr] Patch: Add 'MUTEON' and 'MUTEOFF' options to the SVDRP VOLU command

2013-03-21 Thread Magnus Sirwiö
Why can't you use the HITK svdrp command sending the MUTE key? # svdrpsend hitk mute - Magnus From: sebast...@familie-frei.net To: vdr@linuxtv.org Date: Thu, 21 Mar 2013 22:03:50 +0100 Subject: Re: [vdr] Patch: Add 'MUTEON' and 'MUT

Re: [vdr] Patch: Add 'MUTEON' and 'MUTEOFF' options to the SVDRP VOLU command

2013-03-21 Thread Sebastian Frei
Hi Hardy, yes you are right. This one should be better: --- vdr-1.7.41/svdrp.c 2013-02-17 14:17:36.0 +0100 +++ vdr-1.7.41.mute/svdrp.c 2013-03-21 21:58:34.226895799 +0100 @@ -317,12 +317,13 @@ "UPDR\n" "Initiates a re-read of the recordings directory, which is the SVDRP\n"

Re: [vdr] Patch: Add 'MUTEON' and 'MUTEOFF' options to the SVDRP VOLU command

2013-03-21 Thread Hardy Flor
Hi Sebastian Frei, with ... &&(!cDevice::PrimaryDevice()->IsMute())) is the command not recognized and the string "Unknown option: MuteON" will return, when you call svdr more than one with "MuteON". Hardy ___ vdr mailing list vdr@linuxtv.org htt

[vdr] Patch: Add 'MUTEON' and 'MUTEOFF' options to the SVDRP VOLU command

2013-03-21 Thread Sebastian Frei
Hi all, I made a tiny patch to extend the SVDRP VOLU command. Up until now VDR only had an option to _toggle_ the current audio muted status, but no options to force the audio muted status on or off. I want to mute the audio via SVDRP and unmute it again later. My usecase: I'm running mpd on the