TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Home Media Features & TiVoToGo
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 12-24-2009, 11:54 PM   #2671
AbMagFab
What happened, TiVo?
 
AbMagFab's Avatar
 
Join Date: Feb 2001
Posts: 3,638
Quote:
Originally Posted by wmcbrine View Post
A restart.
Okay, I've moved on to installing pyTivo on my QNAP NAS. It seems to be working well, but I can't get photos working on it.

I've done an ipkg install of the py25-pil, but it put it in /opt. So I did a symbolic link from the .qpkg directory to the site-packages/PIL. But alas, still not working.

1) Any ideas on how to get this working on a QNAP? It's running Python 2.5 on Ubuntu.

2) What's a graceful way to shutdown pyTivo, if it's running in the background?

Thanks!
__________________
Tivo since '99, DirecTV since '96, Comcast since '06, FiOS TV '07!

Multiple S3s, HDs, HDXLs, Premieres - all looking like relics now
TiVo is on it's way out -
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
AbMagFab is offline   Reply With Quote
Old 12-25-2009, 01:01 AM   #2672
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 8,758
Quote:
Originally Posted by AbMagFab View Post
1) Any ideas on how to get this working on a QNAP? It's running Python 2.5 on Ubuntu.
If it's Ubuntu, wouldn't it be "apt-get install python-imaging"?

Quote:
2) What's a graceful way to shutdown pyTivo, if it's running in the background?
Try "kill -2 pid". That should be equivalent to pressing ^C in the console, which (perversely enough) is the orderly shutdown method.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
wmcbrine is offline   Reply With Quote
Old 12-25-2009, 08:06 AM   #2673
AbMagFab
What happened, TiVo?
 
AbMagFab's Avatar
 
Join Date: Feb 2001
Posts: 3,638
Quote:
Originally Posted by wmcbrine View Post
If it's Ubuntu, wouldn't it be "apt-get install python-imaging"?

Try "kill -2 pid". That should be equivalent to pressing ^C in the console, which (perversely enough) is the orderly shutdown method.
Well, apt-get isn't on the QNAP. I can do iPkg, which I did, but I think all the files for PIL are in the wrong place (since the python was installed with QPKG).

So do you know where the files should go? Is there some sort of directory map of the PIL files and their location?
__________________
Tivo since '99, DirecTV since '96, Comcast since '06, FiOS TV '07!

Multiple S3s, HDs, HDXLs, Premieres - all looking like relics now
TiVo is on it's way out -
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
AbMagFab is offline   Reply With Quote
Old 12-25-2009, 09:55 AM   #2674
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 8,758
Quote:
Originally Posted by AbMagFab View Post
Well, apt-get isn't on the QNAP.
Then, I don't think you're running Ubuntu. (I googled "ipkg" and found a reference to "Unslung" as the relevant distro. Might it be that?)

Quote:
So do you know where the files should go?
Well, it has to be in the path Python searches for modules. You can find out what that is by starting Python, and doing "import sys", then "sys.path".

On my system, it's in /usr/share/pyshared/PIL , with symbolic links to there from /usr/lib/python2.5/site-packages/PIL . The latter is in my sys.path.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
wmcbrine is offline   Reply With Quote
Old 12-25-2009, 01:07 PM   #2675
AbMagFab
What happened, TiVo?
 
AbMagFab's Avatar
 
Join Date: Feb 2001
Posts: 3,638
Quote:
Originally Posted by wmcbrine View Post
Then, I don't think you're running Ubuntu. (I googled "ipkg" and found a reference to "Unslung" as the relevant distro. Might it be that?)
Code:
[/opt] # cat /proc/version
Linux version 2.6.30.6 (root@NasX86-3) (gcc version 4.1.3 20070929 (prerelease)
(Ubuntu 4.1.2-16ubuntu2)) #1 SMP Sat Dec 12 04:16:28 CST 2009
Quote:
Well, it has to be in the path Python searches for modules. You can find out what that is by starting Python, and doing "import sys", then "sys.path".

On my system, it's in /usr/share/pyshared/PIL , with symbolic links to there from /usr/lib/python2.5/site-packages/PIL . The latter is in my sys.path.
Okay, I added the PIL symlink to the path, but photos still isn't working (I did a full restart of pyTivo).

