pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Copy Protection Issue - Can't Push/Pull
Goto page 1, 2  Next
 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Support
 View previous topic :: View next topic  
Author Message
jrlbc06



Joined: 29 Apr 2012
Posts: 18

PostPosted: Sun Apr 29, 2012 6:25 pm    Post subject: Copy Protection Issue - Can't Push/Pull Reply with quote

I have previously set up pyTivo on both Windows and Ubuntu systems with success.

I am trying today to set up on Mac for the first time. (OS 10.5.8)

I followed the directions here

Quote:
http://pytivo.sourceforge.net/wiki/index.php/OS_X_Install


And used the zip file found here

Quote:
https://github.com/wmcbrine/pytivo


I am able to pull files from the Tivo to my hard drive, but that is all.

When I attempt to pull a file from my computer to the TiVo, every single file comes up as copy protected (multiple file formats, multiple files). I have tried extending the time out on the ffmpeg with no luck.

When I attempt to push from the computer to the TiVo, I get an error in the terminal.

Quote:
INFO:pyTivo.video.video:[29/Apr/2012 14:04:29] Queued "/users/jd/documents/vuze downloads/pyTivo/The.Big.Bang.Theory.S05E22.mkv" for Push to Jimi HD
INFO:pyTivo:127.0.0.1 [29/Apr/2012 14:04:29] "POST /TiVoConnect HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 14:04:29] "GET /favicon.ico HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 14:04:34] "GET /TiVoConnect?Command=QueryContainer&Container=JimiHD&Format=text/html HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 14:04:34] "GET /main.css HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 14:04:34] "GET /favicon.ico HTTP/1.1" 200 -
ERROR:pyTivo.video.video:unsupported operand type(s) for /: 'str' and 'int'


I have worked through troubleshooting and such. It has been a couple years since I last installed so I'm wondering if I'm missing something completely obvious that would cause these dual errors.

My pyTivo.conf file is:

Quote:
[JimiHD]
type = video
path = /users/jd/documents/vuze downloads/pyTivo

[_tivo_HD]

[_tivo_SD]

[Server]
tivo_password = xxxxxxxxx
tivo_mak = xxxxxxxx
ffmpeg = /applications/pyTivo/bin/ffmpeg
ffmpeg_wait = 60
togo_path = /users/jd/documents/vuze downloads/pytivo
tivo_username = xxxxxxxx
port = 9032


All help is much appreciated!


Last edited by jrlbc06 on Sun Apr 29, 2012 8:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 335

PostPosted: Sun Apr 29, 2012 6:47 pm    Post subject: Reply with quote

Could you post a longer log? The entire error message seems to have been cut off.

Also I would like know what version of FFmpeg you are running. I have heard of the copy protection error from another user who was using my FFmpeg 0.10.2 build but I could not reproduce it and they did not respond with error logs.

Also your path is not technically correct for FFmpeg binary in the conf file. OS X can be case sensitive.

Try changing /applications to /Applications just to see if that was the problem.

_________________
My pyTivo fork - Read link for changes
FFmpeg for OS X
Back to top
View user's profile Send private message
jrlbc06



Joined: 29 Apr 2012
Posts: 18

PostPosted: Sun Apr 29, 2012 6:54 pm    Post subject: Reply with quote

I got my ffmpeg here

Quote:
http://pytivo.sourceforge.net/forum/ffmpeg-builds-for-mac-os-x-t1803.html


Looks like it is 0.8.10 64 bit only


This is a complete terminal log from starting pyTivo to the error message

Quote:
Last login: Sun Apr 29 14:51:43 on ttys000
cd /Applications/pyTivo
./pyTivo.py
macbook:~ jd$ cd /Applications/pyTivo
macbook:pyTivo jd$ ./pyTivo.py
INFO:pyTivo:Last modified: Wed Mar 28 17:38:04 2012
INFO:pyTivo:Python: 2.5.1
INFO:pyTivo:System: Darwin-9.8.0-i386-32bit
INFO:pyTivo.beacon:Announcing shares...
INFO:pyTivo.beacon:Registering: JimiHD
INFO:pyTivo.beacon:Scanning for TiVos...
INFO:pyTivo.beacon:Jimi HD
INFO:pyTivo:pyTivo is ready.
INFO:pyTivo:127.0.0.1 [29/Apr/2012 14:52:33] "GET / HTTP/1.1" 200 -
INFO:pyTivo:192.168.1.5 [29/Apr/2012 14:52:33] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 14:52:33] "GET /main.css HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 14:52:41] "GET /TiVoConnect?Command=QueryContainer&Container=JimiHD&Format=text/html HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 14:52:41] "GET /main.css HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 14:52:41] "GET /favicon.ico HTTP/1.1" 200 -
INFO:pyTivo.video.video:[29/Apr/2012 14:52:44] Queued "/users/jd/documents/vuze downloads/pyTivo/The.Big.Bang.Theory.S05E22.720p.mkv" for Push to Jimi HD
INFO:pyTivo:127.0.0.1 [29/Apr/2012 14:52:44] "POST /TiVoConnect HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 14:52:44] "GET /favicon.ico HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 14:52:49] "GET /TiVoConnect?Command=QueryContainer&Container=JimiHD&Format=text/html HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 14:52:49] "GET /main.css HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 14:52:49] "GET /favicon.ico HTTP/1.1" 200 -
ERROR:pyTivo.video.video:unsupported operand type(s) for /: 'str' and 'int'
Back to top
View user's profile Send private message
jrlbc06



