Eric von Bayer [Thu, 18 Feb 2010 23:16:20 +0000 (18 15:16 -0800)]
Merge commit 'wmcbrine/master'
Conflicts:
httpserver.py
plugins/togo/templates/npl.tmpl
plugins/togo/togo.py
pyTivo.conf.dist
William McBrine [Tue, 16 Feb 2010 07:53:44 +0000 (16 02:53 -0500)]
Skip trying to extract data from "audioFile" when mutagen fails.
William McBrine [Tue, 16 Feb 2010 05:20:47 +0000 (16 00:20 -0500)]
XML escape TiVo names, plus show titles and descriptions in the ToGo page.
William McBrine [Tue, 16 Feb 2010 02:59:17 +0000 (15 21:59 -0500)]
Use proper XML escaping for all fields in the music and photo plugins.
This doesn't matter to the TiVo, AFAICT, but it makes Firefox happy.
William McBrine [Mon, 15 Feb 2010 01:30:26 +0000 (14 20:30 -0500)]
If no referer for Push, return 200 OK. For compatibility with some
external programs that use pyTivo Push.
William McBrine [Thu, 11 Feb 2010 00:53:37 +0000 (10 19:53 -0500)]
Use shutil for content files, as elsewhere.
William McBrine [Wed, 10 Feb 2010 06:45:08 +0000 (10 01:45 -0500)]
Break out the CSS. (To my surprise, this also seems to suppress the
favicon requests.)
William McBrine [Wed, 10 Feb 2010 06:03:20 +0000 (10 01:03 -0500)]
Move the settings JavaScript to its own file.
William McBrine [Wed, 10 Feb 2010 05:48:52 +0000 (10 00:48 -0500)]
Too much output, not useful enough.
William McBrine [Wed, 10 Feb 2010 05:44:05 +0000 (10 00:44 -0500)]
Don't need the special XSL() function anymore.
William McBrine [Tue, 9 Feb 2010 07:01:24 +0000 (9 02:01 -0500)]
Moved icons to top-level content, with more descriptive names.
William McBrine [Mon, 8 Feb 2010 19:03:28 +0000 (8 14:03 -0500)]
Serve from any "content" subdirectory.
William McBrine [Mon, 8 Feb 2010 00:05:06 +0000 (7 19:05 -0500)]
Omit the "content" part of the path in plugin content URLs.
William McBrine [Sun, 7 Feb 2010 23:34:08 +0000 (7 18:34 -0500)]
No need to step through the loop.
William McBrine [Sun, 7 Feb 2010 16:12:02 +0000 (7 11:12 -0500)]
Do the plugin content URL matching only when necessary.
William McBrine [Sun, 7 Feb 2010 08:28:05 +0000 (7 03:28 -0500)]
mimetype.guess_type() returns a tuple, and it might be (None, None).
William McBrine [Sun, 7 Feb 2010 06:04:13 +0000 (7 01:04 -0500)]
Move handle_plugin_content() to its own function.
William McBrine [Sun, 7 Feb 2010 05:55:01 +0000 (7 00:55 -0500)]
Icons by Eric von Bayer.
William McBrine [Sun, 7 Feb 2010 05:53:47 +0000 (7 00:53 -0500)]
Comment in line with others.
Eric von Bayer [Sun, 7 Feb 2010 05:18:28 +0000 (7 00:18 -0500)]
Generalized webserver functionality to allow serving
http://<server>:<port>/plugin/<plugin name>/content/<any file>
William McBrine [Sun, 7 Feb 2010 04:50:04 +0000 (6 23:50 -0500)]
Note tivo_mak and togo_path in pyTivo.conf.dist, after Eric von Bayer.
William McBrine [Sun, 7 Feb 2010 00:21:42 +0000 (6 19:21 -0500)]
D'oh!
William McBrine [Sat, 6 Feb 2010 21:55:03 +0000 (6 16:55 -0500)]
Might be better.
William McBrine [Sat, 6 Feb 2010 21:48:24 +0000 (6 16:48 -0500)]
Cache config-set paths in bin_paths; reset bin_paths when rereading
config; more logging.
William McBrine [Sat, 6 Feb 2010 21:27:58 +0000 (6 16:27 -0500)]
In get_bin(), fall through to search when a specified path is invalid.
William McBrine [Sat, 6 Feb 2010 21:09:59 +0000 (6 16:09 -0500)]
In get_bin(), check specified paths for validity, and log errors,
instead of leaving it to the traceback.
William McBrine [Sat, 6 Feb 2010 20:54:56 +0000 (6 15:54 -0500)]
Cached binary names were not being returned under Windows, so the PATH
was rechecked each time.
William McBrine [Thu, 4 Feb 2010 06:21:46 +0000 (4 01:21 -0500)]
Center "CopyProtected"; remove periods.
William McBrine [Thu, 28 Jan 2010 19:08:41 +0000 (28 14:08 -0500)]
If the "shares" keyword is used, but no valid shares are specified, then
show no shares to that TiVo, instead of showing all of them. This is
probably more in line with user expectations.
William McBrine [Sun, 10 Jan 2010 03:18:29 +0000 (9 22:18 -0500)]
Present a sorted list of shares for pushing on the infopage.
William McBrine [Thu, 7 Jan 2010 07:38:19 +0000 (7 02:38 -0500)]
Ignore empty values from credits, also.
William McBrine [Thu, 7 Jan 2010 07:19:10 +0000 (7 02:19 -0500)]
Ignore malformed credits in DVR-MS/etc.
William McBrine [Mon, 4 Jan 2010 06:23:16 +0000 (4 01:23 -0500)]
Accomodate some broken installations of the Python Imaging Library.
William McBrine [Wed, 30 Dec 2009 03:25:51 +0000 (29 22:25 -0500)]
Some people are reporting bogus data coming back from Zeroconf scans,
causing exceptions.
William McBrine [Fri, 25 Dec 2009 02:24:27 +0000 (24 21:24 -0500)]
Add .NEF to supported image format extensions -- however, only the
thumbnail is used.
William McBrine [Thu, 24 Dec 2009 14:32:56 +0000 (24 09:32 -0500)]
That's what I get for cutting and pasting.
William McBrine [Thu, 24 Dec 2009 00:52:14 +0000 (23 19:52 -0500)]
Catch errors due to bogus timestamps. Not tested, because I don't know
how to generate them.
William McBrine [Wed, 23 Dec 2009 22:48:19 +0000 (23 17:48 -0500)]
Use human-readable forms for the ratings when dumping metadata.
William McBrine [Mon, 21 Dec 2009 16:54:28 +0000 (21 11:54 -0500)]
Parse the iTunMOVI tag (cast, etc. from MP4).
William McBrine [Mon, 21 Dec 2009 06:09:43 +0000 (21 01:09 -0500)]
Episode numbers must be numeric.
William McBrine [Fri, 11 Dec 2009 02:38:33 +0000 (10 21:38 -0500)]
Some missing ratings; use uppercase for all comparisons; same typo in
from_text() as in from_eyetv().
William McBrine [Thu, 10 Dec 2009 20:21:28 +0000 (10 15:21 -0500)]
Alignment.
William McBrine [Thu, 10 Dec 2009 20:19:00 +0000 (10 15:19 -0500)]
Typo -- broke mpaaRating for EyeTV.
William McBrine [Thu, 10 Dec 2009 19:19:10 +0000 (10 14:19 -0500)]
Allow human-readable ratings in metadata text files; combine the rating
tables.
William McBrine [Thu, 10 Dec 2009 17:45:34 +0000 (10 12:45 -0500)]
Default tvRating to "No Rating" instead of "TV-NR".
William McBrine [Wed, 9 Dec 2009 16:03:31 +0000 (9 11:03 -0500)]
Allow TV-NR to be set from DVR-MS and EyeTV.
William McBrine [Wed, 9 Dec 2009 15:59:05 +0000 (9 10:59 -0500)]
Allow pushing of the tvRating.
William McBrine [Mon, 7 Dec 2009 21:52:58 +0000 (7 16:52 -0500)]
Define SEEK_CUR in qtfaststart.py, since it's not defined in Python
2.4's os module; extra spaces out.
William McBrine [Thu, 3 Dec 2009 18:53:07 +0000 (3 13:53 -0500)]
Use symind as the default mind server for Australian TSNs. Currently
doesn't apply to the webvideo plugin.
William McBrine [Sat, 28 Nov 2009 23:15:58 +0000 (28 18:15 -0500)]
More things that are no longer needed.
William McBrine [Sat, 28 Nov 2009 23:12:16 +0000 (28 18:12 -0500)]
RESET_MSG is not used here.
William McBrine [Sat, 28 Nov 2009 23:11:11 +0000 (28 18:11 -0500)]
Need this one too.
William McBrine [Sat, 28 Nov 2009 23:06:53 +0000 (28 18:06 -0500)]
Simplify the redirects, and properly redirect to subfolders. After Eric
von Bayer.
William McBrine [Thu, 12 Nov 2009 06:50:39 +0000 (12 01:50 -0500)]
Some more fields from DVR-MS/etc. More sample data needed.
William McBrine [Wed, 11 Nov 2009 09:13:45 +0000 (11 04:13 -0500)]
Preliminary support for metadata from DVR-MS/WMV/ASF, via mutagen. Much
more to do here.
William McBrine [Wed, 11 Nov 2009 02:21:20 +0000 (10 21:21 -0500)]
Search for default.txt in the .meta directory.
William McBrine [Mon, 9 Nov 2009 16:58:40 +0000 (9 11:58 -0500)]
Don't need the string module here.
William McBrine [Mon, 9 Nov 2009 00:08:26 +0000 (8 19:08 -0500)]
Keep the shares sorted on the root container page (needed if Zeroconf is
disabled).
William McBrine [Sun, 8 Nov 2009 14:43:48 +0000 (8 09:43 -0500)]
Sort the list of shares.
Eric von Bayer [Tue, 3 Nov 2009 16:59:58 +0000 (3 08:59 -0800)]
Merge commit 'wmcbrine/master'
William McBrine [Mon, 2 Nov 2009 01:06:31 +0000 (1 20:06 -0500)]
Include time in the fields extracted from .TiVo files.
William McBrine [Mon, 2 Nov 2009 00:11:27 +0000 (1 19:11 -0500)]
Restore the functionality of the old "time" metadata keyword, plus more;
"time: file" to use file datestamps, "time: oad" to use originalAirDate.
Note that startTime and stopTime are still derived, not specified. To
Do: I think this could be tighter.
Eric von Bayer [Sun, 25 Oct 2009 17:46:08 +0000 (25 10:46 -0700)]
Prevent channel block from crossing a line boundary.
Eric von Bayer [Sun, 25 Oct 2009 17:42:24 +0000 (25 10:42 -0700)]
Improved error checking.
Assertion created error and therefor didn't end up being posted to the title.
Eric von Bayer [Fri, 23 Oct 2009 18:31:28 +0000 (23 11:31 -0700)]
Fixed the pyTivo.conf.dist to say fast_listing vs fast_index.
Eric von Bayer [Fri, 23 Oct 2009 06:15:38 +0000 (22 23:15 -0700)]
Added code to make errors show up as a virtual file.
Hopefully this will help people to see any issues that come up
instead of having to look at pytivo's output.
Eric von Bayer [Fri, 23 Oct 2009 04:32:09 +0000 (22 21:32 -0700)]
Made improper frame rates in a time structure become a warning.
Apparently some DVDs have a malformed frame rate in cell time structures. Also fixed some file permissions.
Eric von Bayer [Tue, 20 Oct 2009 22:26:22 +0000 (20 15:26 -0700)]
Audio specification plus better error checking.
See the pyTivo.conf.dist for info on the audio_spec option.
William McBrine [Mon, 12 Oct 2009 09:13:02 +0000 (12 05:13 -0400)]
More details from EyeTV metadata; use .eyetvp instead of .eyetvr; always
set the title, even when setting seriesTitle and episodeTitle.
William McBrine [Sun, 11 Oct 2009 08:53:08 +0000 (11 04:53 -0400)]
Initial support for metadata in .eyetv bundles. Need more samples to
confirm that this is sensible. More fields could be used.
Eric von Bayer [Fri, 9 Oct 2009 19:46:25 +0000 (9 12:46 -0700)]
Fix for bug mentioned by dbw on 10/9/2009
Eric von Bayer [Wed, 7 Oct 2009 05:24:55 +0000 (6 22:24 -0700)]
Fixes for bugs at the end of a transfer.
- Now properly displays "Transfer Complete"
- Deletes files that the user aborts.
Eric von Bayer [Wed, 7 Oct 2009 04:09:23 +0000 (6 21:09 -0700)]
Merge commit 'wmcbrine/master'
Eric von Bayer [Wed, 7 Oct 2009 03:48:52 +0000 (6 20:48 -0700)]
Add in forgotten recording in progress icon.
Eric von Bayer [Wed, 7 Oct 2009 03:44:50 +0000 (6 20:44 -0700)]
Better looking more functional Togo module. New version supports queuing, if the server is stopped with files queued, they will be downloaded when the server starts again. The look has been updated to have some nice icons and formatting improvements.
Eric von Bayer [Wed, 7 Oct 2009 03:36:55 +0000 (6 20:36 -0700)]
Improvements to togo module
Added queueing, better looking look and feel, restart any queued files
that weren't fully downloaded in a previous run.
Eric von Bayer [Tue, 6 Oct 2009 02:00:52 +0000 (5 19:00 -0700)]
Add some icons to the togo web page to make it a little easier to read.
Eric von Bayer [Tue, 6 Oct 2009 01:19:11 +0000 (5 18:19 -0700)]
Generalized staged callbacks (will be used for togo changes)
Eric von Bayer [Tue, 6 Oct 2009 01:04:31 +0000 (5 18:04 -0700)]
Generalized webserver functionality to allow serving <server>:<port>/plugin/<plugin name>/content/<any file>
Tivo User [Tue, 6 Oct 2009 00:37:29 +0000 (5 17:37 -0700)]
Add DVD Video Plugin to the plugins directory.
William McBrine [Mon, 5 Oct 2009 22:20:37 +0000 (5 18:20 -0400)]
Suppress "'NoneType' object has no attribute 'properties'" -- still not
sure why this arises, though.
William McBrine [Sun, 27 Sep 2009 17:17:55 +0000 (27 13:17 -0400)]
Skip malformed lines in metadata: tags with no value, or values with no
tag. Problem reported by "spocko".
William McBrine [Sun, 20 Sep 2009 02:37:41 +0000 (19 22:37 -0400)]
Allow reading CR-delimited metadata files. Suggested by "jannlinder".
William McBrine [Sun, 20 Sep 2009 02:35:07 +0000 (19 22:35 -0400)]
awb = BS. Reported by "jbernardis".
William McBrine [Tue, 8 Sep 2009 05:23:08 +0000 (8 01:23 -0400)]
Suppress EBADF errors in Zeroconf.py.
William McBrine [Sun, 23 Aug 2009 02:23:59 +0000 (22 22:23 -0400)]
Changing to valid HTML broke the "Delete Section" button.
William McBrine [Fri, 21 Aug 2009 21:08:18 +0000 (21 17:08 -0400)]
Move add-button width to common CSS.
William McBrine [Fri, 21 Aug 2009 21:02:28 +0000 (21 17:02 -0400)]
New CSS classes "add-button" and "add-field".
William McBrine [Fri, 21 Aug 2009 20:53:20 +0000 (21 16:53 -0400)]
Common CSS for "display: none".
William McBrine [Fri, 21 Aug 2009 18:33:29 +0000 (21 14:33 -0400)]
Using "display: none" instead of "visibility: hidden" speeds up the
settings page in Firefox tremendously.
William McBrine [Sat, 8 Aug 2009 00:18:14 +0000 (7 20:18 -0400)]
Don't wrap the "NN Items" in Push screens, as in ToGo.
William McBrine [Fri, 7 Aug 2009 23:27:28 +0000 (7 19:27 -0400)]
NOWRAP -> CSS.
William McBrine [Thu, 6 Aug 2009 23:47:34 +0000 (6 19:47 -0400)]
Section switch "onchange" instead of "onclick" -- reported by Minckster
and Gonzotek as needed for the iPhone. This also allows you to change
sections by just arrowing up and down.
William McBrine [Wed, 5 Aug 2009 20:42:38 +0000 (5 16:42 -0400)]
CSS for the ToGo page; comments in template instead of final page.
William McBrine [Wed, 5 Aug 2009 20:22:59 +0000 (5 16:22 -0400)]
Strict mode for the info_page.
William McBrine [Wed, 5 Aug 2009 19:25:13 +0000 (5 15:25 -0400)]
More CSS.
William McBrine [Wed, 5 Aug 2009 18:09:20 +0000 (5 14:09 -0400)]
Better title.
William McBrine [Wed, 5 Aug 2009 17:59:14 +0000 (5 13:59 -0400)]
Restore some pre-valid behavior. Partly suggestions of Minckster.
William McBrine [Wed, 5 Aug 2009 17:24:05 +0000 (5 13:24 -0400)]
Finally validates AND works with the strict doctype; moved some of the
CSS to its own section. Still needs some tweaking to render as before.
William McBrine [Sat, 1 Aug 2009 00:54:16 +0000 (31 20:54 -0400)]
With these changes, the settings page validates as HTML 4.01 Strict
(unless you have shares with invalid characters in the names -- have to
work on that) -- but it still doesn't actually work if I use that
doctype. Hmpf.