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: Sun Feb 19, 2012 1:10 am    Post subject: Reply with quote

Iluvatar wrote:
bareyb wrote:
Iluvatar wrote:
You can't change directories to a file.

This instead.

cd /Applications/pyTivo/


Nope doesn't work. Says file not found again. The only thing that seems to work is: copying and pasting this that wmcbrine posted earlier in the thread...

cd /Applications/pyTivo
./pyTivo.py

Unfortunately, that seems to have a hard return in it, and I have no idea how to do that in Terminal. If I hit the return key it simply enters whatever text I have at that point. Then the error comes up.


These are two separate commands. Enter them separately. One to change to the pyTivo directory and the other opens the pyTivo.py script.

Personally when I am not running it in the background I use:

Code:

python /Applications/pyTivo/pyTivo.py


This basically runs pyTivo using the full path.

However I suppose the more proper way to do it is with the two separate commands wmcbrine told you.

Code:

cd /Applications/pyTivo/

./pyTivo.py


Enter after each line since they are separate.


Ah. Okay. Got it. I was not adding the space between "cd" and /Applications. It's working as expected now.

What does "cd" stand for? I'm just curious...


Last edited by bareyb on Sun Feb 19, 2012 1:56 am; edited 2 times in total
Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 335

PostPosted: Sun Feb 19, 2012 1:16 am    Post subject: Reply with quote

You need to type or copy them one at a time. They can not be entered simultaneously.
In Terminal....
Code:

cd /Applications/pyTivo/


ENTER/RETURN

Code:

./pyTivo.py


ENTER/RETURN

_________________
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: Sun Feb 19, 2012 1:43 am    Post subject: Reply with quote

Iluvatar wrote:
You need to type or copy them one at a time. They can not be entered simultaneously.
In Terminal....
Code:

cd /Applications/pyTivo/


ENTER/RETURN

Code:

./pyTivo.py


ENTER/RETURN


I just figured it out. I was not putting in the space between cd and /Applications.

Oddly enough, I am able to PASTE the whole thing into Terminal at once and it works. Weird. I'll probably just keep a text file with all that on it and paste it in as necessary. I wonder if I could create an Apple Script that would launch Terminal and paste that in? That would be cool. Kinda like a launch button.
Back to top
View user's profile Send private message
bareyb



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sun Feb 19, 2012 4:27 am    Post subject: Reply with quote

I'm trying to add another Share for my "Pictures" folder. I entered the path in the web config and the "Pictures" folder appeared in the "photos and showcases" section of my Tivo. Only problem now is, all the images have a "broken image path" icon.

I've searched high and low for instructions for adding photo shares and there isn't anything helpful. I saw a reference to installing the Python Imaging Library, but couldn't find a link to how to do that.

Can someone please clue me in to where the rest of the instructions are? I'm sorry to be such a pain. I really am trying to glean the info from the various sources but it's really tough to get anything that's very helpful. Most of it is disjointed and/or outdated. I've literally spent HOURS pouring over the various links. It's very frustrating...

I'd really love to put together a step by step Installation Guide (for the Mac) with some Screen shots. I think it would take some of the burden off you guys for support. I think I could explain it from a newcomers perspective and cover some of the more basic points that you guys take for granted.


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



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sun Feb 19, 2012 6:11 am    Post subject: Reply with quote

Well I've downloaded the latest version of PIL as recommended on Scotts' website, but after what happened with incorrect link on the ffmpeg file, I decided I'd better wait until I talk to someone who knows what they are doing before I go any further.

The PIL folder is labeled: "Imaging-1.1.7" and is supposedly the latest version, but the instructions were pretty vague. Do I install this? I'm getting broken images in my photo shares folder on my Tivo.
Back to top
View user's profile Send private message
bareyb



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sun Feb 19, 2012 11:17 am    Post subject: Reply with quote

I just successfully installed a new section for "Music" and it works perfectly! I'll admit I was skeptical with the luck I've been having, but this one went without a hitch.

I'm listening to my daughter's copy of Adele as we speak. This is very cool. Smile
Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 335

PostPosted: Sun Feb 19, 2012 3:26 pm    Post subject: Reply with quote

