SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development

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
  #21  
Old 03-05-2016, 01:17 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,373
I do something similar in SJQ. Every day at midnight I send an email with the shows that are to be recorded on that day and I include hyperlinks so that I can quickly access info if I need.

Is Jetty still the best platform to be using as a webserver for the Sage Web UI?
__________________
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
  #22  
Old 03-05-2016, 02:17 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,656
Quote:
Originally Posted by KryptoNyte View Post
2) It would be slick if there was some of access to tuner settings or detailed monitoring of the Sage tuners, which I believe EnterNoEscape (ENE) is already working on for his own tuner web interface. Is there any way ENE's tuner status could be integrated into this project instead of a separate entity?
I in fact would prefer to build the OpenDCT web interface as a plugin for the new web interface instead of standalone. What I think could be done is we can have a general capture device configuration built into the new web interface; not too different from what can be done with a placeshifter or client. Then the OpenDCT plugin just adds features to it.

I do not however want OpenDCT itself to be a plugin until SageTV is 64-bit on all platforms.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #23  
Old 03-05-2016, 02:43 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,711
Quote:
Originally Posted by EnterNoEscape View Post
Since the Sagex API is currently made available via the old Jetty webserver, will that remain as it is? I'm just concerned that the old Jetty will not like coexisting with the latest Jetty. I'm a huge fan of this interface for scripting things outside of SageTV.
Sagex API will still exist.. although it might be under a different URL. Sagex API (ie, the rest services) will be core to the new server, so, it won't be going away.

Quote:
Originally Posted by wayner View Post
Is Jetty still the best platform to be using as a webserver for the Sage Web UI?
I'm not actually looking at using Jetty, going forward. I could spend the time to get a new Jetty working, but, not sure, yet if I'm going that route. I'm not sure I need/want to have a full blown java/jsp/servlet engine running. Jetty has gotten pretty big over the years, and really what I need is the ability to serve up static content, execute server services, ssl, cors, and websockets. I can get all that from something like, https://github.com/NanoHttpd/nanohttpd (which I'm currently playing with)

Quote:
For example, the current web interface can go directly to an airing via /sage/DetailedInfo?AiringId=<airing_id>?
I think stuff like that should still work (URL would be different, of course).

Quote:
Originally Posted by EnterNoEscape View Post
I in fact would prefer to build the OpenDCT web interface as a plugin for the new web interface instead of standalone. What I think could be done is we can have a general capture device configuration built into the new web interface; not too different from what can be done with a placeshifter or client. Then the OpenDCT plugin just adds features to it.
To be honest, I think the new server will be primarily static pages and javascript (rest api calls), so, if what you are building can be served up like that, then it should work. That being said, I'm not using Jetty, so, if it's built around servlets/jsp, then it'll need to run in a jetty container.

I'm trying to keep this fairly lightweight... at the moment, there is nothing...except me playing around with a few ideas
Reply With Quote
  #24  
Old 03-05-2016, 03:16 PM
jm9843 jm9843 is offline
Sage Aficionado
 
Join Date: Oct 2003
Posts: 288
Quote:
Originally Posted by stuckless View Post
really what I need is the ability to serve up static content, execute server services, ssl, cors, and websockets.
Have you considered Node.js?
Reply With Quote
  #25  
Old 03-05-2016, 03:39 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,798
I use the WEBUI to recreate the wiz.bin file on occasion or when it gets corrupted by getting the XML of the recordings and favorites and backing them up daily. So it is critical that I would be able to generate recordings.xml and favorites.xml
__________________
Windows 10 I3 Dual Core 3.0 Server, SageTV9... OpenDCT with 2 HDHRPrimes and 4 HDHRconnects for a total of 14 Tuners.
Reply With Quote
  #26  
Old 03-05-2016, 05:20 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,656
Quote:
Originally Posted by stuckless View Post
To be honest, I think the new server will be primarily static pages and javascript (rest api calls), so, if what you are building can be served up like that, then it should work. That being said, I'm not using Jetty, so, if it's built around servlets/jsp, then it'll need to run in a jetty container.

I'm trying to keep this fairly lightweight... at the moment, there is nothing...except me playing around with a few ideas
I don't think that will be a problem. The interface that I was working on is static HTML, JavaScript and REST calls.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #27  
Old 03-05-2016, 06:05 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Quote:
Originally Posted by EnterNoEscape View Post
Also I use SJQ to run a task every day at 1am to send an email myself and my wife with all of the shows premiering that day. I modified the script so that if an HD channel is available, it uses the HD channel and it also turns the show title into a link so I can just click on the link and it takes me directly the airing the email is referring to. I figure I could leverage push bullet to get the same result, but where I'm really going with this is, can we make sure that a specific airing/mediafile details page can be opened directly via a URL parameter. For example, the current web interface can go directly to an airing via /sage/DetailedInfo?AiringId=<airing_id>?
What did you add to the script to get the hyperlink? Can you click the link then an Add as Favorite or Record button?
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #28  
Old 03-05-2016, 06:22 PM
troycheek's Avatar
troycheek troycheek is offline
Sage Advanced User
 
Join Date: Feb 2008
Posts: 148
Currently using Web UI:
  • Refresh SageTV
  • Search for airing/recording details based on file name
  • Determine channel number/name of said recording
  • Determine encoder
  • Determine category/subcategory/genre

Possible future use for Web UI:
  • Current/Upcoming recordings
  • Actor/crew
  • Force EPG Update
Reply With Quote
  #29  
Old 03-05-2016, 06:49 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,656
Quote:
Originally Posted by KarylFStein View Post
What did you add to the script to get the hyperlink? Can you click the link then an Add as Favorite or Record button?
I get the airing id, then create a URL that points to my external domain name. The link takes me directly to the same page you would get if you were browsing the guide on the web interface and opened an airing. ...and I had to change this to messagemimetype: "text/html" or the email would still only be text.

Yes.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG

Last edited by EnterNoEscape; 03-05-2016 at 06:52 PM.
Reply With Quote
  #30  
Old 03-06-2016, 08:21 AM
ThePaladinTech's Avatar
ThePaladinTech ThePaladinTech is offline
Sage Aficionado
 
Join Date: Oct 2007
Location: South Lyon, MI
Posts: 452
OK so my wish list and uses for SageTV web UI are:
  • view recording schedule
  • view sage messages
  • add / modify favorites

I'd imagine I will use it to work with metadata as well. I have little interest in watching anything via the webclient.

as I mentioned over in the v7 thread I'd really love a couple enhancements - I use Ceton My Media Center and it has a "premieres" tab ... I use this OFTEN to discover new shows to record. and it would be great if the add new favorite had a little more intelligence. It should follow my favorite settings by default. Also when you want to restrict a show to record on only certain channels it should be able to present you with the stations the show is on, rather than me scrolling through every channel I have. I've grabbed some screen shots of the ceton app and I'll post them.

Edit: you can see them here: http://1drv.ms/21f38Vr

Premieres is the missing feature I'd most like
__________________
(current) SageServer: SageTV Open Source V9 - Virtual Ubuntu on Win10 HyperV MSI 970A-G46, AMD FX-8370 , SD Prime via OpenDCT, Donater ComSkip
Clients: HD-200, Nexus Player w/ Android miniclient
Storage: "nas" 16 drive Win10 w/ DrivePool running Plex, Emby, & SD PVR
Retired - Hava, MediaMVP, HD-100, HD-PVR, HVR-2250, Ceton InfiniTV4, Original (white) HDHomeRun Died - HD-100, HD-300

Last edited by ThePaladinTech; 03-06-2016 at 08:50 AM. Reason: adding zip off screen grabs
Reply With Quote
  #31  
Old 03-07-2016, 06:24 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,636
Quote:
Originally Posted by EnterNoEscape View Post
Since the Sagex API is currently made available via the old Jetty webserver, will that remain as it is? I'm just concerned that the old Jetty will not like coexisting with the latest Jetty. I'm a huge fan of this interface for scripting things outside of SageTV.

Also I use SJQ to run a task every day at 1am to send an email myself and my wife with all of the shows premiering that day. I modified the script so that if an HD channel is available, it uses the HD channel and it also turns the show title into a link so I can just click on the link and it takes me directly the airing the email is referring to. I figure I could leverage push bullet to get the same result, but where I'm really going with this is, can we make sure that a specific airing/mediafile details page can be opened directly via a URL parameter. For example, the current web interface can go directly to an airing via /sage/DetailedInfo?AiringId=<airing_id>?
I figure the programmer they are referring to is either you, Stuckless, or Slugger (or a few of the folks that aren't around much anymore);

http://www.businessinsider.com/progr...is-job-2015-11
Reply With Quote
  #32  
Old 03-07-2016, 07:00 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,373
Quote:
Originally Posted by KryptoNyte View Post
I figure the programmer they are referring to is either you, Stuckless, or Slugger (or a few of the folks that aren't around much anymore);

http://www.businessinsider.com/progr...is-job-2015-11
Some of the scripts are in Groovy... Who's the resident groovy evangelist.
__________________
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
  #33  
Old 03-09-2016, 07:50 PM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
My use of the web UI is to manage sage.

I use the BMT UI to correct metadata, but I find that it isn't a functional as it once was. I would like to see a simple "metadata" tab in the new UI that has simple list of imported shows, movies, and recordings so I can just click through and make the changes I need to. Now I have to load everything and only single episodes come up which can take a long time. It works, but isn't as simple as it could be. BMT is great, but I think it could be simplified.

I don't use them, but the ability to create VFS views would also be great.

I use the regular sage web ui as a way to schedule recordings mostly with the search and the guide.

I also like that I can see what is recording on what tuner and what is playing on what client.

TLR

If you were to combine BMT and the current web interface into one that would be awesome. More backup functionality would also be nice.
__________________
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
  #34  
Old 03-10-2016, 11:18 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Since some "wish list" things are being thrown out...

I've been playing with Let's Encrypt certificates and one thing that would be nice is to be able to somehow automatically reload a keystore file when updated, or be able to (in some automated way) restart just the web service part. Let's Encrypt currently has a 90 day validation period for certificates it issues. While I have almost automated getting a PFX file and turning that into different formats like JKS, I still have to restart the entire Sage service to get it to pick up the new certificate. If there was some way to reload the certificate file without having to bring everything down that'd be great.
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #35  
Old 03-26-2016, 03:30 PM
bnh's Avatar
bnh bnh is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 120
i developed this a few weeks ago, and have found myself going to it more often than i thought i would. my original intent was to markup if all tuners were scheduled during a specific time, which meant i couldn't watch anything live, unless i fiddled with favorite priority. but now i like it just to have a better visual of what's scheduled to record, without starting up a client.

so if progress is still being made on a new web interface, something like this would appeal to me. fyi, this was done using bootstrap and fullCalendar.io
Attached Images
File Type: png RecordingCalendar-Month.PNG (147.0 KB, 235 views)
File Type: png RecordingCalendar-Weekh.PNG (134.7 KB, 222 views)
File Type: png RecordingCalendar-Day.PNG (61.5 KB, 228 views)
__________________

Server: Sage 9.0.13.536, Windows10-64bit, AMD Phenom II X4 905e 2.5GHz , 16GB Ram, 2.6TB recording
Tuners: OpenDCT 0.5.2 Ceton InfiniTV4
NAS: 16TB, unRaid Plus, Asus H87I-Plus mini-ITX, Intel Core i3-4130, 16GB Ram, Fractal Node 304 case
10 Clients: HD-300, HD-200, SageWin10, Plex, AndroidMiniClient
Reply With Quote
  #36  
Old 03-26-2016, 04:33 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,636
Can you hover an entry on that calendar to get a better description of any event?
Reply With Quote
  #37  
Old 03-26-2016, 04:54 PM
bnh's Avatar
bnh bnh is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 120
Quote:
Originally Posted by KryptoNyte View Post
Can you hover an entry on that calendar to get a better description of any event?
thought about that. haven't tried experimenting with it though. i can see it would be useful. might be able to it with some jquery additions, just wasn't my top priority. it uses a url parameter which i suspect ignores other attributes of the href link.
__________________

Server: Sage 9.0.13.536, Windows10-64bit, AMD Phenom II X4 905e 2.5GHz , 16GB Ram, 2.6TB recording
Tuners: OpenDCT 0.5.2 Ceton InfiniTV4
NAS: 16TB, unRaid Plus, Asus H87I-Plus mini-ITX, Intel Core i3-4130, 16GB Ram, Fractal Node 304 case
10 Clients: HD-300, HD-200, SageWin10, Plex, AndroidMiniClient
Reply With Quote
  #38  
Old 03-26-2016, 04:59 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,636
The Calendar view is interesting.
Reply With Quote
  #39  
Old 02-18-2017, 05:50 AM
Malfunction Malfunction is offline
Sage Aficionado
 
Join Date: Sep 2004
Location: Willoughby, Ohio
Posts: 386
I'm late to this game. I just started using V9 after messing with Plex and having issues installing the plugins that Plex needs. This led me to also install BMT. I'm still trying to learn to use BMT effectively. I'm able to change some metadata. My titles on imported files moved to recordings look like "titlewithnospaces" and including the quotes. Is it feasible to install the the Web UI on V9?
__________________
ASRock B450M Pro4 AM4 MB, Ryzen 5 2600 3.4ghz, Crucial Ballistix Gaming 32GB (2 x 16GB) DDR4-3200, EVGA GT 1030SC, WD Black NVMe SSD 250GB, 1x WD120EFAX 12TB, 1x WD80EFAX 8TB, 1x WDBH2D0040HNC 4TB, USB-UIRT, Colossus 2, WinTV-DualHD USB, Windows 11 64bit
Reply With Quote
  #40  
Old 02-18-2017, 05:43 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,373
Yes the web UI should work with V9. The only issue is with the latest version of Java the /apps landing page that folks used to access the Sage Jetty web apps does not work. But the web page does work at /sage/Home - and it is case sensitive.
__________________
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
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
Sagetv via iPhone/iPad thoughts/discussion 2002cbr600f4i Hardware Support 23 05-09-2010 01:19 PM
DST discussion mikejaner SageTV Software 53 03-18-2010 07:08 PM
SageTV v3 Beta Progress Report Discussion Kanati SageTV Beta Test Software 63 06-30-2005 12:51 PM
EPG discussion korben_dallas General Discussion 1 12-14-2004 05:30 PM


All times are GMT -6. The time now is 04:19 AM.


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