NEW!!! Attention TiVo Users

Dan203

Senior Developer
Staff member
I have personally developed a new alternative to TiVo Desktop that's derived from pyTivo but does not require you to install python on your machine and has a completely custom UI developed by me. The installer includes the TiVo DiresctShow filter that VideoReDo needs to decrypt .tivo files so this can also act as a replacement for TiVo Desktop for editing your .tivo files in VideoReDo. Best of all it's free! :)

http://www.pytivodesktop.com/

If you'd rather continue to use TiVo Desktop it's still available in an archived section of TiVo's website, but they have abandoned it so it could potentially disappear at any time...

http://assets.tivo.com/assets/exe/tivotogo/TiVoDesktop2.8.3.exe
 

Dan203

Senior Developer
Staff member
No. I tried to get the pyTivo service to compile the same way the main version does, but it didn't work correctly. I spent a whole day trying to get it to work and couldn't but it never worked right. It wouldn't annouce the shares correctly.

If you really need it to run as a service you can run it the old way (install python on your PC) using my version of pyTivo...

https://github.com/dan203/pytivo

and the UI app will still work. You'll have to create a link to it directly though and not use the tray app because the tray app will cause a conflict.
 

JerryB

Member
Dan,

Thanks for creating this. I installed it without any obvious problems. However, when I run it, it finds my Tivo but then appears to hand on "Loading show list..." Do you have any idea what's causing this or how I can fix it?

Jerry
 

Dan203

Senior Developer
Staff member
Dan,

Thanks for creating this. I installed it without any obvious problems. However, when I run it, it finds my Tivo but then appears to hand on "Loading show list..." Do you have any idea what's causing this or how I can fix it?

Jerry
How long did you wait? It's downloading XML data from your TiVo 50 shows at a time (max TiVo allows) and then compiling that into a list. On my PC using Bolt and Roamios it's relatively fast (few seconds), but when I try to load my Wife's old S2 unit it's really slow (45+ seconds). Unless there is some sort of error it should eventually load.
 

JerryB

Member
Dan,

I waited over an hour and pyTivo Desktop just hangs on loading shows. However, if I go to localhost:9032 in a browser, it finds and loads the shows in under 2 seconds.

Jerry
 

Dan203

Senior Developer
Staff member
Hmm... that's weird. Do me a favor. Go to the tray icon and stop pyTivo. Go to the install folder and double click pytivo.exe. Now launch the Desktop UI and look at the pytivo console window. Does it print any errors?

When I said a long time I meant 30-45 seconds. If it takes any longer then that then something is wrong.
 

JerryB

Member
Go to the tray icon and stop pyTivo. Go to the install folder and double click pytivo.exe. Now launch the Desktop UI and look at the pytivo console window. Does it print any errors?
It doesn't print any errors.

When I double click on pytivo.exe, the Console window displays:

INFO:pyTivo:Last modified: Sun Apr 16 20:44:28 2017
INFO:pyTivo:python: 2.7.13
INFO:pyTivo:System: Windows-10-10.0.15063
INFO:pyTivo.beacon:Scanning for TiVos...
INFO:pyTivo.beacon:FR TIVO
INFO:pyTivo.beacon:Announcing shares...
INFO:pyTivo:pyTivo is ready.

Then when I launch the pyTivo Desktop, the Desktop app finds FR Tivo and gets to "Loading show list..." after which nothing further happens and the Console window doesn't change from what it displayed immediately upon launch.
 

Dan203

Senior Developer
Staff member
The console window should continuously update with http requests from the desktop app.

Exit out of the tray app completely. Then open the task manager. Do you see pyTivo.exe still running? If so kill it. (there will be two copies, this is normal, kill them both) Also if you have the old pyTivo service running you need to stop that as well as it will cause a conflict. After that relaunch the tray app and start desktop, does it work now?
 

JerryB

Member
The console window should continuously update with http requests from the desktop app.

Exit out of the tray app completely. Then open the task manager. Do you see pyTivo.exe still running? If so kill it. (there will be two copies, this is normal, kill them both) Also if you have the old pyTivo service running you need to stop that as well as it will cause a conflict. After that relaunch the tray app and start desktop, does it work now?
When I exited out of the tray app, there were still 2 copies of pyTivo.exe running in the Task Manager. I killed them and then repeated the test. This time, I did see continued http requests when I ran the desktop app.

Here's the output from the console window (which seems to keep repeating but I didn't copy all the repeats):