Is there something else that needs to be accessible to python/pyTivo for this to work? I noticed a few .py files that also came down with the PIL install.
__________________
Tivo since '99, DirecTV since '96, Comcast since '06, FiOS TV '07!

Multiple S3s, HDs, HDXLs, Premieres - all looking like relics now
TiVo is on it's way out -
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
AbMagFab is offline   Reply With Quote
Old 12-31-2009, 11:50 AM   #2676
jkalnin
Baad Spellor
 
Join Date: Jan 2003
Location: Warrington, PA
Posts: 1,420
Quick, hopefully simple, question:
Is there way to setup pyTivo to deinterlace an avi file?
jkalnin is offline   Reply With Quote
Old 12-31-2009, 02:46 PM   #2677
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 8,758
You can specify additional ffmpeg options, which could include "-deinterlace", I guess. But I can't see why you'd want to do that. The TV should handle it.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
wmcbrine is offline   Reply With Quote
Old 01-01-2010, 04:13 AM   #2678
lex3001
Registered User
 
Join Date: Feb 2005
Posts: 54
Thank you for working on this awesome program.

I have a couple of suggestions for features:
1. If you try and "Send to Tivo" but the tivo_username/pass settings don't exit, throw up a message that says that they exist and should be added. I'd never heard of them until about 3 hours ago.
2. If anything goes wrong in video_info trying to execute ffmpeg.exe, please put in some kind of message about that. I spent the last two hours googling obscure keywords to figure out (1) that I needed to change the path to ffmpeg in the conf file and then, another hour later, that (2) I needed to put the ffmpeg.exe in that setting and not just the path.

It seems that a few other people have run into the same issues, so think of the all the extra sleep people will be getting once it is more user friendly ;-)

Now I'm closer to getting kmttg and pytivo to transfer all my son's tv shows from our series 2 to our series 3 automatically... I hope.
lex3001 is offline   Reply With Quote
Old 01-01-2010, 04:46 AM   #2679
lex3001
Registered User
 
Join Date: Feb 2005
Posts: 54
Ok, now I'm stuck again. I'm seeing a 206 http code in the console from pyTiVo as a response to the TiVo requesting the file. On the TiVo, the file is created and the metadata is there but it is "done" transferring with 0 minutes.

Background:
I used kmttg to download a couple .TiVo files from my series 2 to the computer and now I'm trying to send those to the TiVo HD. I don't want to transcode them or anything. Both TiVos have the same MAK address.

Is there anything else I need to configure or do?

Thanks in advance...
lex3001 is offline   Reply With Quote
Old 01-01-2010, 07:05 AM   #2680
AbMagFab
What happened, TiVo?
 
AbMagFab's Avatar
 
Join Date: Feb 2001
Posts: 3,638
Quote:
Originally Posted by AbMagFab View Post
Code:
[/opt] # cat /proc/version
Linux version 2.6.30.6 (root@NasX86-3) (gcc version 4.1.3 20070929 (prerelease)
(Ubuntu 4.1.2-16ubuntu2)) #1 SMP Sat Dec 12 04:16:28 CST 2009

Okay, I added the PIL symlink to the path, but photos still isn't working (I did a full restart of pyTivo).

Is there something else that needs to be accessible to python/pyTivo for this to work? I noticed a few .py files that also came down with the PIL install.
Any ideas? Or do you know any way to test to see if PIL is present, and/or what it's missing?
__________________
Tivo since '99, DirecTV since '96, Comcast since '06, FiOS TV '07!

Multiple S3s, HDs, HDXLs, Premieres - all looking like relics now
TiVo is on it's way out -
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
AbMagFab is offline   Reply With Quote
Old 01-01-2010, 10:07 AM   #2681
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 8,758
Quote:
Originally Posted by lex3001 View Post
If you try and "Send to Tivo" but the tivo_username/pass settings don't exit, throw up a message that says that they exist and should be added.
In recent versions, the option to send doesn't even appear unless you've set those. I guess you're running an old version.

