Hi,
Here a little feature request:
Problem: the children are watching a recording, and at the end VDR switches to normal live TV, that can be anything. I have to be there at the right moment to turn off the screen and the sound, in order to bring them to leave the tv-room.
I would be nice, if VDR could turn off the sound at the end of a replay and show a still image (e.g. "Children, go to bed now!").
What do you think about that?
On 04/09/2014 08:53 PM, Peter Münster wrote:
Hi,
Here a little feature request:
Problem: the children are watching a recording, and at the end VDR switches to normal live TV, that can be anything. I have to be there at the right moment to turn off the screen and the sound, in order to bring them to leave the tv-room.
I would be nice, if VDR could turn off the sound at the end of a replay and show a still image (e.g. "Children, go to bed now!").
What do you think about that?
It should be possible to make a quite simple plugin which would do this. The cStatus-class in status.h has a function Replaying which is called when replaying starts or stops. Implementing this function in a plugin would allow to do the necessary things i.e. turning off the sound with cDevice::PrimaryDevice()->ToggleMute() and using something derived from for example the pictures-plugin to show a still image. As this should be rather simple I'll look into it during the weekend and see if I'll manage to make a working plugin.
-Matti
On Wed, Apr 09 2014, Matti Lehtimäki wrote:
As this should be rather simple I'll look into it during the weekend and see if I'll manage to make a working plugin.
Thanks, that's fine. Just a suggestion: it would be nice, if the plugin could take a parameter for providing an image file to display. And the default would be the last image of the recording.
There is also another option for those using jumpplay-patch in which you can have the replay paused at the last cut mark. This option naturally requires to have cut marks in all recordings which most likely is not the case for most people. As for displaying the last image of the recording it would be easier to have only a blank image as a default. Additional thing to consider is the possibility call an external script after the end of replay to shutdown the system and/or display (through hdmi-cec for example) or whatever the user wants.
2014-04-10 12:50 GMT+02:00 Peter Münster pmlists@free.fr:
On Wed, Apr 09 2014, Matti Lehtimäki wrote:
As this should be rather simple I'll look into it during the weekend and see if I'll manage to make a working plugin.
Thanks, that's fine. Just a suggestion: it would be nice, if the plugin could take a parameter for providing an image file to display. And the default would be the last image of the recording.
-- Peter
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
On Thu, Apr 10 2014, Matti Lehtimäki wrote:
There is also another option for those using jumpplay-patch in which you can have the replay paused at the last cut mark.
Indeed, this is an option.
As for displaying the last image of the recording it would be easier to have only a blank image as a default.
That sounds ok too.
Additional thing to consider is the possibility call an external script after the end of replay to shutdown the system and/or display (through hdmi-cec for example) or whatever the user wants.
Yes, this is also an option.
Thanks for your efforts,
Here a little feature request:
Problem: the children are watching a recording, and at the end VDR switches to normal live TV, that can be anything. I have to be there at the right moment to turn off the screen and the sound, in order to bring them to leave the tv-room.
I would be nice, if VDR could turn off the sound at the end of a replay and show a still image (e.g. "Children, go to bed now!").
What do you think about that?
Why don't you just tell your kids to turn the tv off when their show is over? This really sounds like something that should be solved in parenting and not code.
This really sounds like something that should be solved in parenting and
not code.
I fully agree to that, as dad of now almost adult kids, espacially if it's bed time ...
If these kids are so little, why do they watch TV at all w/o parental advice and why could there be a channel underneath showing something what the little ones shouldn't watch?
But kids are kids, doing whatever come to their minds, they can't be controlled all times. What may be sufficient is to implement a kind of PIN control, like on commercial receivers. A function where to set a white list of channels which can be watched w/o PIN and the list is then valid for recordings, too, where the source channel is also stored. But bed time is still human responsibility ... ;-)
=== Kind regards fnu
On Thu, Apr 10 2014, fnu wrote:
If these kids are so little, why do they watch TV at all w/o parental advice
They watch a recording with parental advice.
and why could there be a channel underneath showing something what the little ones shouldn't watch?
There is always a channel underneath, and the children shouldn't watch anything after the recording.
But kids are kids, doing whatever come to their minds, they can't be controlled all times. What may be sufficient is to implement a kind of PIN control, like on commercial receivers. A function where to set a white list of channels which can be watched w/o PIN and the list is then valid for recordings, too, where the source channel is also stored.
Complicated, and it doesn't solve the problem. I just prefer, that after the replay nothing interesting appears on the screen, just black or whatever. For now, the easiest solution is to use mplayer instead of VDR...
But bed time is still human responsibility ... ;-)
"bed time" was just an example. The problem is more general.
On Thu, Apr 10 2014, VDR User wrote:
Why don't you just tell your kids to turn the tv off when their show is over?
I keep the RC always with me. My children *never* touch it.
This really sounds like something that should be solved in parenting and not code.
With code it's easier... ;)
Hello,
Problem: the children are watching a recording, and at the end VDR switches to normal live TV, that can be anything. I have to be there at the right moment to turn off the screen and the sound, in order to bring them to leave the tv-room.
I would be nice, if VDR could turn off the sound at the end of a replay and show a still image (e.g. "Children, go to bed now!").
What do you think about that?
You can do that already. Use the iptv plugin, create a channel that shows a static picture, define that channel as the starting channel of VDR. Now each time you start VDR it will show that picture. You go into the recordings menu, and select the recording to playback. At the end, playback stops, and the original channel showing the static picture is displayed.
This is indeed a quite simple and reasonable option. I have not used iptv plugin so I was unaware of such a possibility.
2014-04-10 14:02 GMT+02:00 Peer Oliver Schmidt pos@theinternet.de:
Hello,
Problem: the children are watching a recording, and at the end VDR switches to normal live TV, that can be anything. I have to be there at the right moment to turn off the screen and the sound, in order to bring them to leave the tv-room.
I would be nice, if VDR could turn off the sound at the end of a replay and show a still image (e.g. "Children, go to bed now!").
What do you think about that?
You can do that already. Use the iptv plugin, create a channel that shows a static picture, define that channel as the starting channel of VDR. Now each time you start VDR it will show that picture. You go into the recordings menu, and select the recording to playback. At the end, playback stops, and the original channel showing the static picture is displayed. -- Best regards
Peer Oliver Schmidt the internet company PGP Key ID: 0x83E1C2EA
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Am 10.04.2014 14:22, schrieb fnu:
You can do that already. Use the iptv plugin, create a channel that shows
a static picture,
Smart idea, but wife is also required to go to bed all the time ... SCNR ... ;-)
No problem. Amend the script that creates the iptv stream to change the wording, and/or other content of the stream. After 10pm the stream will loop AC/DC's Hell's Bells...
Hi!
Do you have a channel-line as an example for that?
Regards, Stephan.
Am 04/10/14 14:02, schrieb Peer Oliver Schmidt:
You can do that already. Use the iptv plugin, create a channel that shows a static picture, define that channel as the starting channel of VDR. Now each time you start VDR it will show that picture. You go into
Am 12.04.2014 15:16, schrieb Stephan Loescher:
Hi!
Do you have a channel-line as an example for that?
I used to :) Just copied the example from the IPTV plugins wiki page:
http://www.vdr-wiki.de/wiki/index.php/Iptv-plugin