pyTivo/krkeegan.git
16 years agocouple more vInfo correctionsmaster
wgw [Wed, 7 May 2008 02:35:40 +0000 (6 21:35 -0500)]
couple more vInfo corrections

16 years agoDuration regex fix for newer ffmpeg versions
KRKeegan [Tue, 6 May 2008 22:01:12 +0000 (6 15:01 -0700)]
Duration regex fix for newer ffmpeg versions

16 years agoMissed a lot of width/height corrections
KRKeegan [Tue, 6 May 2008 17:30:53 +0000 (6 10:30 -0700)]
Missed a lot of width/height corrections

16 years agoSupported key should be set to true by default
KRKeegan [Tue, 6 May 2008 17:17:10 +0000 (6 10:17 -0700)]
Supported key should be set to true by default

16 years agoAllow user to override ffmpeg data with data in Metadata file
KRKeegan [Sun, 4 May 2008 23:50:57 +0000 (4 16:50 -0700)]
Allow user to override ffmpeg data with data in Metadata file

Usage:
For example if you have a file that ffmpeg returns the wrong duration you can override this duration by entering the following information in the metadata file:
Override_millisecs: 30000

16 years agoCondense video_info
KRKeegan [Sun, 4 May 2008 22:54:54 +0000 (4 15:54 -0700)]
Condense video_info

16 years agoConvert video_info to return a dict rather than list
KRKeegan [Sun, 4 May 2008 22:16:10 +0000 (4 15:16 -0700)]
Convert video_info to return a dict rather than list

This is much easier.  Now if we add any new tests to video_info we don't have to go back through the code and add an extra variable where ever video_info is called.

16 years agoFix in select_videofps a merge conflict error.beta-push
KRKeegan [Sun, 4 May 2008 20:46:26 +0000 (4 13:46 -0700)]
Fix in select_videofps a merge conflict error.

16 years agoDelete a missed old debug statement
KRKeegan [Sun, 4 May 2008 20:43:11 +0000 (4 13:43 -0700)]
Delete a missed old debug statement

This was missed in the merge conflict

16 years agoFix merge conflict error in video.py
KRKeegan [Sun, 4 May 2008 04:47:23 +0000 (3 21:47 -0700)]
Fix merge conflict error in video.py

16 years agoSection needs to be quoted in url
KRKeegan [Sun, 4 May 2008 04:38:55 +0000 (3 21:38 -0700)]
Section needs to be quoted in url

16 years agoMerge branch 'master' of git://repo.or.cz/pyTivo into beta-push
KRKeegan [Sun, 4 May 2008 04:24:01 +0000 (3 21:24 -0700)]
Merge branch 'master' of git://repo.or.cz/pyTivo into beta-push

16 years agoMerge branch 'master' of git://repo.or.cz/pyTivo/wmcbrine into beta-push
KRKeegan [Sun, 4 May 2008 04:21:41 +0000 (3 21:21 -0700)]
Merge branch 'master' of git://repo.or.cz/pyTivo/wmcbrine into beta-push

Conflicts:

config.py
debug.py
plugins/admin/admin.py
plugins/video/transcode.py
plugins/video/video.py

16 years agohelp updates
wgw [Sat, 3 May 2008 23:46:57 +0000 (3 18:46 -0500)]
help updates

16 years agoMerge branch 'master' of git://repo.or.cz/pyTivo/krkeegan
wgw [Sat, 3 May 2008 21:56:15 +0000 (3 16:56 -0500)]
Merge branch 'master' of git://repo.or.cz/pyTivo/krkeegan

16 years agofix for unnecessary transcode of 16:9 on 649
wgw [Sat, 3 May 2008 21:27:46 +0000 (3 16:27 -0500)]
fix for unnecessary transcode of 16:9 on 649

16 years agoDon't show CopyProtected shows in NPL
KRKeegan [Fri, 2 May 2008 23:50:20 +0000 (2 16:50 -0700)]
Don't show CopyProtected shows in NPL

16 years agoThrow and error and exit if pyTivo.conf does not exist
KRKeegan [Fri, 2 May 2008 23:23:19 +0000 (2 16:23 -0700)]
Throw and error and exit if pyTivo.conf does not exist

16 years agoFix: Movies shouldn't have an eposideTitle
KRKeegan [Fri, 2 May 2008 23:11:51 +0000 (2 16:11 -0700)]
Fix: Movies shouldn't have an eposideTitle

Fix posted by: etienne66
http://pytivo.krkeegan.com/movies-shouldn-t-have-an-episodetitle-t235.html

Fixes ticket #1158

