William McBrine [Thu, 19 Mar 2009 23:06:51 +0000 (19 19:06 -0400)]
Reorg -- eliminating tivo_compatible_mp4() and _vc1().
William McBrine [Thu, 19 Mar 2009 22:11:20 +0000 (19 18:11 -0400)]
Minor reorg, mostly to remove the duplicative "TRANSCODE=YES" text.
William McBrine [Thu, 19 Mar 2009 18:03:45 +0000 (19 14:03 -0400)]
Allow passthrough of MPEG-1 video, but force remuxing, since TiVos don't
like the MPEG-1 container. (This should be handled by the container
check, but ffmpeg -i doesn't properly distinguish the VCD and VOB
containers.)
William McBrine [Thu, 19 Mar 2009 09:46:02 +0000 (19 05:46 -0400)]
More like this.
William McBrine [Thu, 19 Mar 2009 08:12:34 +0000 (19 04:12 -0400)]
Allow remuxing and/or reencoding audio without reencoding video. Useful
for transport streams, DVR-MS files, and DVD rips with PCM audio tracks,
for example.
William McBrine [Wed, 18 Mar 2009 08:24:58 +0000 (18 04:24 -0400)]
A couple more common video extensions. This list needs work.
William McBrine [Wed, 18 Mar 2009 07:57:31 +0000 (18 03:57 -0400)]
getFormat() is also pointless.
William McBrine [Wed, 18 Mar 2009 07:55:05 +0000 (18 03:55 -0400)]
Check MPEG-2 compatibility based on the container type rather than the
extension. Should be more robust, but needs more testing.
William McBrine [Wed, 18 Mar 2009 07:32:15 +0000 (18 03:32 -0400)]
Parse the container type from ffmpeg output; check for appropriate
containers for mp4 and vc1 push.
William McBrine [Mon, 16 Mar 2009 01:48:28 +0000 (15 21:48 -0400)]
getVideoCodec() is pointless, since "mpeg2video" is the only valid
value, and is hardwired elsewhere. The video_codec option was already
omitted from help.txt.
William McBrine [Sun, 15 Mar 2009 07:44:23 +0000 (15 03:44 -0400)]
This test is redundant now.
William McBrine [Sun, 15 Mar 2009 07:32:37 +0000 (15 03:32 -0400)]
Only these audio codecs can be passed through.
William McBrine [Sun, 15 Mar 2009 05:24:11 +0000 (15 01:24 -0400)]
Buffer for wfile. May improve performance, suppress 3-5-6 errors? Size
may need tuning; more testing needed.
William McBrine [Sat, 7 Mar 2009 04:18:38 +0000 (6 23:18 -0500)]
Reformatted the Javascript portion of settings.tmpl... the rest will be
harder.
William McBrine [Sat, 7 Mar 2009 00:45:36 +0000 (6 19:45 -0500)]
Some obsolete comments in README. This file needs a lot of work yet.
William McBrine [Fri, 6 Mar 2009 23:58:05 +0000 (6 18:58 -0500)]
Changed the examples to my preferred location -- a "bin" directory under
pyTivo/. Keeping ffmpeg in the video plugin directory is bad, especially
since it's also used by the music plugin.
William McBrine [Fri, 6 Mar 2009 23:47:40 +0000 (6 18:47 -0500)]
Removing the Windows binary of ffmpeg from the git source. (This makes
my master branch equivalent to the old "semi-clean" branch.)
William McBrine [Fri, 6 Mar 2009 15:28:24 +0000 (6 10:28 -0500)]
Don't have to click edit.
William McBrine [Fri, 6 Mar 2009 14:34:39 +0000 (6 09:34 -0500)]
Highlight a section to edit it, instead of having to highlight it and
then press the "Edit Section" button.
William McBrine [Thu, 5 Mar 2009 22:20:43 +0000 (5 17:20 -0500)]
Replace print statements with calls to the logging system. More to do
here.
William McBrine [Thu, 5 Mar 2009 19:44:54 +0000 (5 14:44 -0500)]
Single quotes.
William McBrine [Thu, 5 Mar 2009 19:42:10 +0000 (5 14:42 -0500)]
Slightly neater.
William McBrine [Thu, 5 Mar 2009 19:34:54 +0000 (5 14:34 -0500)]
Include the timestamp and IP in the log messages.
Bill Nottingham [Tue, 20 Jan 2009 04:46:30 +0000 (19 23:46 -0500)]
Override sys.excepthook and server error handler so that tracebacks go to the log.
Bill Nottingham [Tue, 20 Jan 2009 04:45:43 +0000 (19 23:45 -0500)]
Override log_message in the http server so messages go to the log instead of stderr.
William McBrine [Thu, 5 Mar 2009 02:51:17 +0000 (4 21:51 -0500)]
Another tweak to the video bitrate finder, by alundeby.
William McBrine [Thu, 5 Mar 2009 02:47:42 +0000 (4 21:47 -0500)]
Spacing.
William McBrine [Thu, 5 Mar 2009 01:36:20 +0000 (4 20:36 -0500)]
Remove the ffmpeg comment (incompatible with recent versions of ffmpeg).
William McBrine [Wed, 4 Mar 2009 23:18:32 +0000 (4 18:18 -0500)]
Suppress traceback on unexpected socket close during video transfer, and
close the file.
William McBrine [Wed, 4 Mar 2009 23:07:16 +0000 (4 18:07 -0500)]
Support for pushing VC-1 without transcoding.
William McBrine [Wed, 4 Mar 2009 15:57:35 +0000 (4 10:57 -0500)]
Australian TiVo HD TSN. Dunno if they'll work yet, but anyway.
William McBrine [Tue, 3 Mar 2009 20:33:20 +0000 (3 15:33 -0500)]
No point showing "This feature is not available yet," just comment it
out for now.
William McBrine [Tue, 3 Mar 2009 19:48:50 +0000 (3 14:48 -0500)]
Make the selector/button wrap on the push menu in all browsers.
William McBrine [Mon, 2 Mar 2009 00:32:17 +0000 (1 19:32 -0500)]
Made the info page a little more like the others. Much more to do here.
William McBrine [Mon, 2 Mar 2009 00:30:53 +0000 (1 19:30 -0500)]
Weird punctuation.
William McBrine [Sun, 1 Mar 2009 23:09:31 +0000 (1 18:09 -0500)]
Made the push page look more like the ToGo page; darker alternate color
for the ToGo page. More to do here.
William McBrine [Sun, 1 Mar 2009 20:04:11 +0000 (1 15:04 -0500)]
80 columns for container.xsl.
William McBrine [Sun, 1 Mar 2009 18:42:27 +0000 (1 13:42 -0500)]
Set push subtitle to file_info['title'] if series and no episodeTitle.
William McBrine [Sun, 1 Mar 2009 18:08:17 +0000 (1 13:08 -0500)]
Don't show duplicate titles and episode titles in the XSL.
William McBrine [Sat, 28 Feb 2009 20:59:56 +0000 (28 15:59 -0500)]
Restore seriesTitle checking for push.
William McBrine [Fri, 27 Feb 2009 22:29:33 +0000 (27 17:29 -0500)]
Allow grouping by seriesId instead of title in push.
William McBrine [Fri, 27 Feb 2009 22:02:17 +0000 (27 17:02 -0500)]
Boldface the directory names too, for consistency.
William McBrine [Fri, 27 Feb 2009 22:00:10 +0000 (27 17:00 -0500)]
Add episode title and description to the Push page.
William McBrine [Fri, 27 Feb 2009 08:58:15 +0000 (27 03:58 -0500)]
Merge branch 'master' into mutagen-branch
William McBrine [Fri, 27 Feb 2009 08:57:23 +0000 (27 03:57 -0500)]
Check alternate tag names for AAC, WMA.
William McBrine [Fri, 27 Feb 2009 00:41:16 +0000 (26 19:41 -0500)]
Slightly simpler music metadata handling.
William McBrine [Fri, 27 Feb 2009 00:26:10 +0000 (26 19:26 -0500)]
More like this. D'oh!
William McBrine [Thu, 26 Feb 2009 21:54:10 +0000 (26 16:54 -0500)]
h264 passthrough for the webvideo plugin. Not tested since I can't seem
to connect right now.
William McBrine [Thu, 26 Feb 2009 20:15:50 +0000 (26 15:15 -0500)]
Rounding error? Not sure which to use, but this matches the help.txt
on video_fps, anyway.
William McBrine [Thu, 26 Feb 2009 16:40:43 +0000 (26 11:40 -0500)]
ID correction.
William McBrine [Thu, 26 Feb 2009 16:13:07 +0000 (26 11:13 -0500)]
Even more audio ids for AAC.
William McBrine [Thu, 26 Feb 2009 15:20:17 +0000 (26 10:20 -0500)]
Merge branch 'master' into mutagen-branch
William McBrine [Thu, 26 Feb 2009 11:40:54 +0000 (26 06:40 -0500)]
The "debug" option has not generated a "debug.txt" file for a long time.
William McBrine [Thu, 26 Feb 2009 11:04:53 +0000 (26 06:04 -0500)]
This warning only confuses people. Let's suppress it.
William McBrine [Thu, 26 Feb 2009 10:49:25 +0000 (26 05:49 -0500)]
May as well explicitly close these, too.
William McBrine [Thu, 26 Feb 2009 10:19:47 +0000 (26 05:19 -0500)]
Add libfaad as recognized codec for tivo_compatible_mp4().
William McBrine [Thu, 26 Feb 2009 07:49:16 +0000 (26 02:49 -0500)]
Also need to strip them.
William McBrine [Thu, 26 Feb 2009 07:32:13 +0000 (26 02:32 -0500)]
Correct field to split for Various Artists.
William McBrine [Thu, 26 Feb 2009 07:22:58 +0000 (26 02:22 -0500)]
Run the ffmpeg test only if no duration comes back from mutagen.
William McBrine [Wed, 25 Feb 2009 19:06:35 +0000 (25 14:06 -0500)]
Merge branch 'master' into mutagen-branch
William McBrine [Wed, 25 Feb 2009 19:04:45 +0000 (25 14:04 -0500)]
Use POST instead of GET for saving settings from the web admin plugin.
Avoids length limits in IE, perhaps others.
William McBrine [Wed, 25 Feb 2009 14:06:45 +0000 (25 09:06 -0500)]
Duration needs to be in milliseconds; formatting.
justine [Tue, 24 Feb 2009 22:26:07 +0000 (24 16:26 -0600)]
Fixing beginner mistakes. Justin
justine [Tue, 24 Feb 2009 19:08:19 +0000 (24 13:08 -0600)]
Removing eyeD3, adding mutagen, and modify music.py to use mutagen.
Justin Ellison
William McBrine [Wed, 25 Feb 2009 10:04:41 +0000 (25 05:04 -0500)]
We were never setting the MIME type for video transfers; and, if set to
video/x-tivo-mpeg, they don't work, except for .tivo files. video/mpeg
should be the default.
William McBrine [Wed, 25 Feb 2009 09:43:30 +0000 (25 04:43 -0500)]
Patch to the qt-faststart patch -- attempt to pass through if parse
error. By KG.
William McBrine [Tue, 24 Feb 2009 09:58:20 +0000 (24 04:58 -0500)]
Patch by Keary Griffin to use qt-faststart automatically. Needs more
testing.
William McBrine [Mon, 23 Feb 2009 19:42:16 +0000 (23 14:42 -0500)]
It seems to me that there are many more invalid rates than valid ones.
I'm not even sure all these are good. Should there be others?
William McBrine [Mon, 23 Feb 2009 19:02:00 +0000 (23 14:02 -0500)]
Support for pushing (though not pulling) h264 files. If pushing to an HD
TiVo, the Push() function tests whether a file has h264 video and
mpeg4aac or ac3 audio; if so, it will (attempt to) send it without
transcoding it. This is limited right now, and can have false positives.
There's no testing of the container (must be MP4 AFAIK), nor that
"streaming" mode is set, for instance. If a push fails, it will not be
retried, but you can pull the file instead (in which case it will be
transcoded to MPEG-2).
William McBrine [Sun, 22 Feb 2009 14:59:41 +0000 (22 09:59 -0500)]
Use send_error() where appropriate.
William McBrine [Sun, 22 Feb 2009 14:52:49 +0000 (22 09:52 -0500)]
More minor tweaks.
William McBrine [Sun, 22 Feb 2009 14:15:08 +0000 (22 09:15 -0500)]
Pointful function.
William McBrine [Sun, 22 Feb 2009 13:57:29 +0000 (22 08:57 -0500)]
Pointless function.
William McBrine [Sun, 22 Feb 2009 13:31:35 +0000 (22 08:31 -0500)]
Some missing MIME types, and an extra line for the XSL. Fixes the Push
page for non-Firefox browsers (tested in IE 7, Opera and Safari).
William McBrine [Sat, 21 Feb 2009 14:13:20 +0000 (21 09:13 -0500)]
Synchronized with the wiki, plus minor corrections and changes for
consistency.
William McBrine [Sat, 21 Feb 2009 11:07:58 +0000 (21 06:07 -0500)]
80 columns for help.txt, and a few minor corrections. Much more to do.
William McBrine [Sat, 21 Feb 2009 10:35:58 +0000 (21 05:35 -0500)]
Pythonic.
William McBrine [Sat, 21 Feb 2009 05:24:19 +0000 (21 00:24 -0500)]
Typo.
William McBrine [Sat, 21 Feb 2009 00:51:57 +0000 (20 19:51 -0500)]
Error in pyTivo.conf.dist -- should be ffmpeg_pram, not ffmpeg_prams.
William McBrine [Fri, 20 Feb 2009 12:21:24 +0000 (20 07:21 -0500)]
Support the "QueryFormats" command (for video only -- the only type it's
requested for.) This doesn't really serve any purpose, except to get rid
of some 404's in the log. (I had hoped I could get the TiVo to request a
raw-tts file by including that format in the list, but it looks like
more is needed.) To Do: QueryItem; FlushServer?
William McBrine [Fri, 20 Feb 2009 05:52:21 +0000 (20 00:52 -0500)]
A buffer for the ffmpeg process in the music plugin, as in the video
plugin. Makes a huge difference on a Mac.
William McBrine [Fri, 20 Feb 2009 04:02:04 +0000 (19 23:02 -0500)]
Use mtime rather than ctime.
William McBrine [Fri, 20 Feb 2009 03:15:06 +0000 (19 22:15 -0500)]
Do the distance calculations in closest() only once.
William McBrine [Fri, 20 Feb 2009 02:35:08 +0000 (19 21:35 -0500)]
Some more commonality for config.py.
William McBrine [Thu, 19 Feb 2009 15:15:58 +0000 (19 10:15 -0500)]
Prefer seriesTitle over title for push, if available.
William McBrine [Thu, 19 Feb 2009 15:04:45 +0000 (19 10:04 -0500)]
Use the metadata episodeTitle as the push subtitle, if possible.
Part of the mods by "mathwiz".
William McBrine [Thu, 19 Feb 2009 14:26:44 +0000 (19 09:26 -0500)]
Omit the "subtitle" field from pushes if empty -- no more empty strings
in the description.
William McBrine [Thu, 19 Feb 2009 13:39:46 +0000 (19 08:39 -0500)]
Goodbye Stephanie.
William McBrine [Thu, 19 Feb 2009 13:07:11 +0000 (19 08:07 -0500)]
Tightened up the metadata parser a little.
William McBrine [Thu, 19 Feb 2009 12:00:10 +0000 (19 07:00 -0500)]
justintime's fallback method of parsing the video bitrate from the
ffmpeg output. (I haven't tested this myself, since I don't seem to have
a file that needs it.)
William McBrine [Thu, 19 Feb 2009 11:48:56 +0000 (19 06:48 -0500)]
Accomodate the absence of the '_tivo_HD' and '_tivo_SD' sections in the
admin plugin, and allow for their creation. I _think_ this is
everything now...
William McBrine [Thu, 19 Feb 2009 11:24:06 +0000 (19 06:24 -0500)]
Restore the ability to define most options in the "Server" section. (The
new sections take precedence if present.)
William McBrine [Thu, 19 Feb 2009 10:51:25 +0000 (19 05:51 -0500)]
Accomodate the absence of the new sections; more compact.
William McBrine [Thu, 19 Feb 2009 09:42:16 +0000 (19 04:42 -0500)]
...but I don't agree with forcing their creation.
William McBrine [Thu, 19 Feb 2009 09:39:24 +0000 (19 04:39 -0500)]
These new sections should be documented in pyTivo.conf.dist (are there
other options that aren't there?)...
William McBrine [Thu, 19 Feb 2009 09:37:42 +0000 (19 04:37 -0500)]
Credit.
wgw [Sat, 31 Jan 2009 01:42:12 +0000 (30 19:42 -0600)]
not needed with 20Mi
wgw [Sun, 25 Jan 2009 20:21:08 +0000 (25 14:21 -0600)]
forgot to update the SD TiVo Settings in template
wgw [Sun, 25 Jan 2009 19:56:12 +0000 (25 13:56 -0600)]
update audio_lang help recommended setting
wgw [Sun, 25 Jan 2009 19:26:11 +0000 (25 13:26 -0600)]
suggested settings for big screens