Search found 100 matches

by mhendu
Sun Jun 14, 2020 3:24 pm
Forum: Need Help with Addons? (MMW4)
Topic: Genius batch lyrics scraper
Replies: 0
Views: 2321

Genius batch lyrics scraper

Cobbled this together from a few other scripts. Needs a little work to properly encode all characters for Genius, but in my testing works fairly well. If you just want a 'hands off' batch script to populate lyrics from Genius run this, then for anything it misses you can follow up with Lyricator for...
by mhendu
Tue Jun 09, 2020 12:58 pm
Forum: Need Help with Addons? (MMW4)
Topic: Lyricator v1.5.5 (2022-11-25)
Replies: 355
Views: 412182

Re: Lyricator v1.5.1 (2020-03-22)

Have been using this extension quite a bit lately - kudos to the developer. As a suggestion (assuming you're open to feature requests), would be great to have a 'batch' mode where the script auto-accepts lyrics at some threshold (possibly user-defined) without requiring the user to interact with the...
by mhendu
Sun Jun 23, 2019 6:59 pm
Forum: Need Help with Addons? (MMW4)
Topic: Last.fm Scrobbler 1.1.0.41 [Updated 11/27/2014]
Replies: 138
Views: 432797

Re: Last.fm Scrobbler 1.1.0.41 [Updated 11/27/2014]

I'm also not getting the Now Playing tracks like I used to - maybe something changed at Last.fm? Scrobbling has been intermittently successful. Restarted MediaMonkey and it seems to be scrobbling now but still won't show the Now Playing tracks on Last.fm. Using scrobbler version 1.1.0.41 on MediaMon...
by mhendu
Sat Mar 02, 2019 10:00 pm
Forum: MediaMonkey 4 Addons developer forum
Topic: Syncing ratings from a mobile phone
Replies: 6
Views: 11301

Re: Syncing ratings from a mobile phone

OK, got everything working, in case anyone finds this helpful. This does not read directly from the Google Sheet and instead just downloads it as an Excel file (you'll need to share the Sheet for this to work correctly). I can provide direction to implementing the Tasker setup on Android to populate...
by mhendu
Sat Mar 02, 2019 9:09 pm
Forum: MediaMonkey 4 Addons developer forum
Topic: Syncing ratings from a mobile phone
Replies: 6
Views: 11301

Re: Syncing ratings from a mobile phone

True. Check out: http://www.mediamonkey.com/forum/viewtopic.php?f=2&t=8882&hilit=txt+import Very interesting, thanks! I've got the basics of the script working. Outside of the question I just posted on UpdateAll, the next thing I need to figure out is how to download the Google Sheet to Exc...
by mhendu
Sat Mar 02, 2019 8:56 pm
Forum: MediaMonkey 4 Addons developer forum
Topic: Syncing ratings from a mobile phone
Replies: 6
Views: 11301

Re: Syncing ratings from a mobile phone

OK, I've got the bulk of this working but have a question on the UpdateAll method. I've borrowed from a few folks to arrive at the following snippet of code: Set SongIterator = SDB.Database.QuerySongs(" SongTitle = '" & Replace(arrSheet(0,intCount),"'","''") & &...
by mhendu
Sat Mar 02, 2019 8:49 pm
Forum: MediaMonkey 4 Addons developer forum
Topic: Syncing ratings from a mobile phone
Replies: 6
Views: 11301

Re: Syncing ratings from a mobile phone

Thanks but unless I'm mistaken that requires syncing the songs to my mobile device - instead I'd rather stream them from an auto playlist so I don't have to copy tracks over to my phone to listen to them.
by mhendu
Sat Mar 02, 2019 6:12 pm
Forum: MediaMonkey 4 Addons developer forum
Topic: Syncing ratings from a mobile phone
Replies: 6
Views: 11301

Syncing ratings from a mobile phone

I've been looking for a way to rate tracks that I listen to on my phone and have those ratings sync back to MediaMonkey 4. I figured out the other night that I could use Tasker on my Android to read scrobbling metadata (song title, artist, album, track duration in seconds) and write this data plus a...
by mhendu
Sun Feb 10, 2019 11:42 am
Forum: MediaMonkey 4 Addons developer forum
Topic: SQL / scripting help - search by Artist ID
Replies: 1
Views: 9142

Re: SQL / scripting help - search by Artist ID

Would love to know how to do this for this and future scripts, but for now I came up with what I think is a workable solution: Dim ArtistNameTemp ArtistNameTemp = itm.ArtistName ArtistNameTemp = Replace(ArtistNameTemp,"'","''") SQL = "SELECT Genre, Count(Genre) AS SortField ...
by mhendu
Sun Feb 10, 2019 11:07 am
Forum: MediaMonkey 4 Addons developer forum
Topic: SQL / scripting help - search by Artist ID
Replies: 1
Views: 9142

SQL / scripting help - search by Artist ID

I'm trying to write a script that will either look up genre from Musicbrainz or find the most common genre from the same artist in the existing database. A few artists have special characters (') so the script errors out when searching by itm.ArtistName, otherwise this query works: "SELECT Genr...
by mhendu
Tue Sep 11, 2018 1:46 am
Forum: Alpha testing, bugs, and feature requests (MM Server)
Topic: Database setup
Replies: 5
Views: 14260

Re: Database setup

Sounds good in theory, but I don't see a way to actually have MMS read my MM4 or MM5 database. It looks like it sets up an entirely new database, so I'd have to add my music folders to MMS and scan them in. Is there a way to configure MMS to read the MM5 database, including playlists? Also unclear t...
by mhendu
Thu Sep 06, 2018 8:22 am
Forum: Need Help with Addons? (MMW4)
Topic: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2+]
Replies: 2536
Views: 1126589

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2+]

ZvezdanD wrote: Wed Sep 05, 2018 12:56 am
mhendu wrote: Tue Sep 04, 2018 10:38 pmHere's a screenshot of the settings
I told you, you should get opened the new Magic Nodes SQL Editor dialog box, not Edit Magic Node.
Got it - working now, thanks!
by mhendu
Tue Sep 04, 2018 10:38 pm
Forum: Need Help with Addons? (MMW4)
Topic: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2+]
Replies: 2536
Views: 1126589

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2+]

It works fine for me. Tried several times, no errors. Check if you copied/pasted the correct string and confirm editing of SQL query with the OK button. Then post the screenshot of the error message box if it says anything different than "The mask defining this Magic Node produced an error.&qu...
by mhendu
Mon Sep 03, 2018 6:58 pm
Forum: Need Help with Addons? (MMW4)
Topic: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2+]
Replies: 2536
Views: 1126589

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2+]

I changed the settings in Magic Nodes and tried to use the above query but this doesn't work for some reason (it produces an error). Where did you try to use the above query, was it in the mentioned Magic Nodes SQL Editor dialog? Did you replace the string that is already displayed in the text box ...
by mhendu
Sun Sep 02, 2018 12:56 pm
Forum: Need Help with Addons? (MMW4)
Topic: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2+]
Replies: 2536
Views: 1126589

Re: Magic Nodes 4.2 w/ 380 masks & real GUI (2011-07-01)[MM2+]

INNER JOIN (SELECT Custom3 || IDAlbum AS SortField1, Random() AS RandomField1 FROM Songs GROUP BY SortField1) ON Custom3 || IDAlbum = SortField1 WHERE Songs.Custom3 || IDAlbum IN (SELECT Custom3 || IDAlbum AS CLASSWORK FROM Songs GROUP BY CLASSWORK HAVING Avg(Rating) > 80 AND Custom3 <> '' AND Grou...