|
| Author |
Message |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
Posted: Sat Feb 18, 2012 8:16 am Post subject: |
|
|
| wmcbrine wrote: | 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. |
Where is this "Bin" you speak of. It's not in the pyTivo folder that I can see. At least not at the top level...
FWIW I put the Conf. file back the way it was, and I'm still getting the same error message saying there IS no conf. file.
| Description: |
|
| Filesize: |
19.38 KB |
| Viewed: |
143 Time(s) |

|
|
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 2007 Location: Maryland
|
Posted: Sat Feb 18, 2012 8:32 am Post subject: |
|
|
[Server]
not
[server]
although that's actually not the error you should be seeing with a messed-up pyTivo.conf.
And, bin (not Bin) is for you to create. It's just a folder. You can even do it from the GUI. Or you could type "mkdir bin" (when you're already in /Applications/pyTivo, of course).
_________________ My pyTivo fork . My page |
|
| Back to top |
|
 |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 2007 Location: Maryland
|
Posted: Sat Feb 18, 2012 8:57 am Post subject: |
|
|
Then I can only assume that, in fact, it doesn't exist.
After changing to /Applications/pyTivo, type "ls -l". What does it say?
_________________ My pyTivo fork . My page |
|
| Back to top |
|
 |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
Posted: Sat Feb 18, 2012 9:05 am Post subject: |
|
|
I moved the ffmpeg folder into the newly created bin folder and now I get this from Terminal:
| Description: |
|
| Filesize: |
22.04 KB |
| Viewed: |
130 Time(s) |

|
|
|
| Back to top |
|
 |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
Posted: Sat Feb 18, 2012 9:09 am Post subject: |
|
|
| wmcbrine wrote: | Then I can only assume that, in fact, it doesn't exist.
After changing to /Applications/pyTivo, type "ls -l". What does it say? |
I get the following. It looks like it appended .txt to the end. That doesn't show up in the GUI though...
Barry-Barnetts-MacBook-Pro-4:pyTivo bareyb$ ./pyTivo.py
ERROR: pyTivo.conf does not exist.
You must create this file before running pyTivo.
Barry-Barnetts-MacBook-Pro-4:pyTivo bareyb$ ls -l
total 552
drwxr-xr-x@ 44 bareyb bareyb 1496 Feb 17 22:27 Cheetah
-rwxr-xr-x 1 bareyb bareyb 1217 Feb 12 15:15 README
-rwxr-xr-x@ 1 bareyb bareyb 55884 Feb 12 15:15 Zeroconf.py
-rwxr-xr-x 1 bareyb bareyb 53528 Feb 17 22:27 Zeroconf.pyc
-rwxr-xr-x@ 1 bareyb bareyb 5866 Feb 12 15:15 beacon.py
-rwxr-xr-x 1 bareyb bareyb 7317 Feb 17 22:27 beacon.pyc
drwxr-xr-x 3 bareyb admin 102 Feb 18 01:00 bin
-rwxr-xr-x@ 1 bareyb bareyb 12375 Feb 12 15:15 config.py
-rwxr-xr-x 1 bareyb bareyb 15256 Feb 17 22:27 config.pyc
drwxr-xr-x@ 10 bareyb bareyb 340 Feb 12 15:15 content
-rwxr-xr-x@ 1 bareyb bareyb 12082 Feb 12 15:15 httpserver.py
-rwxr-xr-x 1 bareyb bareyb 11704 Feb 17 22:27 httpserver.pyc
-rwxr-xr-x@ 1 bareyb bareyb 6938 Feb 12 15:15 lrucache.py
-rwxr-xr-x 1 bareyb bareyb 7560 Feb 17 22:27 lrucache.pyc
-rwxr-xr-x@ 1 bareyb bareyb 15477 Feb 12 15:15 metadata.py
-rwxr-xr-x@ 1 bareyb bareyb 9571 Feb 12 15:15 mind.py
drwxr-xr-x@ 25 bareyb bareyb 850 Feb 12 15:15 mutagen
-rwxr-xr-x@ 1 bareyb bareyb 7905 Feb 12 15:15 plugin.py
-rwxr-xr-x 1 bareyb bareyb 8858 Feb 17 22:27 plugin.pyc
drwxr-xr-x@ 10 bareyb bareyb 340 Feb 17 16:26 plugins
-rwxr-xr-x@ 1 bareyb bareyb 57 Feb 17 16:59 pyTivo.conf.dist
-rw-r--r--@ 1 bareyb bareyb 61 Feb 18 01:00 pyTivo.conf.txt
-rwxr-xr-x@ 1 bareyb bareyb 2214 Feb 12 15:15 pyTivo.py
-rwxr-xr-x@ 1 bareyb bareyb 5332 Feb 12 15:15 pyTivoConfigurator.pyw
-rwxr-xr-x@ 1 bareyb bareyb 1236 Feb 12 15:15 pyTivoService.py
drwxr-xr-x@ 4 bareyb bareyb 136 Feb 12 15:15 templates
drwxr-xr-x@ 17 bareyb bareyb 578 Feb 12 15:15 xmpp
Barry-Barnetts-MacBook-Pro-4:pyTivo bareyb$
| Description: |
|
| Filesize: |
22.04 KB |
| Viewed: |
127 Time(s) |

