Toddvg

Distinguished
Jun 21, 2010
3
0
18,510
0
HELP PLEASE!

Ok here is my situation.. I purchased the new apple TV and for some reason almost everytime I go to watch a movie in my Library my Library has been disconnected and I need to walk upstairs, close ITUNES then reopen it, then back downstairs and all is good.

I have been looking for a way that I could hit a link on my phone that would automatically close ITUNES and then reopen it. I have started with sending a text thru a IFTTT command that would then install a TXT file in a ONEDRIVE folder, then I have a scheduled Task that runs every 5min that looks for that file and if it exists than ITUNES closes and then reopens.

My script has not really worked so I need help with that.. Or I am looking for another method that will allow me to close ITUNES and REOPEN it remotely.

The script would be basically
IF File exists C:\users\todd\onedrive\command\itunes.txt
check if iTunes is open or Closeed

#1 if ITunes is Closed
#2 if ITUNES is open

#1 Open c:\program files\iTunes\ITunes.exe

#2 Close c:\program files\iTunes\ITunes.EXE
wait 10 sec
Open c:\program files\iTunes\ITUNES.exe

Del File C:\users\todd\onedrive\command\itunes.txt

ANY IDEAS????
 

greens

Distinguished
Jan 27, 2012
244
0
19,160
69
Uh, hm.
From a laptop or downstairs computer you could hit
Start
Run
"MMC"
File-Add/remove snap in- find "services"- Add
Select Another Computer and direct it to your library host.
BAM, now in your MMC you should see the services for the library host, and you can just restart apple services.

Otherwise you should be able to get Remote Desktop installed on your phone and you can just remote into the library host and restart it real quick.

Both of these solutions involve actually doing something as well, so may be more effort than just walking up stairs.

You could use Task Scheduler and set up
net stop myservicename
net start myservicename
on a timer.

Actually the Task Scheduler seems like a legit option for you.
 

Toddvg

Distinguished
Jun 21, 2010
3
0
18,510
0


 

Toddvg

Distinguished
Jun 21, 2010
3
0
18,510
0
Thank you for your feedback, but with little kids and wife that is not computer savvy I am staying with what they know.

Do you have any feedback that will help?
 

greens

Distinguished
Jan 27, 2012
244
0
19,160
69
Uh, hm.
From a laptop or downstairs computer you could hit
Start
Run
"MMC"
File-Add/remove snap in- find "services"- Add
Select Another Computer and direct it to your library host.
BAM, now in your MMC you should see the services for the library host, and you can just restart apple services.

Otherwise you should be able to get Remote Desktop installed on your phone and you can just remote into the library host and restart it real quick.

Both of these solutions involve actually doing something as well, so may be more effort than just walking up stairs.

You could use Task Scheduler and set up
net stop myservicename
net start myservicename
on a timer.

Actually the Task Scheduler seems like a legit option for you.
 
Thread starter Similar threads Forum Replies Date
J Apps General Discussion 5
M Apps General Discussion 1
M Apps General Discussion 1
C Apps General Discussion 1
D Apps General Discussion 3
N Apps General Discussion 2
L Apps General Discussion 1
devilgodspider Apps General Discussion 2
M Apps General Discussion 1
D Apps General Discussion 1
M Apps General Discussion 1
RainOfPain125 Apps General Discussion 5
S Apps General Discussion 1
B Apps General Discussion 2
Mouldread Apps General Discussion 4
A Apps General Discussion 1
B Apps General Discussion 3
M Apps General Discussion 1
S Apps General Discussion 6
K Apps General Discussion 5

ASK THE COMMUNITY