| Article: |
Build an iTunes Remote Control | |
| Subject: | Doesn't work | |
| Date: | 2005-03-19 14:50:19 | |
| From: | Cool6324 | |
|
Response to: Doesn't work
|
||
|
I am able to see the text in my regular web broswer when I chanhe the content type.
|
||
Showing messages 1 through 7 of 7.
-
Doesn't work
2005-03-19 14:59:57 Matthew Russell |
[View]
-
Doesn't work
2005-03-19 15:15:19 Cool6324 [View]
It still isn't working. Should I place a command before the file in terinmal before running, I dont see it in the lists of running items. -
Doesn't work
2005-03-19 15:22:22 Matthew Russell |
[View]
From the header of the daemon script:
Usage: prompt$./iTunesRemoteControlDaemon.scr &
So what this assumes is that you're in the same directory as this script (and that you've set it to be executable with "chmod u+x"). Just like any other script, when you type in ./someScriptName, it will execute if it's executable. Placing the ampersand should return your prompt to you. At that point, if you type in "ps -aux | grep iTunesRemoteControlDaemon.scr", you should see it without having to filter through anything.
Does that work for you?
M.
-
Doesn't work
2005-03-19 15:31:10 Cool6324 [View]
Sorry for the noob questions what's ampersand and where should I write that? Do you have AIM? If so mines is AIM: Seanpaul316 -
Doesn't work
2005-03-19 15:36:44 Matthew Russell |
[View]
Ampersand is "&" --the thing that's in the usage line that sets the script to run in the background. It's a standard terminal thing.
Try skipping the ampersand for now. Just get the script to run. If you run the script and it keeps your prompt, it's running. Open up another terminal window and go about doing other things. When you're satisfied that things are running, you can use the ampersand and have one less window open.
M. -
Doesn't work
2005-03-19 15:58:12 Cool6324 [View]
Works great, I just restarted and it ran script again, works good. Will this automatically work after a restart?
BTW, I'm using a Motorola i730, Nextel, with basic WAP service. Works nice.
TIP: When you want to use the same command more than once, ie. Fast Foward it's better to use the reload button.
And last, THANKZ!!! I also learned alot about the way the terinmal works. -
Doesn't work
2005-03-19 16:14:44 Matthew Russell |
[View]
You need to fire up the daemon each time you restart unless you configure your login scripts to do it for you.
Here's a good lead that should help you at http://www.bombich.com/mactips/loginhooks.html
I'm glad you go this working. Hard work always pays off.
M.



If you type "ps -aux" in a terminal, you'll get a list of everything running, and the daemon should be there if it's running. This is the same technique that the kill script uses to find it and kill it whenever you want to shut it down or restart it. Take a look at the latter part of page 2 in the article and checkout the README file included with the scripts.
I think you should be up and running now. Thanks for sticking with it.
M.