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 

What am I doing wrong?
Goto page Previous  1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> Support
 View previous topic :: View next topic  
Author Message
bareyb



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sat Feb 18, 2012 8:16 am    Post subject: Reply with quote

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.



Screen shot 2012-02-18 at 12.21.16 AM.png
 Description:
 Filesize:  19.38 KB
 Viewed:  143 Time(s)

Screen shot 2012-02-18 at 12.21.16 AM.png


Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 2007
Location: Maryland

PostPosted: Sat Feb 18, 2012 8:32 am    Post subject: Reply with quote

[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
View user's profile Send private message Visit poster's website
bareyb



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sat Feb 18, 2012 8:50 am    Post subject: Reply with quote

I fixed the error and I'm still getting the same message that the file doesn't exist.




Screen shot 2012-02-18 at 12.48.28 AM.png
 Description:
 Filesize:  22.04 KB
 Viewed:  134 Time(s)

Screen shot 2012-02-18 at 12.48.28 AM.png


Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 2007
Location: Maryland

PostPosted: Sat Feb 18, 2012 8:57 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
bareyb



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sat Feb 18, 2012 9:05 am    Post subject: Reply with quote

I moved the ffmpeg folder into the newly created bin folder and now I get this from Terminal:


Screen shot 2012-02-18 at 12.48.28 AM.png
 Description:
 Filesize:  22.04 KB
 Viewed:  130 Time(s)

Screen shot 2012-02-18 at 12.48.28 AM.png


Back to top
View user's profile Send private message
bareyb



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sat Feb 18, 2012 9:09 am    Post subject: Reply with quote

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$



Screen shot 2012-02-18 at 12.48.28 AM.png
 Description:
 Filesize:  22.04 KB
 Viewed:  127 Time(s)

Screen shot 2012-02-18 at 12.48.28 AM.png


Back to top
View user's profile Send private message
bareyb



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sat Feb 18, 2012 9:18 am    Post subject: Reply with quote

Alright. I removed the .txt extension (it was "hidden") and now I'm getting a very interesting screen... Smile

Quote:
Last login: Sat Feb 18 01:06:06 on ttys000
Barry-Barnetts-MacBook-Pro-4:~ bareyb$ cd /Applications/pyTivo
Barry-Barnetts-MacBook-Pro-4:pyTivo bareyb$ ./pyTivo.py
INFO:pyTivo.beacon:Announcing shares...
INFO:pyTivo.beacon:Scanning for TiVos...
INFO:pyTivo.beacon:TiVo 2
INFO:pyTivo.beacon:TiVo Elite
INFO:pyTivo.beacon:TiVo 1
INFO:pyTivo:pyTivo is ready.
INFO:pyTivo:10.0.1.190 [18/Feb/2012 01:17:03] "GET /TiVoConnect?Command=QueryContainer&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
INFO:pyTivo:10.0.1.197 [18/Feb/2012 01:17:03] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -
INFO:pyTivo:10.0.1.196 [18/Feb/2012 01:17:03] "GET /TiVoConnect?Command=QueryContainer&Container=%2F HTTP/1.0" 200 -



Last edited by bareyb on Sat Feb 18, 2012 9:19 am; edited 1 time in total
Back to top
View user's profile Send private message
bareyb



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sat Feb 18, 2012 9:22 am    Post subject: Reply with quote

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. Smile
Back to top
View user's profile Send private message
bareyb



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sat Feb 18, 2012 9:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 335

PostPosted: Sat Feb 18, 2012 3:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
bareyb



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sat Feb 18, 2012 7:39 pm    Post subject: Reply with quote

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?



Screen shot 2012-02-18 at 11.42.37 AM.png
 Description:
 Filesize:  77.13 KB
 Viewed:  85 Time(s)

Screen shot 2012-02-18 at 11.42.37 AM.png


Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 335

PostPosted: Sat Feb 18, 2012 7:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
bareyb



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sat Feb 18, 2012 8:27 pm    Post subject: Reply with quote

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?



Screen shot 2012-02-18 at 12.23.02 PM.png
 Description:
 Filesize:  37.39 KB
 Viewed:  77 Time(s)

Screen shot 2012-02-18 at 12.23.02 PM.png




Last edited by bareyb on Sat Feb 18, 2012 8:48 pm; edited 3 times in total
Back to top
View user's profile Send private message
bareyb



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sat Feb 18, 2012 8:29 pm    Post subject: Reply with quote

I made a copy of my conf. file and it shows the path to ffmpeg. Does this look okay to you guys?


Screen shot 2012-02-18 at 12.31.09 PM.png
 Description:
 Filesize:  21.77 KB
 Viewed:  75 Time(s)

Screen shot 2012-02-18 at 12.31.09 PM.png


Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 335

PostPosted: Sat Feb 18, 2012 8:56 pm    Post subject: Reply with quote

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
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 Previous  1, 2, 3, 4, 5  Next
Page 2 of 5

 
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.2406s ][ Queries: 21 (0.0169s) ][ GZIP on - Debug on ]