INFO:pyTivo:192.168.1.110 [17/Apr/2017 16:56:56] "GET /TiVoConnect?Command=QueryContainer&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
INFO:pyTivo:192.168.1.113 [17/Apr/2017 16:56:56] "GET /TiVoConnect?Command=QueryContainer&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
INFO:pyTivo:192.168.1.112 [17/Apr/2017 16:56:56] "GET /TiVoConnect?Command=QueryContainer&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
INFO:pyTivo:127.0.0.1 [17/Apr/2017 16:57:20] "GET /TiVoConnect?Command=GetSettings&Container=Settings HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [17/Apr/2017 16:57:20] "GET /TiVoConnect?Command=GetTiVoList&Container=ToGo HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [17/Apr/2017 16:57:28] "GET /TiVoConnect?Command=GetQueueList&Container=ToGo&TiVo=192.168.1.110 HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [17/Apr/2017 16:57:28] "GET / HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [17/Apr/2017 16:57:38] "GET /TiVoConnect?Command=GetQueueList&Container=ToGo&TiVo=192.168.1.110 HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [17/Apr/2017 16:57:38] "GET / HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [17/Apr/2017 16:57:48] "GET /TiVoConnect?Command=GetQueueList&Container=ToGo&TiVo=192.168.1.110 HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [17/Apr/2017 16:57:48] "GET / HTTP/1.1" 200 -
INFO:pyTivo:192.168.1.110 [17/Apr/2017 16:57:55] "GET /TiVoConnect?Command=QueryContainer&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
INFO:pyTivo:192.168.1.113 [17/Apr/2017 16:57:55] "GET /TiVoConnect?Command=QueryContainer&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
INFO:pyTivo:192.168.1.112 [17/Apr/2017 16:57:55] "GET /TiVoConnect?Command=QueryContainer&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
INFO:pyTivo:127.0.0.1 [17/Apr/2017 16:57:58] "GET /TiVoConnect?Command=GetQueueList&Container=ToGo&TiVo=192.168.1.110 HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [17/Apr/2017 16:57:58] "GET / HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [17/Apr/2017 16:58:08] "GET /TiVoConnect?Command=GetQueueList&Container=ToGo&TiVo=192.168.1.110 HTTP/1.1" 200 -
 

Dan203

Senior Developer
Staff member
That looks ok. I'm not sure what would cause it to never load the list. I wonder if there is something like a special character in one of the shows name or description that is tripping up the parsing.

If you're willing to debug this more with me can you email mail me at danhaddix AT outlook.com so we can discuss it outside the VideoReDo forum?
 

klink1948

Member
I just installed ver. 1.5.10 and get this error:

Error connecting to pyTivo!
Verify pyTivo is running and retry

Task Manager says that there 2 pytivos, 2pytivotrays and 2 Electrons running.

Update:

I went into Windows Services and restarted pytivo and the error went away. I get a No tivos found message. Is there a way to manually add the tivos?
 
Last edited:

Dan203

Senior Developer
Staff member
You need to get rid of the service. That is an old version and will conflict with this one. This one does not run as a service so if you have a service it's from an old version.
 

Dan203

Senior Developer
Staff member
Try going to settings and changing the zeroconf setting to "on". If that still doesn't work try "off".

JerryB had a similar issue and it turned out for him that he had an extra network adapter from VMWare or VirtualBox and when he disabled that it started working.

I didn't write the networking portion of the code so I'm not that famaliar with how it works. But this is something I'm planning to look into when I have some more time.
 

klink1948

Member
Try going to settings and changing the zeroconf setting to "on". If that still doesn't work try "off".

JerryB had a similar issue and it turned out for him that he had an extra network adapter from VMWare or VirtualBox and when he disabled that it started working.

I didn't write the networking portion of the code so I'm not that famaliar with how it works. But this is something I'm planning to look into when I have some more time.
Thanks for the update Dan.

I did have a VB net. adpt. running. I disabled it, but that did not fix my problem. I tried all the setting changes. That did not help. I rebooted the router, pc and the tivos and that did not fix the problem either.
 

Dan203

Senior Developer
Staff member
Hmmm..... try this. Exit out of pyTivo completely. Open the task manager and kill any remaining pyTivo processes. Now go to the install folder and launch pyTivo.exe manually. That will show a command window. In that window you will see a line that says "Searching for TiVos....." and it will either print the names of the found TiVos after that line or after 30 seconds it will timeout and move on. Does it ever find the TiVos?

If it doesn't then it could be the firewall. Try temporarily disabling the firewall and then run pyTivo.exe again. Does it find any TiVos now? If so you'll need to add an exception to the firewall to allow pyTivo.exe access to the network.

If that still doesn't work then I'm stumped. Do you have any other network adapters? If so try disabling them. The network portion of the code was not written by me so I'm not 100% sure how it works. If there was some way for me to duplicate the issue here I might be able to trace it, but it works fine for me and only a couple of users have reported issues like this.
 

klink1948

Member
Hmmm..... try this. Exit out of pyTivo completely. Open the task manager and kill any remaining pyTivo processes. Now go to the install folder and launch pyTivo.exe manually. That will show a command window. In that window you will see a line that says "Searching for TiVos....." and it will either print the names of the found TiVos after that line or after 30 seconds it will timeout and move on. Does it ever find the TiVos?

If it doesn't then it could be the firewall. Try temporarily disabling the firewall and then run pyTivo.exe again. Does it find any TiVos now? If so you'll need to add an exception to the firewall to allow pyTivo.exe access to the network.

If that still doesn't work then I'm stumped. Do you have any other network adapters? If so try disabling them. The network portion of the code was not written by me so I'm not 100% sure how it works. If there was some way for me to duplicate the issue here I might be able to trace it, but it works fine for me and only a couple of users have reported issues like this.
I think I found the problem. When I shut down Tivo Desktop and everything related to it, pyTivo Desktop found all of my tivos and loaded all of the shows in a few seconds.

Thanks for the help.
 

SamuriHL

Member
Super sweet! I'll be giving this a try. Thanks for creating this! Will get back to you with feedback as soon as I can try it.
 

SamuriHL

Member
It hangs for me getting the show list on my roamio that's got quite a bit of content on it. Has no problem with my elite that only has a couple shows. Anything you need from me? Thanks!
 
Top Bottom