[ANNOUNCE] vdr-pin-0.0.15

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Montag 01 Mai 2006 15:32, Michael Nausch wrote:

> Aha! But you know, every little baby is given with the mother's milk:
> Don't run a program under the rights of root, if there's no secial
> necessity! <lol>

You're right, but for my vdr i'am using linvdr with less changes as possible 
:(

> > Pleas apply the attached patch to the plugin.
>
> I've done this, and now it works a little better, but only a little, cause
> there's a further problem:
>
> If I try to play a protected recording the following happens:
> May  1 15:07:45 tecvdr vdr: [768] info: Kinderschutz aktiviert
> May  1 15:07:55 tecvdr vdr: [768] checking protection of recording '(null)'
> May  1 15:07:55 tecvdr vdr: [768] checking rights, protection file is
> '/video/Willi_wills_wissen/2006-04-04.14.50.99.99.rec/protection.fsk'
> May  1 15:07:55 tecvdr vdr: [768] pin: no translation found for 'Recording
> protected, enter pin code first' in language 1 (Deutsch)
> May  1 15:07:55 tecvdr vdr: [768] ERROR: Recording protected, enter pin
> code first

Ok, i have now added the missing german translation for 'Recording protected, 
enter pin code first'.

> So far so good! I can play this recording after "opening" the protection
> with "Gorge Orwells special year-code".

Ok

> BUT, if I try to protect a recording I've the new old problem:
> May  1 15:08:45 tecvdr vdr: [768] checking protection of recording 'Clips'
> May  1 15:08:45 tecvdr vdr: [768] checking rights, protection file is
> '/video/Clips/protection.fsk'
> May  1 15:08:51 tecvdr vdr: [768] executing command '/usr/bin/fskprotect.sh
> protect
> "/video/Clips/Metallica_-_Hero_of_the_Day/2005-02-02.20.20.99.99.rec"'
> May  1 15:08:51 tecvdr vdr: [866] Message (0) from (229377) received [-]
> May  1 15:08:51 tecvdr vdr: [866] Sending message to (229377) failed, errno
> (13), 'Permission denied'
> May  1 15:08:51 tecvdr vdr: [866] Message (1) from (262145) received
> [Please enable pin protection first]
> May  1 15:08:51 tecvdr vdr: [866] Got 'Please enable pin protection first'
> May  1 15:08:51 tecvdr vdr: [768] info: Please enable pin protection first

Hm, this i can't reproduce even if i'am not root. Are the fskcheck tool 
recompiled after the patch was applied? Was the fskcheck.c changed by the 
patch?  Wat says:
#> fskcheck check; echo $?
it shoud return 2 when the protection is active and 1 if vdr is currently not 
protected.

> The pin-plugin is active!
>
> tecvdr:~ # ipcs -q
>
> ------ Message Queues --------
> key        msqid      owner      perms      used-bytes   messages
> 0xd8000000 0          vdr        666        0            0

looks good!

> If I try to select menupoint 5 "Kinderschutz aktivieren" an press button 5
> nothing happens. I must scroll down and press then the ok-button. Were it
> possible, to (re)act like VDR in all the other menues?

Done.

I release the 2 changes when we have solved the pending problem.

Many thanks for beta testing ;)
Greets J?rg


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux