Page 2 of 9
Posted: Fri Jun 30, 2006 6:57 am
by trixmoto
That's on my list, along with adding a trackbar to show thee song position (possibly editable - not sure yet). I also plan to switch off AutoAlbumDJ and ScrobblerDJ is peope have these running. They hadn't been written when I wrote this script though!

Posted: Sat Jul 15, 2006 9:28 am
by trixmoto
New version (2.2) is now available from my website.
I have added a (non-editable) trackbar which shows the current song position. I have requested an event which will allow me to make this trackbar editable in a future version.
This script also now switches off AutoAlbumDJ and ScrobblerDJ, restoring them to their previous state afterwards.
I am still considering how the next/previous buttons might work. Should it be the songs either side of the selected song? Or just those in the selected list (if you select multiple songs before launching the script. And what happens when you hit next/previous - is the track left in the now playing list or removed?
Posted: Sat Jul 15, 2006 10:46 am
by psyXonova
trixmoto wrote:This script also now switches off AutoAlbumDJ and ScrobblerDJ, restoring them to their previous state afterwards.
Thats cool, looks like ScrobblerDJ tend to become a standard!!!
Btw, great job. I love your new version
Posted: Mon Jul 17, 2006 3:33 am
by trixmoto
ScrobblerDJ is a script everyone should have!

adding a right click option or a button ?
Posted: Sat Dec 02, 2006 10:11 am
by arcspin
Hi Trixmoto,
I have discovered your wounderfull script that lets you preview a song...pure brilliance !!
A have one question, to preview a song I have to go thru: tools/scripts/previewer...
Is there a faster way of doing this, like adding a right click option or a button ?
And again, this script really is brilliant !!!
Cheers,
//Peter
Posted: Sun Dec 03, 2006 3:14 pm
by trixmoto
You can easily assign a shortcut to this menu option by editing the Scripts.ini file.
Yup, DiddeLeeDoo have already helped me
Posted: Sun Dec 03, 2006 3:30 pm
by arcspin
Hey Trixmoto,
DiddeLeeDoo have already hepled me with adding a button to your superb script.
http://www.mediamonkey.com/forum/viewtopic.php?t=13606
Thank you for your hard work in doing smart solutions to the MM
//P
Posted: Sun Dec 03, 2006 3:39 pm
by trixmoto
No problem. I'll have to point more people at that when they request buttons! Invariably adding a button to a script also means adding an option as some people want them and some people don't!

Buttons...
Posted: Sun Dec 03, 2006 4:25 pm
by arcspin
Hey,
I don't know if it's common practice but it would be great if you scripts gurus could ad an "extra" script" as default when you make scripts. Like the one DiddeLeeDoo did.
That way we "non script people" have the option to add a button or not.
Just my 2 euros...
//P
Posted: Thu Mar 29, 2007 5:33 am
by Guest
I can get the preview to come up and play files, but I can't skip forward or backward. I get error happened during script operation: unknown name. is there a setting I should be messing with? thanks
Posted: Thu Mar 29, 2007 5:41 am
by Guest
actually the skip forward and back works if I don't access it via the toolbar button add-on.
Posted: Thu Mar 29, 2007 9:09 am
by trixmoto
This is probably because the script path is confused because of the include. Instead of using
DiddeLeeDoo's ingenious little add-on you should copy this part (slightly modified)...
Code: Select all
Sub OnStartup
With SDB.UI.AddMenuItem(SDB.UI.Menu_TbStandard, 0, 0)
.Caption="Previewer"
.IconIndex=52
.UseScript=Script.ScriptPath
.OnClickFunc="DoPreviewer"
End With
End Sub
Sub DoPreviewer(obj)
Call Previewer
End Sub
And paste it into the top of your Previewer.vbs. Then you should move this file into the Auto folder, remove the add-on file you created, and remember to update the entry in Scripts.ini so that you don't break the menu bar. Then this should work properly.
Posted: Tue May 15, 2007 11:16 pm
by Eyal
Great functionality to preview a song.
But for me, the buttons (-30s, -5s, Pause, +5s & +30s) has never worked.
When I click on them, I get "Error happened during script execution: Unknown name"
Any Idea?
Thanks
Posted: Wed May 16, 2007 4:20 am
by trixmoto
I've no idea and it works fine for me, so not really sure what to do. I've sent Jiri a message so hopefully he can tell me exactly what the error means and maybe help figure out what's wrong.
Posted: Wed May 16, 2007 4:59 am
by Eyal
Oh I find out what it is. I have created a button in the toolbar to call the script, and it's doing this when I use the button. If I use the menu (tools->scripts...) it's working.
So something must be missing in the button script. I will check if I can do something.
Thanks
PS: I should have read more carefully, actually it.s the same error as Guest above.