|
|
|
| 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 9:22 am Post subject: |
|
|
Okay. The Web configuration page is up. I think it's a good time to take a break. It looks like the .txt appendage was the culprit. My kid's got a Soccer game at 8:00 a.m. tomorrow so I think I better call it a day. I'll get back on this tomorrow. Thank you for the help so far wmcbrine.
|
|
| Back to top |
|
 |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
Posted: Sat Feb 18, 2012 9:30 am Post subject: |
|
|
Wow. I can see I'm gonna need more help. Not sure how to use that web config... Where do you add the files you want to transfer to Tivo? Where are my Tivos listed? I see them in the terminal command box, but not on the web interface... Isn't there a GUI at this point?
ETA: I see there is more stuff to add:
| Quote: | To make the TivoToGo web interface visible, you need to add your tivo_mak and togo_path to the Server section of the pyTivo.conf.
To make the Push web interface visible, you need to add the tivo_username and tivo_password settings to the Server section of your pyTivo.conf. |
What is my tivo_mak and togo_path? Do I need to enable "Push"? I seem to recall I didn't have to check that box on pyTivoX...
Well cool. So far so good. I was able to go into the Macs prefs and now the extensions will no longer be hidden. Apparently hiding the extension is "On" by default so I'm guessing my misfortune will be good news to other Mac users who may run into the same problem.
I'm gonna be dead in the morning though. I'm looking forward to (hopefully) a much smoother second half. Thanks again for the help so far.
|
|
| Back to top |
|
 |
Iluvatar
Joined: 29 Feb 2008 Posts: 335
|
Posted: Sat Feb 18, 2012 3:04 pm Post subject: |
|
|
| bareyb wrote: | Wow. I can see I'm gonna need more help. Not sure how to use that web config... Where do you add the files you want to transfer to Tivo? Where are my Tivos listed? I see them in the terminal command box, but not on the web interface... Isn't there a GUI at this point?
ETA: I see there is more stuff to add:
| Quote: | To make the TivoToGo web interface visible, you need to add your tivo_mak and togo_path to the Server section of the pyTivo.conf.
To make the Push web interface visible, you need to add the tivo_username and tivo_password settings to the Server section of your pyTivo.conf. |
What is my tivo_mak and togo_path? Do I need to enable "Push"? I seem to recall I didn't have to check that box on pyTivoX...
Well cool. So far so good. I was able to go into the Macs prefs and now the extensions will no longer be hidden. Apparently hiding the extension is "On" by default so I'm guessing my misfortune will be good news to other Mac users who may run into the same problem.
I'm gonna be dead in the morning though. I'm looking forward to (hopefully) a much smoother second half. Thanks again for the help so far. |
The only GUI is the webadmin interface. Once properly setup most of your actual use will be from the TiVo itself. You only need to set a couple options. Defaults for the rest is fine.
You need to add a video share. I assume you have a folder you like to keep your videos in. This is what you can add to pyTivo. Two ways to do this:
With the webadmin interface under 'Web Configuration' you can select 'Add Section'. You can then add the name of whatever you wish your video share to be displayed as on your TiVo. Save your changes. After the page reloads you will see your newly named share in the list that you can open. A new page will open with a couple settings you should add. If you click in each box it shows a description of what could go in there. However at a minimum you need to add the type (which should be 'video') and your folder path where the videos are kept. Something like '/Users/bareyb/TivoVideos'. Just whatever the actual path is...this is also case sensitive so type it with the proper caps and such. Save your settings. When page reloads need to reset pyTivo using the button on the left pane.
Or you could just add it straight to your pyTivo.conf file and reset pyTivo:
| Code: |
[TivoVideos]
type = video
path = /Users/bareyb/TivoVideos
|
Either way, if successful, you should see your video share at the bottom of your NPL on TiVo.
For TiVoToGo and Pushing:
Yes you need your TiVo MAK number, ToGo save path and your tivo.com username and password. These can be added within the webadmin page under 'Web Configuration' -> 'Global Server Settings'. Again if you click on each box it tells you what it does.
The sections for ToGo you need to update are 'tivo_mak' and 'togo_path'.
You can find your MAK number on your TiVo under 'Settings' -> 'Acct & System Info' -> 'Media Access Key'.
Your togo_path is just where you want your ToGo files to be stored on your Mac after transferring from the TiVo. Anywhere you want but if you wanted them to go back to your video share that we just made then put in '/Users/bareyb/TivoVideos'.
If you want to push files back to the Tivo using the webadmin interface instead of requesting them from the actual TiVo then you need to add your tivo.com username and password on the same 'Global Server Settings' page.
Be sure to save your changes and reset pyTivo when done.
Once you have a properly setup pyTivo.conf make a copy and back it up somewhere so you don't have to do all this again.
......since you have a Mac it would be really useful to you in the future if you familiarize yourself with the bare basics of usage for Terminal and Console (shows logs). At least just to navigate your Mac, copy files, etc and understand what the screen is telling you. Just my opinion though.
_________________ My pyTivo fork - Read link for changes
FFmpeg for OS X |
|
| Back to top |
|
 |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