Joined: 29 Apr 2012
Posts: 18

PostPosted: Sun Apr 29, 2012 7:00 pm    Post subject: Reply with quote

I just tried swapping out a different version of ffmpeg (I tried 0.8.6 universal) with no change. Still getting the same error message and no push or pull ability.
Back to top
View user's profile Send private message
jrlbc06



Joined: 29 Apr 2012
Posts: 18

PostPosted: Sun Apr 29, 2012 7:04 pm    Post subject: Reply with quote

And I also tried your FFmpeg 0.10.2 with the same results
Back to top
View user's profile Send private message
jrlbc06



Joined: 29 Apr 2012
Posts: 18

PostPosted: Sun Apr 29, 2012 8:50 pm    Post subject: Reply with quote

I'm going to delete the whole installation and start over. I figure going through the whole process again maybe I missed something.

Any recommendations as to what ffmpeg I should try?
Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 335

PostPosted: Sun Apr 29, 2012 9:09 pm    Post subject: Reply with quote

jrlbc06 wrote:
I'm going to delete the whole installation and start over. I figure going through the whole process again maybe I missed something.

Any recommendations as to what ffmpeg I should try?


I missed that you are running an older OS X version. My builds only work for Intel Macs 10.6 and up. Try the rdian06 version I linked to in my FFmpeg thread instead if you have a G4/G5 CPU or one of the x86 Intel binaries if you have a Intel Mac. They are pretty old but if you are interested there are more involved ways to make your own FFmpeg binary.

If issue remains turn on debug output for the next round and post that.

debug = True under [Server] section of the conf file.

_________________
My pyTivo fork - Read link for changes
FFmpeg for OS X
Back to top
View user's profile Send private message
jrlbc06



Joined: 29 Apr 2012
Posts: 18

PostPosted: Sun Apr 29, 2012 9:27 pm    Post subject: Reply with quote

I went through the entire installation again, and used one of the ffmpeg's you linked.

ffmpeg-SVN-r19249-rdian06-0.98-macosx-g5.zip

Still having the same problem. I turned debug on...where does this default output to? I can't find a file with a log.
Back to top
View user's profile Send private message
jrlbc06



Joined: 29 Apr 2012
Posts: 18

PostPosted: Sun Apr 29, 2012 9:30 pm    Post subject: Reply with quote

I figured it out, debug posts in the terminal. I'll post the log in a second
Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 335

PostPosted: Sun Apr 29, 2012 9:31 pm    Post subject: Reply with quote

Do you have a PPC G5 Mac? Or an Intel Mac?
_________________
My pyTivo fork - Read link for changes
FFmpeg for OS X
Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 335

PostPosted: Sun Apr 29, 2012 9:33 pm    Post subject: Reply with quote

I've updated my FFmpeg thread and the OSX Install wiki page to be more specific about which build to use for older Macs.
_________________
My pyTivo fork - Read link for changes
FFmpeg for OS X
Back to top
View user's profile Send private message
jrlbc06



Joined: 29 Apr 2012
Posts: 18

PostPosted: Sun Apr 29, 2012 9:33 pm    Post subject: Reply with quote

Quote:
INFO:pyTivo:Last modified: Wed Mar 28 17:38:04 2012
INFO:pyTivo:Python: 2.5.1
INFO:pyTivo:System: Darwin-9.8.0-i386-32bit
INFO:pyTivo.beacon:Announcing shares...
INFO:pyTivo.beacon:Registering: pyTivo
INFO:pyTivo.beacon:Scanning for TiVos...
INFO:pyTivo.beacon:Jimi HD
INFO:pyTivo:pyTivo is ready.
INFO:pyTivo:192.168.1.5 [29/Apr/2012 17:29:18] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 17:29:36] "GET /TiVoConnect?Command=QueryContainer&Container=pyTivo&Format=text/html HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 17:29:36] "GET /main.css HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 17:29:36] "GET /favicon.ico HTTP/1.1" 200 -
INFO:pyTivo.video.video:[29/Apr/2012 17:29:39] Queued "/users/jd/documents/Vuze downloads/pyTivo/The.Big.Bang.Theory.S05E22.mkv" for Push to Jimi HD
INFO:pyTivo:127.0.0.1 [29/Apr/2012 17:29:39] "POST /TiVoConnect HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 17:29:39] "GET /favicon.ico HTTP/1.1" 200 -
DEBUG:pyTivo.video.transcode:starting ffmpeg, will wait 10 seconds for it to complete
INFO:pyTivo:127.0.0.1 [29/Apr/2012 17:29:44] "GET /TiVoConnect?Command=QueryContainer&Container=pyTivo&Format=text/html HTTP/1.1" 200 -
INFO:pyTivo:127.0.0.1 [29/Apr/2012 17:29:44] "GET /main.css HTTP/1.1" 200 -
DEBUG:pyTivo.video.transcode:ffmpeg output=dyld: incompatible cpu-subtype

