NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 3 4 5 6 7 93 Next »
TitanTv Remote Schedule For GBPVR

 
  • 0 Vote(s) - 0 Average
TitanTv Remote Schedule For GBPVR
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,621
Threads: 258
Joined: Feb 2005
#1
2007-07-06, 06:25 AM (This post was last modified: 2008-12-31, 03:04 AM by UncleJohnsBand.)
I pulled together the following which allows registered TitanTv users to schedule a program on TitanTv.com and have GBPVR record the show.

UPDATED: 2007-07-09
  • Added trap for Web Service exception when TitanTv Web Service is down so that the service does not crash.
  • Moved GBPVR Schedule Generation Code into its own library for ease of maintenance.
  • If you have installed before you do not need to overlay your config file....no changes there.
The attached is a service that runs in the background and monitors TitanTv.com for your remote schedule requests.

Consider this a beta.

You will need to enter a PartnerId in the config for this service to work. The PartnerId is the id assigned by Titan to the vendor of your capture card. I do not have a list of these numbers but I have heard they are in postings and available via Google.

You can set how often the service polls for new schedules as well as the recoding quality that should be used and pre/post padding.

Let me know what you think.

Instructions: (Also in text file in the archive)
1. Go to www.titanTv.com and create a user account for your desired tv listings.

*Make sure to go into your Account Profile option PVR/Tuner Device Preferences.
*Set the setting for Remote Scheduleing Settings. If you do not do this then you will not see the option to schedule on TitanTv.
*Remember your userid and password.

2. Unzip all the files from this archive into a temporary directory of your choosing.


3. Copy the following files into your GBPVR Folder:

TitanTvInterface.dll
TitanTvInterface.pdb
GBPVRSchedule.dll
GBPVRSchedule.pdb
TitanRemoteSchedle.exe
TitanRemoteSchedule.exe.config
TitanTvRemoteSchedule.pdb

4. Edit the RegTitanService and RemoveTitanService batch files so that the variables are set correctly.

First variable should be your GBPVR path (this is only in the regtitanservice batch file)
Second variable should be the name you want your service to appear as in the Service dialog (this is in both batch files)

5. Setup the TitanTvRemoteSchedule.exe.config file.

*The default GBPVR database type is SQLite so you probably do not need to change this setting....only if you are still using Access.
*Set whether or not you want to log to the Event log. (default is true)
*Set how often you want to check for remote schedules on TitanTv.com. (default every 1 minute)
*Set the Partner information for using the service. You only need to enter the PartnerId. This is the id assigned to the vendor of your Capture device.
*Set your account info from TitanTv.com. Just your userid and password need to be set. The UUID will automatically get populated for you.
*Set the post/pre padding. (default is 0)
*Set the recording quality. (default is high)

6. Run the batch file regtitantvservice. You should see a message indicating that it was sucessfully registerd.

7. Start the Services dialog (start/control panel/adminstrtive tools/services). Scroll until you see the service name that you had in the
batch file. Right click on it and start the service.

8. You are done.

Now when you schedule a recording on TitanTv you will get a Manual Recording set in GBPVR.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#2
2007-07-06, 06:54 AM
Very cool idea. Kudos. If anyone wants to tackle it, a TitanTV plugin for GB-PVR (basically just a web browser) would make this a great solution.
David
Offline

Senior Member

Posts: 435
Threads: 18
Joined: Oct 2005
#3
2007-07-06, 02:30 PM
UJB,

Are there any conflicts between this and GB-PVR's built in EPG? What happens if Titan had different program info than the EPG?
David

PVR PC: Win2K3, Athlon x2 64 4600+, 1280MB Ram, 40+400 GB HD's, Gigabyte Network
PVR-250, ATSC-110 digital x2, GBPVR v1.3.7 w/SQLite DB
Extras: Addepisode 41, Comskip 79.46, EWA 76, Zaptools

DSM-520 (D-Link Media Lounge) FW 1.04 using TVersity Media Server 0.9.11.4
DSM-320 (D-Link Media Lounge) FW 1.09
MediaMVP

More specs
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,621
Threads: 258
Joined: Feb 2005
#4
2007-07-06, 02:35 PM (This post was last modified: 2007-07-06, 02:58 PM by UncleJohnsBand.)
David Wrote:UJB,

Are there any conflicts between this and GB-PVR's built in EPG? What happens if Titan had different program info than the EPG?

The service creates a manual recoding from what is passed from TitanTv.

TitanTv passes back the name of the show, start and end date/time and tv channel it is running on.

The service takes this info and creates the manual entry using the GBPVR API.

So basically GBPVR will record whatever is on that channel at that time.

Any scheduling conflicts would be handled just like any other conflict (GBPVR handles this). If the programme does not schedule in GBPVR there is an error message placed in the Event log as well as the service log in the \logs directory in GBPVR.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#5
2007-07-06, 03:49 PM
Can't you poll all listings for the time period that the recording is set for and then find the channel and then tell GBPVR to record that programme? That way it wouldn't have to be a manual recording.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#6
2007-07-06, 04:10 PM
pastro Wrote:Can't you poll all listings for the time period that the recording is set for and then find the channel and then tell GBPVR to record that programme? That way it wouldn't have to be a manual recording.

