Unencrypt is not unencrypting

Not quite solved! Overnight I converted the .ts Foxy file to an .avi file through the AVS conversion program to reduce its size and to enable it to be played through Serviio on my Sony TV. The .ts version played OK in VLC on the PC but the converted .avi file wouldn't play . HOWEVER, the original file has now had the ENC symbol removed and there are the usual 4 symbols - HD, Dec, Indexed and OPT+, so presumably Unencrypt has finally worked overnight. I'm now converting this to .avi and we'll see what happens.
 
Fairly new to this, have had my Humax T2 for a while, I installed unecrypt, and thought that would be it, but I never started it, now I have a box full of files, need to decode some of them so I can move them to my NAS.

Have changed my "cron" to read as this
------------------------------------------
0 2 * * * /mod/sbin/anacron -s -d
1-56/5 * * * * /mod/sbin/unencrypt "/mnt/hd2 > /mod/tmp/unencrypt.log 2>&1

*/10 * * * * /mod/webif/lib/bin/auto >> /tmp/webif_auto.log 2>&1

*/10 * * * * /mod/sbin/rs_process >> /mod/tmp/rs.log 2>&1


-------------------------------------------------

Rebooted the box, will it just get on with the backlog?

If I enter (In putty)
/mod/sbin/unencrypt "/mnt/hd2"

I can see it does one file, but then appears to stop?

I'd like it just to work through the lot.

Thanks
 
What does unencrypt.log say (view it via the WebIF diagnostics page)?

For information, decryption using unencrypt needs several support services running as well. See HERE (click).
 
Thanks, i had already checked the services, and I belive I have them running, plus every time I do a /mod/sbin/unencrypt "/mnt/hd2" I can see it processing one file, so that appears to be a good sign.

I can't see the log? Under "View Log Files" I get the following.
rs.log (108.27 KiB)
seriesfiler.log (3.60 KiB)
banner.log (13.00 bytes)
epgd.log (247.00 bytes)
modinit.log (5.38 KiB)
rag.log (2.05 KiB)
rsvsync.log (209.00 bytes)
scanmounts.log (200.42 KiB)
webif_auto.log (0.00 bytes)
xinit.log (160.00 bytes)
 
Rebooted again, still no sign of log.
in Putty, ran "unencrypt setup"
This overwrote my cron file with
----------
0 2 * * * /mod/sbin/anacron -s -d
*/10 * * * * /mod/webif/lib/bin/auto >> /tmp/webif_auto.log 2>&1
*/10 * * * * /mod/sbin/rs_process >> /mod/tmp/rs.log 2>&1
1,31 1-6 * * * /mod/sbin/unencrypt "/mnt/hd2" > /mod/tmp/unencrypt.log 2>&1

-----

Now I guess it will go back to only working overnight?
Still no sign of a log,
Rebooted via "reboot command in webif"
Came back with a log, good news, well sort of - it had this:
----
>>> Contents of /mod/tmp/unencrypt.log 61.00 bytes
The DLNA server seems to have crashed
Please restart the box
------
Did a hard reboot via the power switch.
Log has indicated it's done something.

Relaced the left hand half of the last line of cron with
1-56/5 * * * * /mod/sbin/unencrypt "/mnt/hd2"
Rebooted

Log file indicates previous decodes.

Do I now need to start the unencrypt process, or will it just now get on with it?

Thanks!
 
Argggh! Spoke to soon.

Just looked back the log, all I now have is
>>> Contents of /mod/tmp/unencrypt.log 35.00 bytes
Error: database is locked
Finished

with my cron as

0 2 * * * /mod/sbin/anacron -s -d

*/10 * * * * /mod/webif/lib/bin/auto >> /tmp/webif_auto.log 2>&1

*/10 * * * * /mod/sbin/rs_process >> /mod/tmp/rs.log 2>&1
1-56/5 * * * * /mod/sbin/unencrypt "/mnt/hd2"> /mod/tmp/unencrypt.log 2>&1
 
Disable content sharing, use the diagnostics to reset the DLNA database, then restart content sharing. See if that helps. You will have to allow time for the database to rebuild.
 
with my cron as

1-56/5 * * * * /mod/sbin/unencrypt "/mnt/hd2"> /mod/tmp/unencrypt.log 2>&1

I don't think your cron is pointing to the correct directory, it should look like this, Note I have created an 'archive' directory under My Video :-
Code:
1,31 * * * * /mod/sbin/unencrypt "/mnt/hd2/My Video/archive" > /mod/tmp/unencrypt.log 2>&1
 
Disable content sharing, use the diagnostics to reset the DLNA database, then restart content sharing. See if that helps. You will have to allow time for the database to rebuild.


Thanks, done this, seems to be working now. Seems a bit touch and go - seemed to have stopped at one point, but I power cycled the box and all is ok again.

Cheers for the help!
 
Back
Top