DEBUG:pyTivo.video.transcode:failed at aFreq
DEBUG:pyTivo.video.transcode:failed at container
DEBUG:pyTivo.video.transcode:failed at vCodec
DEBUG:pyTivo.video.transcode:failed at aKbps
DEBUG:pyTivo.video.transcode:failed at aCodec
DEBUG:pyTivo.video.transcode:failed at mapVideo
DEBUG:pyTivo.video.transcode:failed at aCh
DEBUG:pyTivo.video.transcode:failed at vWidth/vHeight
DEBUG:pyTivo.video.transcode:failed at vFps
DEBUG:pyTivo.video.transcode:failed at kbps
DEBUG:pyTivo.video.transcode:failed at mapAudio
DEBUG:pyTivo.video.transcode:aFreq=None; aCh=None; container=; kbps=None; mapAudio=[('', '')]; vHeight=; vCodec=; Supported=False; aKbps=None; par=None; millisecs=0; vFps=; par2=None; par1=None; mapVideo=None; vWidth=; dar1=None; rawmeta={}; aCodec=None
DEBUG:pyTivo.video.transcode:FALSE, file not supported /users/jd/documents/Vuze downloads/pyTivo/The.Big.Bang.Theory.S05E22.mkv
DEBUG:pyTivo.video.transcode:CACHE HIT! /users/jamesladd/documents/Vuze downloads/pyTivo/The.Big.Bang.Theory.S05E22.mkv
DEBUG:pyTivo.video.transcode:TRANSCODE=YES, vCodec not compatible, /users/jd/documents/Vuze downloads/pyTivo/The.Big.Bang.Theory.S05E22.mkv
DEBUG:pyTivo.video.transcode:CACHE HIT! /users/jd/documents/Vuze downloads/pyTivo/The.Big.Bang.Theory.S05E22.mkv
INFO:pyTivo:127.0.0.1 [29/Apr/2012 17:29:44] "GET /favicon.ico HTTP/1.1" 200 -
DEBUG:pyTivo.video.transcode:TRANSCODE=YES, vCodec not compatible, /users/jd/documents/Vuze downloads/pyTivo/The.Big.Bang.Theory.S05E22.mkv
DEBUG:pyTivo.video.transcode:CACHE HIT! /users/jd/documents/Vuze downloads/pyTivo/The.Big.Bang.Theory.S05E22.mkv
DEBUG:pyTivo.mind:__login
{'cams_security_domain': 'tivocom', 'cams_login_config': 'http', 'cams_cb_password': 'xxxxxxxx', 'cams_original_url': '/mind/mind7?type=infoGet', 'cams_cb_username': 'xxxxxxxx'}
ERROR:pyTivo.video.video:unsupported operand type(s) for /: 'str' and 'int'
Back to top
View user's profile Send private message
jrlbc06



Joined: 29 Apr 2012
Posts: 18

PostPosted: Sun Apr 29, 2012 9:34 pm    Post subject: Reply with quote

It's an Intel Core 2 Duo
Back to top
View user's profile Send private message
jrlbc06



Joined: 29 Apr 2012
Posts: 18

PostPosted: Sun Apr 29, 2012 9:44 pm    Post subject: Reply with quote

So my admittedly very basic-level understanding of that is that

pyTivo.video.transcode:ffmpeg output=dyld: incompatible cpu-subtype

means that I'm using an ffmpeg version that is not compatible with my cpu. I'm just not sure which version would be compatible and am fairly clueless as to compiling my own.
Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 335

PostPosted: Sun Apr 29, 2012 9:57 pm    Post subject: Reply with quote

jrlbc06 wrote:
So my admittedly very basic-level understanding of that is that

pyTivo.video.transcode:ffmpeg output=dyld: incompatible cpu-subtype

means that I'm using an ffmpeg version that is not compatible with my cpu. I'm just not sure which version would be compatible and am fairly clueless as to compiling my own.


Assuming that you ARE running OS X 10.5 Leopard and do have a Intel Core 2 Duo then try the rdian06 build for Intel CPU's.

This is a direct download to his last version.

_________________
My pyTivo fork - Read link for changes
FFmpeg for OS X
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Support All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO

Get pytivo at SourceForge.net. Fast, secure and Free Open Source software downloads
[ Time: 0.1918s ][ Queries: 12 (0.0428s) ][ GZIP on - Debug on ]