|
|
|
01-29-2013, 11:23 PM
|
#91
|
|
Registered User
Join Date: Aug 2003
Posts: 126
|
Uncommenting those lines and running the script, I get:
Code:
Traceback (most recent call last):
File "/Users/user/Desktop/tivodecode_MacOSX_intel/Tivo Proxy Server 7.py", line 326, in <module>
httpd.socket.setsockopt(socket.SOL_TCP, socket.TCP_KEEPIDLE, 1)
AttributeError: 'module' object has no attribute 'TCP_KEEPIDLE'
logout
[Process completed]
Next ideas?
|
|
|
01-30-2013, 01:32 AM
|
#92
|
|
Registered User
Join Date: Nov 2005
Posts: 460
|
Vanclute, delete those three lines, I guess they only work in Linux. I've seen reports of that "Broken pipe" error being caused by a firewall. Try turning off your firewall and testing the program. I'm starting to run out of ideas so hopefully it's your firewall.
|
|
|
01-30-2013, 11:07 AM
|
#93
|
|
Registered User
Join Date: Aug 2003
Posts: 126
|
sadly the firewall isn't running so... that's definitely not it.
Will delete those lines (though they were commented out previously weren't they?) and see what happens...
EDIT: No joy... broken pipe. Are there by chance any other Mac users who could take a stab at this so I can make sure it's not just me?
|
|
|
01-30-2013, 02:17 PM
|
#94
|
|
Registered User
Join Date: Nov 2005
Posts: 460
|
Vanclute, try this version. In case tivodecode is taking it's time loading, I put a 5 second delay before sending any data to tivodecode. Also, maybe data is being transferred too fast so I reduced the number of bytes being read and written at one time.
|
|
|
01-31-2013, 02:11 AM
|
#95
|
|
Free Bradley Manning
Join Date: Aug 2003
Posts: 8,155
|
Quote:
Originally Posted by Allanon
Vanclute, try this version. In case tivodecode is taking it's time loading, I put a 5 second delay before sending any data to tivodecode. Also, maybe data is being transferred too fast so I reduced the number of bytes being read and written at one time.
|
I haven't looked at this in enough detail to know what the problem is, but I can guarantee you're barking up the wrong tree with those changes.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
|
|
01-31-2013, 04:25 PM
|
#96
|
|
Registered User
Join Date: Aug 2003
Posts: 126
|
Alas wmcbrine appears to be correct, no change with the latest version.
|
|
|
02-05-2013, 07:45 PM
|
#97
|
|
Registered User
Join Date: Aug 2003
Posts: 126
|
So are we at a dead on with this on Mac?  I was so hopeful...
|
|
|
02-05-2013, 10:28 PM
|
#98
|
|
Registered User
Join Date: Nov 2005
Posts: 460
|
Quote:
Originally Posted by vanclute
So are we at a dead on with this on Mac?  I was so hopeful...
|
I don't know how to correct your error. Someone with better knowledge of Python and Mac will need to help out.
|
|
|
02-13-2013, 11:25 PM
|
#99
|
|
It'll be fine....
Join Date: Oct 2007
Posts: 886
|
I finally figured out how to get VLC to read directly from the Proxy server...
simply add the rss url as podcast under the playlist options. I do have javascript that can lookup poster art for the TV shows and movies - but not being familiar with python, it would take me quite a bit of effort to integrate it.
But it was nice getting it to this point.
__________________
TiVo S2 (Retired)
TiVo Series 3 (1 TB Upgrade)
TiVo HD
TiVo Premier (2 TB Upgrade)
iPad TiVo app
TiVo Stream
Personal Video Share powered by PyTiVo
Last edited by bradleys : 02-14-2013 at 12:09 AM.
|
|
|
02-21-2013, 02:49 PM
|
#100
|
|
Registered User
Join Date: Aug 2003
Posts: 126
|
That's great... now if only the videos would play for me in the first place.
|
|
|
02-21-2013, 06:04 PM
|
#101
|
|
It'll be fine....
Join Date: Oct 2007
Posts: 886
|
I am anxiously waiting for VLC for windows 8 to use this on the Surface Pro tablet - that I am chomping at the bit to buy.
Sorry it doesn't work for you... It is still really unstable presented via the browser for me, but rock solid through VLC.
__________________
TiVo S2 (Retired)
TiVo Series 3 (1 TB Upgrade)
TiVo HD
TiVo Premier (2 TB Upgrade)
iPad TiVo app
TiVo Stream
Personal Video Share powered by PyTiVo
|
|
|
02-28-2013, 07:53 PM
|
#103
|
|
Registered User
Join Date: May 2003
Location: Malvern, Pa
Posts: 291
|
here is the error I am getting now... Any help would be appreciated.. I am running Windows 7 and am running the version of the proxy server listed in post #103 above
it does look like its starting to decode the video because the line right before the ---- it says
Decoding video
c:\Python27\tivodecode ( and I do have tivodecode in that directory, I copied the tivodecode dir from kmmttg into the Pyhton dir)
__________________
- 1 Tivo Premier "Elite" Stock.- monthly
- 2 Tivo HDs w/Motorola M Cable cards (Lifetime)
- 1 Verizon FIOS DVR
Last edited by mulscully : 02-28-2013 at 07:58 PM.
|
|
|
03-01-2013, 12:23 AM
|
#104
|
|
Registered User
Join Date: Nov 2005
Posts: 460
|
Mulscully, I don't have Windows 7 or this problem so I was only able to look the error up on the internet and see how others fixed it. Some say just changing the directory to the path will solve the problem, so I added that code to this version. You might also try running as admin.
|
|
|
03-01-2013, 09:58 AM
|
#105
|
|
Registered User
Join Date: May 2003
Location: Malvern, Pa
Posts: 291
|
Thanks, I will give this a try sometime tonight or tomorrow and post the result....
__________________
- 1 Tivo Premier "Elite" Stock.- monthly
- 2 Tivo HDs w/Motorola M Cable cards (Lifetime)
- 1 Verizon FIOS DVR
|
|
|
03-03-2013, 07:21 PM
|
#106
|
|
Registered User
Join Date: May 2003
Location: Malvern, Pa
Posts: 291
|
Nah... still getting the same error... Believe its a win 7 issue....
__________________
- 1 Tivo Premier "Elite" Stock.- monthly
- 2 Tivo HDs w/Motorola M Cable cards (Lifetime)
- 1 Verizon FIOS DVR
|
|
|
03-10-2013, 09:09 PM
|
#107
|
|
Registered User
Join Date: Aug 2003
Posts: 126
|
I suspect you aren't really tracking the Mac issues since you aren't a Mac user, but I'm back to this error again. This is with the version you posted on 02.28.13:
Code:
/download/The%20Piano%20Guy.TiVo?Container=%2FNowPlaying&id=1339151
Video URL: http://192.168.2.10:80/download/The%20Piano%20Guy.TiVo?Container=%2FNowPlaying&id=1339151
192.168.2.16 - - [10/Mar/2013 19:11:27] "GET /download/The%20Piano%20Guy.TiVo?Container=%2FNowPlaying&id=1339151 HTTP/1.1" 200 -
Decoding video
/Users/user/tivodecode
----------------------------------------
Exception happened during processing of request from ('192.168.2.16', 57057)
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 310, in process_request
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 323, in finish_request
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 639, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 337, in handle
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 325, in handle_one_request
File "/Users/user/Desktop/tivodecode/Tivo Proxy Server.py", line 231, in do_GET
decode = subprocess.Popen(cmd,shell=False,bufsize=0,stdin=subprocess.PIPE,stdout=subprocess.PIPE)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1202, in _execute_child
OSError: [Errno 2] No such file or directory
----------------------------------------
|
|
|
03-11-2013, 02:24 AM
|
#108
|
|
Registered User
Join Date: Nov 2005
Posts: 460
|
Vanclute, for some reason the last version didn't have the code that fixed your path problem. This version should work.
|
|
|
03-29-2013, 12:09 AM
|
#109
|
|
Registered User
Join Date: Aug 2003
Posts: 126
|
Unfortunately, no go here either.
Code:
Video URL: http://192.168.2.10:80/download/The%20Piano%20Guy.TiVo?Container=%2FNowPlaying&id=1343114
192.168.2.16 - - [28/Mar/2013 22:15:58] "GET /download/The%20Piano%20Guy.TiVo?Container=%2FNowPlaying&id=1343114 HTTP/1.1" 200 -
Decoding video
/Users/user/Desktop/tivodecode/tivodecode
Encryption by QUALCOMM ;)
Disconnect
----------------------------------------
Exception happened during processing of request from ('192.168.2.16', 51043)
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 310, in process_request
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 323, in finish_request
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 641, in __init__
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 694, in finish
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 303, in flush
error: [Errno 32] Broken pipe
----------------------------------------
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|