|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#181
|
||||
|
||||
Since those commands modify your system nielm changed them a long time ago to do HTTP POST actions, which must be buttons on a form as opposed to regular hyperlinks. They're styled to look like links so they look like the rest of the commands on the left. They must be using some stylesheet properties that mobile Safari doesn't recognize.
I'm cutting back work on nielm's web UI but if I need to release an update I'll look into this. As you mentioned it's not hurting functionality though so I won't make a special update for this.
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#182
|
|||
|
|||
WebUI CGI questions
I've got the web UI working to start and stop playback of a mediaFile (via MediaFileCommand?command=WatchNow...), but I can't figure out how to force playback to start at the beginning of the file.
Also, I haven't found a way to get back status from the file being played, like the current position, so I can make a progress bar in my web page. Any pointers would be appreciated. |
#183
|
||||
|
||||
You can always look through the code for the current STV in SageTV Studio. That's where I get a lot of ideas from.
I think to start playback from the beginning you'll want to call ClearWatched, then call Play. The current playback position can be retrieved using the GetMediaTime API. You probably have to pass the current ui context id since you're asking it for the playback position on a specific client/extender/placeshifter. I'm not sure how familiar you are with the APIs, but here's the API doc from Sage. You can find Studio documentation in Opus4's signature (I don't have the direct link handy).
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun. Extender: STP-HD300, Harmony 550 Remote, Netgear MCA1001 Ethernet over Coax. SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client, Java 1.6. Plugins: Jetty, Nielm's Web Server, Mobile Web Interface. |
#184
|
|||
|
|||
I just installed and when I type in http://yourserver:yourport/sage I get prompted for a username and password... but my Sage server username and password doesn't work. Is there a default username and password? Is there a way to reset the username and password? THANX!
|
#185
|
||||
|
||||
username: sage
password: frey
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
#186
|
|||
|
|||
Cool THANX!! Now.. how do I set my own username and password? THANX!
|
#187
|
|||
|
|||
The Jetty web server plugin controls the access to the web pages
The thread for configuration of Jetty web server plugin is here: http://forums.sagetv.com/forums/showthread.php?t=48818 The Wiki for the Jetty plugin is here: http://tools.assembla.com/sageplugins/wiki/Jetty And assuming you are running SageTV V7 specifically the page that talks about setting the username and password is here: http://tools.assembla.com/sageplugin...cConfiguration |
#188
|
|||
|
|||
THANX!!! Very helpfull!
|
#189
|
|||
|
|||
v2.31 update released
Ok, so I see a couple hundred of you have already went ahead and upgraded to the latest build of the nielm web UI. Here's the details on what's going on with this plugin.
First, I've taken over ownership of this plugin and will be responsible for any future updates in the near future. Though I may now be listed as the owner in the plugin repository, there is one piece of this plugin I do not support and will not ever edit/update/fix/rewrite/etc. and that's the VLC/streaming code in this plugin. Whatever code is in there will remain there and will not be touched by me. I don't use it, I don't plan on using it, I don't know how the code works, I won't look at the code, I'll just leave it as is. If someone else wants to join the fun and take ownership of that code then I'm happy to have you do so. So the 2.31 update... This is a few weeks of work, mostly behind the scenes stuff. I had to copy the project source code out of the old SourceForge CVS repository into my SVN repository and make a number of significant build changes to get the plugin to build, upload to Google Code, then submit the plugin updates to Sage under my environment. Basically, this release is just to prove to myself that I can now build and update this plugin within my environment. There are a couple of fixes/enhancements in this build, again just to prove that I can get source code changes to build properly. The changes in this build that users will see are: 1) Favorites Editor: Always allow edits to the keyword criteria of a favourite. This is something I've always wanted for a long time so I added it quickly. There are more changes down the road coming to the favs editor (more on that later). 2) For users of the mc2xmlepg plugin, you can modify the tvdb series id of a show via the web. More details on this functionality are available in the mc2xmlepg support thread. The rest of the changes are internal and relate to moving the project source from SF to Google Code, build fixes to support building and uploading in the GC SVN environment and some additions for future plans (more on that later). What are my plans for the future? I'll be clear up front, my plans are limited. Basically, my interests, as far as this plugin is concerned, relate to the modification and addition of configuration features. So I'm interested only in modifying things like the favs editor, scheduling views/editors, EPG viewer, etc. However, the code is not exactly in a state where changes can be made easily to these (or any) features. So current features are basically just going to be kept as is with bugs fixed as reported, when possible. Aesthetic bugs/features are very unlikely to be addressed by me. These are the hardest to address and interest me the least. I'm personally more interested in addressing functional bugs/features. Things like the favs editor: Why can't I add a keyword to a title favourite? (fixed in this 2.31 build). Why can't I add a person to a title fav? Why can't I create a team based fav like I can from the standard STV? These are the things I'm interested in addressing. The other area of interest I'll be playing with in the future: Leveraging Groovy scripting as a quick and easy way to add functionality to the web server. The base requirement of this was actually added in the 2.31 update. Namely, the web UI will now process groovy scripts - it's actually how I added the tvdb id editor for mc2xmlepg plugin users. The next update will also add support for Groovy Server Pages (GSPs). These features allow for quick and easy additions of functionality to be inserted into the current web UI. More details on this will be documented after the next update since I'm still experimenting with the Groovy/GSP support. Ok, what can the average user expect to see in the near future? Once the Groovy support is locked down, these are the first few features I plan on adding:
Those are just the few that come to the top of my head. If the Groovy experiment goes well then these kinds of things become relatively easy to add, but time will tell. Anyway, there's my thoughts on what I plan to do with this plugin over the coming months. Obviously, any bug/feature requests from users are welcome as well.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#190
|
|||
|
|||
How about integrating the web UI from all of your plugins? It would be great to be able to view the SJQ queue from the Webserver UI, and why not use this for SageAlert as well?
One other nice thing might be the ability to put in your own links - that way you could link to other Sage web pages like BMT, etc. Alternatively by default you could provide links to the most popular other Sage web services and allow the user to modify the URL if required. This way the Sage Web server could be the main landing page for your web server rather than the Jetty apps page.
__________________
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 |
#191
|
|||
|
|||
Quote:
SageAlert... maybe, but dev has pretty much ceased on SA since the Google takeover... and porting that UI into this web UI would not exactly be fun, quick, or easy so I'll likely leave that one alone. Quote:
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#192
|
|||
|
|||
OK, the SJQ stuff would be very helpful. When trying out tasks it is kind of cumbersome to go into TV shows, click on a show, start a task and then go back to the main menu and into setup to go to SJQ. It would be great to keep a browser window open to check if the task worked and/or read the logs.
__________________
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 |
#193
|
|||
|
|||
ohhhh pretty please pretty much the only reason i still use SJQ3 is the webui...
__________________
Server 2003 r2 32bit, SageTV9 (finally!) 2x Dual HDHR (OTA), 1x HD-PVR (Comcast), 1x HDHR-3CC via SageDCT (Comcast) 2x HD300, 1x SageClient (Win10 Test/Development) Check out TVExplorer |
#194
|
||||
|
||||
White screen when category has more than about 20 entries
I've installed tmiranda's Limit Intelligent Recordings plug-in and in a effort to limit what is being recorded I tried to select a category of Sitcom which has 230 (and others) listing and set it to don't like using the web interface. Pressing Set the browser screen goes to all white and does not seem to complete the task.
As long as the catagory has around 20 or less entries it works just fine... Any suggestions? I have stopped and started the SageTV service. |
#195
|
|||
|
|||
Any errors in the sage log file after attempting the action?
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#196
|
||||
|
||||
I did not have logging turned on... But the good news is this morning everything work as it should. The screen does flash white for a second or two then back to the listings.
|
#197
|
||||||||
|
||||||||
v2.33 preview...
Here's a preview of the upcoming v2.33 release, due out by, let's say Sunday(ish):
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
You can crawl through any UserRecord object and modify the name/value pairs of a record. This serves two purposes:
SREv4 users, for example, now have direct access to the SRE data store and if something were to go wrong with the state of a monitor, it can now be easily corrected via the web. Of course, the flip side is a user can now unknowingly corrupt the UserRecord data store (at the plugin application level, not the wiz.bin level), but I figure more ability is better than no ability so I've gone ahead and included this feature in the released builds of the web UI. This feature was also completely written in Groovy and added in as a separate Groovy addon. Quote:
This feature was also added via a standalone series of Groovy scripts. Each feature written in Groovy could have been packaged as standalone plugins, but I've decided to include them directly in the core web UI plugin since it seems appropriate because I'm maintaining all the code. My wiki doc will discuss how to package up new Groovy pages as separate plugins for those wanting to add new features to the web UI.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#198
|
|||
|
|||
Very cool. Also very uplifting to see development continue for a product that is vital in our household despite the manufacturers clear abondonedment. Thank you very much and keep up the good work!
|
#199
|
||||
|
||||
+1
Not sure how I'll use the new features but looking forward to having a play |
#200
|
||||
|
||||
Very nice. I especially like #7 because many of my plugins use the UserRecord and it will be nice to be able to view and edit the data.
#1 is also very cool. I think this opens up lots of possibilities, but I still need to wrap my brain around it.
__________________
Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: SageTV Web Interface V2 for Jetty | jreichen | SageTV Customizations | 256 | 02-09-2014 08:05 AM |
Plugin: Mobile Web Interface 1.2 | jreichen | SageTV Customizations | 281 | 06-17-2011 02:20 PM |
Plugin: Sage Web Lite (SWL) | Slugger | SageTV Customizations | 28 | 04-23-2009 01:32 PM |
Web Plugin RSS feed question | matt91 | SageTV Customizations | 1 | 07-28-2006 11:24 AM |
error message with web server plugin | edgley | SageTV Customizations | 3 | 01-15-2006 11:32 AM |