Loggytronic Forum

VOMP => VOMP General / MVP => Topic started by: dingo35 on October 04, 2009, 12:20:21

Title: Patch to add awareness for vdr-PIN plugin to vomp
Post by: dingo35 on October 04, 2009, 12:20:21
I have made a small diff to add pin-protection to VOMP. It closely works together with the widely used vdr-pin-plugin; which this plugin you can protect recordings, channels, menu-items and plugins with a pin-code.

The modification I post (made to current cvs) makes Vomp aware of the protection of recordings and channels, and by default does not show them on your clients.

Only on a client that has a line:
[General]
ShowPinProtected = 1


in it's vomp-MAC.conf will show the protected channels and recordings.

It is tested on vomp-0.3.1, cvs, and both windows-clients and mvp-clients. It is also works properly together with the more basic "Childlock" patch, which is added in Yaris versions.

Please add this patch to CVS, so anyone can profit from it. It is only small code with relatively small impact, but is important to all parents among us. In order not to disturb the functioning of non-pin-plugin users, the patches should be placed between #ifdef USE_PINPLUGIN  and #endif statements.

PS: Somehow this post does not show at the top when one sorts on "last post"...?