16 years agoforgot to remove this after testing
wgw [Fri, 2 May 2008 01:34:54 +0000 (1 20:34 -0500)]
forgot to remove this after testing

There's no telling what the DAR is with PAL 720x576 dvd's.
pyTivo fails miserably with this res unless the version of ffmpeg
being used returns PAR/DAR.  Hence the reason I added the
dar1 = 4:3 or 16:9 fix a while back.  Latest Windows ffmpeg versions
return PAR/DAR, but don't know about versions compiled on other OS's.
And then I suppose it's possible that the DAR could be other than 4:3
or 16:9.  In which case, pytivo will assume 4:3 again.  Still
considering modifying pytivo to check for dar2>1.35 but have
not run across a file yet that did not report dar1 = 4:3 or 16:9.

16 years agoadd support for .tp transport stream
wgw [Thu, 1 May 2008 00:50:11 +0000 (30 19:50 -0500)]
add support for .tp transport stream

16 years agoS2 16:9 fix, by Mrman, Krkeegan and wgw
wgw [Wed, 30 Apr 2008 17:53:17 +0000 (30 12:53 -0500)]
S2 16:9 fix, by Mrman, Krkeegan and wgw

16 years agoUsing FS mtime to reload non recursive cache.
Jason Michalski [Sun, 27 Apr 2008 22:22:51 +0000 (27 17:22 -0500)]
Using FS mtime to reload non recursive cache.
Recursive cache expires after a hour.

Girlfriend said this must be fixed.

16 years agochange debug print flag
wgw [Sat, 26 Apr 2008 16:43:58 +0000 (26 11:43 -0500)]
change debug print flag

16 years agoremove decimal from help
wgw [Sat, 26 Apr 2008 03:58:45 +0000 (25 22:58 -0500)]
remove decimal from help

16 years agochange percentage setting to whole number
wgw [Sat, 26 Apr 2008 03:52:02 +0000 (25 22:52 -0500)]
change percentage setting to whole number

16 years agovariable video_br based on percent of source bitrate
wgw [Sat, 26 Apr 2008 03:17:15 +0000 (25 22:17 -0500)]
variable video_br based on percent of source bitrate

16 years agofn_attr() no longer needed, nor available.
William McBrine [Thu, 24 Apr 2008 01:20:46 +0000 (23 21:20 -0400)]
fn_attr() no longer needed, nor available.

16 years agoincrease max_video_br due to tivo 9.3a software fix
wgw [Wed, 23 Apr 2008 01:48:18 +0000 (22 20:48 -0500)]
increase max_video_br due to tivo 9.3a software fix

The 17408k maxrate limit appears to be fixed with pytivo 9.3a in
my tests since receiving the upgrade last week.  I'm increasing
max_video_br so that all known HD bitrates are passed without
transcoding unless the user lowers the setting to force transcoding
of problem files.  Any remaining problems with mpeg transfers
appear to fixable by doing a VideoReDo QuickSteam Fix or similar
mpeg repair.  But I'm not removing maxrate and bufsize options
from the ffmpeg template because my tests show they are still
needed to correct errors in source files which result in playback
problems when these settings are removed.  Increasing maxrate to
30000k does not appear to introduce any playback problems in my
tests of transcodes sent to S2 and S3 tivos.

16 years agoExclusion only applies to mpeg2
wgw [Wed, 23 Apr 2008 01:15:08 +0000 (22 20:15 -0500)]
Exclusion only applies to mpeg2

16 years agoNo more debug_write() -- use logger.debug() here.
William McBrine [Sun, 20 Apr 2008 01:57:45 +0000 (19 21:57 -0400)]
No more debug_write() -- use logger.debug() here.

16 years agoPrior commit that was over written
KRKeegan [Tue, 15 Apr 2008 05:18:25 +0000 (14 22:18 -0700)]
Prior commit that was over written

16 years agoReverting this for now.
William McBrine [Tue, 15 Apr 2008 00:32:17 +0000 (14 20:32 -0400)]
Reverting this for now.

16 years agoMerge branch 'master' of git://repo.or.cz/pyTivo/wgw
KRKeegan [Sun, 13 Apr 2008 01:49:56 +0000 (12 18:49 -0700)]
Merge branch 'master' of git://repo.or.cz/pyTivo/wgw

16 years agoIf date is bad make it 0 Fix 1220
KRKeegan [Thu, 10 Apr 2008 19:06:51 +0000 (10 12:06 -0700)]
If date is bad make it 0 Fix 1220

It looks like on windows dates beyond 2037 go out of bounds and start returning a negative number.  By setting to 0 it allows pyTivo to still display the selected folder.

