pyTivo.git
15 years agoUsing FS mtime to reload non recursive cache.master
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 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 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 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 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 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

16 years agopar control settings added
wgw [Sat, 22 Mar 2008 04:52:21 +0000 (21 23:52 -0500)]
par control settings added

16 years agoPixel Aspect Ratio Patch by carl edman
wgw [Fri, 21 Mar 2008 03:09:39 +0000 (20 22:09 -0500)]
Pixel Aspect Ratio Patch by carl edman

If transcoding to an S3 is required, PAR is changed to 1:1 if
ffmpeg reports the PAR correctly and PAR is not already 1:1.

This is essentially the foundation of the PAR patch
submitted by Carl Edman.  I have removed the config setting
and tivo_compatible par 1:1 check because I want to change the
functionality to work a bit differently than submitted.

16 years agoexpand help for new audio defaults
wgw [Wed, 19 Mar 2008 00:59:09 +0000 (18 19:59 -0500)]
expand help for new audio defaults

16 years agomimimize audio size est if possible
wgw [Tue, 18 Mar 2008 23:26:53 +0000 (18 18:26 -0500)]
mimimize audio size est if possible

16 years agomin should be 384k for ac3
wgw [Mon, 17 Mar 2008 04:20:39 +0000 (16 23:20 -0500)]
min should be 384k for ac3

16 years agomaxaudiobr compare missing
wgw [Mon, 17 Mar 2008 01:50:25 +0000 (16 20:50 -0500)]
maxaudiobr compare missing

16 years agofix for transfers ending early
wgw [Sun, 16 Mar 2008 19:32:56 +0000 (16 14:32 -0500)]
fix for transfers ending early

16 years ago.mpv not tivo compatible
wgw [Sat, 15 Mar 2008 18:18:37 +0000 (15 13:18 -0500)]
.mpv not tivo compatible

16 years agono audio is compatible
wgw [Sat, 15 Mar 2008 17:14:14 +0000 (15 12:14 -0500)]
no audio is compatible

16 years agodts not tivo compatible
wgw [Sat, 15 Mar 2008 17:08:15 +0000 (15 12:08 -0500)]
dts not tivo compatible

16 years agompv is supported
wgw [Sat, 15 Mar 2008 16:48:18 +0000 (15 11:48 -0500)]
mpv is supported

16 years agocommon audio codec handling.
wgw [Sat, 15 Mar 2008 08:47:23 +0000 (15 03:47 -0500)]
common audio codec handling.

AFAICT ac3 is supported by S2.  Changing default acodec/copy
selection to a common process.

16 years agoPrevent non-tivos from being selected
KRKeegan [Sat, 15 Mar 2008 06:01:32 +0000 (14 23:01 -0700)]
Prevent non-tivos from being selected

16 years agoAdd form to change MAK and save path
KRKeegan [Sat, 15 Mar 2008 05:46:38 +0000 (14 22:46 -0700)]
Add form to change MAK and save path

16 years agoAdd html comments to template
KRKeegan [Fri, 14 Mar 2008 18:41:17 +0000 (14 11:41 -0700)]
Add html comments to template

16 years agoAdd instructions when no TiVo is selected.
KRKeegan [Fri, 14 Mar 2008 18:36:06 +0000 (14 11:36 -0700)]
Add instructions when no TiVo is selected.

16 years agoper tivo optres needed
wgw [Thu, 13 Mar 2008 03:41:21 +0000 (12 22:41 -0500)]
per tivo optres needed

16 years agosupported modes missing debug_write
wgw [Thu, 13 Mar 2008 02:01:21 +0000 (12 21:01 -0500)]
supported modes missing debug_write

16 years agoAdd ToGo to info page, inform user if admin not installed
KRKeegan [Thu, 13 Mar 2008 00:06:44 +0000 (12 17:06 -0700)]
Add ToGo to info page, inform user if admin not installed

16 years agoReturn to folder after start, stop transfer
KRKeegan [Wed, 12 Mar 2008 03:31:48 +0000 (11 20:31 -0700)]
Return to folder after start, stop transfer

16 years agoAllow selection of TiVo
KRKeegan [Tue, 11 Mar 2008 05:55:11 +0000 (10 22:55 -0700)]
Allow selection of TiVo

16 years agoCreate cache of TiVos
KRKeegan [Tue, 11 Mar 2008 05:51:21 +0000 (10 22:51 -0700)]
Create cache of TiVos