Quote:
I spent the last two hours googling obscure keywords to figure out (1) that I needed to change the path to ffmpeg in the conf file and then, another hour later, that (2) I needed to put the ffmpeg.exe in that setting and not just the path.
In recent versions of pyTivo, ffmpeg will be found automatically if it's in the PATH, or in the "bin" directory, which is where I recommend placing it.

Quote:
I'm seeing a 206 http code in the console from pyTiVo as a response to the TiVo requesting the file.
206 is normal.

Quote:
On the TiVo, the file is created and the metadata is there but it is "done" transferring with 0 minutes.
Not enough to go on here. Are there any other messages on the console?

Anyway, I'd guess that the TiVo is dropping the connection. You could try rebooting it.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
wmcbrine is offline   Reply With Quote
Old 01-01-2010, 10:09 AM   #2682
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 8,758
Quote:
Originally Posted by AbMagFab View Post
Any ideas? Or do you know any way to test to see if PIL is present, and/or what it's missing?
$ python
>>> import Image
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
wmcbrine is offline   Reply With Quote
Old 01-01-2010, 12:47 PM   #2683
lex3001
Registered User
 
Join Date: Feb 2005
Posts: 54
Quote:
Originally Posted by wmcbrine View Post
In recent versions, the option to send doesn't even appear unless you've set those. I guess you're running an old version.
I started with an old version and added those options. Then I got (gitted?) your latest build and copied over. Anyway, that part is working. Just a suggestiong.

Quote:
Originally Posted by wmcbrine View Post
In recent versions of pyTivo, ffmpeg will be found automatically if it's in the PATH, or in the "bin" directory, which is where I recommend placing it.
Cool. Anyway that part is resolved.

Quote:
Originally Posted by wmcbrine View Post
206 is normal.

Not enough to go on here. Are there any other messages on the console?

Anyway, I'd guess that the TiVo is dropping the connection. You could try rebooting it.
Hmm. No other messages in the console at all. I'll try rebooting the TiVo. Anything else I need to transfer raw .tivo files? Do I need TiVo Desktop installed as well or anything? Any way to verify that transcoding is or is not happening? I am expecting no transcoding, or would like to force that to make it all go faster. Thanks!
lex3001 is offline   Reply With Quote
Old 01-01-2010, 01:33 PM   #2684
lex3001
Registered User
 
Join Date: Feb 2005
Posts: 54
I can initiate the transfer from the TiVo manually and the programs will transfer perfectly. Its only when I use Send To TiVo that they do not transfer.

I believe the problem is that when "?Format=video%2Fmpeg" is appended to the query string, pytivo is returning an empty file. I can confirm this by manually trying to access the URL for movie from pytivo with and without that query string. Without the query string, IE will let me "download" the whole .tivo file. With query string, Windows Media Center tries to play it but it ends up being a zero byte file. I'm not sure where to go from there, though. Any ideas?

More info

I am using your pytivo build Master from Wed, 30 Dec 2009 03:25:51 +0000

PYTIVO.CONF
Code:
[MyMovies]
type = video
path = C:\Documents and Settings\All Users\Documents\My Videos

[_tivo_SD]

[_tivo_HD]

[Server]
tivo_password = ********
tivo_mak = **********
ffmpeg = C:\Program Files\pyTivo\bin\ffmpeg.exe
temp = C:\Documents and Settings\All Users\Documents\pyTivo
tivo_username = ********
port = 9032

LOG WHEN INITIATING TRANSFER FROM TIVO (WORKS)
Code:
Checking to see if pyTivo is already running . . .

Starting pyTivo Server. Use ctrl+Break to exit.

