pyTivo/wmcbrine.git
6 years agoStill need to skip "_tivo_4K" sections when building list of found TiVos.master
William McBrine [Wed, 9 May 2018 10:02:42 +0000 (9 06:02 -0400)]
Still need to skip "_tivo_4K" sections when building list of found TiVos.

6 years agoProvisional fix for timelines on remuxed h.264 videos. Should it also
William McBrine [Sun, 18 Mar 2018 13:30:23 +0000 (18 09:30 -0400)]
Provisional fix for timelines on remuxed h.264 videos. Should it also
apply to MPEG-2? And... why does it work?

6 years agoRevert all the 4K changes -- the Bolt doesn't actually accept it (via HMO).
William McBrine [Sat, 10 Mar 2018 01:44:03 +0000 (9 20:44 -0500)]
Revert all the 4K changes -- the Bolt doesn't actually accept it (via HMO).

7 years agoNo more pyTivo-temp files.
William McBrine [Mon, 2 Jan 2017 01:57:07 +0000 (1 20:57 -0500)]
No more pyTivo-temp files.

7 years agovideo/mp4 only worked for push.
William McBrine [Sun, 1 Jan 2017 23:27:21 +0000 (1 18:27 -0500)]
video/mp4 only worked for push.

7 years agovideo/bif only worked (and poorly) for push.
William McBrine [Sun, 1 Jan 2017 23:14:22 +0000 (1 18:14 -0500)]
video/bif only worked (and poorly) for push.

7 years agoRemoving all Push support. TiVo has broken it on their end, and I don't
William McBrine [Sun, 1 Jan 2017 19:56:25 +0000 (1 14:56 -0500)]
Removing all Push support. TiVo has broken it on their end, and I don't
think they're ever going to fix it.

7 years agoMerge pull request #21 from geekmug/patch-1
William McBrine [Mon, 14 Nov 2016 10:07:58 +0000 (14 05:07 -0500)]
Merge pull request #21 from geekmug/patch-1

Use -bsf:v to avoid issues with unsupported audio

7 years agoUse -bsf:v to avoid issues with unsupported audio
Scott Dial [Mon, 14 Nov 2016 06:01:21 +0000 (14 01:01 -0500)]
Use -bsf:v to avoid issues with unsupported audio

Previously, using -bsf would sometimes give an error for an unsupported codec (e.g., ac3 for h264_mp4toannexb, since h264_mp4toannexb is intended only to repack H264 video from an mp4 file). Using of the ":v" suffix isolates the use of the bitstream filter to only the video stream as the code really intended.

7 years agoStrip new Rovi copyright notices as well as Tribune.
William McBrine [Mon, 24 Oct 2016 05:33:37 +0000 (24 01:33 -0400)]
Strip new Rovi copyright notices as well as Tribune.

8 years agoNew options for ts: on/off/auto (like zeroconf), default auto. Auto
William McBrine [Mon, 21 Mar 2016 22:52:00 +0000 (21 18:52 -0400)]
New options for ts: on/off/auto (like zeroconf), default auto. Auto
passes through existing program streams and transport streams as-is,
minimizing FFmpeg usage, and attempts to guess the best choice for other
files. Also finally added to the Settings menu, with help.

8 years agoTentative fix for LRUcache bug (with Python 2.7.11?), reported by
William McBrine [Sun, 28 Feb 2016 01:23:44 +0000 (27 20:23 -0500)]
Tentative fix for LRUcache bug (with Python 2.7.11?), reported by
"andrew1883".

8 years agoIt seems not. :(
William McBrine [Sun, 21 Feb 2016 16:13:28 +0000 (21 11:13 -0500)]
It seems not. :(

8 years agoDoes 11.0n support transferring H.264 in transport streams? Let's find out.
William McBrine [Fri, 22 Jan 2016 23:17:26 +0000 (22 18:17 -0500)]
Does 11.0n support transferring H.264 in transport streams? Let's find out.

8 years agoEliminate width and height options.
William McBrine [Wed, 9 Dec 2015 03:24:03 +0000 (8 22:24 -0500)]
Eliminate width and height options.

8 years agoEliminate audio_ch, audio_fr, copy_ts and video_fps. Preparatory to
William McBrine [Tue, 8 Dec 2015 15:41:24 +0000 (8 10:41 -0500)]
Eliminate audio_ch, audio_fr, copy_ts and video_fps. Preparatory to
removing the (almost) redundant join()/split() calls for the settings.

8 years agoHere too.
William McBrine [Tue, 8 Dec 2015 08:46:08 +0000 (8 03:46 -0500)]
Here too.

8 years agoOmit video/audio options when using the "copy" codec -- necessary (?)
William McBrine [Tue, 8 Dec 2015 08:25:02 +0000 (8 03:25 -0500)]
Omit video/audio options when using the "copy" codec -- necessary (?)
for newer FFmpeg. This entails discarding the ffmpeg_tmpl option...
which was kind of overdue. Also updated some options to modern syntax.
(More to do there?)

8 years agoUndo added spaces.
William McBrine [Mon, 12 Oct 2015 23:57:30 +0000 (12 19:57 -0400)]
Undo added spaces.

8 years agoMerge pull request #18 from mackworth/master
William McBrine [Mon, 12 Oct 2015 23:53:08 +0000 (12 19:53 -0400)]
Merge pull request #18 from mackworth/master

MP4 metadata improvements

8 years agochange to integer for colorCode processing
Hugh Mackworth [Mon, 12 Oct 2015 04:06:09 +0000 (11 21:06 -0700)]
change to integer for colorCode processing

8 years agoProposal for reading TiVo-specific information from MP4 format
Hugh Mackworth [Sun, 11 Oct 2015 22:50:21 +0000 (11 15:50 -0700)]
Proposal for reading TiVo-specific information from MP4 format

8 years agoFix colorCode parsing from TXT
Hugh Mackworth [Sun, 11 Oct 2015 21:50:56 +0000 (11 14:50 -0700)]
Fix colorCode parsing from TXT

8 years agoadd space to metadata dump as TXT
Hugh Mackworth [Sun, 11 Oct 2015 21:49:00 +0000 (11 14:49 -0700)]
add space to metadata dump as TXT

8 years agoImprove MP4 metadata reading
Hugh Mackworth [Sun, 11 Oct 2015 21:48:22 +0000 (11 14:48 -0700)]
Improve MP4 metadata reading

8 years agoMerge pull request #1 from wmcbrine/master
Hugh Mackworth [Sun, 11 Oct 2015 21:20:30 +0000 (11 14:20 -0700)]
Merge pull request #1 from wmcbrine/master

Update from wmcbrine

8 years agoTentative support for HEVC (h.265) in MP4 and transport streams. Not tested.
William McBrine [Thu, 1 Oct 2015 21:20:29 +0000 (1 17:20 -0400)]
Tentative support for HEVC (h.265) in MP4 and transport streams. Not tested.

8 years agoNew option block for 4K TiVos (currently, the Bolt), with appropriate
William McBrine [Thu, 1 Oct 2015 20:39:15 +0000 (1 16:39 -0400)]
New option block for 4K TiVos (currently, the Bolt), with appropriate
height and width defaults, and speculative bitrate and buffer size. Not
yet tested with an actual Bolt.

8 years agoqtfaststart's "free" atom stripping mangled some files.
William McBrine [Wed, 26 Aug 2015 13:13:51 +0000 (26 09:13 -0400)]
qtfaststart's "free" atom stripping mangled some files.

9 years agoFix for workaround -- pushing was broken in auto mode. D'oh! Reported by
William McBrine [Wed, 25 Mar 2015 23:20:48 +0000 (25 19:20 -0400)]
Fix for workaround -- pushing was broken in auto mode. D'oh! Reported by
"spoole100".

9 years agoWorkaround for the TiVo losing track of the grouped/ungrouped flag for
William McBrine [Wed, 18 Mar 2015 00:17:07 +0000 (17 20:17 -0400)]
Workaround for the TiVo losing track of the grouped/ungrouped flag for
video shares in 20.4.5+.

9 years agoAngle brackets in the error message made it invisible.
William McBrine [Wed, 24 Dec 2014 17:17:34 +0000 (24 12:17 -0500)]
Angle brackets in the error message made it invisible.

9 years agoRestore pre-Python-2.7.9 behavior. Neither individual TiVos' nor
William McBrine [Tue, 23 Dec 2014 21:36:55 +0000 (23 16:36 -0500)]
Restore pre-Python-2.7.9 behavior. Neither individual TiVos' nor
(apparently) the mind server's SSL certificates validate. Reported by
"dcrowell77".

9 years agoRatings from .nfo files should no longer be converted to strings.
William McBrine [Fri, 8 Aug 2014 04:01:32 +0000 (8 00:01 -0400)]
Ratings from .nfo files should no longer be converted to strings.

9 years agoVersion 0.14 of zeroconf.py -- see the pyzeroconf project for details.
William McBrine [Thu, 19 Jun 2014 16:35:44 +0000 (19 12:35 -0400)]
Version 0.14 of zeroconf.py -- see the pyzeroconf project for details.

9 years agoAllow spoofing a TSN in ToGo via the "togo_tsn" setting. This affects
William McBrine [Thu, 12 Jun 2014 19:06:25 +0000 (12 15:06 -0400)]
Allow spoofing a TSN in ToGo via the "togo_tsn" setting. This affects
the behavior of pyTivo servers, at least.

9 years agoTo include non-TiVo video servers (TD, other pyTivos, etc.) in the "Pull
William McBrine [Thu, 12 Jun 2014 17:40:20 +0000 (12 13:40 -0400)]
To include non-TiVo video servers (TD, other pyTivos, etc.) in the "Pull
from" list, add the "togo_all" option to the Server section of
pyTivo.conf with a true value.

9 years agoOmit TD-style TSNs from the Push list.
William McBrine [Thu, 12 Jun 2014 17:14:59 +0000 (12 13:14 -0400)]
Omit TD-style TSNs from the Push list.

9 years agoAdd a TiVo-Desktop-style "tsn" field to each share's Zeroconf
William McBrine [Thu, 12 Jun 2014 15:33:30 +0000 (12 11:33 -0400)]
Add a TiVo-Desktop-style "tsn" field to each share's Zeroconf
announcement. (Note that TD uses the same uuid for all shares, but it
only allows one of each type; I suspect we're better off using unique
IDs for each, so that's what's done here.)

9 years agoBetter display in ToGo when navigating pyTivo shares (this still doesn't
William McBrine [Thu, 12 Jun 2014 05:04:41 +0000 (12 01:04 -0400)]
Better display in ToGo when navigating pyTivo shares (this still doesn't
allow direct navigation to intermediate directories, as in the Push
menus, but it _looks_ cleaner).

9 years agoUse cp1252 instead of iso8859-1 for Windows 8-bit characters.
William McBrine [Sun, 8 Jun 2014 11:45:28 +0000 (8 07:45 -0400)]
Use cp1252 instead of iso8859-1 for Windows 8-bit characters.

9 years agoAllow filling in the names and addresses of TiVos found via Zeroconf
William McBrine [Fri, 6 Jun 2014 20:08:07 +0000 (6 16:08 -0400)]
Allow filling in the names and addresses of TiVos found via Zeroconf
(although this shouldn't be needed) or specified in pyTivo.conf --
allows bare _tivo_TSN sections to still be pullable.

9 years agoMore handling of missing names and addresses.
William McBrine [Fri, 6 Jun 2014 18:13:15 +0000 (6 14:13 -0400)]
More handling of missing names and addresses.

9 years agoMore _tivo_ sections without addresses.
William McBrine [Fri, 6 Jun 2014 15:35:07 +0000 (6 11:35 -0400)]
More _tivo_ sections without addresses.

9 years agoAllow for pyTivo-style URLs; more Unicode in ToGo.
William McBrine [Fri, 6 Jun 2014 15:16:09 +0000 (6 11:16 -0400)]
Allow for pyTivo-style URLs; more Unicode in ToGo.

9 years agoAllow for minimalist "_tivo_" sections (no name or address), as Push
William McBrine [Fri, 6 Jun 2014 05:09:00 +0000 (6 01:09 -0400)]
Allow for minimalist "_tivo_" sections (no name or address), as Push
targets.

9 years agoescape doesn't make sense in HTML. Possibly some of these should be
William McBrine [Fri, 6 Jun 2014 03:53:08 +0000 (5 23:53 -0400)]
escape doesn't make sense in HTML. Possibly some of these should be
quoted instead.

9 years agoNon-ASCII names in ToGo.
William McBrine [Fri, 6 Jun 2014 03:37:38 +0000 (5 23:37 -0400)]
Non-ASCII names in ToGo.

9 years agoAllow for missing details URL.
William McBrine [Wed, 4 Jun 2014 11:49:49 +0000 (4 07:49 -0400)]
Allow for missing details URL.

9 years agoLog error if no TSN in Push request.
William McBrine [Mon, 2 Jun 2014 19:48:34 +0000 (2 15:48 -0400)]
Log error if no TSN in Push request.

9 years agoAllow TSN-less requests to send_file() in video plugin.
William McBrine [Mon, 2 Jun 2014 19:44:39 +0000 (2 15:44 -0400)]
Allow TSN-less requests to send_file() in video plugin.

9 years agoStore URLs for extended metadata instead of deriving them from the id.
William McBrine [Mon, 2 Jun 2014 11:54:39 +0000 (2 07:54 -0400)]
Store URLs for extended metadata instead of deriving them from the id.

9 years agoFall back to adding responders with TSNs *only* if no TiVos are found
William McBrine [Sun, 1 Jun 2014 17:16:04 +0000 (1 13:16 -0400)]
Fall back to adding responders with TSNs *only* if no TiVos are found
either via Zeroconf or hardwired in pyTivo.conf.

9 years agoNeed quoting here.
William McBrine [Sat, 31 May 2014 17:28:18 +0000 (31 13:28 -0400)]
Need quoting here.

9 years agoUse Url instead of UniqueId to link to lower-level folders in ToGo.
William McBrine [Sat, 31 May 2014 10:11:43 +0000 (31 06:11 -0400)]
Use Url instead of UniqueId to link to lower-level folders in ToGo.

9 years agoHere also.
William McBrine [Fri, 30 May 2014 18:48:36 +0000 (30 14:48 -0400)]
Here also.

9 years agoAccept more ContentTypes as folders.
William McBrine [Fri, 30 May 2014 18:33:50 +0000 (30 14:33 -0400)]
Accept more ContentTypes as folders.

9 years agoAllow for missing SourceSize and CaptureDate in ToGo.
William McBrine [Fri, 30 May 2014 18:31:00 +0000 (30 14:31 -0400)]
Allow for missing SourceSize and CaptureDate in ToGo.

9 years agoMerge branch 'master' of nikka:pyTivo
William McBrine [Fri, 30 May 2014 14:32:20 +0000 (30 10:32 -0400)]
Merge branch 'master' of nikka:pyTivo

9 years agoUse Zeroconf-specified base path for ToGo, instead of a hardwired one.
William McBrine [Fri, 30 May 2014 14:26:22 +0000 (30 10:26 -0400)]
Use Zeroconf-specified base path for ToGo, instead of a hardwired one.

9 years agoConsolidate "tivo_names" and "tivo_ports" into "tivos"; (temporarily?)
William McBrine [Fri, 30 May 2014 12:44:18 +0000 (30 08:44 -0400)]
Consolidate "tivo_names" and "tivo_ports" into "tivos"; (temporarily?)
eliminate old-style TiVo list building (where anything with a TSN that
connects is added).

9 years agoAllow for non-standard ports in ToGo.
William McBrine [Fri, 30 May 2014 05:25:32 +0000 (30 01:25 -0400)]
Allow for non-standard ports in ToGo.

9 years agoAllow for missing server names in ToGo (use IP).
William McBrine [Fri, 30 May 2014 05:14:02 +0000 (30 01:14 -0400)]
Allow for missing server names in ToGo (use IP).

9 years agoAllow basic auth as well as digest auth in ToGo.
William McBrine [Fri, 30 May 2014 05:06:49 +0000 (30 01:06 -0400)]
Allow basic auth as well as digest auth in ToGo.

9 years agoAllow for missing duration in ToGo.
William McBrine [Fri, 30 May 2014 04:56:29 +0000 (30 00:56 -0400)]
Allow for missing duration in ToGo.

9 years agoAllow for missing id in ToGo.
William McBrine [Fri, 30 May 2014 00:07:44 +0000 (29 20:07 -0400)]
Allow for missing id in ToGo.

9 years agoExtend scan time to a full second.
William McBrine [Thu, 29 May 2014 23:50:27 +0000 (29 19:50 -0400)]
Extend scan time to a full second.

10 years agoMore correct padding for tivo_header().
William McBrine [Mon, 21 Apr 2014 19:36:46 +0000 (21 15:36 -0400)]
More correct padding for tivo_header().

10 years agoReduce redundant calls to getmtime(). More to do here.
William McBrine [Wed, 16 Apr 2014 16:11:58 +0000 (16 12:11 -0400)]
Reduce redundant calls to getmtime(). More to do here.

10 years agoPrefer getmtime() and getsize() over stat().
William McBrine [Wed, 16 Apr 2014 10:57:34 +0000 (16 06:57 -0400)]
Prefer getmtime() and getsize() over stat().

10 years agoAllow for even more variance in input to Push(), and TVBusQuery().
William McBrine [Wed, 16 Apr 2014 01:52:34 +0000 (15 21:52 -0400)]
Allow for even more variance in input to Push(), and TVBusQuery().

10 years agoAllow for bad timestamps in metadata.basic(). To Do: Redundancy; logging.
William McBrine [Mon, 14 Apr 2014 02:35:14 +0000 (13 22:35 -0400)]
Allow for bad timestamps in metadata.basic(). To Do: Redundancy; logging.

10 years agoAllow for slightly more mangled input to Push().
William McBrine [Mon, 7 Apr 2014 17:30:16 +0000 (7 13:30 -0400)]
Allow for slightly more mangled input to Push().

10 years agoEncode all mpeg2video as yuv420p.
William McBrine [Sun, 30 Mar 2014 19:30:13 +0000 (30 15:30 -0400)]
Encode all mpeg2video as yuv420p.

10 years agoAccidentally committed debug code.
William McBrine [Thu, 16 Jan 2014 04:12:00 +0000 (15 23:12 -0500)]
Accidentally committed debug code.

10 years agoBogus exception handling.
William McBrine [Sun, 10 Nov 2013 08:55:45 +0000 (10 03:55 -0500)]
Bogus exception handling.

10 years agoBogue exception handling.
William McBrine [Mon, 11 Nov 2013 22:49:40 +0000 (11 17:49 -0500)]
Bogue exception handling.

10 years agoHmm.
William McBrine [Sun, 10 Nov 2013 08:55:45 +0000 (10 03:55 -0500)]
Hmm.

10 years agoMore Turing tweaks.
William McBrine [Tue, 29 Oct 2013 19:54:35 +0000 (29 15:54 -0400)]
More Turing tweaks.

10 years agoInclude error text in failed connect page; capture other errors for
William McBrine [Tue, 29 Oct 2013 04:14:43 +0000 (29 00:14 -0400)]
Include error text in failed connect page; capture other errors for
status text.

10 years agoLogging tivo_open() failure from NPL(); consolidate tivo_open() logging.
William McBrine [Tue, 29 Oct 2013 03:22:28 +0000 (28 23:22 -0400)]
Logging tivo_open() failure from NPL(); consolidate tivo_open() logging.

10 years agoThese modules aren't used here.
William McBrine [Tue, 29 Oct 2013 01:35:18 +0000 (28 21:35 -0400)]
These modules aren't used here.

10 years agoDon't need self.index, either.
William McBrine [Mon, 28 Oct 2013 21:01:59 +0000 (28 17:01 -0400)]
Don't need self.index, either.

10 years agoMoved the xor function to the Turing module.
William McBrine [Thu, 24 Oct 2013 04:21:08 +0000 (24 00:21 -0400)]
Moved the xor function to the Turing module.

10 years agoTidy up the Turing license text; more tweaks.
William McBrine [Mon, 21 Oct 2013 15:49:06 +0000 (21 11:49 -0400)]
Tidy up the Turing license text; more tweaks.

10 years agoTuring.gen() now returns exact length, allows skipping; other tweaks.
William McBrine [Sun, 20 Oct 2013 20:14:57 +0000 (20 16:14 -0400)]
Turing.gen() now returns exact length, allows skipping; other tweaks.

10 years agoFaster XOR (struct pack/unpack beats chr/ord); don't generate Turing
William McBrine [Fri, 18 Oct 2013 18:14:07 +0000 (18 14:14 -0400)]
Faster XOR (struct pack/unpack beats chr/ord); don't generate Turing
data for the padding bytes.

10 years agoMarginally faster.
William McBrine [Fri, 18 Oct 2013 02:28:01 +0000 (17 22:28 -0400)]
Marginally faster.

10 years agoAllow for .TiVo files with unencrypted metadata. Cleaner anyway.
William McBrine [Wed, 16 Oct 2013 19:03:30 +0000 (16 15:03 -0400)]
Allow for .TiVo files with unencrypted metadata. Cleaner anyway.

10 years agoNative Python implementation of tdcat (reading metadata from .TiVo
William McBrine [Wed, 16 Oct 2013 18:31:18 +0000 (16 14:31 -0400)]
Native Python implementation of tdcat (reading metadata from .TiVo
files). Unfortunately it's so slow that, even with the spawning of a
separate process, the C version is still preferred, if available. But
this will allow pyTivo to read .TiVo metadata in cases where tdcat is
unavailable.

10 years agoMake substitutions for most invalid characters rather than stripping them.
William McBrine [Sat, 5 Oct 2013 00:18:13 +0000 (4 20:18 -0400)]
Make substitutions for most invalid characters rather than stripping them.

10 years agoCrude approach to stripping out some filename-inappropriate characters.
William McBrine [Fri, 4 Oct 2013 18:40:45 +0000 (4 14:40 -0400)]
Crude approach to stripping out some filename-inappropriate characters.
Problem reported by Tim McKelley.

10 years agoPer-share options need to remain Bdicts when shares option is used.
William McBrine [Sat, 28 Sep 2013 01:51:22 +0000 (27 21:51 -0400)]
Per-share options need to remain Bdicts when shares option is used.
Problem reported by "cherry ghost".

10 years agoMight as well add "(PS)" for program stream .TiVo files, too, since TS
William McBrine [Sat, 28 Sep 2013 01:45:37 +0000 (27 21:45 -0400)]
Might as well add "(PS)" for program stream .TiVo files, too, since TS
is likely to become the default.

10 years agoAdd "(TS)" to the names of transport-stream .TiVo files, and use ".ts"
William McBrine [Sun, 22 Sep 2013 01:46:18 +0000 (21 21:46 -0400)]
Add "(TS)" to the names of transport-stream .TiVo files, and use ".ts"
instead of ".mpg" for decoded transport streams.

10 years agoAllow for transport stream downloads in the ToGo module. After lucasnz.
William McBrine [Sun, 22 Sep 2013 00:35:38 +0000 (21 20:35 -0400)]
Allow for transport stream downloads in the ToGo module. After lucasnz.

10 years agoDrop support for old-style FFmpeg pad options.
William McBrine [Sun, 15 Sep 2013 15:53:44 +0000 (15 11:53 -0400)]
Drop support for old-style FFmpeg pad options.

10 years agoRecreate the getboolean() method for the per-plugin option dicts. (When
William McBrine [Thu, 15 Aug 2013 15:31:01 +0000 (15 11:31 -0400)]
Recreate the getboolean() method for the per-plugin option dicts. (When
I switched to using checkboxes for force_ffmpeg and force_alpha in the
Settings page, they'd be set as "on" -- which wasn't being recognized by
the plugins.)

10 years agoOn/Off instead of True/False for zeroconf.
William McBrine [Fri, 9 Aug 2013 17:47:29 +0000 (9 13:47 -0400)]
On/Off instead of True/False for zeroconf.

10 years agoGroup input fields by type.
William McBrine [Fri, 9 Aug 2013 17:13:37 +0000 (9 13:13 -0400)]
Group input fields by type.