Next Artist or Album

Get answers about using the current release of MediaMonkey for Windows.

Moderator: Gurus

Postby NickDiamond » Thu Jun 08, 2006 4:04 am

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

Postby NickDiamond » Fri Jun 09, 2006 5:33 am

Sorry,
still need help !

I don't know how to use the script with girder :roll:
NickDiamond
 
Posts: 6
Joined: Thu Jun 08, 2006 4:00 am

Postby Peke » Fri Jun 09, 2006 6:09 am

You have import Script/Group in File menu I think.
I'm at work so I cant be 100% sure.
Best regards,
Pavle
MM Core Developer and Fan (check HAPPYMONKEYING Site)
Image
Image
Peke
 
Posts: 7551
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia

Postby NickDiamond » Sun Jun 11, 2006 6:25 am

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 :(
NickDiamond
 
Posts: 6
Joined: Thu Jun 08, 2006 4:00 am

Postby Steegy » Sun Jun 11, 2006 7:49 am

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: 3448
Joined: Sat Nov 05, 2005 7:17 pm
Location: Belgium

Postby Steegy » Sun Jun 11, 2006 4:26 pm

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).
Steegy
 
Posts: 3448
Joined: Sat Nov 05, 2005 7:17 pm
Location: Belgium

Postby NickDiamond » Mon Jun 12, 2006 10:37 am

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

Postby NickDiamond » Tue Jun 13, 2006 5:44 am

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

Postby NickDiamond » Tue Jun 13, 2006 5:45 am

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 ?
NickDiamond
 
Posts: 6
Joined: Thu Jun 08, 2006 4:00 am

Postby Steegy » Tue Jun 13, 2006 8:43 am

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).
Steegy
 
Posts: 3448
Joined: Sat Nov 05, 2005 7:17 pm
Location: Belgium

Postby NickD. » Tue Jun 13, 2006 11:12 am

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.
 

Postby NickD. » Tue Jun 13, 2006 11:57 am

Oh, stop...

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

have to test it now....
NickD.
 

Postby Steegy » Tue Jun 13, 2006 12:24 pm

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).
Steegy
 
Posts: 3448
Joined: Sat Nov 05, 2005 7:17 pm
Location: Belgium

Postby NickD. » Tue Jun 13, 2006 12:29 pm

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 !!!
NickD.
 

Postby Steegy » Tue Jun 13, 2006 2:28 pm

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).
Steegy
 
Posts: 3448
Joined: Sat Nov 05, 2005 7:17 pm
Location: Belgium

PreviousNext

Return to Need Help? (mmw)

Who is online

Users browsing this forum: Bing [Bot] and 13 guests