I think he did it this way as a solution for the guide info going away. Using manual recordings, you don't have to worry about running any grabbers. You would essentially use the TitanTV website for your guide. This solution will probably outlive all the others.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,621
Threads: 258
Joined: Feb 2005
#7
2007-07-06, 05:00 PM
pastro Wrote:Can't you poll all listings for the time period that the recording is set for and then find the channel and then tell GBPVR to record that programme? That way it wouldn't have to be a manual recording.

whurlston Wrote:I think he did it this way as a solution for the guide info going away. Using manual recordings, you don't have to worry about running any grabbers. You would essentially use the TitanTV website for your guide. This solution will probably outlive all the others.

Correct....this is a separate add-on solution.....for people that don't use EWA and want the ability to schedule a program on their PVR no matter where they are this will work fine.

Also....if all the guide data in GBPVR went away you still have the ability to schedule shows on GBPVR.....although not in as robust a manner as having the integrated GBPVR Guide.

As a note......I am working on a separate TitanTv solution that will also utilize the TitanTvInterface library included in this release. The TitanTvInterface library is modeled after the ZapUtilities library that I have been maintaining and will provide the same functionality that ZapUtilities provides today.....the interface library, a SQLite database that holds downloaded guide data and an import program that allows you to download the listings from TitanTv, an XMLTv export for GBPVR and EWA support for extended attributes that GBPVR does not carry such as the Repeat and HD indicators.

However, just like the other TitanTv solutions there is the UUID (not the personal UUID used by this solution...the Vendor UUID that the SOAP Web Service utility uses) issue that needs to be resolved.....I am sure that the few UUID's that are floating around will be blocked at some point which will shut down the ability to get the raw data.

So I am biding my time and letting the other alternatives flush out since I may have to regroup and interface into one of those solutions.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
zed
Offline

Senior Member

Arizona, USA
Posts: 660
Threads: 82
Joined: Sep 2004
#8
2007-07-08, 10:07 PM
I finally found time to install this. I followed the instructions and it looks OK...the service starts and the event viewer shows it polling but when I click on the schedule icon in a program in the TitanTV grid, it downloads a program.tvpi file and Firefox asks what to do with it. The file has the info to schedule the program. Should the service grab the file & process it? Did I miss something in the config? Or am I on the wrong track completely?
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,621
Threads: 258
Joined: Feb 2005
#9
2007-07-08, 10:59 PM
zed Wrote:I finally found time to install this. I followed the instructions and it looks OK...the service starts and the event viewer shows it polling but when I click on the schedule icon in a program in the TitanTV grid, it downloads a program.tvpi file and Firefox asks what to do with it. The file has the info to schedule the program. Should the service grab the file & process it? Did I miss something in the config? Or am I on the wrong track completely?

Yep.....you must not have configured the remote scheduling capabiliy in your TitanTv online account.

Login to TitanTv
Select Account
Select Edit PVR Tunner Devices
Set the last item (remote scheduling settings) to your tunner card.....

Now when you are in the guide and click on the show (not the little red dot....the show itself) to bring up the details about the show you should see a button called Remote Schedule......just click on it.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
zed
Offline

Senior Member

Arizona, USA
Posts: 660
Threads: 82
Joined: Sep 2004
#10
2007-07-09, 12:18 AM
OK, it seems to work now. I had it set up correctly but I was clicking on the red dot, not on the show itself. Doh! Thanks...

BTW...I was thinking of a similar interface except that it would grab the tvpi file that Titan sends (when you click on the red dot Smile ) and schedule a recording. Would you mind sharing your code so I could see how the scheduling should be done? PM me if you'd prefer.

Frankly, for me, this type of interface would probably be all I'd need. I don't have a problem using Titan's web page to select shows from. Then there's no need to download a lot of data. There also would probably be less likelihood of problems using a 'borrowed' UUID, etc.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Seeking explanation for recurring schedule fields timeslotStart and timeeslotEnd scJohn 4 1,355 2020-07-14, 10:13 PM
Last Post: scJohn
  Remote control example code? drmargarit 4 2,930 2018-04-21, 11:24 PM
Last Post: drmargarit
  API help - remote control greg in kansas 0 2,245 2016-07-04, 03:54 PM
Last Post: greg in kansas
  Remote client logout timeout. mvallevand 2 2,033 2014-10-28, 12:55 AM
Last Post: mvallevand
  Roku channel for NPVR with Search & Schedule ioan 12 10,267 2013-03-31, 01:34 AM
Last Post: btpoole
  Schedule a recording ioan 13 4,844 2013-03-31, 01:23 AM
Last Post: btpoole
  Roku & GBPVR pvruser 16 9,862 2011-10-16, 08:31 PM
Last Post: pvruser
  (Yet Another) Rename Helper script for GBPVR & NPVR pvruser 2 2,199 2011-07-22, 01:27 AM
Last Post: pvruser
  need win7 user with hip and/or mce remote pBS 5 3,988 2010-02-08, 07:48 AM
Last Post: tm12
  Remote Mapping of MCE Remote mvallevand 17 5,598 2010-01-10, 04:52 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode