Page 1 of 2

Windows Scheduler and MediaMonkey Small Help Script

Posted: Mon Aug 15, 2005 6:26 pm
by Peke

Posted: Mon Aug 15, 2005 11:59 pm
by rovingcowboy
thank you peke i been wanting this but since i did not get any help on my other script trouble i did not ask. thanks again.

8)

If i am understanding this right.

you are saying to

" make a task in the task scheduler and start this with that task."

and we can make as many of the tasks we want to start with this script as long as we start different copys of this script.?

and we need to have a task to start media monkey first. at least one minute before the task to start this script?

i also see it does not shut media monkey down when the timer to close the script closes the script or am i wrong on that?

if i am right on all the above this will do wonders for streaming radio stations :D


Also for those of us that know it is not needed to say but those that are not sure of it then i am going to say i am guessing that we save the script as a vbs file?

and again if all the above is correct then my trouble with the other script is also fixed by this one. as i can start that one with a timer also.

and this will by far be the best thing i could have found because i am now using double playlists and running winamp on them so i can get multiple lists at certian times of the day. which media monkey could not do before.

so your little code is just the ticket i needed. 8) :lol: :D :P

Posted: Tue Aug 16, 2005 6:57 am
by Peke
and we can make as many of the tasks we want to start with this script as long as we start different copys of this script.?

and we need to have a task to start media monkey first. at least one minute before the task to start this script?

i also see it does not shut media monkey down when the timer to close the script closes the script or am i wrong on that?

if i am right on all the above this will do wonders for streaming radio stations

Also for those of us that know it is not needed to say but those that are not sure of it then i am going to say i am guessing that we save the script as a vbs file?
1. Yes
2. Yes as there is some issues regarding COM object creating when MM is not started prior to executing external Script.
3. Yes.
4. I hope so or at least bring it closer.
5. Yes, I didn't name it as it can be everything.

RE From Other posts: I'm trying to have a little bit of vocation at least few days ;)

Posted: Tue Aug 16, 2005 9:18 am
by baker
Booya!
Thanks Peke!

This is exactly what the doctor ordered. Damn this program is great!

One caveat for noobs like me trying to get this to work. The script must be saved as a .vbs file and .vbs files must be associated with either wscript.exe or cscript.exe located in the c:\winnt\system32 or c:\windows\system32 folder.

Now if someone could whip together a batch auto tagger this program would be perfect.

Thanks again!

Posted: Tue Aug 16, 2005 10:24 am
by baker
Hey Peke. Is it possible to have two instances of MM open and direct this script to one or the other? The idea being that each instance will be directed to a different soundcard? Thanks again.

Posted: Tue Aug 16, 2005 11:29 am
by Peke
As I know curently not.

Posted: Tue Aug 16, 2005 9:25 pm
by Peke
baker wrote:Now if someone could whip together a batch auto tagger this program would be perfect.
Can you elaborate this, I'm not So sure that I understand you corectly?

Posted: Thu Aug 18, 2005 1:17 pm
by baker
Sure. I want to use this script to control two instances of MM. Correct me if I am wrong but I believe it is possible to have two instances of MM running with each instance's output directed to a separate sound card? I know this is possible with Winamp so I figured the same for MM. If so, then I would like to be able to use this script to launch a playlist for each instance. Yes, no..maybe?

Posted: Thu Aug 18, 2005 10:01 pm
by Peke
No. As both Mediamonkeys will share same COM object :(
With Winamp it is possible as Winamp uses WM_MESSAGES directly to Winamp Windows Handle and not thru COM Object Service.

Why do you need two playlist played at same time?
I also use two sound cards but never in that manner.

Posted: Fri Aug 19, 2005 8:49 am
by baker
We have two different spaces and want a different atmosphere in each. I figured two soundcards would be cheaper than two computers. What if we used winamp as our player? How do you do it? Thanks for your help.

Posted: Fri Aug 19, 2005 2:01 pm
by Peke
OK I'm Using My Audio Monitor(See on My fan Page) to listen songs on second Sound card before I update now playing.

Well the besto solution I can come with is that someone make Script For MM that Will Export Demanded Playlist to M3U and then Start it thru Winamp Command line to be played on Second Sound Card.

It should not be to hard to make, but I must say that I'll be very busy untill 2.5 Alpha is out. So if you can wait till then we can see if there is way to do it.

Posted: Fri Aug 19, 2005 2:56 pm
by baker
Ah ok, the audio monitor won't work for independent playlists and MM instances. However, if the "Scheduled Playlist" script can be modified to generate an m3u playlist then it can be included in a batch file to play via a winamp command line. That would be sweet. Don't lose focus on 2.5 though. I'm also patiently awaiting the 'party' mode. :)

Posted: Fri Aug 19, 2005 7:07 pm
by Peke
8) :roll: 2.5 looks promising ;)

Posted: Fri Sep 02, 2005 4:45 pm
by rovingcowboy
media monkey can export to m3u? just do that.

Internet Radio Streaming Made Easy

Posted: Fri Sep 02, 2005 4:53 pm
by rovingcowboy
the script in the first message is great.

only one thing made me mad.

i had to change about 200 scheduled tasks that were starting m3u lists for winamp and pls lists for jet audio to run on timers

boy did that take a long time.

but now this is more to my liking as i can delete half the files i have for my playlists and dont have to do double files like i was before, as in making lists with media monkey and exporting them.

i just use media monkey.

start media monkey and close it at end of day when i want the scripts to stop. they don't cause errors when changing from one to the other and that is the best thing i think for internet radio streaming. :D
now if i was a internet radio station this would be greater for me then it already is.