Re: [vdr] private cReplayControl::marks

2017-04-22 Thread Klaus Schmidinger

On 21.04.2017 20:24, d...@cyphermonks.org wrote:

a plugin which wants to act on replaying can get the cControl and access its 
GetReplayMode() and GetIndex() and the like, but sadly not its marks as they 
are private.
when setting marks when replaying, these seem not to be written until the 
replaying is ended.


The marks are written as soon as the progress display is hidden (by pressing 
'Ok'),
which happens implicitly at the end of the replay.


so for the plugin there seems to be no way to get the current marks? i guess it 
would make sense to make the control's marks public or have a public method to 
get them?


You could call the cReplayControl's Hide() function to trigger writing
the marks to disk.

Greetings
Klaus

___
vdr mailing list
vdr@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] private cReplayControl::marks

2017-04-21 Thread dev
a plugin which wants to act on replaying can get the cControl and access its 
GetReplayMode() and GetIndex() and the like, but sadly not its marks as they 
are private.
when setting marks when replaying, these seem not to be written until the 
replaying is ended. so for the plugin there seems to be no way to get the 
current marks? i guess it would make sense to make the control's marks public 
or have a public method to get them?

___
vdr mailing list
vdr@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr