SageTV logoSage Webserver

The sage Web Server was written by nielm, with hints from various people on the Forums!

The WebRemote page was written by Wheemer

Favorites support was written by jreichen

The Menu Bar uses the SoftComplex Tigra Menu v2.0

The Recording Schedule RSS feed uses the LGPL jrss RSS java classes

The latest version can be found at the Sage Community website

Support requests can be posted in the SageTV Forum.

Licence

The Sage Web Server Plugin is licenced under the BSD licence, which basically means that you can do what you like with them, so long as you give me credit, you get no warantee/guarantee of fitness for purpose, and cannot blame me if things go wrong!

It uses a modified version of the Tiny Java Web Server, which is itself derived from the Acme Java Web Server (copyright notice).


Changelog

V2.8 Apr 6 2006

* BUGFIX: search pages are correct now
* BUGFIX: Favorite priority setting now works again
* BUGFIX: Changed action links into real buttons (avoid possible pre-caching problems)
* ENHANCEMENT: Added num resolved conflicts to home page
* ENHANCEMENT: IR suggestions RSS feed, Conflicts RSS feed
* ENHANCEMENT: Removed authentication for RSS feeds 
     -- (Record Schedule RSS feed path has been changed you will need to re-add the feed to your reader)
* ENHANCEMENT: Added XML output for conflicts

V2.7 March 23 2006

Nielm's changes
* NEW FEATURE: most pages that display information can now have xml output 
	-- add xml=yes parameter on URL, or look for the [xml] icons
    -- see http://www.sage-community.org/index.cgi/wiki/SageXmlInfo
* ENHANCEMENT: allowed new favorites to be added with a default priority 
    -- (allows adding faves from an external program)
* ENHANCEMENT: Edit Show info allows keeping same EPGID, or specifying a known EPGID
* ENHANCEMENT: version/last updated/validation links on every page
* ENHANCEMENT: Recording Schedule RSS feed.
* ENHANCEMENT: EpgList view: word-wrap titles, and only crop vertically 
	-- (this may cause problems on browsers that do not support overflow-x and overflow-y properties)
* BUGFIX: XHTML validation fixes for various pages.
* BUGFIX: Favorite creation: check that at least one title/category/person/keyword is specified 
* BUGFIX: command buttons no longer add '&' characters to the URL
Jreichen's changes:
* ENHANCEMENT: Add/remove manual record status, remove archive status in detailed Info page
* ENHANCEMENT: Add/remove archive status in Search results
* ENHANCEMENT: Add Original Air Date in Detailed Info

V2.6 Jan 20 2006

* BUGFIX: fixed gzip encoding for browsers that do not support it (fixes media player)
* BUGFIX: hopefully fixed home/detailed info/webremote pages for sage 2.2-4.0
* BUGFIX: fixed display of marker icons for Airings.
* BUGFIX: removed manual recs from partials filter in search

V2.5 Jan 19 2006

Nielm's changes:
* BUGFIX: hopefully re-added compatibility for sage 2.2-4.0 versions (thumbnails will still not work)
* BUGFIX: hopefully made HDTV icon work now
* BUGFIX: hopefully fixed streaming video player for HTTPS
* BUGFIX: Fixed 'Play in SageTV' button
* BUGFIX: Fixed Manual Record/Set Padding in non-service mode/client webservers.
* BUGFIX: Gb -> GB, Mb -> MB
* BUGFIX: Got rid of annoying 'Capture Device' media files in library search
* BUGFIX: music thumb only loaded once per album now
* NEW FEATURE: Added experimental support for gzipping servlet output -- makes large pages much faster on slow internet links. 
               Disable with property: nielm/webserver/enable_gzip_encoding=false
* NEW FEATURE: find media file details by passing file name in path. 
			   This works for any page that accepted the 'MediaFileId' argument, eg:
			      http://server:8080/DetailedInfo?FileName=c:\path\to\file.mpg
				  http://localhost:8080/sage/MediaFileCommand?command=WatchNow&context=SAGETV_PROCESS_LOCAL_UI&FileName=c:\path\to\file.mpg
			   Note: Filename must exactly match name in sage's DB (ie using UNC paths etc)
* ENHANCEMENT: Picture thumbnails are now extra-small in search results -- saves bandwidth
* ENHANCEMENT: Improved handling of folders in Sage Recordings -- folders now open containing content and toggle open/closed.
* NEW FEATURE: Added Intelligent Suggestions screen -- shows what would be recorded if Intellgent Recording was enabled (4.1+ only)

Jreichen's changes:
* NEW FEATURE: View Partial and Auto-Delete Recordings: Provide links to, and size of, partial and auto-delete recordings in the Home Screen
* ENHANCEMENT: Added filters for partial and auto-delete recordings on the search page.
* ENHANCEMENT: Enhanced Recording Quality Info in favorites and Detailed Info page
* ENHANCEMENT: Favorite priority can now be set to 'above' or 'below' another favorite -- quicker than re-ordering with arrows

V2.4 Jan 11 2006

* For SageTV 4.1 and later only

* BUGFIX: Removed 'null' menu items
* BUGFIX: Channel logos default to enabled
* BUGFIX: Fixed webremote and Sage command functionality for v4.1
* ENHANCEMENT: Added now playing info for media extenders
* ENHANCEMENT: Added WebRemote for media extenders (click the extender name in the Home page)
* ENHANCEMENT: Added Show marker icons to show display (optional default=on)
* ENHANCEMENT: Added File size indication to show display (optional default=on)
* ENHANCEMENT: Added Episode ID to show display (optional - default=off)
* ENHANCEMENT: Fallback menu for browsers that support JavaScript but not JavaScript DOM (eg Pocket IE)
* BUGFIX: Added more protected paths for write:only user.
* ENHANCEMENT: Added support for picture/album/mediafile thumbnails

V2.3 Dec 9 2005

* BUGFIX: Fixed 'Return to previous page' functionality for commands in Sage Recordings/Search/Record Schedule screens

V2.2 Dec 8 2005

* BUGFIX: Lots of i18n/charset handling fixes for parsing parameters in webserver code... 
		  Should now handle non-latin charsets perfectly
Due to above, the following are fixed:
* BUGFIX: Favorites: adding a fave for a title with a '&', 
          adding a fave for a channel with a '&', 
          adding a fave with any special non-7-bitASCII characters
* BUGFIX: Search: searching for anything with a '&' or special characters
* BUGFIX: Edit show info -- fixed problem when special (non-Latin-1) characters (such as Accented/Greek/Hebrew/Arabic)
* ENHANCEMENT: improved favorite re-ordering by jumping to re-ordered favorite, numbering rows, and keeping changes out of browser history.

V2.1 Dec 6 2005

* BUGFIX: fixed media player page when no supported players installed 
* BUGFIX: jump to channel in EPG views in IE...

V2.0 Dec 6 2005

* NEW FEATURE: Favorites Management -- Add/remove/re-priority favorites
               Big thanks to jreichen from the Sage Forums for implementing this.
* NEW FEATURE: Web-based media player
               Click Watch Now on any recording in the detailed info screen
               Or Listen for MP3 files...
               Very simple for the moment... requires additional web-browser plugins for MPG and AVI playback
               Best results using IE (Sorry. I hate browser-dependant stuff!)
               No re-encoding support -- you download the original files...
* BUGFIX:      fixed Sage mediafile download so that no password is required
* BUGFIX:      fixed Sage mediafile + webserver normal file download to support HTTP Range requests
               !!! Seeking in streaming files now possible with supported players !!!
* BUGFIX:      webremote and about pages now have a menu bar!
* BUGFIX:      changed TvTome search to TV.com
* ENHANCEMENT: included ajuhawk's Sage Encoder support. 
               set the property  "nielm/webserver/enableSageEncoderOpts=true" to enable
* ENHANCEMENT: Detailed Information pages now have streaming and file-based playlist links.
               This allows one-click access to files in external media players
* ENHANCEMENT: Add'l Tracks by artist / Tracks on album buttons in detailed info
* ENHANCEMENT: improved menu bar -- 
               IMPORTANT: menu.properties is no longer in use
               menubar definition can be edited in webserver/webroot/sage/menu_items.js
* ENHANCEMENT: Added Sage Recordings and Media Library searches to menus.
* ENHANCEMENT: Fallback main menu for non-Javascript browsers.
* ENHANCEMENT: jump to a channel in EPG views
* ENHANCEMENT: jump to options block in Sage recordings on [show options]

V1.6 Jun 15 2005

* BUGFIX: corrected caching of static files (affected mainly Opera, but should make all browsers quicker over slow networks)
* BUGFIX: record options back for currently recording manual recordings.
* NEW FEATURE: automatic download links for all media files -- no need to mess around with paths.properties etc
               note that this means MP3s can be streamed into WMP, and JPGs viewed in browser
               but for AVIs and MPGs, you have to download, or need a media player that supports 
               HTTP streaming for AVIs and MPGs. The only one I know of is VideoLanClient.

V1.5 May 25 2005

* Hyperlinked search for people in detailed info page (both in EPG and in IMDB)
* Hyperlinked TvTome search in detailed info
* Corrected default Search options
* Removed annoying Onclick javascript in EPG cells (allows open in new page)
* Fixed bug where IE sometimes returned blank pages
* Fix line breaks in detailed info
* Add 'Recording' icon to search and EPG pages indicating a scheduled recording
* Fixed broken Favicon
* Catch socket errors in FileServlet (prevents too much logging when clients abort connections)
* Improved DetailedInfoServlet and WebRemote to use javascript to send commands -- They should respond much faster, and no longer create multiple entries in history
* Channel logos in detailed info.
* Channel logos now on by default and automatic (it gets them from SageTV)
* Added menu items to search for watched + Don't like shows.

V1.4 May 1 2005

* Fix force EPG update button
* Workaround annoying Firefox EPG-Grid bug which means that pageup/down arrows don't get drawn sometimes

V1.3 April 29 2005

* fixed bug where clicking on search results fails if there is a media file for that airing.

V1.2 April 29 2005

Global:
* Use 'all' CSS media type
* Add timeout for pull-down menus
* BUG: check for UI on SageCommands/PlaybackCommands
* BUG: corrected spelling of Episiode
* better display of Music/Picture file information.
* highlight EPG cell focus (except in IE), sports, movies, news (using same criteria as sage)
* clicking on EPG cell background (as well as text) goes to detailed info

Timed record:
* BUG: Fixed month selection in timed record

Conflicts:
* BUG: manual/favorite conflict confirm now works

EPG grid/list:
* lowlight airings in the past
* highlight focus (except in IE), sports, movies, news
* jump to options on [Show Options]

Home:
* Added Force EPG update button to Home screen (only appears if last update was more than 1 min ago)

Detailed Info: 
* Add FirstRun/ReRun to Detailed Info screen
* Improved setting padding on manual records (no more entering -5 mins!)
* Show AiringID, MediaFileID in detailed info
* Add ParentalRating to DetailedInfo
* include 'Archived' indication

Search: Big re-work!
* pages of results
* no more grouping
* Searching within other fields (such as people)
* custom sorting
* search for airings or mediafiles
* fixed bug where Search does not cope well with categories with special characters

Experimental new feature:
* Edit EPG info for a show: Allows DB information to be added for video files

v1.1 19 Nov 2004

Bugfixes:
* Better handling of invalid values in sort/filter/group options
* Delete file when running in SageTVService now works

V1.0 18 Nov 2004



Todo list

TODO: CSS refactor (layout/colors)
TODO: popup detailed info pages
TODO: Options page
TODO: Improved authentication (users linked to netgroups)
TODO: video/music/picture library
TODO: fix mouse-over highlight for IE (some people apparantly use it :))
TODO: Comskip marker + comskip trigger support 
TODO: Add stream/download links to sage-encoder encoded files in detailed info 
TODO: use mencoder to dynamically generate a low BW stream for HTTP-serving video over the internet! 
TODO: Improve Edit File info screen -- only modify changed fields
TODO: HDTV/First Run recording marker in EPG views