Beta Nugget-assisted recording list

af123

Administrator
Staff member
#1
I was further along with this than I remembered so there is now a new version of the nugget package in the beta repository which adds a couple of new commands (reboot required):

nugget recordings - shows the recordings that are currently in progress (this includes the TSR buffer if it is active)
nugget recordings -p - shows all recording slots along with the status; may include recordings which have finished.
nugget tuners.dump - some information from the tuner data structures
nugget tuners.dump -h - as above plus a hexdump.

Code:
humax# nugget recordings -p
2:/mnt/hd2/Tsr/0
1:/mnt/hd2/My Video/Toy Story_20181219_1613
1:/mnt/hd2/My Video/Grizzy and the Lemmings_20181219_1614
In this, status 2 seems to mean active and 1 means idle. Without the -p option, recordings just lists those with status = 2.
There may be other status numbers that show up for playback, decryption, etc.

If this information turns out to be consistently good, then the next step is to update the status display to use it in preference to redring data and trying to work out if files are growing or not.

Please give it a try and throw some interesting test cases at it, thanks.
 
Last edited:

/df

Active Member
#2
Test 1: HD Fox, copy to (2nd) external USB (drive3):
status shows Playing twice :( :
Code:
Playing drive3/lost+found/8 Simple Rules_20180814_1700
Playing drive1/HDR/My Video/8 Simple Rules/8 Simple Rules_20180814_1700
nugget recordings -p doesn't show the file:
Code:
2:/media/drive1/.tsr/0
1:
1:
Good.
 

/df

Active Member
#4
Thanks, you just beat me to it, but I've put that version in the test system.

Test 1 still shows:
Code:
humax# status
Playing drive3/lost+found/8 Simple Rules_20180814_1700
Playing drive1/HDR/My Video/8 Simple Rules/8 Simple Rules_20180814_1700
Idle: 00:00:10
humax# ls -al `which status`
-rwx------    1 root     root          8179 Dec 21 01:18 /mod/bin/status
humax#
After Xmas I'll be back with an HDR which allows more test cases.
 

prpr

Well-Known Member
#5
I put the new Nugget on all my machines yesterday and the HD has crashed already (or at least dropped off the network). This may be a coincidence, but the HD never ever ever crashes...
Can't look at it now as I'm remote until Monday.
 
Top