Previewer 2.9 - Updated 26/07/2014

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post 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! :)
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post 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?
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
psyXonova
Posts: 785
Joined: Fri May 20, 2005 3:57 am
Location: Nicosia, Cyprus
Contact:

Post 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!!!
:lol: :lol: :lol:

Btw, great job. I love your new version
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

ScrobblerDJ is a script everyone should have! :)
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
arcspin
Posts: 48
Joined: Wed Nov 22, 2006 3:12 pm

adding a right click option or a button ?

Post 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
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

You can easily assign a shortcut to this menu option by editing the Scripts.ini file.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
arcspin
Posts: 48
Joined: Wed Nov 22, 2006 3:12 pm

Yup, DiddeLeeDoo have already helped me

Post 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
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post 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! :)
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
arcspin
Posts: 48
Joined: Wed Nov 22, 2006 3:12 pm

Buttons...

Post 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
Guest

Post 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
Guest

Post by Guest »

actually the skip forward and back works if I don't access it via the toolbar button add-on.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post 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.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Eyal
Posts: 3123
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec
Contact:

Post 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
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post 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.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Eyal
Posts: 3123
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec
Contact:

Post 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.
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
Post Reply