Tuner info in Meta Data
Tuner info in Meta Data
Hi,
Can any of you developers tell me if within any of the files stored for each recording there is an indication of which tuner was used for the recording? And if so, which file, and how to decode the information.
TIA
Cheers,
Greg
Can any of you developers tell me if within any of the files stored for each recording there is an indication of which tuner was used for the recording? And if so, which file, and how to decode the information.
TIA
Cheers,
Greg
Re: Tuner info in Meta Data
If you go to TIMER, select the timer of interest and press INFO, you'll see the log of the timer, which includes the tuner. The tuner is also stored as a tag in the movie itself (by default long YELLOW brings up the tag list). This requires recent firmware (Aug 2018).
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Tuner info in Meta Data
If you really want to access the information from the file, it's in the 5th line of the recording's .ts.meta file. The file is plain text with Unix-style (<LF>) style line separators. It can be mixed in with other tags on the same line, but the tuner tag will have the form Tuner-X where X is the tuner letter, A, B, C, etc. The tags are space-separated.
The tuner tag can be seen in this .ts.meta file:
Code: Select all
1:0:1:213:211:1010:EEEE0000:0:0:0::ABC
Doctor Who
The Parting of the Ways
1557992722
Tuner-A
0
0
f:0,c:000200,c:01028a,c:020240,c:030080
188
0
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
Re: Tuner info in Meta Data
Thanks adoxa and prl
-
- Uber Wizard
- Posts: 6490
- Joined: Thu Mar 05, 2009 22:54
- Location: Perth
Re: Tuner info in Meta Data
RADIO is also the default button for tags in the media selection list - which is unavailable on the U4 remote, hence I remapped TEXT for tags.
As per previous advice -
Easiest is pressing INFO on the completed (or running) timer if it's still available,
Next easiest is viewing the tag entries in the media selection list (RADIO or Long-YELLOW) then going through each Tuner-X entry
Lastly, quicker than above tag selection is using File Commander (MENU>>Sources / Files) to view the recordings list and locate the recording's *.ts.meta file and view it (OK or TEXT). The line prefixed with '0005:' will have the tuner ID (as Tuner-X) amongst the tag entries.
As per previous advice -
Easiest is pressing INFO on the completed (or running) timer if it's still available,
Next easiest is viewing the tag entries in the media selection list (RADIO or Long-YELLOW) then going through each Tuner-X entry
Lastly, quicker than above tag selection is using File Commander (MENU>>Sources / Files) to view the recordings list and locate the recording's *.ts.meta file and view it (OK or TEXT). The line prefixed with '0005:' will have the tuner ID (as Tuner-X) amongst the tag entries.
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Tuner info in Meta Data
Here's a simple awk script that will extract the tuner tag:
awk 'NR == 5 {split($0, tags); for (t in tags){i_f(substr(tags[t], 1, 6) == "Tuner-") {print tags[t]}}}' recordingname.ts.meta
Sucuri (the security front end for the forum) whinges about the "if" in the example (but not here). To make the command work you have to remove the underscore in the "i_f".
awk 'NR == 5 {split($0, tags); for (t in tags){i_f(substr(tags[t], 1, 6) == "Tuner-") {print tags[t]}}}' recordingname.ts.meta
Sucuri (the security front end for the forum) whinges about the "if" in the example (but not here). To make the command work you have to remove the underscore in the "i_f".
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Tuner info in Meta Data
Bug #722: [MovieList] Presence of Tuner tags stops autotagging from working
I'm currently testing a fix.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Tuner info in Meta Data
Fix submitted.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
Re: Tuner info in Meta Data
I don't see a pull request...
-
- Wizard God
- Posts: 32714
- Joined: Tue Sep 04, 2007 13:49
- Location: Canberra; Black Mountain Tower transmitters
Re: Tuner info in Meta Data
Wrong repo. You should see it now.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV