SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #41  
Old 08-13-2015, 04:41 AM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by Damstas View Post

Card server and Phoenix card reader support or card support in general (!!!!)
What is a Phoenix card? Why would we want it for Sage?

From a quick web search, it appears to be some sort of smart card... is this used for decrypting premium content in some parts of the world (sort of like cable card in the US)?
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #42  
Old 08-13-2015, 05:33 AM
Damstas Damstas is offline
Sage User
 
Join Date: Mar 2015
Location: Helsinki, Finland
Posts: 39
Quote:
Originally Posted by Tiki View Post
What is a Phoenix card? Why would we want it for Sage?

From a quick web search, it appears to be some sort of smart card... is this used for decrypting premium content in some parts of the world (sort of like cable card in the US)?
In short, yes. It's supported in NextPVR and TVHeadend etc. Multidec seems to be the correct term: http://www.nextpvr.com/nwiki/pmwiki....DialogMultidec
Reply With Quote
  #43  
Old 08-13-2015, 06:12 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by Damstas View Post
Could these features be added to the core:

In addition to Schedules Direct, TheTVDB and TMDB search. The engine would need to be programmed to bypass the Nordic EPG age restriction, which are at the end of the show name: (7), (12), (16), (18), (R), (S) and (T). This feature is already in NextPVR.
Movies have "Elokuva:" in front of them, atleast in Finland.
Most of that (other than Schedules Direct) seems like the perfect thing for a plugin, actually it already is, BMT.
Reply With Quote
  #44  
Old 08-14-2015, 11:46 AM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by stanger89 View Post
The thing to remember though, is there's two issues here, and they are not the same:

1) The SageTV architecture, what components/features should be "plugins" and what parts should be built in.
2) The "SageTV" package, what should be included and automatically installed/configured when you run the installer.
Agree completely. This gets everyone (mostly) what they want. The core stays small, focused, and stable. The common functionality is installed by default (as plugins).

This also allows those common plugins to be updated without needing to upgrade the entire install, which could prevent downtime. [which was mentioned before as well]
Reply With Quote
  #45  
Old 08-14-2015, 11:51 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by skiingwiz View Post
This also allows those common plugins to be updated without needing to upgrade the entire install, which could prevent downtime. [which was mentioned before as well]
But it would be great if the system allowed plugins to be fully upgraded without requiring a restart of the service - if I recall correctly a great deal of plugins require you to restart the service which is an annoyance - just like Windows application upgrades requiring a reboot.
__________________
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
  #46  
Old 08-14-2015, 11:59 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Some of those are simply due to how the plugin is written, and can sometimes be avoided without any changes to sage's architecture.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #47  
Old 08-14-2015, 12:14 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Fuzzy View Post
Some of those are simply due to how the plugin is written, and can sometimes be avoided without any changes to sage's architecture.
I don't think so. Unless a base architecture loads classes into separate classloader from the kernel (ie, Sage in this case), then you cannot "unload" a plugin that has any .class files.

In Java App Servers use a separate ClassLoader to load each web app, and basically when you reload the web app, java will clean up the best it can, and then create a new ClassLoader and reload the class files into that classloader. This process typically results in a small memory leak over time, since Java will never release the loaded Class data (it will release the instance data).

Fundamentally this solution involves using ClassLoaders to load plugins (which is what all major plugins system use, in Java), and I don't think SageTV does this.
Reply With Quote
  #48  
Old 08-14-2015, 12:25 PM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 6,349
Quote:
Originally Posted by stuckless View Post
Fundamentally this solution involves using ClassLoaders to load plugins (which is what all major plugins system use, in Java), and I don't think SageTV does this.
I considered doing ClassLoaders for awhile...but then we'd run into potential problems where a plugin class was not fully isolated...so even killing and unloading the plugin wouldn't fully unload its classes and there wasn't a good way to detect that which I was aware of. There's too much interaction between plugins and the core...there's not the kind of isolation you see when running WebApps.
__________________
Jeffrey Kardatzke
Google
Founder of SageTV
Reply With Quote
  #49  
Old 08-14-2015, 01:19 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by Narflex View Post
I considered doing ClassLoaders for awhile...but then we'd run into potential problems where a plugin class was not fully isolated...so even killing and unloading the plugin wouldn't fully unload its classes and there wasn't a good way to detect that which I was aware of. There's too much interaction between plugins and the core...there's not the kind of isolation you see when running WebApps.
I agree, it's a complicated mess, with the only advantage being able to load/unload plugins without restarting. At the very least, if ALL plugins were in a separate loader, you could unload/reload all plugins without restarting the kernel. Java 9 is support to help with this, and osgi already does this, but sadly osgi is overkill for something this simple.

In theory it doesn't really matter how much of the core the plugin uses... since calling shutdown() on the plugin in one classloader should effectively unlink it from core... and then the new classloader would call start() and it will rebind to the core. (in theory, of course )
Reply With Quote
Reply


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
dual core or quad core AMD processors tvmaster2 Hardware Support 4 10-30-2014 11:44 PM
To get a faster dual-core or slower quad-core? That is the question... robogeek Hardware Support 33 03-09-2009 08:33 PM
ERROR (-10)... Only with Quad core, not Dual core? jerryt Hardware Support 2 04-03-2008 07:13 PM
quad core vs dual core garyellis Hardware Support 16 03-13-2008 10:36 PM


All times are GMT -6. The time now is 05:49 PM.


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