INFO:pyTivo.beacon:Announcing shares...
INFO:pyTivo.beacon:Registering: MyMovies
INFO:pyTivo.beacon:Scanning for TiVos...
INFO:pyTivo:pyTivo is ready.
INFO:pyTivo:192.168.3.3 [01/Jan/2010 10:49:09] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
INFO:pyTivo:192.168.3.5 [01/Jan/2010 10:49:09] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
INFO:pyTivo:192.168.3.5 [01/Jan/2010 10:49:23] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
INFO:pyTivo:192.168.3.5 [01/Jan/2010 10:49:23] "GET /TiVoConnect?Command=QueryContainer&Container=MyMovies&SortOrder=!CaptureDate&ItemCount=8&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F* HTTP/1.1" 200 -
INFO:pyTivo:192.168.3.5 [01/Jan/2010 10:49:26] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
INFO:pyTivo:192.168.3.5 [01/Jan/2010 10:49:26] "GET /TiVoConnect?Command=QueryContainer&Container=MyMovies&SortOrder=!CaptureDate&ItemCount=1&AnchorItem=%2FMyMovies%2FDinosaur%2520Train%2520-%2520Valley%2520of%2520the%2520Stygimolochs%2520Tiny%2520Loves%2520Fish%2520%252809_07_2009%2529.TiVo&AnchorOffset=-1&Filter=x-tivo-container%2Ftivo-videos,x-tivo-container%2Ffolder,video%2Fx-tivo-mpeg,video%2F* HTTP/1.1" 200 -
INFO:pyTivo:192.168.3.5 [01/Jan/2010 10:49:26] "GET /TiVoConnect?Command=TVBusQuery&Container=MyMovies&File=%2FDinosaur%20Train%20-%20Valley%20of%20the%20Stygimolochs%20Tiny%20Loves%20Fish%20(09_07_2009).TiVo HTTP/1.1" 200 -
INFO:pyTivo:192.168.3.5 [01/Jan/2010 10:49:29] "GET /TiVoConnect?Command=QueryFormats&SourceFormat=video%2Fx-tivo-mpeg HTTP/1.1" 200 -
INFO:pyTivo:192.168.3.5 [01/Jan/2010 10:49:29] "GET /TiVoConnect?Command=QueryItem&Url=http%3A%2F%2Fa%2Fb%3FContainer%3D%2FNowPlaying%26id%3D%2FMyMovies%2FDinosaur%2520Train%2520-%2520Valley%2520of%2520the%2520Stygimolochs%2520Tiny%2520Loves%2520Fish%2520%252809_07_2009%2529.TiVo HTTP/1.1" 404 -
INFO:pyTivo:192.168.3.5 [01/Jan/2010 10:49:31] "GET /MyMovies/Dinosaur%20Train%20-%20Valley%20of%20the%20Stygimolochs%20Tiny%20Loves%20Fish%20(09_07_2009).TiVo
HTTP/1.1" 206 -

LOG WHEN USING "SEND TO TIVO" (DOES NOT WORK)
Code:
Checking to see if pyTivo is already running . . .

Starting pyTivo Server. Use ctrl+Break to exit.

INFO:pyTivo.beacon:Announcing shares...
INFO:pyTivo.beacon:Registering: MyMovies
INFO:pyTivo.beacon:Scanning for TiVos...
INFO:pyTivo:pyTivo is ready.
INFO:pyTivo:192.168.3.5 [01/Jan/2010 11:13:14] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
INFO:pyTivo:192.168.3.3 [01/Jan/2010 11:13:14] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
INFO:pyTivo:127.0.0.1 [01/Jan/2010 11:13:27] "GET /TiVoConnect?Command=QueryContainer&Container=MyMovies HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [01/Jan/2010 11:13:27] "GET /TiVoConnect?Command=XSL&Container=MyMovies HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [01/Jan/2010 11:13:43] "POST /TiVoConnect HTTP/1.1" 302 -
INFO:pyTivo:127.0.0.1 [01/Jan/2010 11:13:43] "GET /TiVoConnect?Command=QueryContainer&Container=MyMovies HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [01/Jan/2010 11:13:43] "GET /TiVoConnect?Command=XSL&Container=MyMovies HTTP/1.1" 200 -
INFO:pyTivo:192.168.3.5 [01/Jan/2010 11:14:01] "GET /MyMovies/Dinosaur%20Train%20-%20Beating%20the%20Heat%20Flowers%20for%20Mom%20(09_07_2009).TiVo?Format=video%2Fmpeg HTTP/1.1" 206 -

lex3001 is offline   Reply With Quote
Old 01-01-2010, 02:09 PM   #2685
lex3001
Registered User
 
Join Date: Feb 2005
Posts: 54
I needed to configure tivodecode...