bareyb wrote:
Well I've downloaded the latest version of PIL as recommended on Scotts' website, but after what happened with incorrect link on the ffmpeg file, I decided I'd better wait until I talk to someone who knows what they are doing before I go any further.

The PIL folder is labeled: "Imaging-1.1.7" and is supposedly the latest version, but the instructions were pretty vague. Do I install this? I'm getting broken images in my photo shares folder on my Tivo.


Sorry I'm not familiar with PIL. I do know that like FFmpeg they only distribute the source code for OS X. It must be compiled by the user. I could take you through the steps but it might require more effort than it is probably worth.

There is a copy of the PIL within the pyTivoX app bundle that might be able to be used but I'm not certain where you would place it on your system for it to be available to python to use.

Perhaps someone else can answer this for you.

BTW: What is 'Scott's website'?

_________________
My pyTivo fork - Read link for changes
FFmpeg for OS X


Last edited by Iluvatar on Mon Feb 20, 2012 1:35 am; edited 1 time in total
Back to top
View user's profile Send private message
bareyb



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sun Feb 19, 2012 6:46 pm    Post subject: Reply with quote

Iluvatar wrote:
bareyb wrote:
Well I've downloaded the latest version of PIL as recommended on Scotts' website, but after what happened with incorrect link on the ffmpeg file, I decided I'd better wait until I talk to someone who knows what they are doing before I go any further.

The PIL folder is labeled: "Imaging-1.1.7" and is supposedly the latest version, but the instructions were pretty vague. Do I install this? I'm getting broken images in my photo shares folder on my Tivo.


Sorry I'm not familiar with PIL. I do know that like FFmpeg they only distribute the source code for OS X. It must be compiled by the user. I could take you through the steps but it might require more effort than it is probably worth.

There is a copy of the PIL within the pyTivoX app bundle that might be able to be used but I'm not certain where you would place it on your system for it to be available to python to use.

Perhaps someone else can answer this for you.

BTW: What is 'Scott's website'?


Scott has a website with pyTivo installation instructions somewhere in all the links, but I can't find it now. I can't believe there isn't a set of instructions for getting photos to work. Surely someone around here has it working no?

I'd like to get it working so I can create an installation guide for it. Who is the Admin here now? I'd like to see if there's any interest in getting a decent pyTivo installation thread going here.
Back to top
View user's profile Send private message
bareyb



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sun Feb 19, 2012 7:30 pm    Post subject: Reply with quote

Found it. It's posted over at TCF: http://scottsoapbox.com/2010/04/20/pytivo-install-instructions/
Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 2009
Location: Maryland

PostPosted: Sun Feb 19, 2012 7:45 pm    Post subject: Reply with quote

bareyb, have you not even seen the wiki, or what? Right at the top of the page:

http://pytivo.sourceforge.net/

That should be your starting point for everything. If you feel it needs improvement in specific areas, feel free to suggest them, or even make them yourself. But please stop saying there are no instructions. They're right there.

_________________
My pyTivo fork . My page
Back to top
View user's profile Send private message Visit poster's website
Iluvatar



Joined: 29 Feb 2008
Posts: 335

PostPosted: Sun Feb 19, 2012 7:47 pm    Post subject: Reply with quote

bareyb wrote:

Scott has a website with pyTivo installation instructions somewhere in all the links, but I can't find it now. I can't believe there isn't a set of instructions for getting photos to work. Surely someone around here has it working no?


Of course there is. It's even on the wiki. You just need to install PIL. Instructions for how to do this is on the PIL website. On Windows it's easy. You just download the installer and let it do its thing. Once done, photos work on pyTivo.

On other systems it is different. You have to compile the source. Which requires other apps such as the Xcode developer tools...and some more commands in Terminal.

Easy for some, in this situation, I would say it may not be worth your time. PIL is a 3rd party library and not part of pyTivo so I would recommend googling how to install PIL on OS X if you are really feeling you want it.

_________________
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: Sun Feb 19, 2012 8:28 pm    Post subject: Reply with quote

I'm sorry guys. I'm just not seeing it. Would you mind copying and pasting the instructions in here and pointing us to the correct version that will work with a Mac?

I'd like to add it to my guide. As it is, I downloaded PIL and all it is a folder full of stuff. There's no way to install it. Step by step instructions would be awesome if anyone knows how to do this. It's the last step and I'd really like to get this all working now that we have come this far... Can you hang with me a little longer?

How do you install PIL anyway???


Last edited by bareyb on Sun Feb 19, 2012 8:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
bareyb



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sun Feb 19, 2012 8:35 pm    Post subject: Reply with quote

I did discover something helpful for Mac users. You can set up "Terminal" to open on Login and then paste in the commands to launch pyTivo automatically.

It just works. When you open Terminal it pastes in the commands and then launches pyTivo. No having to type in anything each time you open Terminal.

All I had to do was open "Terminal/Preferences" and go to the window below and PASTE in this:

cd /Applications/pyTivo
./pyTivo.py

Only the first line shows in the picture but it has the whole thing. After that, all you have to do is launch Terminal (or tell it to launch on login) and it will automatically paste in the correct commands to launch pyTivo.



Screen shot 2012-02-19 at 12.23.02 PM.png
 Description:
 Filesize:  90.58 KB
 Viewed:  154 Time(s)

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


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



Joined: 06 Dec 2008
Posts: 60

PostPosted: Sun Feb 19, 2012 9:43 pm    Post subject: Reply with quote

bareyb wrote:
I'm sorry guys. I'm just not seeing it. Would you mind copying and pasting the instructions in here and pointing us to the correct version that will work with a Mac?

I'd like to add it to my guide. As it is, I downloaded PIL and all it is a folder full of stuff. There's no way to install it. Step by step instructions would be awesome if anyone knows how to do this. It's the last step and I'd really like to get this all working now that we have come this far... Can you hang with me a little longer?

How do you install PIL anyway???


Well I ran the installer in the folder (as per the instructions in the read me) and got nothing but error messages. It's not looking good. What about the folder from pyTivoX? I downloaded that, now what am I supposed to do with it? Do you place inside the plug-ins folder or something like that, or are we back to command line unix type stuff again...
Back to top
View user's profile Send private message
Iluvatar



Joined: 29 Feb 2008
Posts: 335

PostPosted: Mon Feb 20, 2012 1:33 am    Post subject: Reply with quote

bareyb wrote:
bareyb wrote:
I'm sorry guys. I'm just not seeing it. Would you mind copying and pasting the instructions in here and pointing us to the correct version that will work with a Mac?

I'd like to add it to my guide. As it is, I downloaded PIL and all it is a folder full of stuff. There's no way to install it. Step by step instructions would be awesome if anyone knows how to do this. It's the last step and I'd really like to get this all working now that we have come this far... Can you hang with me a little longer?

How do you install PIL anyway???


Well I ran the installer in the folder (as per the instructions in the read me) and got nothing but error messages. It's not looking good. What about the folder from pyTivoX? I downloaded that, now what am I supposed to do with it? Do you place inside the plug-ins folder or something like that, or are we back to command line unix type stuff again...


Please re-read my last post. You don't have the required developer tools to compile it from the source code. You need Xcode at a minimum from the Mac App Store. I recommend researching it. If you plan to keep your Mac for a long time you will run into other uses for it.

I posted the contents of the pyTivoX PIL folder in hopes that someone might chime in and tell you if it is usable and where to put it. But it is probably not useable like that.

The extent of the pyTivo wiki instructions for PIL are as follows: 'If you plan on using the photo plugin then you need to download and install the Python Imaging Library (PIL)'. It is a 3rd party library and not part of pyTivo. If you need support for this there are probably more appropriate places to ask if you are having trouble installing it.

On Windows all you need to do is run the setup installer. On other operating systems it is more involved. For beginners it can be troublesome. This is the way of open source.

The best I can offer is the names of tools you need to make it work:

1. Xcode developer tools
2. Python Imaging Library source
3. IJG JPEG decoder library (per information available from PIL website)

_________________
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 Previous  1, 2, 3, 4, 5  Next
Page 4 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.2117s ][ Queries: 20 (0.0240s) ][ GZIP on - Debug on ]