 |
pyTivo Discussion Forum Answers and the development of pyTivo a TiVo transcoding server
|
|
| Author |
Message |
rdian06
Joined: 12 Apr 2008 Posts: 364
|
Posted: Mon Aug 11, 2008 7:12 pm Post subject: |
|
|
I just restarted my pyTivo.
I have one Tivo S3 online right now.
I see one get in my console and my shares are showing:
| Code: |
192.168.1.146 - - [11/Aug/2008 23:05:43] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
|
Which unless I'm blind matches what you see and is correct. %2F is the URL encoded value for /. So the Tivo is asking for all the shares in /. |
|
| Back to top |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 364
|
Posted: Mon Aug 11, 2008 7:28 pm Post subject: |
|
|
| saberman wrote: | | rdian06 wrote: | From your other PC, open a web browser and see if you can access:
http://<ip address of your pyTivo PC>:9032 |
I tried that awhile ago as noted earlier in this thread. I did it again two minutes ago and it still works.
|
I got this post horribly wrong the first time around so have editted out the wrong information.
I read back over the thread and realized something. When I told you to test the above, what did you see when you went to:
| Code: |
http://192.168.1.110:9032/
|
On my pyTivo box, the Admin server is disable. When I visit the page, I get:
| Code: |
This is a pyTivo server
No Admin plugin installed in pyTivo.conf
If you wish to use the admin plugin add the following lines to pyTivo.conf
[Admin]
type=admin
Video shares:
My Videos 1
My Videos 2
My Videos 3
My Videos 4
Test 1
|
Each of the lines under "Video shares:" is a clickable link that will take you to the contents of each share.
Do you see anything under "Video shares:" when you visit the 9032 port web server?[/b]
Last edited by rdian06 on Wed Aug 13, 2008 9:58 am; edited 2 times in total |
|
| Back to top |
|
 |
vfrdirk
Joined: 11 Aug 2008 Posts: 1
|
Posted: Mon Aug 11, 2008 10:20 pm Post subject: |
|
|
I had a similar (though not identical) set of circumstances. PyTivo was receiving the GET but no shares were appearing NPL. I was fooling around with a [Music] subsection which, once removed, allowed the video shares to appear in Now Playing.
I don't want to derail this thread, since there's some great information in it (leading me to this solution) but is there something I failed to do to get the Music shares working?
As an aside, I had the video stuff working flawlessly on XP, but ran into this difficulty when switching to Vista (and adding the Music section to PyTivo.conf). Talk about chasing my tail...
Dirk |
|
| Back to top |
|
 |
saberman
Joined: 14 Jul 2008 Posts: 14 Location: Earth
|
Posted: Tue Aug 12, 2008 7:53 pm Post subject: |
|
|
| rdian06 wrote: | On my pyTivo box, the Admin server is disable. When I visit the 9032 interface, I get:
| Code: |
This is a pyTivo server
No Admin plugin installed in pyTivo.conf
If you wish to use the admin plugin add the following lines to pyTivo.conf
[Admin]
type=admin
Video shares:
My Videos 1
My Videos 2
My Videos 3
My Videos 4
Test 1
|
Each of the lines under "Video shares:" is a clickable link that will take you to the contents of each share.
Do you see anything under "Video shares:" when you visit the 9032 port web server? |
When I go to http://192.168.1.202:9032/
I get:
This is a pyTivo server
pyTivo Web Configuration
pyTivo ToGo
The second and third lines are clickable. The second line gives me the pyTivo configuration screen. The third line lets be select the NPL from each of my Tivos.
Which I thought was what I was supposed to get.
If I go to http://192.168.1.202/
I get:
Under Construction
The site you were trying to reach does not currently have a default page. It may be in the process of being upgraded and configured.
--------------------------------------------------------------------------------
Please try this site again later. If you still experience the problem, try contacting the Web site administrator.
So what do I do now? |
|
| Back to top |
|
 |
