|
| Author |
Message |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
Posted: Sat Feb 18, 2012 2:20 am Post subject: What am I doing wrong? |
|
|
I have PyTivoX working on my Macbook Pro (Intel) and it works well, but it sounds like it's been abandoned and probably won't work after I upgrade to Lion.
Question:
So I've decided to try and install pyTivo (sans X) and I'm already stuck. Here's where I'm at.
1. I downloaded the latest version of wcbrines fork
2. downloaded the latest version of FFmpeg (10.0) and stuck it in the folder
3. Changed the config file with the following: [Server]
port = 9032
ffmpeg = /Applications/pyTivo/ffmpeg
4. tried to find the web interface and got a blank page.
I've been on this all day, and quite frankly I'm at an impasse. Is anyone willing to walk me through this process? It might help others who are trying to do the same thing.
|
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 2009 Location: Maryland
|
Posted: Sat Feb 18, 2012 4:22 am Post subject: |
|
|
I dunno, but I missed the part where you started it.
_________________ My pyTivo fork . My page |
|
| Back to top |
|
 |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
|
| Back to top |
|
 |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
Posted: Sat Feb 18, 2012 4:50 am Post subject: |
|
|
By the way, I downloaded your fork from here. Is this the right one?
| Description: |
|
| Filesize: |
59.65 KB |
| Viewed: |
424 Time(s) |

|
|
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 2009 Location: Maryland
|
Posted: Sat Feb 18, 2012 4:56 am Post subject: |
|
|
The web interface can't exist until the program is running.
If you got as far as you did above, then, while you have the terminal open, just do:
./pyTivo.py
or, if that doesn't work (I'd tell you why it might not, but let's keep this simple):
python pyTivo.py
Then it should be running, unless there's an error. You can use the web interface from that point on. But leave the terminal open. (You can minimize it if you like.)
_________________ My pyTivo fork . My page |
|
| Back to top |
|
 |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
Posted: Sat Feb 18, 2012 5:19 am Post subject: |
|
|
| wmcbrine wrote: | The web interface can't exist until the program is running.
If you got as far as you did above, then, while you have the terminal open, just do:
./pyTivo.py
or, if that doesn't work (I'd tell you why it might not, but let's keep this simple):
python pyTivo.py
Then it should be running, unless there's an error. You can use the web interface from that point on. But leave the terminal open. (You can minimize it if you like.) |
Nope. It says "file not found".
Here is my config file. I put it in the pyTivo folder (in Apps folder) and removed the .dist as instructed. Is this correct?
| Description: |
|
| Filesize: |
41.66 KB |
| Viewed: |
420 Time(s) |

|
|
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 2009 Location: Maryland
|
Posted: Sat Feb 18, 2012 5:29 am Post subject: |
|
|
| bareyb wrote: | Nope. It says "file not found".
|
You have to first be in the folder where pyTivo is. Um, "cd /Applications/pyTivo", in your case, I assume.
_________________ My pyTivo fork . My page |
|
| Back to top |
|
 |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
|
| Back to top |
|
 |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
Posted: Sat Feb 18, 2012 6:13 am Post subject: |
|
|
Nope. Still no luck. Here's a screen shot. You tell me. I tried every combination I could think of. I think I managed to get to the right folder with the last one, but it's telling me there's no conf. file which as you can see from the screen shot below, there is.
| Description: |
|
| Filesize: |
30.68 KB |
| Viewed: |
405 Time(s) |

|
Last edited by bareyb on Sat Feb 18, 2012 6:53 am; edited 5 times in total |
|
| Back to top |
|
 |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
Posted: Sat Feb 18, 2012 6:16 am Post subject: |
|
|
Here's the exact path (see bottom of window in screen shot) to the folder and the folder contents. Is everything in the folder that is supposed to be in there? It's telling me there's no conf. file. You can see it in the folder below... Any idea what's wrong now?
| Description: |
|
| Filesize: |
63.42 KB |
| Viewed: |
410 Time(s) |

|
|
|
| Back to top |
|
 |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 2009 Location: Maryland
|
Posted: Sat Feb 18, 2012 7:47 am Post subject: |
|
|
Try typing what I actually said:
cd /Applications/pyTivo
./pyTivo.py
NOT "/Applications/pyTivo/pyTivo.py".
And please stop complaining about how hard this is. It isn't, at all. The problem is entirely that you aren't familiar with the command line. I told you up front that you needed to be.
_________________ My pyTivo fork . My page |
|
| Back to top |
|
 |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
Posted: Sat Feb 18, 2012 7:54 am Post subject: |
|
|
| wmcbrine wrote: | Try typing what I actually said:
cd /Applications/pyTivo
./pyTivo.py
NOT "/Applications/pyTivo/pyTivo.py".
|
That was the first thing I did. Got the exact same results. Says there's no conf. file.
| Description: |
|
| Filesize: |
24.08 KB |
| Viewed: |
374 Time(s) |

|
Last edited by bareyb on Sat Feb 18, 2012 8:35 am; edited 2 times in total |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 2009 Location: Maryland
|
Posted: Sat Feb 18, 2012 8:06 am Post subject: |
|
|
Congratulations, you got pyTivo running. (Yes, only long enough to give an error message, but that counts.)
But I see now that you messed up your pyTivo.conf. You had a good one here. The path in the changed version is wrong, but more importantly, you took out the "[Server]" line. Why? You need that. In fact, it's all you really need. A minimal working pyTivo.conf is just that one line; everything else has defaults.
Also, I'd put your ffmpeg in /Applications/pyTivo/bin rather than /Applications/pyTivo. That way, you don't have to worry about specifying the path in pyTivo.conf.
_________________ My pyTivo fork . My page |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 2009 Location: Maryland
|
Posted: Sat Feb 18, 2012 8:11 am Post subject: |
|
|
P.S. pyTivo doesn't really belong in /Applications at all -- that's for Mac app bundles. But let's not go into that right now.
_________________ My pyTivo fork . My page |
|
| Back to top |
|
 |
|