16 years agoMetadata file should overwrite all defaults Fix #1166
KRKeegan [Thu, 10 Apr 2008 17:59:33 +0000 (10 10:59 -0700)]
Metadata file should overwrite all defaults Fix #1166

16 years agoMade the local file name safe for windows
Jason Michalski [Wed, 9 Apr 2008 03:08:40 +0000 (8 22:08 -0500)]
Made the local file name safe for windows

16 years agoFixed push bug from the changed mind class api
Jason Michalski [Wed, 9 Apr 2008 03:06:29 +0000 (8 22:06 -0500)]
Fixed push bug from the changed mind class api

16 years agoCheck for new downloads every 15mins
Jason Michalski [Mon, 7 Apr 2008 05:07:20 +0000 (7 00:07 -0500)]
Check for new downloads every 15mins

If we don't the tivo will say we have not been connecting

16 years agoFixed logging typeo
Jason Michalski [Mon, 7 Apr 2008 05:06:16 +0000 (7 00:06 -0500)]
Fixed logging typeo

16 years agocopyts not needed with acodec copy
wgw [Wed, 9 Apr 2008 01:29:54 +0000 (8 20:29 -0500)]
copyts not needed with acodec copy

and may conflict with acodec copy if source file is
really corrupt resulting in early termination of transfer.

16 years agoLets get the body id before using it.
Jason Michalski [Mon, 7 Apr 2008 22:25:46 +0000 (7 17:25 -0500)]
Lets get the body id before using it.

16 years agoLet Process on the xmpp connection block for a while
Jason Michalski [Mon, 7 Apr 2008 04:42:49 +0000 (6 23:42 -0500)]
Let Process on the xmpp connection block for a while

16 years agoAdded more complex setup of logging
Jason Michalski [Mon, 7 Apr 2008 04:41:58 +0000 (6 23:41 -0500)]
Added more complex setup of logging

See the python logging documation.

16 years agoFixed a logging statment
Jason Michalski [Mon, 7 Apr 2008 04:41:18 +0000 (6 23:41 -0500)]
Fixed a logging statment

16 years agoEverything is loging with the logging module
Jason Michalski [Mon, 7 Apr 2008 03:46:43 +0000 (6 22:46 -0500)]
Everything is loging with the logging module

Currently everything is always in debug mode

16 years agoUnlink the video adter sending it.
Jason Michalski [Sun, 6 Apr 2008 10:00:01 +0000 (6 05:00 -0500)]
Unlink the video adter sending it.

We could unlink it when the tranfer failed, but we would send a
206 response anyway.

16 years agoResume downloads.
Jason Michalski [Sun, 6 Apr 2008 09:04:57 +0000 (6 04:04 -0500)]
Resume downloads.

Still needs some work if it is not supported on the server we will get a
messed up file.

16 years agoUpdated to use a pool or worker threads
Jason Michalski [Sun, 6 Apr 2008 08:38:44 +0000 (6 03:38 -0500)]
Updated to use a pool or worker threads

16 years agoweb video should be working.
Jason Michalski [Sun, 6 Apr 2008 07:56:37 +0000 (6 02:56 -0500)]
web video should be working.

The xmpp libary was changed so we should now have windows support

16 years agoAdding the webvideo plugin.
Jason Michalski [Sun, 6 Apr 2008 05:55:38 +0000 (6 00:55 -0500)]
Adding the webvideo plugin.

This is very bad and will only work for me. Lots of hardcoded patchs etc.

16 years agoUpdated to support webvideo
Jason Michalski [Sun, 6 Apr 2008 05:54:26 +0000 (6 00:54 -0500)]
Updated to support webvideo

16 years agoRenamed metadata methods to then can be used by other plugins
Jason Michalski [Sun, 6 Apr 2008 04:43:10 +0000 (5 23:43 -0500)]
Renamed metadata methods to then can be used by other plugins

16 years agoCreate guid once on startup
Jason MIchalski [Sat, 5 Apr 2008 04:42:46 +0000 (4 23:42 -0500)]
Create guid once on startup

16 years agoTry to read the config from etc
Jason [Thu, 3 Apr 2008 04:08:37 +0000 (2 23:08 -0500)]
Try to read the config from etc

16 years agoIf I don't have optres set we should output what my config file says.
Jason [Thu, 3 Apr 2008 04:08:14 +0000 (2 23:08 -0500)]
If I don't have optres set we should output what my config file says.

Right now there is no way to force a res on a hd tivo. My tv has 1% over scan
on HD but 10% on sd so I like to keep my shares with subtitled files set to
output hd so I can read them.

16 years agoFFMpeg will not output a 15 fps mpeg2
Jason [Thu, 3 Apr 2008 04:04:12 +0000 (2 23:04 -0500)]
FFMpeg will not output a 15 fps mpeg2

16 years agoadd 528x480 supported mode
wgw [Sat, 29 Mar 2008 18:38:33 +0000 (29 13:38 -0500)]
add 528x480 supported mode

commonly used for digital SD by cable companies to reduce bandwidth.
No need to transcode on S2.

16 years agoMerge branch 'master' of git://repo.or.cz/pyTivo/krkeegan
wgw [Sat, 29 Mar 2008 09:32:03 +0000 (29 04:32 -0500)]
Merge branch 'master' of git://repo.or.cz/pyTivo/krkeegan

16 years agofix for skewed aspect ratios
wgw [Sat, 29 Mar 2008 09:16:55 +0000 (29 04:16 -0500)]
fix for skewed aspect ratios

16 years agoexpand par/dar flexibility
wgw [Sat, 29 Mar 2008 08:14:41 +0000 (29 03:14 -0500)]
expand par/dar flexibility

16 years agoDo not make shares of dot folders with auto_subshares
KRKeegan [Sat, 29 Mar 2008 06:29:59 +0000 (28 23:29 -0700)]
Do not make shares of dot folders with auto_subshares

Fixes 945

16 years agoCan now use 169setting
wgw [Sat, 29 Mar 2008 06:22:48 +0000 (29 01:22 -0500)]
Can now use 169setting

16 years agoMerge branch 'master' into beta-540
wgw [Sat, 29 Mar 2008 06:15:04 +0000 (29 01:15 -0500)]
Merge branch 'master' into beta-540

16 years agoRemove 649 from blacklist
wgw [Sat, 29 Mar 2008 06:14:37 +0000 (29 01:14 -0500)]
Remove 649 from blacklist

16 years agoFix hack83 bug when exiting folder
KRKeegan [Sat, 29 Mar 2008 06:05:58 +0000 (28 23:05 -0700)]
Fix hack83 bug when exiting folder

Fixes #961

Description:  When we go down a folder we should set the current top file
stored in state['page'] to the top file in the NEW folder, otherwise test
5 will hit on the next folder exit.

16 years agofix for needless padding
wgw [Sat, 29 Mar 2008 05:58:00 +0000 (29 00:58 -0500)]
fix for needless padding

of 480x480 files with PAR=8:9

16 years agoMore quoting container
KRKeegan [Sat, 29 Mar 2008 04:58:40 +0000 (28 21:58 -0700)]
More quoting container

This one almost slipped by.

16 years agoMore quoting of Container name
KRKeegan [Sat, 29 Mar 2008 04:47:19 +0000 (28 21:47 -0700)]
More quoting of Container name

16 years agoAdd unicode support for NPL
KRKeegan [Sat, 29 Mar 2008 04:29:06 +0000 (28 21:29 -0700)]
Add unicode support for NPL

Contributed by: Armooo

16 years agoMore unquoted container names
KRKeegan [Sat, 29 Mar 2008 04:28:11 +0000 (28 21:28 -0700)]
More unquoted container names

16 years agoAdd path seperator to start of part_path if not there already
KRKeegan [Sat, 29 Mar 2008 03:24:21 +0000 (28 20:24 -0700)]
Add path seperator to start of part_path if not there already

Fixes #925

16 years agoQuote container names in root_container
KRKeegan [Sat, 29 Mar 2008 02:23:04 +0000 (28 19:23 -0700)]
Quote container names in root_container

Fixes Ticket #793

16 years agoffmpeg can output more than 4096 characters to stder
KRKeegan [Sat, 29 Mar 2008 01:06:15 +0000 (28 18:06 -0700)]
ffmpeg can output more than 4096 characters to stder

Patch provided by: cheiser

16 years agoinclude 8:9
wgw [Fri, 28 Mar 2008 23:02:56 +0000 (28 18:02 -0500)]
include 8:9

16 years agoS2 540 dar patch
wgw [Fri, 28 Mar 2008 18:35:19 +0000 (28 13:35 -0500)]
S2 540 dar patch

16 years agopopen bufsize to reduce python cpu
wgw [Fri, 28 Mar 2008 15:51:27 +0000 (28 10:51 -0500)]
popen bufsize to reduce python cpu

16 years agoAdded Variable Length Integers for string size fields
Jason Michalski [Fri, 28 Mar 2008 05:28:44 +0000 (28 00:28 -0500)]
Added Variable Length Integers for string size fields

16 years agoStrings work better as guids
Jason Michalski [Fri, 28 Mar 2008 03:56:21 +0000 (27 22:56 -0500)]
Strings work better as guids

16 years agotypo
wgw [Fri, 28 Mar 2008 03:28:03 +0000 (27 22:28 -0500)]
typo

16 years agoCreate a random guid so so the tivo will always make a request on startup
Jason Michalski [Fri, 28 Mar 2008 01:24:00 +0000 (27 20:24 -0500)]
Create a random guid so so the tivo will always make a request on startup

16 years agoUpdated to send NPL as UTF-8
Jason Michalski [Fri, 28 Mar 2008 01:22:37 +0000 (27 20:22 -0500)]
Updated to send NPL as UTF-8

16 years agoAdding back in failed plugin errors
Jason Michalski [Thu, 27 Mar 2008 03:27:32 +0000 (26 22:27 -0500)]
Adding back in failed plugin errors

16 years agoMaking tivo push optional.
Jason Michalski [Thu, 27 Mar 2008 03:18:09 +0000 (26 22:18 -0500)]
Making tivo push optional.

Will warn and yell if element tree is not around.

16 years agoNow using UDP socket to tivo.com to get our ip address.
Jason Michalski [Thu, 27 Mar 2008 02:48:03 +0000 (26 21:48 -0500)]
Now using UDP socket to tivo.com to get our ip address.

It will not send any packets, and we will get the address that has
out default route.

16 years agoMoved log statment so it will work when there is an exception
Jason Michalski [Thu, 27 Mar 2008 02:34:24 +0000 (26 21:34 -0500)]
Moved log statment so it will work when there is an exception

16 years agoFixed bug with double quoting
Jason Michalski [Thu, 27 Mar 2008 02:13:53 +0000 (26 21:13 -0500)]
Fixed bug with double quoting

16 years agoFixed msec sec bug
Jason Michalski [Thu, 27 Mar 2008 01:45:13 +0000 (26 20:45 -0500)]
Fixed msec sec bug

16 years agoMerge commit 'krkeegan/master'
Jason Michalski [Thu, 27 Mar 2008 01:00:48 +0000 (26 20:00 -0500)]
Merge commit 'krkeegan/master'

Conflicts:

plugins/admin/admin.py

16 years agoHack to get some unicode to work
Jason Michalski [Wed, 26 Mar 2008 21:32:04 +0000 (26 16:32 -0500)]
Hack to get some unicode to work

16 years agoAdded push support.
Jason Michalski [Wed, 26 Mar 2008 06:20:52 +0000 (26 01:20 -0500)]
Added push support.

The root page displays links to video shares.
The xsl makes them look "nice".
Click the send to tivo link to push the file.

16 years agoLimit number of items per page in NPL, simpler method to pass URL for redirect
KRKeegan [Wed, 26 Mar 2008 18:09:08 +0000 (26 11:09 -0700)]
Limit number of items per page in NPL, simpler method to pass URL for redirect

16 years agoAdd -copyts to ffmpeg template
wgw [Wed, 26 Mar 2008 05:16:46 +0000 (26 00:16 -0500)]
Add -copyts to ffmpeg template

to help correct audio sync issues.

16 years agoRework help section of admin
KRKeegan [Tue, 25 Mar 2008 02:11:47 +0000 (24 19:11 -0700)]
Rework help section of admin

To add or change help descriptions use the help.txt file in the plugins/admin folder

16 years agoFix no folder in query bug
KRKeegan [Mon, 24 Mar 2008 16:47:30 +0000 (24 09:47 -0700)]
Fix no folder in query bug

16 years agoffmpeg_tmpl is a known setting
KRKeegan [Mon, 24 Mar 2008 01:05:14 +0000 (23 18:05 -0700)]
ffmpeg_tmpl is a known setting

16 years agoMerge branch 'master' of git://repo.or.cz/pyTivo/wgw
KRKeegan [Mon, 24 Mar 2008 00:50:40 +0000 (23 17:50 -0700)]
Merge branch 'master' of git://repo.or.cz/pyTivo/wgw

16 years agoMerge branch 'beta-NPL'
KRKeegan [Mon, 24 Mar 2008 00:20:21 +0000 (23 17:20 -0700)]
Merge branch 'beta-NPL'

16 years agoClarify adding a share in instructions
KRKeegan [Mon, 24 Mar 2008 00:19:12 +0000 (23 17:19 -0700)]
Clarify adding a share in instructions

16 years agoAdd error message when incorrect MAK is entered
KRKeegan [Sun, 23 Mar 2008 21:48:15 +0000 (23 14:48 -0700)]
Add error message when incorrect MAK is entered