MM 4.1 Script to move down list so MM can add lyrics/art

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey.

Moderator: Gurus

jimbob_sf
Posts: 55
Joined: Sat Apr 16, 2011 1:19 pm

MM 4.1 Script to move down list so MM can add lyrics/art

Post by jimbob_sf » Thu Aug 15, 2013 5:44 pm

Yes, there are add-ons that add lyrics and artwork, but MM 4.1 has these built in and those scripts are a bit overkill or die with the bulk of music I have. The problem is that you can't select a list, like my 25,000 songs, and have MM work its way down the list like you can with track leveling. You have to move the cursor one line at a time with a minor pause on each line so MM can add the song to it's cache of songs to retrieve (I'm taking a guess on that because if you move to fast or hold the down arrow key, it only catches a few songs).

So....

Can someone take pity on me and write a simple script that simply moves the cursor down 1 row at a time with a .5 second pause before moving to the next row? Simple version would have the user select a set of songs, start at the first row, and end at the last.

jimbob_sf
Posts: 55
Joined: Sat Apr 16, 2011 1:19 pm

Re: MM 4.1 Script to move down list so MM can add lyrics/art

Post by jimbob_sf » Thu Aug 22, 2013 4:22 pm

Maybe rephrasing... Is this a simple script?

nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: MM 4.1 Script to move down list so MM can add lyrics/art

Post by nohitter151 » Thu Aug 22, 2013 5:09 pm

MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.

jimbob_sf
Posts: 55
Joined: Sat Apr 16, 2011 1:19 pm

Re: MM 4.1 Script to move down list so MM can add lyrics/art

Post by jimbob_sf » Thu Aug 22, 2013 6:07 pm

Thanks! It does move through the list, but doesn't trigger whatever event MM 4.1 is looking for. I asked the question in that thread. Honestly, I tried to search but wasn't hitting the right words.

nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: MM 4.1 Script to move down list so MM can add lyrics/art

Post by nohitter151 » Thu Aug 22, 2013 7:20 pm

I think in MM 4.1 you just need to play the track. Maybe the interval you set the tracks to play for is too small.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.

jimbob_sf
Posts: 55
Joined: Sat Apr 16, 2011 1:19 pm

Re: MM 4.1 Script to move down list so MM can add lyrics/art

Post by jimbob_sf » Thu Aug 22, 2013 7:35 pm

Oddly, only selecting the song with the mouse or key will trigger the scan. I've tried playlists, selecting a series of songs... and even when MM moves to the next song, it doesn't trigger the scan. MM support (awesome group) is helping me look into this one.

nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: MM 4.1 Script to move down list so MM can add lyrics/art

Post by nohitter151 » Thu Aug 22, 2013 9:31 pm

jimbob_sf wrote:Oddly, only selecting the song with the mouse or key will trigger the scan. I've tried playlists, selecting a series of songs... and even when MM moves to the next song, it doesn't trigger the scan. MM support (awesome group) is helping me look into this one.
You probably need to switch the art&details tab to "Now Playing" as opposed to "Selected".
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.

jimbob_sf
Posts: 55
Joined: Sat Apr 16, 2011 1:19 pm

Re: MM 4.1 Script to move down list so MM can add lyrics/art

Post by jimbob_sf » Thu Aug 22, 2013 10:20 pm

SOLVED!!! Ok, here's how to do this.

1. In the Metadata Lookup section of Options, you have to enable search & save for what you want (lyrics or artwork). I had this one right.
2. Have the Art & Details view open. This is where I was seeing the detailed lyrics.
3. Select the Now Playing tab, not the Selected tab. This is where I was running afoul. I had the Selected tab showing so only the selected song got updated. Once I switched to the Now Playing tab, all the songs that play get the metadata.
4. Run the Song Previewer script linked in this thread. I started at time zero and played for 1 second.

I'm still playing with how big each batch of selected songs can be before things really slow down. I think mileage varies based on whether it can find the data quickly or not. For me, this method is preferable to all the other add-ons & scripts because this just "does it".

Thank you everyone who chimed in to help me out!

Post Reply