Next Artist or Album

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

NickDiamond
Posts: 6
Joined: Thu Jun 08, 2006 4:00 am

Post by NickDiamond »

NickDiamond wrote:...
so I have no idea how to the script !
...
I forgot a word :
so I have no idea how to use the script !

(I am registered now ;)
NickDiamond
Posts: 6
Joined: Thu Jun 08, 2006 4:00 am

Post by NickDiamond »

Sorry,
still need help !

I don't know how to use the script with girder :roll:
Peke
Posts: 18445
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Post by Peke »

You have import Script/Group in File menu I think.
I'm at work so I cant be 100% sure.
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
NickDiamond
Posts: 6
Joined: Thu Jun 08, 2006 4:00 am

Post by NickDiamond »

Peke wrote:You have import Script/Group in File menu I think.
I'm at work so I cant be 100% sure.
you`re right,
I can choose "import group", but it doesn't work...

girder is just to complicated for me :(
Steegy
Posts: 3452
Joined: Sat Nov 05, 2005 7:17 pm

Post by Steegy »

I just downloaded Girder 3.2.9b, the "great program" everyone is constantly talking about when they hear the word "remote".
It's not as good as I thought it would be. It seemingly can't directly execute a subroutine from a script file. But I've a workaround that I'll post this evening (unless I stupidly would forget, in that case please remind me).

Cheers
Steegy
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
Steegy
Posts: 3452
Joined: Sat Nov 05, 2005 7:17 pm

Post by Steegy »

Hi

As promissed, I posted an updated script so you can use it with girder:
http://www.mediamonkey.com/forum/viewto ... 9478#49478

Explanation on how to use it is at the bottom of the script.
Note that I wrote the explanation without seeing any copy of Girder (which I just tested very briefly), so you might have to search a bit for yourself.

Basicly, I just added command line parameters to the script.

Cheers
Steegy
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
NickDiamond
Posts: 6
Joined: Thu Jun 08, 2006 4:00 am

Post by NickDiamond »

Thank you very much :)

I'll try it tomorrow. Hope to have a little bit time then...

Thanks for your work !!! :P :wink:
NickDiamond
Posts: 6
Joined: Thu Jun 08, 2006 4:00 am

Post by NickDiamond »

--
Last edited by NickDiamond on Tue Jun 13, 2006 5:46 am, edited 1 time in total.
NickDiamond
Posts: 6
Joined: Thu Jun 08, 2006 4:00 am

Post by NickDiamond »

How to add (for Girder 3.2.9b):
- Menu Edit > Add new Command
- Tabpage "O.S." > dropdown list > "Execute" (or something similar).
- Fill in the text areas as said above (one box for the wscript program location, one line for the command line parameters), and preferable set startup visibility to "hidden" (or "invisible").
Did everything, but I had to rename the .vbs-file,
but then Girder accepted it !
- Click the apply button and then right-click the command icon in the left pane, and choose "test command".
Damn, nothing happens.
I tried different combinations of filenames, paths... but just nothing happens...
Where is the problem ?

I tried to "target" girder on Mediamonkey, but then there was also no reaction of mm ...

maybe I have to set a connection from girder to mm, but how ?
Steegy
Posts: 3452
Joined: Sat Nov 05, 2005 7:17 pm

Post by Steegy »

OK, here's a walkthrough:

- Open Girder
- Add a new "command", e.g. as shown in the screenshot: http://home.tiscali.be/ruben.castelein/Girder/Menu.gif
- In the right pane, choose the tab "O.S." and choose "Execute" from the dropdown list, as shown in the screenshot: http://home.tiscali.be/ruben.castelein/ ... Screen.gif
- Type >>"C:\Windows\System32\WScript.exe"<< in the "File" box (without the >> and << marks of course)
- Type >>"C:\Program Files\MediaMonkey\Scripts\Previous&Next Album(Artist).vbs" /PlayNextAlbum<< in the "Step Size" box (without the >> and << marks of course)
- Select "Hidden" (or if necessary "Minimize") from the "Startup Options" dropdown list
- Press the apply button
- Test the new command (e.g. by right-clicking the command in the left pane, and choosing "Test Command")

You now have added the command "PlayNextAlbum". To add the other commands, just do the same as above, but in the "Step Size" box, you'll need
>>"C:\Program Files\MediaMonkey\Scripts\Previous&Next Album(Artist).vbs" /PlayPreviousAlbum<<
>>"C:\Program Files\MediaMonkey\Scripts\Previous&Next Album(Artist).vbs" /PlayNextAlbumArtist<<
>>"C:\Program Files\MediaMonkey\Scripts\Previous&Next Album(Artist).vbs" /PlayPreviousAlbumArtist<<

Also mind that you'll need to use the folder to your own MediaMonkey installation directory. I used "C:\Program Files\MediaMonkey" here, so make sure that you change this if this isn't correct for you.

Cheers
Steegy
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
NickD.

Post by NickD. »

thank you again,
but it doesn't work...

Just did it as you said (with changing program folder)...

I think there is a wrong setting in Mediamonkey , but I have no idea what is the reason why "test command" just does nothing (though, if mm has not been started before, and I "test command" the logo of mm popups for a short moment, thats it)...

Maybe I need a little walktrough for mm so that I know where/how to add the files and something like this...

Sorry, I know it's a lot of work for you ...
NickD.

Post by NickD. »

Oh, stop...

tried again, did the same, but it seems to work now :P

have to test it now....
Steegy
Posts: 3452
Joined: Sat Nov 05, 2005 7:17 pm

Post by Steegy »

I just did a very little update to the code to prevent the script from giving an error message when there's no "Current Song". In that case, the script shouldn't do anything.
The only time there's no "Current Song" is when MediaMonkey is started with an empty playlist.
But that won't change anything else and it's just a "detail".
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
NickD.

Post by NickD. »

So,

the functions "PlayNextAlbumArtist" and "PlayPreviousAlbumArtist" do what I want:
To jump to the next/previous artist in the list !!
Always to their "first" (first in list) album !


Thats great, I'm very happy...

but :

the functions "PlayNextAlbum" and "PlayPreviousAlbum", though working, do not do what I wanted.
They jump to the next album (albums in alphabetic order), I want to jump the next/previous Album of the current artist !!!!

Would be very great if you could fix/add this !!!

Wow, you're doing great work !!!
Steegy
Posts: 3452
Joined: Sat Nov 05, 2005 7:17 pm

Post by Steegy »

OK, I have now added the new switches "PlayNextAlbumSameArtist" and "PlayPreviousAlbumSameArtist" that will do what you want.

Cheers
Steegy
Extensions: ExternalTools, ExtractFields, SongPreviewer, LinkedTracks, CleanImport, and some other scripts (Need Help with Addons > List of All Scripts).
Post Reply