16 years agoCache TiVo NPL for 60 seconds, Fix redirect page
KRKeegan [Tue, 11 Mar 2008 01:55:49 +0000 (10 18:55 -0700)]
Cache TiVo NPL for 60 seconds, Fix redirect page

16 years agoAdd stop, try again functions
KRKeegan [Tue, 11 Mar 2008 01:07:28 +0000 (10 18:07 -0700)]
Add stop, try again functions

16 years agoMake things look prettier
KRKeegan [Tue, 11 Mar 2008 00:49:39 +0000 (10 17:49 -0700)]
Make things look prettier

16 years agoFix transfers for linux
KRKeegan [Mon, 10 Mar 2008 05:00:01 +0000 (9 22:00 -0700)]
Fix transfers for linux

Linux didn't seem to like realms with port information ":80".  It worked on windows but not on linux.

Tested and there is no corruption problem with TiVo generated files.  Some files transfered from pytivo to Tivo and then back can be a bit sketchy.

16 years agowrite soft reset to debug
wgw [Mon, 10 Mar 2008 03:34:16 +0000 (9 22:34 -0500)]
write soft reset to debug

16 years agoDelete TiVo in query string
KRKeegan [Mon, 10 Mar 2008 02:07:24 +0000 (9 19:07 -0700)]
Delete TiVo in query string

16 years agoadd admin to dist
wgw [Mon, 10 Mar 2008 02:01:25 +0000 (9 21:01 -0500)]
add admin to dist

16 years agoTransfers are functional with a glitch
KRKeegan [Mon, 10 Mar 2008 02:00:56 +0000 (9 19:00 -0700)]
Transfers are functional with a glitch

For some reason the files are corrupt,  I will look into this more in a bit.

16 years agoThread function to download from TiVo
KRKeegan [Sun, 9 Mar 2008 23:35:41 +0000 (9 16:35 -0700)]
Thread function to download from TiVo

16 years agoAdd conf parameters for all ffmpeg template settings
wgw [Sun, 9 Mar 2008 17:13:48 +0000 (9 12:13 -0500)]
Add conf parameters for all ffmpeg template settings

16 years agoMerge branch 'master' of git://repo.or.cz/pyTivo/wgw
KRKeegan [Sat, 8 Mar 2008 02:48:44 +0000 (7 18:48 -0800)]
Merge branch 'master' of git://repo.or.cz/pyTivo/wgw

16 years agoMerge branch 'master' of git://repo.or.cz/pyTivo/wmcbrine
KRKeegan [Sat, 8 Mar 2008 02:47:03 +0000 (7 18:47 -0800)]
Merge branch 'master' of git://repo.or.cz/pyTivo/wmcbrine

16 years agoMerge branch 'master' of git://repo.or.cz/pyTivo/krkeegan
wgw [Fri, 7 Mar 2008 02:04:33 +0000 (6 20:04 -0600)]
Merge branch 'master' of git://repo.or.cz/pyTivo/krkeegan

16 years agoMerge branch 'master' of git://repo.or.cz/pyTivo/wmcbrine
wgw [Fri, 7 Mar 2008 02:03:22 +0000 (6 20:03 -0600)]
Merge branch 'master' of git://repo.or.cz/pyTivo/wmcbrine

16 years agoOops shouldn't post that
KRKeegan [Thu, 6 Mar 2008 08:09:50 +0000 (6 00:09 -0800)]
Oops shouldn't post that

16 years agoInitial design TiVo ToGo functionality
KRKeegan [Thu, 6 Mar 2008 07:54:28 +0000 (5 23:54 -0800)]
Initial design TiVo ToGo functionality

16 years agoReformat javascript in header, NO substantive changes
KRKeegan [Wed, 5 Mar 2008 05:31:53 +0000 (4 21:31 -0800)]
Reformat javascript in header, NO substantive changes

16 years agoFix warning message, scroll those that are too long
KRKeegan [Wed, 5 Mar 2008 03:35:51 +0000 (4 19:35 -0800)]
Fix warning message, scroll those that are too long

16 years agoUser defined debug output path
wgw [Wed, 5 Mar 2008 02:32:56 +0000 (4 20:32 -0600)]
User defined debug output path

Usage:
Add the following to pyTivo.conf Server section:
debug = true, path, split
where path is the directory where debug.txt is to be written.
split will cause debug output to be written to separate files
by module name.  If either path or split is specified, the
pyTivo folder name is added to the debug.txt file name.

Examples:
debug = true, c:\debug
writes debug.txt to the directory c:\debug, if it exists.

debug = true, c:\debug, split
writes debug.txt to the directory c:\debug, if it exists,
and splits the output to separate files by source module.
For example, debug output would be written to the following files:
c:\debug\debug.pytivo.video.txt
c:\debug\debug.pytivo.transcode.txt

debug = true,,split
splits the debug output to separate files in the pytivo folder.

debug = true
write debug output to file debug.txt in pytivo folder.

16 years agoAdd '.flac' to supported audio extensions.
William McBrine [Mon, 3 Mar 2008 08:50:39 +0000 (3 03:50 -0500)]
Add '.flac' to supported audio extensions.

16 years agoDamnit, how did this line get removed?
William McBrine [Mon, 3 Mar 2008 08:40:46 +0000 (3 03:40 -0500)]
Damnit, how did this line get removed?

16 years agoparse bufsize from config
wgw [Mon, 3 Mar 2008 06:21:50 +0000 (3 00:21 -0600)]
parse bufsize from config

16 years agoMerge branch 'master' of git://repo.or.cz/pyTivo/krkeegan
wgw [Mon, 3 Mar 2008 06:01:56 +0000 (3 00:01 -0600)]
Merge branch 'master' of git://repo.or.cz/pyTivo/krkeegan

16 years agopatch by rjmitche, add to debug session start date/time
wgw [Mon, 3 Mar 2008 05:52:37 +0000 (2 23:52 -0600)]
patch by rjmitche, add to debug session start date/time

16 years agopatch by rjmitche, set debug.txt to app location
wgw [Mon, 3 Mar 2008 05:39:47 +0000 (2 23:39 -0600)]
patch by rjmitche, set debug.txt to app location

16 years agoMerge branch 'master' of git://repo.or.cz/pyTivo/wgw
KRKeegan [Mon, 3 Mar 2008 03:36:31 +0000 (2 19:36 -0800)]
Merge branch 'master' of git://repo.or.cz/pyTivo/wgw

16 years agoAdd exception catch to all os.listdir commands
KRKeegan [Mon, 3 Mar 2008 03:31:45 +0000 (2 19:31 -0800)]
Add exception catch to all os.listdir commands

Otherwise we risk choking on folders that we don't have permission to view.

16 years agoMerge branch 'master' of git://repo.or.cz/pyTivo/krkeegan
wgw [Sun, 2 Mar 2008 07:29:52 +0000 (2 01:29 -0600)]
Merge branch 'master' of git://repo.or.cz/pyTivo/krkeegan

16 years agomove print_conf to debug
wgw [Sun, 2 Mar 2008 07:20:18 +0000 (2 01:20 -0600)]
move print_conf to debug

16 years agoprint the purty version
wgw [Sun, 2 Mar 2008 07:03:56 +0000 (2 01:03 -0600)]
print the purty version

16 years agopass source frame rate to HD TiVo
wgw [Sun, 2 Mar 2008 06:38:11 +0000 (2 00:38 -0600)]
pass source frame rate to HD TiVo

16 years agoMerge branch 'master' of git://repo.or.cz/pyTivo/wgw
KRKeegan [Sat, 1 Mar 2008 23:37:53 +0000 (1 15:37 -0800)]
Merge branch 'master' of git://repo.or.cz/pyTivo/wgw

Conflicts:

plugins/video/transcode.py
plugins/video/video.py

16 years agoMerge branch 'master' of git://repo.or.cz/pyTivo/wmcbrine
KRKeegan [Sat, 1 Mar 2008 22:50:27 +0000 (1 14:50 -0800)]
Merge branch 'master' of git://repo.or.cz/pyTivo/wmcbrine

16 years agoMerge branch 'beta-admin'
KRKeegan [Sat, 1 Mar 2008 22:46:28 +0000 (1 14:46 -0800)]
Merge branch 'beta-admin'

16 years agoClean up admin.py. Add settings to known. Fix auto-subshare help
KRKeegan [Sat, 1 Mar 2008 22:43:30 +0000 (1 14:43 -0800)]
Clean up admin.py.  Add settings to known.  Fix auto-subshare help

16 years agomore minor debug reformatting
wgw [Sat, 1 Mar 2008 20:23:34 +0000 (1 14:23 -0600)]
more minor debug reformatting