NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 20 21 22 23 24 … 193 Next »
Recordings... Need Metadata

 
  • 0 Vote(s) - 0 Average
Recordings... Need Metadata
puck64
Offline

Member

Australia
Posts: 130
Threads: 24
Joined: Aug 2015
#1
2015-08-15, 08:58 AM
Hi All,

I thought I would start a new Thread for this as the Thread I posted in was last used in 2005 Smile

I would love to see some Metadata from EPG_EVENT.description included with the recordings.

It is often the only place that I can get the Season and Episode information.
From a ".wtv" show converted to ".dvr-ms" I can get the following ..
Movie name : Masters Of Sex
Movie name/More : (S.3,Ep.2) Three's a Crowd - The shockwaves surrounding the events of Masters and Johnson's press
conference begin to reverberate around their universe as the book nears its release. #MastersofSex
WM/MediaStationCallSign : SBS HD

I would also like to see The Station Call Sign appended to the saved file name. This can be obtained from SCHEDULED_RECORDING.channel_name.
eg.
"935" "935" "Masters Of Sex" "D:\RecordedTV\Masters Of Sex\Masters Of Sex_20150813_21302230.ts" "1" "2015-08-13 11:25:00" "2015-08-13 12:30:00" "20" "7152" "65" "SBS HD" "<Event>

"D:\RecordedTV\Masters Of Sex\Masters Of Sex_20150813_21302230.ts"
would become
"D:\RecordedTV\Masters Of Sex\Masters Of Sex_20150813_21302230 SBS HD.ts"

Regards,
Mark
(Good judgment comes from experience; experience comes from bad judgment)
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#2
2015-08-15, 10:16 AM
NextPVR will run a command file called postprocessing.bat at the end of each recording if the .bat file exists. Some values are passed to the .bat file and you could use the passed values to extract other data from the database ... http://www.nextpvr.com/nwiki/pmwiki.php?...Files#toc3

Plus, data is stored as an alternate data stream within the recording .ts file and can be accessed in several ways including, for example, more < recording.ts:metadata.xml (use a real filename instead of "recording.ts").
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#3
2015-08-15, 05:56 PM
As Graham mentioned above, it already stores meta data with the recording. By default it's embedded in an alternate data stream, but it can be easily configured to write it to an xml file.

To view this metadata, you can do this:

notepad.exe c:\path\to\some-recording.ts:metadata.xml
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#4
2015-08-15, 07:10 PM
I believe there is also a config.xml setting to force it to make a separate metadata file if you like.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#5
2015-08-15, 07:14 PM
That config.xml setting is <StoreSeparateMetadataXml>. If you set it to 'true', it'll write the metadata to a separate file.
puck64
Offline

Member

Australia
Posts: 130
Threads: 24
Joined: Aug 2015
#6
2015-08-16, 01:02 PM
Hi All,

Thank you for the replies.
I tried notepad.exe "D:\RecordedTV\Outback Truckers\Outback Truckers_20150811_23320031.ts":metadata.xml
And got the following ......

Notepad
---------------------------
The D:\RecordedTV\Outback Truckers\Outback Truckers_20150811_23320031.ts file is too large for Notepad.

Use another editor to edit the file.

Mediainfo Gives me .... I cannot see any metadata
General
ID : 1 (0x1)
Complete name : D:\RecordedTV\Outback Truckers\Outback Truckers_20150811_23320031.ts
Format : MPEG-TS
File size : 3.31 GiB
Duration : 55mn 54s
Overall bit rate mode : Variable
Overall bit rate : 8 480 Kbps

Video
ID : 561 (0x231)
Menu ID : 1315 (0x523)
Format : MPEG Video
Format version : Version 2
Format profile : Main@High
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : Variable
Format settings, picture structure : Frame
Codec ID : 2
Duration : 55mn 53s
Bit rate mode : Variable
Bit rate : 7 673 Kbps
Maximum bit rate : 15.0 Mbps
Width : 1 440 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.197
Time code of first frame : 23:28:12:00
Time code source : Group of pictures header
GOP, Open/Closed : Open
Stream size : 3.00 GiB (90%)
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio
ID : 563 (0x233)
Menu ID : 1315 (0x523)
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 6
Duration : 55mn 53s
Bit rate mode : Constant
Bit rate : 384 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : -486ms
Stream size : 154 MiB (5%)
Language : English

Text
ID : 565 (0x235)-801
Menu ID : 1315 (0x523)
Format : Teletext Subtitle
Language : English

Menu
ID : 560 (0x230)
Menu ID : 1315 (0x523)
Duration : 55mn 54s
List : 518 (0x206) () / 561 (0x231) (MPEG Video) / 563 (0x233) (AC-3, English) / 565 (0x235) () / 665 (0x299) ()
Language : / / English