saberman
Joined: 14 Jul 2008 Posts: 14 Location: Earth
|
Posted: Tue Aug 12, 2008 8:30 pm Post subject: |
|
|
| rdian06 wrote: | I just restarted my pyTivo.
I have one Tivo S3 online right now.
I see one get in my console and my shares are showing:
| Code: |
192.168.1.146 - - [11/Aug/2008 23:05:43] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
|
Which unless I'm blind matches what you see and is correct. %2F is the URL encoded value for /. So the Tivo is asking for all the shares in /. |
I finally got an error message:
192.168.1.203 - - [12/Aug/2008 22:16:10] "GET /TiVoConnect?Command=QueryContaine
r&Container=%2F HTTP/1.0" 200 -
----------------------------------------
Exception happened during processing of request from ('192.168.1.203', 1111)
Traceback (most recent call last):
File "C:\Python25\lib\SocketServer.py", line 464, in process_request_thread
self.finish_request(request, client_address)
File "C:\Python25\lib\SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Python25\lib\SocketServer.py", line 522, in __init__
self.handle()
File "C:\Python25\lib\BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "C:\Python25\lib\BaseHTTPServer.py", line 310, in handle_one_request
method()
File "C:\Program Files\pyTivo\httpserver.py", line 74, in do_GET
self.root_container()
File "C:\Program Files\pyTivo\httpserver.py", line 113, in root_container
self.wfile.write(t)
File "C:\Python25\lib\socket.py", line 262, in write
self.flush()
File "C:\Python25\lib\socket.py", line 249, in flush
self._sock.sendall(buffer)
error: (10053, 'Software caused connection abort')
----------------------------------------
BTW, 192.168.1.203 is the IP address of one of my Tivos. Now if someone can please explain the error message... |
|
| Back to top |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 364
|
Posted: Wed Aug 13, 2008 5:18 am Post subject: |
|
|
| saberman wrote: |
When I go to http://192.168.1.202:9032/
I get:
This is a pyTivo server
pyTivo Web Configuration
pyTivo ToGo
The second and third lines are clickable. The second line gives me the pyTivo configuration screen. The third line lets be select the NPL from each of my Tivos.
Which I thought was what I was supposed to get.
If I go to http://192.168.1.202/
I get:
Under Construction
The site you were trying to reach does not currently have a default page. It may be in the process of being upgraded and configured.
--------------------------------------------------------------------------------
Please try this site again later. If you still experience the problem, try contacting the Web site administrator.
So what do I do now? |
I HORRIBLY got the whole double webserver info wrong. I apologize. pyTivo only binds ONE webserver port on 9032 by default. It doesn't use TCP 80 at all. I'm not really sure what I was thinking when I wrote that other post. I've editted it so as not to mislead anyone else in the future.
As for your problem, when you go to the pyTivo webserver, you should see a Video Shares section with a list of clickable shares (or at least I do when using wmcbrine's latest fork git from last weekend).
I think you're using a recent version of wmcbrine's fork also, so I think the reason you don't see shares is that something in your config file is screwing up the config processor and causing your share definitions to be ignored.
So try backing up your pyTivo.conf file and replacing it with a simple one with just the Server section and one video share. See if that works. |
|
| Back to top |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 364
|
Posted: Wed Aug 13, 2008 5:22 am Post subject: |
|
|
| saberman wrote: |
I finally got an error message:
192.168.1.203 - - [12/Aug/2008 22:16:10] "GET /TiVoConnect?Command=QueryContaine
r&Container=%2F HTTP/1.0" 200 -
----------------------------------------
Exception happened during processing of request from ('192.168.1.203', 1111)
Traceback (most recent call last):
File "C:\Python25\lib\SocketServer.py", line 464, in process_request_thread
self.finish_request(request, client_address)
File "C:\Python25\lib\SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Python25\lib\SocketServer.py", line 522, in __init__
self.handle()
File "C:\Python25\lib\BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "C:\Python25\lib\BaseHTTPServer.py", line 310, in handle_one_request
method()
File "C:\Program Files\pyTivo\httpserver.py", line 74, in do_GET
self.root_container()
File "C:\Program Files\pyTivo\httpserver.py", line 113, in root_container
self.wfile.write(t)
File "C:\Python25\lib\socket.py", line 262, in write
self.flush()
File "C:\Python25\lib\socket.py", line 249, in flush
self._sock.sendall(buffer)
error: (10053, 'Software caused connection abort')
----------------------------------------
BTW, 192.168.1.203 is the IP address of one of my Tivos. Now if someone can please explain the error message... |
I think that's a red herring. pyTivo went to send some info to your Tivo and the socket connection was already closed. Unless it's happening repeatedly, I think it was a fluke. |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 444
|
Posted: Wed Aug 13, 2008 7:41 am Post subject: |
|
|
| rdian06 wrote: | I think you're using a recent version of wmcbrine's fork |
Last I heard, he was running the last version of KRKeegan's Windows installer. While there was a lot of talk about upgrading, there was no indication that he ever did it. _________________ My pyTivo fork |
|
| Back to top |
|
 |
saberman
Joined: 14 Jul 2008 Posts: 14 Location: Earth
|
Posted: Wed Aug 13, 2008 7:20 pm Post subject: |
|
|
| wmcbrine wrote: | | rdian06 wrote: | I think you're using a recent version of wmcbrine's fork |
Last I heard, he was running the last version of KRKeegan's Windows installer. While there was a lot of talk about upgrading, there was no indication that he ever did it. |
You are correct as I never got a response to my question about how to do that. The question I asked was:
"I downloaded it, unqzed it, untared it and have a directory tree with a root called wmcbrine. If I shutdown the pyTiVo server, rename the install directory and replace it with the wmcbrine directory tree will this work? "
Please provide instuctions -- in words of one sylable or less -- on exactly how to install your branch. |
|
| Back to top |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 364
|
Posted: Thu Aug 14, 2008 8:01 am Post subject: |
|
|
| saberman wrote: |
"I downloaded it, unqzed it, untared it and have a directory tree with a root called wmcbrine. If I shutdown the pyTiVo server, rename the install directory and replace it with the wmcbrine directory tree will this work? "
|
1. Rename your original pyTivo folder to pyTivo.krkeegan.
2. Extract wmcbrine's folder alongside pyTivo.krkeegan and rename it to match the original pyTivo folder.
3. Copy config (Internet Shortcut), pyTivo (Internet Shortcut), pyTivo.bat (MS-DOS Batch File), pyTivoService.exe, pyTivoService.ini, and your pyTivo.conf file from pyTivo.krkeegan into the new pyTivo folder.
4. Use your Start Menu shortcut to run "pyTivo - Console".
5. Be more POLITE to the people helping you. When I saw your reply I almost decided never to post in this thread again...
Last edited by rdian06 on Sun Sep 07, 2008 12:28 pm; edited 1 time in total |
|
| Back to top |
|
 |
thonl
Joined: 17 Aug 2008 Posts: 1
|
Posted: Sun Aug 17, 2008 3:12 pm Post subject: |
|
|
I was running fine for several weeks, then today everything quit on me.
I thought it was related to installing TivoDesktop on a laptop on the same network, but after much pulling of hair, I had a lightbulb moment when i realized that the pyTivo pc almost never has my work Cisco VPN client running on it.
Once I disconnected that, all was fine again - The VPN tends to bind to the network adapter in a way that the VPN IP becomes primary on that box, so there was no route from my home network to works private IP range. |
|
| Back to top |
|
 |
thczv
Joined: 04 Sep 2008 Posts: 5
|
Posted: Thu Sep 04, 2008 8:01 am Post subject: |
|
|
I have had a similar problem lately. All of a sudden my tivos don't see pyTivo. pyTivo appears to be running just fine, and I can browse to it using another PC (using the method mentioned earlier in this thread). I haven't changed anything recently. I rebooted my Tivos, and it didn't help. I have restarted the pyTivo service.
Any suggestions on the best way to troubleshoot this?
Thanks,
Dave |
|
| Back to top |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 364
|
Posted: Thu Sep 04, 2008 8:20 am Post subject: |
|
|
What version of pyTivo are you running?
Have you tried rebooting your home router/switches?
Also when you run pyTivo in console mode, do you see any GET request coming from your Tivo IPs. |
|
| Back to top |
|
 |
thczv
Joined: 04 Sep 2008 Posts: 5
|
Posted: Thu Sep 04, 2008 5:21 pm Post subject: |
|
|
| rdian06 wrote: | What version of pyTivo are you running?
Have you tried rebooting your home router/switches?
Also when you run pyTivo in console mode, do you see any GET request coming from your Tivo IPs. |
I'm not quite sure how to describe what version I am running. I downloaded it from wgw's branch. I think it was current on 7/6/08 at 2:02 am. The filename is:
wgw-9c14bbbafd1e0ce306041bd70b853aaa75e3ae87.tar.gz
I have tried rebooting my router/switches. It doesn't help.
I do not see a GET request coming from my Tivos. Strangely, my Tivos don't show any menu item for my pyTivo server. It isn't on the Now Playing list, and my music items don't show up either. But if I browse to port 9032 with my internet browser, it shows up just fine.
Any ideas? |
|
| Back to top |
|
 |
rdian06
Joined: 12 Apr 2008 Posts: 364
|
Posted: Thu Sep 04, 2008 5:39 pm Post subject: |
|
|
What Tivo's do you have? If they are Tivo HD or S3 units, did they recently upgrade to 9.4?
If you go to:
| Code: | https://<ip address of your Tivo>/ |
Are you presented with a login prompt? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|