Quote:
Originally Posted by lex3001 View Post
I can initiate the transfer from the TiVo manually and the programs will transfer perfectly. Its only when I use Send To TiVo that they do not transfer.
I think I figured it out. Re-read some wikis and realized that TiVo files don't push without tivodecode, and added

Code:
tivodecode = C:\Program Files\kmttg\tivodecode\tivodecode.exe
to my .conf. It seemed to do something more than before.

I think I might just configure kmttg to do the decode for me if I still have have issues, but hopefully I am all squared away now. To bad pus doesn't support TiVo files in native format (assuming MAK is the same, as it is in my case).

Next step... upgrade the HD TiVo hard drive to 1.5GB before transferring everything from my 500GB Series 2....
lex3001 is offline   Reply With Quote
Old 01-01-2010, 04:04 PM   #2686
AbMagFab
What happened, TiVo?
 
AbMagFab's Avatar
 
Join Date: Feb 2001
Posts: 3,638
Quote:
Originally Posted by wmcbrine View Post
$ python
>>> import Image
import PIL succeeds, but import Image fails - any idea how to fix this?
__________________
Tivo since '99, DirecTV since '96, Comcast since '06, FiOS TV '07!

Multiple S3s, HDs, HDXLs, Premieres - all looking like relics now
TiVo is on it's way out -
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
AbMagFab is offline   Reply With Quote
Old 01-01-2010, 04:15 PM   #2687
AbMagFab
What happened, TiVo?
 
AbMagFab's Avatar
 
Join Date: Feb 2001
Posts: 3,638
Quote:
Originally Posted by wmcbrine View Post
$ python
>>> import Image
Okay, I created another symlink to the same directory as PIL using Image. The above now results in:

Code:
Python 2.5.4 (r254:67916, Jun  2 2009, 02:51:52)
[GCC 4.2.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image
Image.py:53: RuntimeWarning: Python C API version mismatch for module _imaging:
This Python has API version 1013, module _imaging has version 1012.
  import _imaging
>>> quit()

But running python2.5 I get no warning at all (which is what use to start pyTivo):
Code:
Python 2.5.4 (r254:67916, Jun  2 2009, 02:51:52)
[GCC 4.2.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Image
>>>
And pictures still fail after a complete restart. Any thoughts on further diagnostics?
__________________
Tivo since '99, DirecTV since '96, Comcast since '06, FiOS TV '07!

Multiple S3s, HDs, HDXLs, Premieres - all looking like relics now
TiVo is on it's way out -
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
AbMagFab is offline   Reply With Quote
Old 01-01-2010, 04:21 PM   #2688
AbMagFab
What happened, TiVo?
 
AbMagFab's Avatar
 
Join Date: Feb 2001
Posts: 3,638
Okay, ran in command line mode. Here's the error pyTivo is throwing:
Code:
ERROR:pyTivo:Could not open /share/Pictures/Fun/Stitched_001.JPG -- 'module' obj
ect has no attribute 'open'
INFO:pyTivo:x.x.x.x [01/Jan/2010 17:20:28] code 404, message Not Found
INFO:pyTivo:x.x.x.x [01/Jan/2010 17:20:28] "GET /Dir%20Photos/Fun/
Stitched_001.JPG?Width=88&Height=60&PixelShape=40%3A33&Format=image%2Fjpeg HTTP/
1.0" 404 -
Weird, since it lists the files, and they definitely exist. Now I'm stumped.
__________________
Tivo since '99, DirecTV since '96, Comcast since '06, FiOS TV '07!

Multiple S3s, HDs, HDXLs, Premieres - all looking like relics now
TiVo is on it's way out -
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!

Last edited by AbMagFab : 01-01-2010 at 04:30 PM.
AbMagFab is offline   Reply With Quote
Old 01-01-2010, 05:56 PM   #2689
AbMagFab
What happened, TiVo?
 
AbMagFab's Avatar
 
Join Date: Feb 2001
Posts: 3,638
Okay, I fixed it, but there are two issues, one I'd recommend you fix, the other I'm not sure about (both in photo.py):

1) from PIL import Image - you currently just say import Image, but I believe this is the proper form? It fixed things for me.

2) The pic.draft()failed with an integer divide by zero, so I just commented out that section.

Will test some more and let you know how it goes. Any ideas on these issues?

Thanks.
__________________
Tivo since '99, DirecTV since '96, Comcast since '06, FiOS TV '07!

Multiple S3s, HDs, HDXLs, Premieres - all looking like relics now
TiVo is on it's way out -
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!

Last edited by AbMagFab : 01-03-2010 at 07:29 PM.
AbMagFab is offline   Reply With Quote
Old 01-03-2010, 07:29 PM   #2690
AbMagFab
What happened, TiVo?
 
AbMagFab's Avatar
 
Join Date: Feb 2001
Posts: 3,638
Quote:
Originally Posted by AbMagFab View Post
Okay, I fixed it, but there are two issues, one I'd recommend you fix, the other I'm not sure about (both in photo.py):

1) from PIL import Image - you currently just say import Image, but I believe this is the proper form? It fixed things for me.

2) The pic.draft()failed with an integer divide by zero, so I just commented out that section.

Will test some more and let you know how it goes. Any ideas on these issues?

Thanks.
Still working well. Would recommend you make the above changes (unless you have some reasons for them?).
__________________
Tivo since '99, DirecTV since '96, Comcast since '06, FiOS TV '07!

Multiple S3s, HDs, HDXLs, Premieres - all looking like relics now
TiVo is on it's way out -
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
AbMagFab is offline   Reply With Quote
Old 01-04-2010, 12:41 AM   #2691
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 8,758
Quote:
Originally Posted by AbMagFab View Post
Still working well. Would recommend you make the above changes (unless you have some reasons for them?).
The reason for the .draft() call is a massive speedup on loading, especially for thumbnails, with no real PQ loss. The fact that it doesn't work on your system only suggests that your installation of PIL is broken... which we kind of knew already.

Similarly, "import Image" is something that works, with a correctly installed PIL. However, I can find no agreement on a preferred form (both appear in the PIL docs). I can include both, for good measure.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by wmcbrine : 01-04-2010 at 12:52 AM.
wmcbrine is offline   Reply With Quote
Old 01-04-2010, 08:06 PM   #2692
AbMagFab
What happened, TiVo?
 
AbMagFab's Avatar
 
Join Date: Feb 2001
Posts: 3,638
Quote:
Originally Posted by wmcbrine View Post
The reason for the .draft() call is a massive speedup on loading, especially for thumbnails, with no real PQ loss. The fact that it doesn't work on your system only suggests that your installation of PIL is broken... which we kind of knew already.

Similarly, "import Image" is something that works, with a correctly installed PIL. However, I can find no agreement on a preferred form (both appear in the PIL docs). I can include both, for good measure.
Not sure why you think my PIL install is broken? It's just a directory off the python directory.

There are a number of documented issues with "import Images" from the PIL causing a blank load of the __init__.py file, versus the proper Images.py file. Since the library is PIL, and you're loading Images.py from it, my understanding from the people with issues out there is "from PIL import Images" is the proper syntax, at least on Linux.

As for the draft, it loads super fast with it commented out. Perhaps the linux ipkg distro has an issue with the draft function? In any case, commenting it out seems to make no difference, either to speed or functionality.
__________________
Tivo since '99, DirecTV since '96, Comcast since '06, FiOS TV '07!

Multiple S3s, HDs, HDXLs, Premieres - all looking like relics now
TiVo is on it's way out -
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
!
AbMagFab is offline   Reply With Quote
Old 02-13-2010, 11:23 PM   #2693
vectorcatch
Registered User
 
Join Date: Nov 2008
Posts: 127
Quote:
Originally Posted by wmcbrine View Post
If it's Ubuntu, wouldn't it be "apt-get install python-imaging"?

Try "kill -2 pid". That should be equivalent to pressing ^C in the console, which (perversely enough) is the orderly shutdown method.
I saw this and just thought I should point you guys to a post I made in the pyTiVo forum about the graceful shutdown.

http://pytivo.sourceforge.net/forum/...mon-t1310.html

I found that I had to make some small changes for it to work correctly, but in the end they weren't too bad.
vectorcatch is offline   Reply With Quote
Old 03-05-2010, 02:52 PM   #2694
cburbs
Registered User
 
