SageTV Community  

Go Back   SageTV Community > General Discussion > General Discussion
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

General Discussion General discussion about SageTV and related companies, products, and technologies.

View Poll Results: Interested in a full XBMC / SageTV Server PVR integration? How much per license?
No - Not interested 15 16.48%
Yes - Interested willing to pay 1-time $15 license (unlimited nodes) 43 47.25%
Yes - Interested willing to pay 1-time > $15 license (unlimited nodes) 28 30.77%
Yes - Interested willing to pay $5 per node license 5 5.49%
Voters: 91. You may not vote on this poll

Reply
 
Thread Tools Search this Thread Display Modes
  #41  
Old 10-16-2013, 01:34 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Quote:
Originally Posted by LWM4P View Post
I disagree. I think this is a great example of what a robust API should do... it doesn't mean keeping the databases synchronized, but means that the api exposes the information and the ability to manipulate that information. With that, you can have as many systems as you want controlling the stuff. Sounds like the sage api may not expose all that functionality.
I think LWMP4P is right. What's important is that the information being presented to the user in the front-end is correct. How that happens is somewhat irrelevant (from an end-user perspective). I run SageTV's back-end as a service, which means that I can't* interact with it directly. You manage your system from the front-end (client PC or extender). If all the relevant information presented to the user is held in the XBMC database, then there's no reason to update the SageTV database.

For example, if there's a recording conflict, the back-end needs to notify the user via the front-end. How that's presented to the user is up to the front-end. Now, once the user makes their decision, it's up to the front-end to notify the back-end of that choice, so that it can make the correct scheduling adjustments. The result is what's important, not how it happens. No one should be pulling up the back-end and making scheduling changes.

That brings up a potential problem for the initial setup. Assuming everything I said above is how the design is implemented, how does the front-end get the initial info from an existing SageTV setup? Would the expectation be that we set up all our tuners, lineups, and favorites from scratch via the front-end? This is where a design document comes in.

* I know I can launch the GUI, but there's almost** no reason to.
** Unless the client PC won't allow me to update a server plugin for some reason.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #42  
Old 10-16-2013, 03:19 PM
IVB's Avatar
IVB IVB is offline
Sage Icon
 
Join Date: Sep 2003
Location: Oak-town, CA
Posts: 1,083
I also have 1 HD200, 1 HD300 in use, and 1 HD300 as a backup unit. But I also have a separate Bluray player. The multiple sources is a small hassle, but it is a hassle. I'd love to have an occasional gaming unit but not enough to create a 4th input source (Chromecast also in the mix).

I'd also love to have a plan C in case two HDx00's die.

I'd throw $20 into the kitty to ensure I never have to HTPC again. But, I'd gladly pay $100 if it achieved certain objectives. (no idea how xBox works, but if I could have a single GUI for SageTV recordings & liveTV, ripped DVD, ripped BR, netflix, amazon instant video, Hulu and it wasn't as FUGLY as the SageTV GUI for Amazon/Hulu which is all but unusable)
__________________
------------------------------------
My Home Automation YouTube channel
Reply With Quote
  #43  
Old 10-16-2013, 04:11 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
It appears there is some support for timer conflicts in the PVR API:

https://github.com/xbmc/xbmc/pull/1577

The API does not appear to have any real documentation I can find...
Reply With Quote
  #44  
Old 10-16-2013, 04:12 PM
7up 7up is offline
Sage Advanced User
 
Join Date: Mar 2003
Posts: 176
Quote:
Originally Posted by IVB View Post
But, I'd gladly pay $100 if it achieved certain objectives. (no idea how xBox works, but if I could have a single GUI for SageTV recordings & liveTV, ripped DVD, ripped BR, netflix, amazon instant video, Hulu and it wasn't as FUGLY as the SageTV GUI for Amazon/Hulu which is all but unusable)
This is somewhat on the lines of why I became interested in looking at XBMC in the first place. A relatively inexpensive Android based client could run XBMC and still support Netflix, Hulu, Amazon, Slingplayer, etc. without continual workarounds.
Reply With Quote
  #45  
Old 10-16-2013, 04:30 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
API has timer support:

Code:
bool HasTimerSupport(int iClientId);
PVR_ERROR GetTimers(CPVRTimers *timers);
PVR_ERROR AddTimer(const CPVRTimerInfoTag &timer);
PVR_ERROR UpdateTimer(const CPVRTimerInfoTag &timer);
PVR_ERROR DeleteTimer(const CPVRTimerInfoTag &timer, bool bForce);
PVR_ERROR RenameTimer(const CPVRTimerInfoTag &timer, const CStdString &strNewName);
This should be able to support synchronizing the schedules...

Last edited by sflamm; 10-16-2013 at 04:43 PM.
Reply With Quote
  #46  
Old 10-16-2013, 04:57 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Quote:
Originally Posted by 7up View Post
This is somewhat on the lines of why I became interested in looking at XBMC in the first place. A relatively inexpensive Android based client could run XBMC and still support Netflix, Hulu, Amazon, Slingplayer, etc. without continual workarounds.
Careful. The objectives need to be defined before this goes to the developer or you'll wind up with feature creep. Once those objectives are finished and (hopefully) the source code gets released as FOSS, I'm optimistic that others will take up the charge to extend the features even further.

I think the discussions so far have proved beneficial, but I hope many others will join in with concerns and ideas.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #47  
Old 10-16-2013, 05:28 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
Turns out the backend can write the 'tag.state' of a timer which can be in the following states:

Code:
typedef enum
  {
    PVR_TIMER_STATE_NEW          = 0, /*!< @brief a new, unsaved timer */
    PVR_TIMER_STATE_SCHEDULED    = 1, /*!< @brief the timer is scheduled for recording */
    PVR_TIMER_STATE_RECORDING    = 2, /*!< @brief the timer is currently recordings */
    PVR_TIMER_STATE_COMPLETED    = 3, /*!< @brief the recording completed successfully */
    PVR_TIMER_STATE_ABORTED      = 4, /*!< @brief recording started, but was aborted */
    PVR_TIMER_STATE_CANCELLED    = 5, /*!< @brief the timer was scheduled, but was canceled */
    PVR_TIMER_STATE_CONFLICT_OK  = 6, /*!< @brief the scheduled timer conflicts with another one, but will be recorded */
    PVR_TIMER_STATE_CONFLICT_NOK = 7, /*!< @brief the scheduled timer conflicts with another one and won't be recorded */
    PVR_TIMER_STATE_ERROR        = 8  /*!< @brief the timer is scheduled, but can't be recorded for some reason */
  } PVR_TIMER_STATE;

Last edited by sflamm; 10-16-2013 at 05:47 PM.
Reply With Quote
  #48  
Old 10-16-2013, 06:10 PM
LehighBri LehighBri is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 694
Quote:
Originally Posted by sflamm View Post
The API does not appear to have any real documentation I can find...
I couldn't find any documentation either. I think the best bet is to start with the pvr.demo addon and look at what other pvr addons did in implementing the required functions. Official PVR addon source code is here: https://github.com/opdenkamp/xbmc-pv.../master/addons
__________________
Server: Sage 7.1.9 beta; Dell Inspiron 530; Windows 7 Ultimate 32-bit (UAC turned off); 2TB Internal SATA (TV Recordings)
Storage: Synology DiskStation DS411+, RAID 5, 5x 2TB SATA for (DVDs/Music/Other Videos)
Tuners: Ceton InfiniTV w/ Verizon FIOS cablecard (using babgvant's SageDCT plugin)
Clients: 1x STP-HD300; 1x Acer Aspire Revo 3610 (Atom/Ion) w/ SageTV client (Win 7, EVR, FSE on)
Reply With Quote
  #49  
Old 10-16-2013, 06:54 PM
7up 7up is offline
Sage Advanced User
 
Join Date: Mar 2003
Posts: 176
Quote:
Originally Posted by Skirge01 View Post
Careful. The objectives need to be defined before this goes to the developer or you'll wind up with feature creep. Once those objectives are finished and (hopefully) the source code gets released as FOSS, I'm optimistic that others will take up the charge to extend the features even further.

I think the discussions so far have proved beneficial, but I hope many others will join in with concerns and ideas.

I think my comments above were misunderstood. By developing for an Android device, there were be zero need for a developer to concerned about supporting services like Netflix, Hulu, Slingplayer etc. as functional apps for them already exist.
Reply With Quote
  #50  
Old 10-16-2013, 07:27 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
Quote:
the best bet is to start with the pvr.demo addon and look at what other pvr addons did in implementing the required functions
Already been doing that... doesnt change the fact there is no documentation
Reply With Quote
  #51  
Old 10-17-2013, 08:03 AM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Quote:
Originally Posted by 7up View Post
I think my comments above were misunderstood. By developing for an Android device, there were be zero need for a developer to concerned about supporting services like Netflix, Hulu, Slingplayer etc. as functional apps for them already exist.
You're right. It was a reading comprehension issue on my end. While my point is still relevant, I shouldn't have quote you in making it. Sorry about that.
__________________
Server: XP, SuperMicro X9SAE-V, i7 3770T, Thermalright Archon SB-E, 32GB Corsair DDR3, 2 x IBM M1015, Corsair HX1000W PSU, CoolerMaster CM Storm Stryker case
Storage: 2 x Addonics 5-in-3 3.5" bays, 1 x Addonics 4-in-1 2.5" bay, 24TB
Client: Windows 7 64-bit, Foxconn G9657MA-8EKRS2H, Core2Duo E6600, Zalman CNPS7500, 2GB Corsair, 320GB, HIS ATI 4650, Antec Fusion
Tuners: 2 x HD-PVR (HTTP tuning), 2 x HDHR, USB-UIRT
Software: SageTV 7
Reply With Quote
  #52  
Old 10-17-2013, 08:35 AM
7up 7up is offline
Sage Advanced User
 
Join Date: Mar 2003
Posts: 176
No problem. Your comments and suggestions in this thread are most appreciated.
Reply With Quote
  #53  
Old 10-19-2013, 01:11 PM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
If we could get the basic functionality of simply viewing live TV and watching what has already been recorded that would be a great first step.

If we start there and work in everything else that would make people very happy.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #54  
Old 10-20-2013, 05:53 AM
emveepee emveepee is offline
Sage Aficionado
 
Join Date: Nov 2006
Posts: 417
Quote:
Originally Posted by sflamm View Post
Already been doing that... doesnt change the fact there is no documentation
The API is lightly document but not too hard to figure out based simply on the function name name. Remember that you define the meet of how the function gets its return data. Based on what I saw when I wrote the SageTV->NextPVR conversion utility I think the SageTV had it all, except maybe dumping of EPG data in xml or json and LiveTV which the bulk of XBMC users want. Given that this is a product for a small base of existing SageTV users only even the XBMC users requirements won't matter.

Martin
Reply With Quote
  #55  
Old 10-21-2013, 05:13 PM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
Quote:
Given that this is a product for a small base of existing SageTV users only even the XBMC users requirements won't matter.
Is this an assumption...

Does anyone know approximately how many SageTV users there are?
Reply With Quote
  #56  
Old 10-22-2013, 01:18 AM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Quote:
Originally Posted by sflamm View Post
Is this an assumption...

Does anyone know approximately how many SageTV users there are?
Only way I can think is to see how many different IP's grab EPG data per day. Even that wouldn't be accurate.

I think there are more than we realize. This would be something that a few people would find very useful. I've got plenty of client PC's, but I'd love to see how a tiny android xbmc client would work. More toys to play with.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #57  
Old 10-22-2013, 04:14 AM
brewston brewston is offline
Sage Expert
 
Join Date: Apr 2006
Location: Surrey
Posts: 719
Quote:
Originally Posted by panteragstk View Post
Only way I can think is to see how many different IP's grab EPG data per day. Even that wouldn't be accurate.
People outside US don't use the EPG server. Don't know how many of us there are in Europe
__________________
Tecra M5, 2 x HD200, 2 x HD300
2 x PCTV 290e
Win 7, Sage 7.1.9, Phoenix 2 STV
Stephane's XMLTV Importer, Digiguide,
Reply With Quote
  #58  
Old 10-22-2013, 09:02 AM
sflamm sflamm is offline
Sage Icon
 
Join Date: Mar 2009
Posts: 1,653
Quote:
Only way I can think is to see how many different IP's grab EPG data per day. Even that wouldn't be accurate.
I think the best way would be to measure how many people take an update to the standard STV.

I am suspecting we are talking 1000s for sure - not 100s.

A large number is good motivation for a continued strong development community. It would be great if someone could get a ballpark that was 80:20 correct.
Reply With Quote
  #59  
Old 10-22-2013, 09:07 AM
Evil_Attorney's Avatar
Evil_Attorney Evil_Attorney is offline
Sage Expert
 
Join Date: Sep 2004
Posts: 632
I would think you could get a rough idea of active users based on the number of people that visit this forum. According to the front page: Members: 17,440, Active Members: 501

I suspect that only the active users would even find out about an XBMC plugin, which puts my guess at between about 100-200 users who would be interested and likely buy a license.
Reply With Quote
  #60  
Old 10-22-2013, 02:26 PM
emveepee emveepee is offline
Sage Aficionado
 
Join Date: Nov 2006
Posts: 417
Quote:
Originally Posted by sflamm View Post
Is this an assumption...
My assumption was based on the fact that XBMC is limited as a PVR frontend so I figure many SageTV won't bother replacing a working client to get less functionality.

If XBMC is good enough then why not just go with WMC or any of the other backends and get as much or more then SageTV offers without basing the system on an obsolete product.

Martin
Reply With Quote
Reply

Tags
xbmc plugin pvr


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

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
Plugin for XBMC? oldmike60 SageTV Software 1 11-27-2012 07:46 AM
XBMC SageTv Plugin mikwilli SageTV Customizations 95 04-30-2010 12:50 PM
XBMC plugin for SageTV jhh SageTV Customizations 45 04-19-2009 01:16 PM
SageTV vs. XBMC MediaStream UI? SørenBM SageMC Custom Interface 2 03-07-2009 02:29 PM
Hulu: Possible to Use XBMC Hulu Plugin to create SageTV Plugin? Brent SageTV Customizations 8 02-24-2009 04:16 PM


All times are GMT -6. The time now is 06:05 AM.


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