NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 9 10 11 12 13 … 93 Next »
NPVR 2.x recordings metadata and timing.info

 
  • 0 Vote(s) - 0 Average
NPVR 2.x recordings metadata and timing.info
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#1
2012-08-01, 04:10 PM
I'm working on a utility class that will read/write the metadata.xml ADS on recordings but I have a few questions:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<recording>
  <filename>R:\American Ninja Warrior\American Ninja Warrior_20120723_21002300.ts</filename>
  <channel>WAVEDT</channel>
  <status>READY</status>
  <startTime>2012-07-23 21:00:00</startTime>
  <endTime>2012-07-23 23:00:00</endTime>
  <title>American Ninja Warrior *</title>
  <subtitle>Finals</subtitle>
  <description>The top finishers compete on a four stage course in Las Vegas.</description>
  <uid></uid>
</recording>
  1. Am I missing any fields (that might be used in the rest of the world)?
  2. Can I use a <channel> that doesn't exist in the database (eg: <channel>YouTube</channel>)?
  3. If I add extra fields will it break the built in NPVR parsing of the metadata stream (eg: <url>)?
  4. Does the Video Library check for metadata.xml as an ADS or only as a separate file?
  5. For completeness, I may as well include timing.info in the class. Am I correct in assuming that the fields in timing.info are "timestamp,byteOffset"?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#2
2012-08-01, 05:02 PM
Are you planning on actually calculating abd creating the Timing.Info file for your YouTube files? I already have a utility that does that (writeTime) and although it isn't .NET or Microsoft, I might be able to package a .dll for you.

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#3
2012-08-01, 05:54 PM
I wasn't going to bother with that, I think they skip pretty good now. Adding the Timing.Info to the utility was really just for completeness in case you (or someone else) found it usefull to be able to read/write the file.

If there are issues with YouTube skipping of which I'm not aware, I could add that functionality though.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#4
2012-08-01, 06:13 PM
whurlston Wrote:I'm working on a utility class that will read/write the metadata.xml ADS on recordings but I have a few questions:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<recording>
  <filename>R:\American Ninja Warrior\American Ninja Warrior_20120723_21002300.ts</filename>
  <channel>WAVEDT</channel>
  <status>READY</status>
  <startTime>2012-07-23 21:00:00</startTime>
  <endTime>2012-07-23 23:00:00</endTime>
  <title>American Ninja Warrior *</title>
  <subtitle>Finals</subtitle>
  <description>The top finishers compete on a four stage course in Las Vegas.</description>
  <uid></uid>
</recording>
[*]Am I missing any fields (that might be used in the rest of the world)?
There is several other option fields. You can also get <firstrun>, <original_air_date>, <season>, <episode>, <rating>, <start_rating>, <audio>, <aspect>, <quality> and <genres>.
Quote:[*]Can I use a <channel> that doesn't exist in the database (eg: <channel>YouTube</channel>)?
Yes.
Quote:[*]If I add extra fields will it break the built in NPVR parsing of the metadata stream (eg: <url>)?
No, extra fields will be ignored, and not cause any problem (as long as they're valid xml).
Quote:[*]Does the Video Library check for metadata.xml as an ADS or only as a separate file?
It'll look for ADS, then separate file.
Quote:[*]For completeness, I may as well include timing.info in the class. Am I correct in assuming that the fields in timing.info are "timestamp,byteOffset"?
Yes, that is the correct format.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#5
2012-08-01, 06:19 PM
Awesome! Thanks sub.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Way to tell programmatically if channel load in from NPVR has finished... gdogg371 3 2,320 2021-03-11, 03:59 PM
Last Post: mvallevand
  Plugins and NPVR. Where do we start? sub 80 68,063 2020-11-26, 10:02 PM
Last Post: mandai
  Test/Development environment for npvr.db3 scJohn 10 4,175 2020-09-04, 09:14 PM
Last Post: scJohn
  Import/export recordings via API? whurlston 4 3,739 2019-02-19, 11:48 AM
Last Post: Graham
  How to extract M3U8 and get matching XMLTV guide data from NPVR almightyj 0 3,350 2018-10-23, 07:24 AM
Last Post: almightyj
  Conflict recordings scJohn 1 2,558 2018-03-23, 07:43 PM
Last Post: sub
  API / web call for setting recordings Pbathuk 2 3,255 2018-01-13, 05:17 AM
Last Post: Pbathuk
  Metadata API's mvallevand 7 3,737 2016-11-24, 05:59 PM
Last Post: mvallevand
  API access to artwork and deleting recordings cncb 29 15,378 2016-11-06, 02:20 AM
Last Post: mvallevand
  How to move recordings without them getting deleted from db drmargarit 4 3,846 2015-09-27, 05:33 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode