William McBrine [Fri, 9 Aug 2013 16:26:33 +0000 (9 12:26 -0400)]
Allow for both select and checkbox entry types in settings.
William McBrine [Thu, 8 Aug 2013 05:26:17 +0000 (8 01:26 -0400)]
Left-align the input fields instead of centering them.
William McBrine [Thu, 8 Aug 2013 04:49:18 +0000 (8 00:49 -0400)]
Easier access to help text -- on mouseover of the table row, instead of
only when clicking on the input box.
William McBrine [Thu, 8 Aug 2013 04:43:54 +0000 (8 00:43 -0400)]
Select/option menu for "type" in share settings, instead of text field.
William McBrine [Sat, 3 Aug 2013 14:57:40 +0000 (3 10:57 -0400)]
Describe force_ffmpeg.
William McBrine [Fri, 2 Aug 2013 04:17:32 +0000 (2 00:17 -0400)]
Undo the ElementTree import kludges for Python 2.4.
William McBrine [Fri, 2 Aug 2013 04:10:37 +0000 (2 00:10 -0400)]
D'oh!
William McBrine [Mon, 22 Jul 2013 18:43:59 +0000 (22 14:43 -0400)]
We need a string for the guid.
William McBrine [Sun, 21 Jul 2013 21:38:40 +0000 (21 17:38 -0400)]
from socket import * -> import socket
William McBrine [Sun, 21 Jul 2013 18:18:25 +0000 (21 14:18 -0400)]
Use the uuid module to generate pyTivo's guid. After HME for Python.
William McBrine [Sun, 21 Jul 2013 17:50:23 +0000 (21 13:50 -0400)]
Require Python 2.5; revert some 2.4 compatibility patches.
William McBrine [Mon, 15 Jul 2013 19:32:41 +0000 (15 15:32 -0400)]
Version 0.13 of Zeroconf.py -- see the pyzeroconf project for details.
William McBrine [Fri, 12 Jul 2013 19:41:05 +0000 (12 15:41 -0400)]
Common code.
William McBrine [Fri, 12 Jul 2013 17:08:51 +0000 (12 13:08 -0400)]
Restart fails on my Mac, unless I do this.
William McBrine [Fri, 12 Jul 2013 17:02:58 +0000 (12 13:02 -0400)]
Whitespace.
William McBrine [Thu, 11 Jul 2013 19:12:52 +0000 (11 15:12 -0400)]
Settings for shares weren't being saved. Reported by "TripKnot". Also,
the fix for non-share settings was erroneous (it needs replace()
rather than lstrip()).
William McBrine [Thu, 11 Jul 2013 07:08:52 +0000 (11 03:08 -0400)]
Ignore sections with no type during startup.
William McBrine [Thu, 11 Jul 2013 06:50:55 +0000 (11 02:50 -0400)]
Don't need GetPlugin() here.
William McBrine [Wed, 10 Jul 2013 18:06:29 +0000 (10 14:06 -0400)]
Some additional fields are missing from empty folders on the Premiere
(at least "Suggestions" and "HD Recordings", which it shows as empty
even when they aren't).
William McBrine [Wed, 10 Jul 2013 17:40:53 +0000 (10 13:40 -0400)]
Allow for empty folders on the TiVo in the ToGo plugin.
William McBrine [Mon, 8 Jul 2013 13:03:02 +0000 (8 09:03 -0400)]
Write only a byte.
William McBrine [Mon, 8 Jul 2013 12:21:15 +0000 (8 08:21 -0400)]
Of course I can't leave well enough alone.
William McBrine [Sun, 7 Jul 2013 23:08:42 +0000 (7 19:08 -0400)]
Iterating over the dictionary while removing keys from it was causing
some settings to go missing -- notably, consistently, tivo_mak.
William McBrine [Sat, 6 Jul 2013 23:36:30 +0000 (6 19:36 -0400)]
Don't really need send_bytes().
William McBrine [Wed, 3 Jul 2013 11:15:28 +0000 (3 07:15 -0400)]
One send() call, if possible.
William McBrine [Wed, 3 Jul 2013 00:14:10 +0000 (2 20:14 -0400)]
Eh, better do the length too.
William McBrine [Tue, 2 Jul 2013 23:03:25 +0000 (2 19:03 -0400)]
These, too.
William McBrine [Tue, 2 Jul 2013 20:47:36 +0000 (2 16:47 -0400)]
Although beacons _should_ fit within single packets, maybe we should
allow for the possibility that they won't? (Or, does this even make
sense with sendto()?)
William McBrine [Tue, 2 Jul 2013 20:00:04 +0000 (2 16:00 -0400)]
Not that it seems to matter to anything, but the final line of the
beacon packet should really end in a '\n', too.
William McBrine [Wed, 12 Jun 2013 04:41:14 +0000 (12 00:41 -0400)]
Extend main.css to things like the push results page.
William McBrine [Tue, 11 Jun 2013 08:05:06 +0000 (11 04:05 -0400)]
Oops.
William McBrine [Tue, 11 Jun 2013 07:54:18 +0000 (11 03:54 -0400)]
New format for Override_mapAudio, needed to support newer FFmpeg.
Reported by lucasnz.
William McBrine [Fri, 31 May 2013 04:08:17 +0000 (31 00:08 -0400)]
Recursing through playlists can cayse hangups. Omitting this doesn't
seem to affect any normal playlist functionality. (?)
William McBrine [Tue, 28 May 2013 04:45:44 +0000 (28 00:45 -0400)]
Same for pyTivo.conf.dist.
William McBrine [Tue, 28 May 2013 04:43:45 +0000 (28 00:43 -0400)]
In help.txt: discourage the use of "Program Files", typos, higher res.
William McBrine [Sun, 26 May 2013 04:38:11 +0000 (26 00:38 -0400)]
"Skill level" not useful.
William McBrine [Fri, 24 May 2013 11:02:06 +0000 (24 07:02 -0400)]
Slash outside the href.
William McBrine [Fri, 24 May 2013 08:18:27 +0000 (24 04:18 -0400)]
Forget leading zero on duration.
William McBrine [Fri, 24 May 2013 08:10:48 +0000 (24 04:10 -0400)]
Better alignment.
William McBrine [Fri, 24 May 2013 07:55:27 +0000 (24 03:55 -0400)]
More human-readable sizes (not just GB).
William McBrine [Fri, 24 May 2013 06:59:34 +0000 (24 02:59 -0400)]
Change "Web Configuration" to "Settings"; navigation link for the
settings page; title cleanup.
William McBrine [Fri, 24 May 2013 06:48:02 +0000 (24 02:48 -0400)]
Navigation links for Push screens.
William McBrine [Fri, 24 May 2013 02:17:13 +0000 (23 22:17 -0400)]
Links to higher levels and proper folder name display in ToGo plugin;
replaces the "Back to Now Playing List" link.
William McBrine [Fri, 24 May 2013 01:30:13 +0000 (23 21:30 -0400)]
Move table styling to CSS; other CSS changes. Much more to do here.
William McBrine [Sat, 18 May 2013 23:49:53 +0000 (18 19:49 -0400)]
Flush after every response. With HTTP/1.1, this appears to be necessary
in Python 2.5?
William McBrine [Sat, 11 May 2013 19:28:37 +0000 (11 15:28 -0400)]
Return the first of several matching audio tracks, as intended, not the
last. Patch by "nigelboid".
William McBrine [Fri, 10 May 2013 21:48:21 +0000 (10 17:48 -0400)]
Last responses without Content-Length (except errors?).
William McBrine [Fri, 10 May 2013 08:55:20 +0000 (10 04:55 -0400)]
Send "Last-Modified" with content results. This is enough to make
caching work pretty well, though more could be done.
William McBrine [Thu, 9 May 2013 06:10:58 +0000 (9 02:10 -0400)]
Chunked transfers for the music plugin. I _think_ everything is legit
HTTP 1.1 now... This should also do away with the stray ffmpeg processes
left when skipping forward, although I'm still getting an extra
traceback each time.
William McBrine [Wed, 8 May 2013 21:36:14 +0000 (8 17:36 -0400)]
...this, too.
William McBrine [Wed, 8 May 2013 19:57:37 +0000 (8 15:57 -0400)]
gzip encoding; HTTP 1.1 (not complete). This doesn't affect the TiVo,
only browsers. 1.1 requires some changes to the music plugin.
William McBrine [Mon, 8 Apr 2013 22:45:49 +0000 (8 18:45 -0400)]
Avoid duplicate share names with old-style announcements (though only if
Zeroconf is also enabled). With this change, two pyTivos with the same
share names no longer interfere.
William McBrine [Mon, 8 Apr 2013 20:50:30 +0000 (8 16:50 -0400)]
Avoid duplicate share names in Zeroconf announcements. To Do: Need to
propagate this to the old-style share name announcements.
William McBrine [Sun, 7 Apr 2013 20:20:57 +0000 (7 16:20 -0400)]
Shorter notation for CSS colors.
William McBrine [Thu, 14 Mar 2013 06:15:20 +0000 (14 02:15 -0400)]
Errors in plist parsing could abort a directory listing. Reported by
"txporter".
William McBrine [Mon, 11 Mar 2013 09:32:24 +0000 (11 05:32 -0400)]
Update Zeroconf docs (and one minor change).
William McBrine [Mon, 18 Feb 2013 03:39:28 +0000 (17 22:39 -0500)]
On the off chance that something actually tries to parse the sid as a
16-digit hexadecimal number...
William McBrine [Sun, 17 Feb 2013 20:02:08 +0000 (17 15:02 -0500)]
Tighter.
William McBrine [Sun, 17 Feb 2013 15:22:50 +0000 (17 10:22 -0500)]
New description for ffmpeg_wait. Could use expansion.
William McBrine [Sun, 17 Feb 2013 15:11:48 +0000 (17 10:11 -0500)]
Default ffmpeg_wait to 0, which makes pyTivo skip the poll()ing and just
wait() for FFmpeg to finish. Since I've never personally seen FFmpeg get
stuck, IIRC. To Do: There's even more common code now.
William McBrine [Sun, 17 Feb 2013 08:45:31 +0000 (17 03:45 -0500)]
TiVos have started sending out already-expired session cookies. But it
turns out that the TiVo just wants an "sid" back; it doesn't matter what
it says. So, construct a bogus cookie with this value. (To put it
another way, this is a workaround for the "400" errors that prevented
ToGo from working.)
William McBrine [Sun, 17 Feb 2013 03:24:23 +0000 (16 22:24 -0500)]
No need to use LWPCookieJar() since we're not reading or writing the
cookies.
William McBrine [Sun, 10 Feb 2013 17:44:19 +0000 (10 12:44 -0500)]
No longer needed.
William McBrine [Sun, 10 Feb 2013 11:11:58 +0000 (10 06:11 -0500)]
Use PLATFORM_VIDEO instead of PLATFORM_MAIN for the old-style beacons
_if_ only video shares are defined. This resolves the exclamation-point
icon issue in those cases. If there _are_ music or photo shares,
PLATFORM_MAIN is still used, in order to avoid the "Music on sharename's
PC"-style names in the HDUI.
William McBrine [Fri, 8 Feb 2013 05:11:50 +0000 (8 00:11 -0500)]
FFmpeg doesn't want to scale down too much at once, so break it into
successive invocations of the scale filter if needed. This fixes most of
the remaining broken pics. To Do: Figure out _exactly_ where the split
needs to be.
William McBrine [Fri, 8 Feb 2013 04:48:01 +0000 (7 23:48 -0500)]
Cleanup.
William McBrine [Fri, 8 Feb 2013 00:01:32 +0000 (7 19:01 -0500)]
Add a JFIF tag when FFmpeg doesn't. This fixes most of the broken pics.
William McBrine [Thu, 7 Feb 2013 22:09:30 +0000 (7 17:09 -0500)]
Cache results of get_size_ffmpeg().
William McBrine [Thu, 7 Feb 2013 20:45:49 +0000 (7 15:45 -0500)]
Separate EXIF parsing from get_image_pil().
William McBrine [Thu, 7 Feb 2013 19:34:31 +0000 (7 14:34 -0500)]
Common code for new size calculation.
William McBrine [Thu, 7 Feb 2013 13:38:35 +0000 (7 08:38 -0500)]
FFmpeg-based image scaling and rotation, if the PIL is unavailable.
To Do: Lots of images don't work, for reasons yet unclear.
William McBrine [Thu, 7 Feb 2013 11:07:54 +0000 (7 06:07 -0500)]
Separate HTTP query parsing and response from image rendering in photo
plugin.
William McBrine [Wed, 6 Feb 2013 10:49:18 +0000 (6 05:49 -0500)]
cgi is not used here.
William McBrine [Wed, 6 Feb 2013 10:46:12 +0000 (6 05:46 -0500)]
Save JPEGs at quality 85 instead of the default 75.
William McBrine [Wed, 6 Feb 2013 10:28:05 +0000 (6 05:28 -0500)]
Some additional image types need converting.
William McBrine [Wed, 6 Feb 2013 01:20:02 +0000 (5 20:20 -0500)]
These options shouldn't be in the HD_ and SD_ sections.
William McBrine [Tue, 5 Feb 2013 23:58:17 +0000 (5 18:58 -0500)]
Removed audio_codec option.
William McBrine [Tue, 5 Feb 2013 23:33:29 +0000 (5 18:33 -0500)]
Removed precaching.
William McBrine [Tue, 5 Feb 2013 10:51:58 +0000 (5 05:51 -0500)]
Removed par option.
William McBrine [Tue, 5 Feb 2013 10:28:05 +0000 (5 05:28 -0500)]
Removed video_pct option.
William McBrine [Tue, 29 Jan 2013 05:53:09 +0000 (29 00:53 -0500)]
License and history from qt-faststart 1.7. Note that we didn't use any
of the changes from 1.6 or 1.5, and this is still a modified version.
William McBrine [Tue, 29 Jan 2013 05:42:50 +0000 (29 00:42 -0500)]
Fix to qt-faststart for some malformed MP4s, by Daniel G. Taylor.
Reported by "rlafleur".
William McBrine [Tue, 15 Jan 2013 05:58:47 +0000 (15 00:58 -0500)]
Need to config the logger. Reported by "threeyedtoad".
William McBrine [Thu, 3 Jan 2013 11:25:42 +0000 (3 06:25 -0500)]
.WTV also needs the config inited. May as well do it for all?
William McBrine [Mon, 31 Dec 2012 06:39:22 +0000 (31 01:39 -0500)]
Newer FFmpeg treats (at least sometimes) embedded cover art as a video
track, negating the point of the "force_ffmpeg" option, unless we
explicitly disable video with "-vn".
William McBrine [Sun, 30 Dec 2012 20:41:40 +0000 (30 15:41 -0500)]
Allow for pure numeric mpaaRating, as apparently generated by kmttg, as
well as iTiVo's tvRating. (Undoes last change, as redundant.) Reported
by "saberman".
William McBrine [Mon, 17 Dec 2012 09:58:09 +0000 (17 04:58 -0500)]
Recognize the tvRating format used by iTiVo. Problem reported by Marconi.
William McBrine [Sat, 15 Dec 2012 08:33:23 +0000 (15 03:33 -0500)]
Allow aac_latm in transport streams.
William McBrine [Fri, 14 Dec 2012 07:07:13 +0000 (14 02:07 -0500)]
Really allow h264 video in transport streams.
William McBrine [Thu, 13 Dec 2012 05:38:31 +0000 (13 00:38 -0500)]
Allow h264 video in transport streams.
William McBrine [Sun, 4 Nov 2012 00:05:02 +0000 (3 20:05 -0400)]
"swversion" is optional in the beacons; "pyTivo" can still be used in the
platform if we specify it as "pc/pyTivo".
William McBrine [Mon, 8 Oct 2012 20:45:05 +0000 (8 16:45 -0400)]
Don't report the Python version in the HTTP headers.
William McBrine [Mon, 10 Sep 2012 12:10:24 +0000 (10 08:10 -0400)]
The change in tag_data requires more exact paths here.
William McBrine [Sun, 9 Sep 2012 08:54:52 +0000 (9 04:54 -0400)]
programId support. Not extensively tested.t
William McBrine [Sat, 8 Sep 2012 19:22:08 +0000 (8 15:22 -0400)]
Since getElementsByTagName() finds all nodes with the name recursively,
'program/uniqueId' was also matching 'program/series/uniqueId', which
was found first. Here is a version of tag_data that avoids using
getElementsByTagName(). To Do: Replace it elsewhere? Reported by "bwall23".
William McBrine [Wed, 11 Jul 2012 07:43:42 +0000 (11 03:43 -0400)]
Allow old "xN"-format star ratings to work. Reported by James Sutherland.
William McBrine [Thu, 5 Jul 2012 14:56:26 +0000 (5 10:56 -0400)]
Use "-vf scale" instead of "-s" when using new-style padding. After Erich
Bratton. Note that support for the scale filter is assumed, not explicitly
checked -- valid? Also, I dropped the "just stretch it" bits.
William McBrine [Thu, 5 Jul 2012 08:11:28 +0000 (5 04:11 -0400)]
Fix for select_audiolang() by Bradley Davidson.
William McBrine [Thu, 5 Jul 2012 06:04:05 +0000 (5 02:04 -0400)]
Pass transport-stream .TiVo files through, regardless of ts flag. Also
passes program-stream .TiVo files as such even with the flag set. This
does not yet handle h264 .TiVo files, and still does not filter TS files
from the results for pre-S4 TiVos, or pushable files, or treat them as
undecodable, all of which need to be done. Nor is there yet any TTG
support for TS streams in this fork.
William McBrine [Wed, 20 Jun 2012 19:12:42 +0000 (20 15:12 -0400)]
Speculative fix for external URLs.