NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 6 7 8 9 10 … 93 Next »
Recording export tags and export details?

 
  • 0 Vote(s) - 0 Average
Recording export tags and export details?
spinnaker
Offline

Member

Posts: 82
Threads: 23
Joined: Sep 2013
#1
2013-10-21, 01:40 AM
Is there anything that documents the tags used in recording exports?

I am working on an import utility from WMC with MCE Buddy to NextPVR


My questions are:

What is the OID number and how is it assigned? There appear to be two. One under recordings and one under recordings/event. What is the difference and how are they assigned?

What is the ChannelOID how is it assigned?

How does NPVR know that the import is for a series? It is simply the title names are the same?

Will there ever be more that one event per recording?

Are there any other useful tags like Duration? WMC does not appear to have endtime but it has duration. Endtime can be calculated but duration would be easier.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2013-10-21, 02:28 AM
spinnaker Wrote:Is there anything that documents the tags used in recording exports?
No, there isn't, but it's pretty straight forward.

Quote:I am working on an import utility from WMC with MCE Buddy to NextPVR


My questions are:

What is the OID number and how is it assigned? There appear to be two. One under recordings and one under recordings/event. What is the difference and how are they assigned?
Just leave them both set to 0 (zero) and it'll create the appropriate values.

Quote:What is the ChannelOID how is it assigned?
You can leave that set to zero as well. It'll look for an existing channel with the same name has the <channel> tag.

Quote:How does NPVR know that the import is for a series? It is simply the title names are the same?
It's done by name.

Quote:Will there ever be more that one event per recording?
No. It only has zero or one. Zero in the case where it's a manual recording, ie just told to record a certain channel from times x to y. It has one if it has info about the show being recorded (like scheduled from the TV Guide or season recording).

Quote:Are there any other useful tags like Duration? WMC does not appear to have endtime but it has duration. Endtime can be calculated but duration would be easier.
No, uses <startTime> and <endTime>. As you said, you can easily determine the end time if you know the start time and duration.
spinnaker
Offline

Member

Posts: 82
Threads: 23
Joined: Sep 2013
#3
2013-10-21, 10:02 PM
Thanks that is very useful information.
spinnaker
Offline

Member

Posts: 82
Threads: 23
Joined: Sep 2013
#4
2013-10-22, 01:18 AM
Are there any fields for:

Repeat
Original Air Date
Parental Rating
Parental Rating Reason
Genre


If not can we please get them? Original Air / Broad Cast date would be most useful.

Season and episode numbers would be most useful too if available.


Of course you should be able to sort by some of these too.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#5
2013-10-22, 01:22 AM
In the <Event> tag you can optionally have <OriginalAirDate>, <Rating>, <StarRating>, <Genres> with nested <Genre>, <FirstRun> true/false.

Not all of this info is shown in the application though, since only a limited number of people had EPG sources with this info available.
spinnaker
Offline

Member

Posts: 82
Threads: 23
Joined: Sep 2013
#6
2013-10-22, 02:14 AM
Can we get some of these things in the application? At least OriginalAirDate? I think it would be useful.

And will xmbc see it and make use of it?

Should I add this idea to the wish list forum?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#7
2013-10-22, 02:32 AM
spinnaker Wrote:Can we get some of these things in the application? At least OriginalAirDate? I think it would be useful.
I don't include them in the default skin since most people don't have this info available in their EPG. You can modify the skin files to show extra strings like "@originalAirDate", "@starRating", "@rating", etc. The app is already passing them to the skin, so they can be displayed.

Quote:And will xmbc see it and make use of it?
No. The PVR interface of XBMC only accepts a few limited attributes.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,770
Threads: 954
Joined: May 2006
#8
2013-10-22, 02:33 AM
XBMC's TV Show interface is based on metadata found during its' own scan of the library based on file name and nfo file and has much more info the the EPG has. The PVR interface is very basic. My imageGrabLite utility renames appropriately. In addition iGL will optionally set the file/recorded date to the original air date so the date sort works so I don't watch shows out of order. I'm probably the only one that uses this second option because the redated shows don't show as recent.

Martin
spinnaker
Offline

Member

Posts: 82
Threads: 23
Joined: Sep 2013
#9
2013-10-22, 09:20 PM
mvallevand Wrote:XBMC's TV Show interface is based on metadata found during its' own scan of the library based on file name and nfo file and has much more info the the EPG has. The PVR interface is very basic. My imageGrabLite utility renames appropriately. In addition iGL will optionally set the file/recorded date to the original air date so the date sort works so I don't watch shows out of order. I'm probably the only one that uses this second option because the redated shows don't show as recent.

Martin

So you are saying xmbc will not use metadata found in NextPVR DB if show is recorded by NextPVR?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,770
Threads: 954
Joined: May 2006
#10
2013-10-22, 09:39 PM
spinnaker Wrote:So you are saying xmbc will not use metadata found in NextPVR DB if show is recorded by NextPVR?

I'm saying the PVR use of metadata is crude. The TV Shows and Movie libraries are gorgeous but are scraped on their own.

Martin
« 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
  Custom recording tomx 2 401 2025-02-07, 09:14 AM
Last Post: tomx
  API call for Recording Complete linustorvalds 1 273 2025-01-19, 02:11 PM
Last Post: mvallevand
  Manual recording API mvallevand 2 909 2023-11-09, 02:14 PM
Last Post: mvallevand
  Recording direct to GPhotos API rgonzalez 0 1,394 2020-06-29, 04:45 AM
Last Post: rgonzalez
  Recurring Recording URL Parameters jcole998 2 2,883 2019-09-19, 01:08 PM
Last Post: jcole998
  Get recording length from stream skogl 46 13,427 2019-08-15, 09:34 PM
Last Post: sub
  Import/export recordings via API? whurlston 4 3,741 2019-02-19, 11:48 AM
Last Post: Graham
  Unexpected result when deleting a pending recording scJohn 5 3,632 2018-05-06, 10:09 PM
Last Post: sub
  How to best verify success when adding a recurring recording drmargarit 1 2,725 2017-03-02, 03:13 PM
Last Post: mvallevand
  Change recording filename programmatically immediately before recording starts? craigrs84 5 5,973 2015-07-13, 09:28 PM
Last Post: patco444

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

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

Linear Mode
Threaded Mode