SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 04-22-2019, 08:40 PM
brent76's Avatar
brent76 brent76 is offline
New Member
 
Join Date: Apr 2019
Location: La Crosse, WI
Posts: 4
Here's what I came up with, in case it helps anyone out. The batch file takes the channel number sent to it from Sage/ExeMultiTuner, then looks for a match in the csv file. Then it calls a program that I wrote (ptune.exe) to do the actual tuning. The csv file was written for the $16 program package, but can be easily modified to work with the $20 package.

Ptune.exe can also be called as a scheduled task in order to stop Philo when Sage is no longer using it. I have it scheduled to run every 5 minutes. If Philo is in use, it does nothing. If SageTV isn't using Philo it sends the "home" command to the Roku. It requires SageX in order to be able to check the recording status in Sage.
Attached Files
File Type: zip ptune.zip (237.3 KB, 161 views)
Reply With Quote
  #22  
Old 04-23-2019, 03:35 PM
SHS's Avatar
SHS SHS is offline
Moderator
 
Join Date: Mar 2003
Location: Vinita, Oklahoma
Posts: 4,586
Quote:
Originally Posted by brent76 View Post
Here's what I came up with, in case it helps anyone out. The batch file takes the channel number sent to it from Sage/ExeMultiTuner, then looks for a match in the csv file. Then it calls a program that I wrote (ptune.exe) to do the actual tuning. The csv file was written for the $16 program package, but can be easily modified to work with the $20 package.

Ptune.exe can also be called as a scheduled task in order to stop Philo when Sage is no longer using it. I have it scheduled to run every 5 minutes. If Philo is in use, it does nothing. If SageTV isn't using Philo it sends the "home" command to the Roku. It requires SageX in order to be able to check the recording status in Sage.
Just so you know Brent Philo doing away with $16 package
Reply With Quote
  #23  
Old 04-23-2019, 08:08 PM
brent76's Avatar
brent76 brent76 is offline
New Member
 
Join Date: Apr 2019
Location: La Crosse, WI
Posts: 4
Quote:
Originally Posted by SHS View Post
Just so you know Brent Philo doing away with $16 package
I received an email from them. People that are on the $16 package can keep it if they want, but starting May 6th, the $20 package is all that they'll offer to new customers.

I'd post a csv file for the $20 package if I knew for sure what all of the channels were and what order they are in the Philo guide.

Fortunately the csv file is easy to edit. The first column is just a label. The batch file doesn't use it, but having it there makes it easier to keep track of things. The second column is the channel number from the program guide in Sage. The third column is the position in the Philo guide. It's sequential starting with the number 1.

One gotcha is when Philo changes their channel lineup. When they do, it throws off the channel order causing the wrong channels to be tuned. Not hard to fix, but a bit of a pain, none the less.
Reply With Quote
  #24  
Old 04-27-2019, 06:08 AM
SHS's Avatar
SHS SHS is offline
Moderator
 
Join Date: Mar 2003
Location: Vinita, Oklahoma
Posts: 4,586
Quote:
Originally Posted by brent76 View Post
I received an email from them. People that are on the $16 package can keep it if they want, but starting May 6th, the $20 package is all that they'll offer to new customers.

I'd post a csv file for the $20 package if I knew for sure what all of the channels were and what order they are in the Philo guide.

Fortunately the csv file is easy to edit. The first column is just a label. The batch file doesn't use it, but having it there makes it easier to keep track of things. The second column is the channel number from the program guide in Sage. The third column is the position in the Philo guide. It's sequential starting with the number 1.

One gotcha is when Philo changes their channel lineup. When they do, it throws off the channel order causing the wrong channels to be tuned. Not hard to fix, but a bit of a pain, none the less.
I heard that all user even the one's on $16 package have move to $20
Any way nice work
Reply With Quote
  #25  
Old 02-15-2022, 09:14 PM
mgpaulus mgpaulus is offline
Sage Advanced User
 
Join Date: Mar 2011
Location: Colorado Springs, CO
Posts: 179
@brent76: I know I'm reviving an old thread, but I'm interested in doing this for some channels that I can get either through Philo or FrndlyTV. But, I have a question about one thing you mentioned: "I'm using the Philo lineup from Schedules Direct."

My question is, how/where are you getting that channel lineup? I'm not seeing anything on SD that allows me to subscribe to the Philo lineup, so I'm guessing I'm missing some crucial piece of information, or some important step. Would you care to share how you subscribed to the Philo lineup?

Thanks,

Mark
Reply With Quote
  #26  
Old 02-15-2022, 09:29 PM
will will is offline
Sage Fanatic
 
Join Date: Jul 2009
Location: New York
Posts: 798
Quote:
Originally Posted by mgpaulus View Post
My question is, how/where are you getting that channel lineup? I'm not seeing anything on SD that allows me to subscribe to the Philo lineup, so I'm guessing I'm missing some crucial piece of information, or some important step. Would you care to share how you subscribed to the Philo lineup?
Hello Mark,

I haven’t used SageTV to record from Philo in a few years but what I used to do is map a cable guide to Philo. Back when I set this up in 2019, you wouldn’t find streaming services in SD so I would select a random service, such as Comcast in NYC.

In my batch script, which controlled the Roku hooked up to a HD-PVR, it would recognize the channel input passed through, e.g., channel 110, as AMC, then send the correct keyboard presses via the web API interface to the Roku to tune Philo to the live broadcast of AMC.

It sounds much more complex than it really is. In an earlier post in this thread I linked to another post with the batch script and instructions.

Good luck in getting this setup.
__________________
Will

OS: Windows 7
Hardware: Intel Core i7-920 with 12GB RAM & an Adaptec 5805 with a Chenbro 36-port SAS Expander
Case: Antec 1200 with 4 iStarUSA trayless hot-swap cages (20 drives max)
Drives: 8 Toshiba/Hitachi 2TB drives in a RAID 6 & 7 Toshiba 3TB drives in a RAID 6
Capture Cards: HDHomeRun Connect Quatro 4, Hauppauge 60 HD-PVR
Players: 5 HD300s, 2 HD200s
Reply With Quote
  #27  
Old 02-23-2022, 08:58 PM
mgpaulus mgpaulus is offline
Sage Advanced User
 
Join Date: Mar 2011
Location: Colorado Springs, CO
Posts: 179
Quote:
Originally Posted by brent76 View Post
Here's what I came up with, in case it helps anyone out. The batch file takes the channel number sent to it from Sage/ExeMultiTuner, then looks for a match in the csv file. Then it calls a program that I wrote (ptune.exe) to do the actual tuning. The csv file was written for the $16 program package, but can be easily modified to work with the $20 package.

Ptune.exe can also be called as a scheduled task in order to stop Philo when Sage is no longer using it. I have it scheduled to run every 5 minutes. If Philo is in use, it does nothing. If SageTV isn't using Philo it sends the "home" command to the Roku. It requires SageX in order to be able to check the recording status in Sage.
Hello @brent76,

I'm wondering if you can give me a couple of pointers on how to build your ptune.exe from the source code? Do you have a make file, or can you give me your command line invocation of the fpc compiler?

I do C/C++/Java development, so I'm familiar with the concepts, but I'm not at all familiar with this compiler, and I haven't looked at Pascal since college (Yeah, that was back in the dark ages, when dirt was still clean). I can probably figure out the syntax of the language enough to get done what I need to do, but any pointers on the actual build steps would be greatly appreciated.

Thanks,

PS: I'm trying to use this with FrndlyTV, and FrndlyTV goes directly into the program guide, so the UP; RIGHT initial keystrokes takes me to the "On Demand" menu, which is not where I want to be. I need to comment those lines out and recompile to see if it will behave as expected.)
Reply With Quote
  #28  
Old 02-23-2022, 09:05 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,400
Love the Pascal reference! I learned Pascal in Comp Sci, but my major was Elec Eng and we used Fortran 77 or Machine/Assembly on Motorola 6800 and similar CPUs.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #29  
Old 02-26-2022, 07:48 PM
mgpaulus mgpaulus is offline
Sage Advanced User
 
Join Date: Mar 2011
Location: Colorado Springs, CO
Posts: 179
Just as a follow up:

The ptune app provided above does not work for the FrndlyTV channel. I haven't looked at the Philo TV app yet, maybe I will sometime and compare how they behave. But, for now, I have forked ptune.pas and created a frtune.pas, with its own frtune.csv. If I feel I have it solid enough sometime, I may post it as derivative of ptune.

Also, I have found that most of the channels (Not all, sad to say) appear to be in my local version of the Dish Network, so I have created a copy of DISH in my SchedulesDirect area with only the channels that FrndlyTV offers enabled.
I had to do this b/c my XFinity lineup doesn't cover very many of the FrndlyTV channels.


My last step is to put this all together, by creating a new tuner in Sagetv pointing to the batch file (that I modified to use frtune instead of ptune), and hooking in the DISH listings and then see if I can actually make it all work. But, it's dinner time, so that's a task for another day.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Streaming Services (e.g. Netflix, Hulu, Amazon Prime, etc.) NetworkGuy SageTV Github Development 18 01-25-2018 06:34 PM
Streaming Services (Netflix, Hulu, Amazon Prime, etc.) NetworkGuy SageTV v7 Customizations 6 08-30-2016 04:21 PM
Plugin: PlayOn in Online Services (Hulu, Netflix, Amazon VOD, etc.) evilpenguin SageTV Customizations 1513 06-07-2010 02:12 PM
TVersity Pro adds Hulu streaming (not working on HD200 yet) evilpenguin General Discussion 17 10-14-2009 01:58 PM
Support for Hulu.com and other TV streaming sources? Destro SageTV Software 106 07-26-2009 04:14 PM


All times are GMT -6. The time now is 01:26 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.