NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 35 36 37 38 39 … 93 Next »
Whats needed for recording

 
  • 0 Vote(s) - 0 Average
Whats needed for recording
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#1
2007-05-25, 07:42 AM
Hey sub,

I was wondering what was needed if I were to add a recording to the system.

I was thinking of the following in the following tables:
programme
  • name
  • sub_title
  • start_time
  • end_time

For that table I don't need the unique identifier, channel id, and description.

For recording_schedule
  • programme_oid
  • capture_source set as 1 always
  • status
  • filename
  • manual_start_time
  • manual_end_time
My question is what is recording_group and what happens if i don't fill it in?

Any help would be helpful. Thanks.
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#2
2007-05-25, 07:49 AM
Are you talking about adding a scheduled recording? Or adding a file to the recording part of the system (from a move or some such?)??

If so have a look for the API commands to do this rather than from scratch. I know the first item exists, not sure about adding a recorded file to the system. Sub should be able to answer further.
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#3
2007-05-25, 08:00 AM
Not a scheduled recording.

More like you have a video file (say a downloaded TV show) and want it listed in the Recordings area rather than videos. I normally just put them in Videos but for my new utility I'd like to include this option.
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#4
2007-05-25, 04:03 PM
From memory those fields you list above sound about right.

recording_group was what tied multiple recordings together as part of the a season recording (though the grouping is done by directory name on the Recordings screen 'Ready' list). I'm pretty sure you'd be safe to leave it as '0'
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#5
2007-05-26, 04:01 AM
-Oz- Wrote:Hey sub,

I was wondering what was needed if I were to add a recording to the system.

I was thinking of the following in the following tables:
programme
  • name
  • sub_title
  • start_time
  • end_time

For that table I don't need the unique identifier, channel id, and description.

For recording_schedule
  • programme_oid
  • capture_source set as 1 always
  • status
  • filename
  • manual_start_time
  • manual_end_time
My question is what is recording_group and what happens if i don't fill it in?

Any help would be helpful. Thanks.

Hey man, maybe it's time I share that code with you. It seems we're on the same path anyway. This is exactly the next thing I was going to do....

I already have the routine that adds 'new' records, as it imports lines back in....

I'm also fine if you wanna take what you like and start over.... After learning how to do the database, I started doing far too much...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#6
2007-05-26, 05:54 AM
I have the code that replaces failed recordings and current recordings. My laptop HDD corrupted itself but should be back in the next few hours. Expect a PM with what I've done so far Smile

Thats funny that we're on the same page. I didn't know what zsched did till after I started mine.
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#7
2008-01-22, 10:24 PM
Did you guys ever end up going anywhere with this?? I've been looking for something and wondering if I had to do it myself. Basically I want to incorporate stuff I haven't recorded into the recordings list, so the wife has only one place she needs to go to watch stuff.

I'll think about movies later but at the moment want it for tv programs. I had a look at VA and MovieWiz and they had a bit too much manual intervention. I just want to say here is the tv program, it's season x ep y - stick in it the db, not even necessarily having details just so it shows up.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#8
2008-01-22, 10:29 PM
Probably the easiest way to get a video to show up in your recordings list is to create an xml file in the correct format then use the 'import recordings' button in the config app. If you look in recordings-dump.xml, you'll see the xml format needed. Just create a new file and only add entries in that format for each of those videos you want to have added.
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#9
2008-01-22, 10:39 PM
yeah I thought that as well. But sounded like these guys were on the path to do that automagically.

That import is a manual thing kicked off by a user from the config app correct?? Is there anyway of automating it, api?, command line? If so I'd probably look at that.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#10
2008-01-22, 10:43 PM
If you run "PVRX2.exe -import" then it'll import recording-dump.xml. You could overwrite this file immediately before doing the -import.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Custom recording tomx 2 739 2025-02-07, 09:14 AM
Last Post: tomx
  API call for Recording Complete linustorvalds 1 493 2025-01-19, 02:11 PM
Last Post: mvallevand
  Manual recording API mvallevand 2 1,160 2023-11-09, 02:14 PM
Last Post: mvallevand
  Recording direct to GPhotos API rgonzalez 0 1,537 2020-06-29, 04:45 AM
Last Post: rgonzalez
  Recurring Recording URL Parameters jcole998 2 3,094 2019-09-19, 01:08 PM
Last Post: jcole998
  Get recording length from stream skogl 46 14,675 2019-08-15, 09:34 PM
Last Post: sub
  Unexpected result when deleting a pending recording scJohn 5 3,924 2018-05-06, 10:09 PM
Last Post: sub
  How to best verify success when adding a recurring recording drmargarit 1 2,899 2017-03-02, 03:13 PM
Last Post: mvallevand
  Change recording filename programmatically immediately before recording starts? craigrs84 5 6,259 2015-07-13, 09:28 PM
Last Post: patco444
  Recording a specific episode based on season and episode number cbgifford 26 10,865 2014-12-19, 10:28 PM
Last Post: cbgifford

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

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

Linear Mode
Threaded Mode