1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Auto-unprotect not working on all files

Discussion in 'HD/HDR-FOX T2 Customised Firmware' started by jk80, Nov 5, 2012.

  1. jk80

    jk80 New Member

    Hi, I have an HD Fox T2 and for some reason the auto-unprotect package isn't removing the 'enc' flag from all high-definition recordings, meaning I can only watch them on the box itself and that's it, it seems.
    There doesn't seem to be any pattern as to which files remain flagged and which don't, ie films recorded from the same channel.
    I have tried re-installing the package as I understand that on first installation it is supposed to look for HD recordings and unflag them, but still no dice.
    Does anyone have any tips for sorting this one please, pref in layman's terms as I'm not an expert!
    Thanks.
     
  2. af123

    af123 Administrator Staff Member

    Try running the reset_unprotect diagnostic from the web interface Diagnostics page, then restart the box using the remote control.

    Did you mean HD Fox T2 or HDR Fox T2?
     
  3. jk80

    jk80 New Member

    HD Fox T2, I have a hard drive attached for recordings. Thanks for the tip, it doesn't seem to have worked alas. The diagnostic only seems to take a second, should it take longer? The file in question still seems to be flagged 'enc'.
     
  4. xyz321

    xyz321 Well-Known Member

    Have you restarted? The box should go into full standby (wait for click) before restarting.

    Edit, just realised this is an HD so will be unlikely to click.
     
  5. jk80

    jk80 New Member

    Yippee a second restart seems to have done the trick. Perhaps I didn't leave the box off for long enough before restarting it before. Thanks for the help :)
     
  6. af123

    af123 Administrator Staff Member

    Even without the Enc flag though, you won't be able to decrypt the recordings unless you're using HDR mode.

    Since I put a 2TB drive in my HDR, it squeaks rather than clicks : )
     
  7. Black Hole

    Black Hole Felinos Guru

    The HD-FOX is very limited in that respect, unprotecting the recordings is not the same as decrypting them, and the HD-FOX has no means to stream native content off the box (unlike the HDR-FOX). You can use Mediatomb with the custom firmware, but that needs a decrypted file in the first place.

    For full details see:
    THINGS Every... (section 5)
    http://hummy.tv/forum/threads/important-the-differences-between-hd-fox-t2-and-hdr-fox-t2.1365/
     
  8. sceptic

    sceptic Member

    Since I updated my box to a 2TB HDD and the latest version of the custom software then I've also been suffering from this too... I've tried uninstalling the auto-unprotect package and reinstalling and also running reset_unprotect and restarting (after waiting for it to go fully into standby). reset_unprotect does then clear the outstanding ENC flags but new HD recordings after a short time still have the ENC flags set. Previously I've never had a problem with auto-unprotect,. Any suggestions on what else I could try to fix this permanently?
     
  9. xyz321

    xyz321 Well-Known Member

    I am unclear as to when you are looking at the Enc flag. Are you saying that after the Humax has finished making the recording the Enc flag is still set? It should be cleared immediately the recording ends unless you are in chase play mode in which case it will be cleared when finished playing.
     
  10. sceptic

    sceptic Member

    I'm seeing Enc flags on occasions still set hours after the recordings have finished. It seems to happen when I have a large number of back to back recordings going on i.e. 2 between 8-9 and another 2 between 9-10 and then again at 11. Unfortunately the few recordings I had that had Enc still set have been watched and deleted. I'll keep an eye on it and post some more specific details if it happens again. Thanks.
     
  11. xyz321

    xyz321 Well-Known Member

    If it happens again could you type '/bin/ps -w' from a telnet prompt and also have a look at modinit.log.
     
  12. sceptic

    sceptic Member

    Both tonights Borgen's are still showing as Enc despite the recordings having been completed for some time now... I do see a "/mnt/hd2/dms_cds.db: No such file or directory" entry in modinit.log

    /bin/ps -w
    PID USER VSZ STAT COMMAND
    1 root 1248 S init
    2 root 0 SW [migration/0]
    3 root 0 SWN [ksoftirqd/0]
    4 root 0 SW [migration/1]
    5 root 0 SWN [ksoftirqd/1]
    6 root 0 SW< [events/0]
    7 root 0 SW< [events/1]
    8 root 0 SW< [khelper]
    9 root 0 SW< [kthread]
    10 root 0 SW< [kblockd/0]
    11 root 0 SW< [kblockd/1]
    12 root 0 SW< [khubd]
    13 root 0 SW< [kseriod]
    14 root 0 SW [pdflush]
    15 root 0 SW [pdflush]
    16 root 0 SW< [kswapd0]
    17 root 0 SW< [aio/0]
    18 root 0 SW< [aio/1]
    19 root 0 SW< [ata/0]
    20 root 0 SW< [ata/1]
    21 root 0 SW< [ata_aux]
    22 root 0 SW< [scsi_eh_0]
    23 root 0 SW< [scsi_eh_1]
    24 root 0 SW [mtdblockd]
    25 root 0 SW< [kpsmoused]
    27 root 1244 S /bin/sh /etc/init.d/rcS
    73 root 0 SWN [jffs2_gcd_mtd1]
    74 root 0 SWN [jffs2_gcd_mtd2]
    128 nobody 932 S /usr/bin/dnsmasq
    134 root 816 R /sbin/utelnetd -l /bin/sh -p 23 -d -b
    157 root 1244 S /bin/sh /etc/init.d/S90settop start
    167 root 363m S /usr/bin/humaxtv
    303 root 0 SW< [kjournald]
    352 root 0 SW< [kjournald]
    354 root 0 SW< [kjournald]
    477 root 0 SW< [cifsoplockd]
    478 root 0 SW< [cifsdnotifyd]
    485 root 1368 S < /mod/sbin/crond
    494 root 12392 S < /mod/sbin/mongoose /mod/etc/mongoose.conf
    512 root 1764 S < /mod/bin/epg -f /mnt/hd1/dvbepg/epg.dat sqlitedumpd /mnt/hd1/epg.db
    531 root 924 S < /mod/sbin/betaftpd
    561 root 2920 S < /mod/sbin/smbd -D
    562 root 1864 S < /mod/sbin/nmbd -D
    577 root 1064 S < /mod/sbin/auto-unprotectd -d /mnt/hd2/dms_cds.db /media/My Video/
    4953 root 1248 S -/bin/sh
    4960 root 1240 R /bin/ps -w

    >>> Contents of /var/log/modinit.log 4.50 KiB
    === diag =================================================
    Filesystem Size Used Available Use% Mounted on
    /dev/root 16.9M 16.9M 0 100% /
    tmpfs 61.0M 28.0K 61.0M 0% /tmp
    tmpfs 61.0M 0 61.0M 0% /media
    /dev/mtdblock1 2.0M 492.0K 1.5M 24% /var/lib/humaxtv
    /dev/mtdblock2 2.0M 1.2M 800.0K 61% /var/lib/humaxtv_backup
    /dev/sda1 1011.4M 41.2M 970.2M 4% /mnt/hd1
    /dev/sda2 1.8T 461.8G 1.4T 25% /mnt/hd2
    /dev/sda3 9.8G 150.7M 9.7G 1% /mnt/hd3

    eth0 Link encap:Ethernet HWaddr 00:03:78:B8:DD:53
    inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:92 errors:0 dropped:0 overruns:0 frame:0
    TX packets:63 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:39955 (39.0 KiB) TX bytes:7477 (7.3 KiB)
    Interrupt:16

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


    PID USER VSZ STAT COMMAND
    1 root 1248 S init
    2 root 0 SW [migration/0]
    3 root 0 SWN [ksoftirqd/0]
    4 root 0 SW [migration/1]
    5 root 0 SWN [ksoftirqd/1]
    6 root 0 SW< [events/0]
    7 root 0 SW< [events/1]
    8 root 0 SW< [khelper]
    9 root 0 SW< [kthread]
    10 root 0 SW< [kblockd/0]
    11 root 0 SW< [kblockd/1]
    12 root 0 SW< [khubd]
    13 root 0 SW< [kseriod]
    14 root 0 SW [pdflush]
    15 root 0 SW [pdflush]
    16 root 0 SW< [kswapd0]
    17 root 0 SW< [aio/0]
    18 root 0 SW< [aio/1]
    19 root 0 SW< [ata/0]
    20 root 0 SW< [ata/1]
    21 root 0 SW< [ata_aux]
    22 root 0 SW< [scsi_eh_0]
    23 root 0 SW< [scsi_eh_1]
    24 root 0 SW [mtdblockd]
    25 root 0 SW< [kpsmoused]
    27 root 1244 S {rcS} /bin/sh /etc/init.d/rcS
    73 root 0 SWN [jffs2_gcd_mtd1]
    74 root 0 SWN [jffs2_gcd_mtd2]
    128 nobody 932 S /usr/bin/dnsmasq
    134 root 812 S /sbin/utelnetd -l /bin/sh -p 23 -d -b
    157 root 1244 S {S90settop} /bin/sh /etc/init.d/S90settop start
    167 root 358m S /usr/bin/humaxtv
    303 root 0 SW< [kjournald]
    326 root 1248 S < {run-and-gun} /bin/sh /etc/mdev/run-and-gun
    329 root 1248 S < {run-and-gun} /bin/sh /etc/mdev/run-and-gun
    334 root 1248 S < {run-and-gun} /bin/sh /etc/mdev/run-and-gun
    352 root 0 SW< [kjournald]
    354 root 0 SW< [kjournald]
    380 root 1232 S < sleep 1
    385 root 1232 S < sleep 1
    386 root 1252 S < {modinit} /bin/sh /sbin/modinit
    393 root 1348 R < ps -w

    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
    default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

    === reset_all ============================================
    === rma ==================================================
    === upgrade_bootmod ======================================
    === setup_directories ====================================
    === create_rcS ===========================================
    === migrate_bootmod ======================================
    === setup_hostname =======================================
    === setup_hosts ==========================================
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
    default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
    Interface: [eth0]
    IP: [192.168.1.200]
    === run_init =============================================
    Loaded CIFS module into kernel.
    Loaded FUSE module into kernel.
    Loading config file /mod/etc/mongoose.conf
    Anacron 2.3 started on 2013-01-12
    Normal exit (0 jobs run)
    === complete =============================================
    /mnt/hd2/dms_cds.db: No such file or directory


    TIA.
     
  13. sceptic

    sceptic Member

    Hmm looks like Content Share had somehow got switched off (and not by me!). Anyways I've re-enabled it now and I have dms_cs.db again now, so fingers crossed that'll sort it. Borgen's are still Enc at the moment. If they don't clear soon I'll try reset_unprotect again....
     
  14. xyz321

    xyz321 Well-Known Member

    There is now a new version of auto-unprotect (1.0.8) which fixes the bug where the Enc flag is not removed when the DLNA database is missing.
     
    sceptic and af123 like this.
  15. sceptic

    sceptic Member

    That's great, thanks xyz321. Thinking about it I guess the Content share got disabled when I swapped drives...