This can't be as difficult as I am making it

User avatar
Skitterbug
5StarLounger
Posts: 1144
Joined: 24 Jan 2010, 12:14
Location: Sitting in my computer chair!

This can't be as difficult as I am making it

Post by Skitterbug »

We want to run a playlist of 5 little soundbites every 15 minutes and have it start and stop at specific times. I am on an XP O/S system. I have access to Windows Media player. I tried setting it up as a scheduled task set to start at a certain hour, and play every 10 minutes. When I played the purple martin "dawn song" I set a path to that song, set it to open on WMP at a certain time and it played continuously. I don't want to play continuously and I want to play more than one song?

How do I do this? Any suggestions will be appreciated! And yes, I still use XP on occasion! :grin:

Thank you!
Skitterbug :coffeetime:
A cup of coffee shared with a friend is happiness tasted and time well spent.

User avatar
HansV
Administrator
Posts: 68785
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: This can't be as difficult as I am making it

Post by HansV »

I think you'll have to use a scheduled task for this.

See Using Task Scheduler for info.

After adding a task, set the program to be executed to

C:\Program Files\Windows Media Player\wmplayer.exe /play /close "C:\Path\To\Playlist.wpl"

substituting the path and filename of the playlist.
In the Schedule tab, set the task to run every 15 minutes.

(I don't have the complete steps, I haven't used Windows XP for more than 7 years)
Regards,
Hans

User avatar
Skitterbug
5StarLounger
Posts: 1144
Joined: 24 Jan 2010, 12:14
Location: Sitting in my computer chair!

Re: This can't be as difficult as I am making it

Post by Skitterbug »

Thanks Hans,

I'll go give it a try and see if I can get this to work. My set up is in an outbuilding. We are trying to scare off birds from our crop of apples. (hawk noises, etc.) I'll let you know how this turns out! :grin:
HansV wrote:I think you'll have to use a scheduled task for this.

See Using Task Scheduler for info.

After adding a task, set the program to be executed to

C:\Program Files\Windows Media Player\wmplayer.exe /play /close "C:\Path\To\Playlist.wpl"

substituting the path and filename of the playlist.
In the Schedule tab, set the task to run every 15 minutes.

(I don't have the complete steps, I haven't used Windows XP for more than 7 years)
Skitterbug :coffeetime:
A cup of coffee shared with a friend is happiness tasted and time well spent.

User avatar
Skitterbug
5StarLounger
Posts: 1144
Joined: 24 Jan 2010, 12:14
Location: Sitting in my computer chair!

Re: This can't be as difficult as I am making it

Post by Skitterbug »

The frustration level is slowly climbing...... I've attached a pic of the task. And I wonder if I have stuff entered here as I should. I put in the run box the following:

Code: Select all

C:\Program Files\Windows Media Player\wmplayer.exe /play /close "C:\Documents and Settings\Administrator\My Documents\My Music\My Playlists\Scary.wpl"
Should there be something in the "start in: box?

The program is advancing because it tells me that it will start 10 minutes from the last time it tried. In the status area, it tells me that "it could not run".

I checked the admin tools/system to be sure the task scheduler was started knowing that it had to be since the time keeps advancing when it tries to start. But I looked anyway.

So I am missing something or doing something that I shouldn't. Any help will be very much appreciated!

Thank you!
You do not have the required permissions to view the files attached to this post.
Skitterbug :coffeetime:
A cup of coffee shared with a friend is happiness tasted and time well spent.

User avatar
HansV
Administrator
Posts: 68785
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: This can't be as difficult as I am making it

Post by HansV »

"Start in" shouldn't matter here, but I don't know why it doesn't work.

As an alternative, you could create a playlist that lasts 15 minutes, by inserting one or more silent tracks (you could use the notorious composition 4'33" by John Cage - 4 minutes and 33 seconds of silence... :grin:), and have that playlist repeated endlessly.
Regards,
Hans

User avatar
Skitterbug
5StarLounger
Posts: 1144
Joined: 24 Jan 2010, 12:14
Location: Sitting in my computer chair!

Re: This can't be as difficult as I am making it

Post by Skitterbug »

:laugh: Sounds like something to try!

It doesn't matter how I get the silence, only that it doesn't play the "scary" sounds continuously. The birds we are trying to keep away from the fruit would soon realize that it is a phony and descend in a vengeance. Thanks for checking out my attempt. I'll keep on working on the problem. I'll "win" in the end! :grin:

:thankyou:
Skitterbug :coffeetime:
A cup of coffee shared with a friend is happiness tasted and time well spent.

User avatar
DaveA
SilverLounger
Posts: 2459
Joined: 24 Jan 2010, 15:26
Location: Olympia, WA

Re: This can't be as difficult as I am making it

Post by DaveA »

If I remember right the use of an user account that is pass worded is required, and the password of that user account needs to be entered in the set up pane, as shown above.
I am so far behind, I think I am First :evilgrin:
Genealogy....confusing the dead and annoying the living

User avatar
Skitterbug
5StarLounger
Posts: 1144
Joined: 24 Jan 2010, 12:14
Location: Sitting in my computer chair!

Re: This can't be as difficult as I am making it

Post by Skitterbug »

DaveA wrote:If I remember right the use of an user account that is pass worded is required, and the password of that user account needs to be entered in the set up pane, as shown above.
Thank you Dave! The first few times I tried to get the tasks to run, I'd forgotten this need. I'm working with John to see if I can get a BATch file to run full time once started. He is patient too and I appreciate everyone's help. It's been awhile since I worked with any PC's. Funny how much I've forgotten. :scratch:
Skitterbug :coffeetime:
A cup of coffee shared with a friend is happiness tasted and time well spent.

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 11134
Joined: 24 Jan 2010, 23:23
Location: paused.undefined.exposed

Re: This can't be as difficult as I am making it

Post by ChrisGreaves »

Skitterbug wrote:...It doesn't matter how I get the silence, only that it doesn't play the "scary" sounds continuously. ...
I was going to suggest "When the Last Trump has Sounded", then I realised it didn't seem to have any silent intervals.
Cheers
Chris
Entropy never sleeps

User avatar
Skitterbug
5StarLounger
Posts: 1144
Joined: 24 Jan 2010, 12:14
Location: Sitting in my computer chair!

Re: This can't be as difficult as I am making it

Post by Skitterbug »

ChrisGreaves wrote:
Skitterbug wrote:...It doesn't matter how I get the silence, only that it doesn't play the "scary" sounds continuously. ...
I was going to suggest "When the Last Trump has Sounded", then I realised it didn't seem to have any silent intervals.
Cheers
Chris
No thanks.
Enjoy your day.
Smiles ~ Sandy
Skitterbug :coffeetime:
A cup of coffee shared with a friend is happiness tasted and time well spent.