Posted: Sat Feb 18, 2012 7:39 pm Post subject: |
|
|
Okay. I'm back on it. Thanks for the new directions.
I decided to use the default "Movies" folder on the Mac (the one in the side bar). I added the values to the fields and now the "Movies" folder is showing on the bottom of my Now Playing List (My Shows on the Premiere).
I put a couple of videos that worked with pyTiVoX in there and they do not show up in the folder on my TiVo. What's the next step?
| Description: |
|
| Filesize: |
77.13 KB |
| Viewed: |
85 Time(s) |

|
|
|
| Back to top |
|
 |
Iluvatar
Joined: 29 Feb 2008 Posts: 335
|
Posted: Sat Feb 18, 2012 7:52 pm Post subject: |
|
|
| bareyb wrote: | Okay. I'm back on it. Thanks for the new directions.
I decided to use the default "Movies" folder on the Mac (the one in the side bar). I added the values to the fields and now the "Movies" folder is showing on the bottom of my Now Playing List (My Shows on the Premiere).
I put a couple of videos that worked with pyTiVoX in there and they do not show up in the folder on my TiVo. What's the next step? |
Off hand it looks like your path is incorrect. You forgot the first '/' in your path it should be '/Users/bareyb/Movies'
Save and reset.
_________________ My pyTivo fork - Read link for changes
FFmpeg for OS X |
|
| Back to top |
|
 |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
Posted: Sat Feb 18, 2012 8:27 pm Post subject: |
|
|
| Iluvatar wrote: | | bareyb wrote: | Okay. I'm back on it. Thanks for the new directions.
I decided to use the default "Movies" folder on the Mac (the one in the side bar). I added the values to the fields and now the "Movies" folder is showing on the bottom of my Now Playing List (My Shows on the Premiere).
I put a couple of videos that worked with pyTiVoX in there and they do not show up in the folder on my TiVo. What's the next step? |
Off hand it looks like your path is incorrect. You forgot the first '/' in your path it should be '/Users/bareyb/Movies'
Save and reset. |
Alright. That helped. I can see a folder on my TiVos now, but the videos that are supposed to be inside of the folders are missing.
I AM getting an error message when I start up pytiVo though... It says the path to ffmpeg is incorrect. I put it into a folder called "bin" inside the pyTiVo main folder as instructed. I posted a copy of my conf. file below. Could that be the problem?
| Description: |
|
| Filesize: |
37.39 KB |
| Viewed: |
77 Time(s) |

|
Last edited by bareyb on Sat Feb 18, 2012 8:48 pm; edited 3 times in total |
|
| Back to top |
|
 |
bareyb
Joined: 06 Dec 2008 Posts: 60
|
Posted: Sat Feb 18, 2012 8:29 pm Post subject: |
|
|
I made a copy of my conf. file and it shows the path to ffmpeg. Does this look okay to you guys?
| Description: |
|
| Filesize: |
21.77 KB |
| Viewed: |
75 Time(s) |

|
|
|
| Back to top |
|
 |
Iluvatar
Joined: 29 Feb 2008 Posts: 335
|
Posted: Sat Feb 18, 2012 8:56 pm Post subject: |
|
|
| bareyb wrote: | I made a copy of my conf. file and it shows the path to ffmpeg. Does this look okay to you guys? |
Hmm it does look ok as long as ffmpeg actually is in the bin folder.
However pyTivo should detect it in the bin folder even without describing the path.
Are you sure you are working with the correct pyTivo.conf file? Your screenshot says pyTivo.conf.txt. I bet you have two files. One pyTivo.conf and one pyTivo.conf.txt.
Are you updating your configuration through the webadmin or are you manually adding this to the pyTivo.conf file?
_________________ My pyTivo fork - Read link for changes
FFmpeg for OS X
Last edited by Iluvatar on Sat Feb 18, 2012 9:01 pm; edited 2 times in total |
|
| Back to top |
|
 |
|