I have gone with the config.xml File alteration and set <StoreSeparateMetadataXml> to true. to see what that gives me Smile

Are there any examples of the following BAT Files "PostProcessing.bat", "ParallelProcessing.bat" and "UpdateEPG.bat" that I can use as a base for my own versions

Regards,
Mark
(Good judgment comes from experience; experience comes from bad judgment)
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#7
2015-08-16, 01:39 PM
puck64 Wrote:Hi All,

I tried notepad.exe "D:\RecordedTV\Outback Truckers\Outback Truckers_20150811_23320031.ts":metadata.xml
Maybe try including :metadata.xml within the quotes...
notepad.exe "D:\RecordedTV\Outback Truckers\Outback Truckers_20150811_23320031.ts:metadata.xml"

Alex
puck64
Offline

Member

Australia
Posts: 130
Threads: 24
Joined: Aug 2015
#8
2015-08-16, 02:05 PM
ACTCMS Wrote:Maybe try including :metadata.xml within the quotes...
notepad.exe "D:\RecordedTV\Outback Truckers\Outback Truckers_20150811_23320031.ts:metadata.xml"

Alex

Hi Alex,

Windows 10 Notepad just sits there spinning its wheels till get I kill it after about 1 to 2 minutes.

The Alteration to the "config.xml" file worked. Here is the result ...

<?xml version="1.0" encoding="UTF-8"?>
<recording>
<filename>D:\RecordedTV\Uranium Twisting the Dragons Tail\Uranium Twisting the Dragons Tail_20150816_20352135.ts</filename>
<channel>SBS HD</channel>
<status>READY</status>
<startTime>2015-08-16 20:30:00</startTime>
<endTime>2015-08-16 22:45:00</endTime>
<channel_OID>7152</channel_OID>
<title>Uranium: Twisting the Dragon&apos;s Tail</title>
<subtitle></subtitle>
<description>The Rock that Changed the World - Dr Derek Muller takes us to Northern Australia and then on a remarkable journey to see how from the ashes of Hiroshima, uranium promised a new age. (Part 2) #SBSDoco</description>
<uid></uid>
<firstrun>true</firstrun>
</recording>

Regards,
Mark
(Good judgment comes from experience; experience comes from bad judgment)
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#9
2015-08-16, 02:37 PM
puck64 Wrote:I would love to see some Metadata from EPG_EVENT.description included with the recordings.

Did you see this ... http://www.nextpvr.com/nwiki/pmwiki.php?...geGrabLite

Plus, this worked for me ... more < recording.ts:metadata.xml
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#10
2015-08-17, 01:03 AM
This one has been on my wishlist for quite a while, great to see it beign dsicussed.

The above seems pretty complicated to my feeble brain; can someone clear a few things up for me (and hopefully others)?

1. What is needed for the metadata to actually show up in the RECORDINGS screen? Is it an XML file?
2. Where should this XML file be stored? (a) In the folder where the show is kept or (b) in the same folder as where all the show Media images are kept (sorry am not at home PC), can't recall the folder name or © Elsewhere (where?).
3. For (2) is the location configurable? I ask because I have seen a bunch of XML files in the folder where all the show Media images are kept. If they are there already (I assume ImageGrabLite put them there?), then I think these will do what I need, lookign in them, they contain a lot of infomation!
4. As the above dsicussion looks like a manual procedure (please correct me if it is not), then how do you actually create this metadata XML file based on the show you just recorded i.e. how do you call it from the show automagically and put it in the correct folder so it just SHOWS UP in the RECORDINGS screen?

Thanks!

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Web display of Recordings w/o Pending Recordings turndave 5 1,057 2023-09-13, 10:08 PM
Last Post: turndave
  subtract time from recordings for web client jobby99 0 581 2023-05-28, 09:09 PM
Last Post: jobby99
  Divide Recordings by Channel (and other properties) ChaosMageX 1 742 2023-03-20, 07:35 PM
Last Post: mvallevand
  [Kodi] Directory Folders for Recordings Panic 14 3,152 2022-07-28, 03:59 PM
Last Post: mvallevand
  Resume on recordings mvallevand 13 2,975 2022-05-02, 08:04 PM
Last Post: artmetz
  direct bookmarkable URL for Recent Recordings f0945a5662 2 1,010 2021-11-18, 07:50 PM
Last Post: f0945a5662
  Cancellation of individual pending recordings Petrovski 25 8,640 2021-11-07, 06:49 PM
Last Post: sub
  Feature request (recordings calendar view) ThymeJ 1 2,347 2021-09-19, 04:44 AM
Last Post: sub
  Menu for recent recordings LeGrandZombie 0 846 2021-09-06, 02:02 AM
Last Post: LeGrandZombie
  If Win 10 use Windows Notifications for failed recordings scJohn 2 2,040 2021-08-14, 11:00 PM
Last Post: rmeden

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode