NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 55 56 57 58 59 … 193 Next »
Way to set scheduled recordings from outside GBPVR

 
  • 0 Vote(s) - 0 Average
Way to set scheduled recordings from outside GBPVR
groovyclam
Offline

Junior Member

Posts: 19
Threads: 6
Joined: Jan 2008
#1
2008-02-04, 09:52 PM
Is there ( or will there be in the future ? ) some way for an external app to schedule a recording in GBPVR

e.g. pass paramters such as:

Channel
Start Time
End Time
Output filename

maybe via a DOS command line or some other better method and GBPVR's scheduler will pick it up and add it to it's list of things to do.

I ask because in the UK we have a fantastically detailed and fully featured EPG app called DigiGuide which can do external calls and with some way to get GBPVR to pick up external schedule calls the two apps would make a perfect UK TV combo on a PC.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,684
Threads: 767
Joined: Nov 2003
#2
2008-02-04, 09:56 PM
I'm fairly sure people have done this in the past. If you google "DigiGuide GBPVR" you should fine some web pages out there discussing it.
groovyclam
Offline

Junior Member

Posts: 19
Threads: 6
Joined: Jan 2008
#3
2008-02-05, 01:02 PM
Hi Sub - Googling it seems that if I wrote appropriate rows to the "recording_schedule" table in the gbpvr.db3 file then I may get what I need.

Would this approach work ? Would your scheduler pick up rows I inserted manually ?

If you confirm this, then I will just need to construct a widget that DigiGuide can execute that interfaces with gbpvr.db3 via some sort of SQLite which I think I can do.

Thanks for the pointer.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,684
Threads: 767
Joined: Nov 2003
#4
2008-02-05, 01:45 PM
Quote:Would this approach work ? Would your scheduler pick up rows I inserted manually
Yes, but if you want to make sure it'll notice immediately you may need to run "pvrx2.exe -OnlyUpdateEPG" after inserting the row.
groovyclam
Offline

Junior Member

Posts: 19
Threads: 6
Joined: Jan 2008
#5
2008-02-05, 03:20 PM
Thanks for the info sub
NumberFive
Offline

Senior Member

UK/Ireland
Posts: 664
Threads: 153
Joined: Jun 2007
#6
2008-02-06, 12:31 AM
Oh, I'd love to get instructions on how to do this too. An .exe for doing the job would be amazing, but even if I had to do it manually I'd love any info available.

I'm still working on the SMS to GBPVR thing. Thus far I have a programme downloading data from a free SMS to Email gateway.
systemshark
Offline

Senior Member

Posts: 566
Threads: 56
Joined: Oct 2005
#7
2008-02-06, 09:58 AM
Personally what I'd really like is to export the DigiGuide Data into XML and send the whole thing to GBPVR... Swapping programs between GBPVR and Digiuide is something which is not suited to a remote controlled system (Haupppauge remote) and has failed 'the wife test'....

I have seen a VB script program which extracts from digiguide but the author has encrypted it so it's not possible to see the code... and I'm not finding any thing to get into learning the Digiguide API.
Regards Systemshark
[COLOR="Silver"]
Lounge: HDPC Intel i5, Asus Motherboard with Intel HDMI, 4Gb of Ram, 1Tb Disk, 60Gb SSD, Blackgold BT3595 Tuner, Hauppauge Nova T500 and HVR1700 in a LianLi C39 B Case.

Other Room : Liteon Wireless Media Centre/DVD Player

Software : Windows7 32 Bit, RedRat, XMLTV GUI and NPVR
[/COLOR]
groovyclam
Offline

Junior Member

Posts: 19
Threads: 6
Joined: Jan 2008
#8
2008-02-06, 05:36 PM
I'm extremely familiar with the DigiGuide API and can guarantee that if I can get the writing to the GBPVR SQL database working then everything will "work" rather fantastically.

I've had a root around in sub's gbpvr database and understand the layout of that, and I also happen to be good at SQL so no problems there.

My problem hits when I try to construct this in C++ as I'm a total C++ novice.

I'm trying to do this in Microsoft Visual C++ Express 2008 and am cribbing code from lots of Googled pages.

So far I have my command line inputs accepted OK but thought I'd better do a quick test that I can open the GBPVR database from my C++ widget whilst GBPVR is running. First major problem: when I transfer my widget exe from the development machine to the Home Theatre the widget won't run due to some missing dll's which I could swear are on the Home Theatre.

If anyone is a Visuall C++ Express 2008 wizard please shout as I am having a really hard time getting to the bottom of the problem.

Really frustrating since coding isn't the problem but actually distributing the exe ( which shouldn't be this bloody hard ! )
groovyclam
Offline

Junior Member

Posts: 19
Threads: 6
Joined: Jan 2008
#9
2008-02-06, 05:43 PM
As a bonus this widget won't be specific to DigiGuide it will work for anything that can run a DOS command.

The syntax is shaping up to be:

widget <path to gbpvr db file> <total num of gbpvr recording sources in this setup> <recording filename> <channel number> <programme starttime> <programme endtime> <prepad mins> <endpad mins>

The widget will query the existing GBPVR recording schedule and if there is a free recording source available at the time it will set the recording event.

If all GBPVR recording sources are busy for that time then an error will result.
systemshark
Offline

Senior Member

Posts: 566
Threads: 56
Joined: Oct 2005
#10
2008-02-07, 02:43 PM
groovyclam Wrote:I'm extremely familiar with the DigiGuide API and can guarantee that if I can get the writing to the GBPVR SQL database working then everything will "work" rather fantastically.

I've had a root around in sub's gbpvr database and understand the layout of that, and I also happen to be good at SQL so no problems there.

My problem hits when I try to construct this in C++ as I'm a total C++ novice.

I'm trying to do this in Microsoft Visual C++ Express 2008 and am cribbing code from lots of Googled pages.

So far I have my command line inputs accepted OK but thought I'd better do a quick test that I can open the GBPVR database from my C++ widget whilst GBPVR is running. First major problem: when I transfer my widget exe from the development machine to the Home Theatre the widget won't run due to some missing dll's which I could swear are on the Home Theatre.

If anyone is a Visuall C++ Express 2008 wizard please shout as I am having a really hard time getting to the bottom of the problem.

Really frustrating since coding isn't the problem but actually distributing the exe ( which shouldn't be this bloody hard ! )


Right, Fancy a deal.... ... I've getting good at accessing the GBPVR Database, you don't need C++, as I can give you module in C# or Vb.NET which handles the code for GBPVR end of the problem...

My end of the deal.. can you extract ALL the program and channel info from DigiGuide so I can load it into the EPG of GBPVR.
Regards Systemshark
[COLOR="Silver"]
Lounge: HDPC Intel i5, Asus Motherboard with Intel HDMI, 4Gb of Ram, 1Tb Disk, 60Gb SSD, Blackgold BT3595 Tuner, Hauppauge Nova T500 and HVR1700 in a LianLi C39 B Case.

Other Room : Liteon Wireless Media Centre/DVD Player

Software : Windows7 32 Bit, RedRat, XMLTV GUI and NPVR
[/COLOR]
« 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
  Web display of Recordings w/o Pending Recordings turndave 5 1,019 2023-09-13, 10:08 PM
Last Post: turndave
  subtract time from recordings for web client jobby99 0 568 2023-05-28, 09:09 PM
Last Post: jobby99
  Divide Recordings by Channel (and other properties) ChaosMageX 1 729 2023-03-20, 07:35 PM
Last Post: mvallevand
  Scheduled batch Transcode? buntay20 1 807 2022-08-22, 02:24 PM
Last Post: BrettB
  [Kodi] Directory Folders for Recordings Panic 14 3,088 2022-07-28, 03:59 PM
Last Post: mvallevand
  Resume on recordings mvallevand 13 2,926 2022-05-02, 08:04 PM
Last Post: artmetz
  direct bookmarkable URL for Recent Recordings f0945a5662 2 999 2021-11-18, 07:50 PM
Last Post: f0945a5662
  Cancellation of individual pending recordings Petrovski 25 8,520 2021-11-07, 06:49 PM
Last Post: sub
  Feature request (recordings calendar view) ThymeJ 1 2,331 2021-09-19, 04:44 AM
Last Post: sub
  Menu for recent recordings LeGrandZombie 0 838 2021-09-06, 02:02 AM
Last Post: LeGrandZombie

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

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

Linear Mode
Threaded Mode