Join Date: Jan 2009
Posts: 158
What causes the following error when I try Soft Reset PyTivo -
Unsupported Command
Query:

* Container: ['$quote($container)']
* Command: ['Reset']
cburbs is offline   Reply With Quote
Old 03-05-2010, 03:55 PM   #2695
wmcbrine
Resistance Useless
 
wmcbrine's Avatar
 
Join Date: Aug 2003
Posts: 8,758
Comes from you using a version from between 2/10, when I broke the javascript out into a separate file, and 2/20, when I fixed the obvious problem that came of it no longer being in a template. D'oh!

Update your installation.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
wmcbrine is offline   Reply With Quote
Old 03-05-2010, 04:35 PM   #2696
cburbs
Registered User
 
Join Date: Jan 2009
Posts: 158
Quote:
Originally Posted by wmcbrine View Post
Comes from you using a version from between 2/10, when I broke the javascript out into a separate file, and 2/20, when I fixed the obvious problem that came of it no longer being in a template. D'oh!

Update your installation.
thanks - I was going off of old info as I had to do a rebuild of my PC -
cburbs is offline   Reply With Quote
Old 03-22-2010, 09:53 PM   #2697
TreborPugly
Unreal!
 
TreborPugly's Avatar
 
Join Date: May 2002
Location: Eastern TN
Posts: 4,542
Hey guys - I'm still using one of krkeegan's builds of pyTivo that I grabbed in Feb 2008. (First consistently stable build I got, after bugs causing crashes on the Tivo were fixed) I grabbed a more recent one a year ago, but never really dove into using it - I've used it a couple of times when the old one didn't like a particular video file for converting.

So what am I missing by not updating? Or should I just stick with my "if it ain't broke" system? I have very low demands - Series 2 Tivo, and I have my bit rate set to 1024K, so video quality isn't important to me.
__________________
Next?
TreborPugly is offline   Reply With Quote
Old 03-23-2010, 07:00 AM   #2698
orangeboy
yes, I AM orangeboy!
 
Join Date: Apr 2004
Location: Moline, IL
Posts: 4,075
Quote:
Originally Posted by TreborPugly View Post
Hey guys - I'm still using one of krkeegan's builds of pyTivo that I grabbed in Feb 2008. (First consistently stable build I got, after bugs causing crashes on the Tivo were fixed) I grabbed a more recent one a year ago, but never really dove into using it - I've used it a couple of times when the old one didn't like a particular video file for converting.

So what am I missing by not updating? Or should I just stick with my "if it ain't broke" system? I have very low demands - Series 2 Tivo, and I have my bit rate set to 1024K, so video quality isn't important to me.
Where I once worked, the adage had always been: "if it ain't broke, don't fix it". I amended it to include "is a good way to get left behind". If you follow wmcbrine's versions, you can see all the updates here: http://repo.or.cz/w/pyTivo/wmcbrine.git/shortlog
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
orangeboy is offline   Reply With Quote
Old 03-23-2010, 07:54 AM   #2699
dlfl
Cranky old novice
 
dlfl's Avatar
 
Join Date: Jul 2006
Location: Near Dayton, Ohio
Posts: 5,691
And as you're digesting the several hundred terse comments in the "short log", please do everyone a favor and compile an easily understandable summary of the major improvements since early 2008!

No criticism intended -- free software usually doesn't have "hand-it-to-me-on-a-platter" documentation.
__________________

"It must be swell to be so perfect and odor-free" -- Del Griffith


VideoReDo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

pyTivo users: Try
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
dlfl is offline   Reply With Quote
Old 03-23-2010, 08:58 AM   #2700
orangeboy
yes, I AM orangeboy!
 
Join Date: Apr 2004
Location: Moline, IL
Posts: 4,075
Quote:
Originally Posted by dlfl View Post
And as you're digesting the several hundred terse comments in the "short log", please do everyone a favor and compile an easily understandable summary of the major improvements since early 2008!

No criticism intended -- free software usually doesn't have "hand-it-to-me-on-a-platter" documentation.
Well, one thing the shortlogs show is that the app is not being ignored with development sitting idle!
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
orangeboy is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media

(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 01:03 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |