MM5 and Spotify [#16521]

To discuss development of addons / skins / customization of MediaMonkey.

Moderator: jiri

Ludek
Posts: 3344
Joined: Fri Mar 09, 2007 9:00 am

Re: MM5 and Spotify [#16521]

Post by Ludek » Sun May 03, 2020 3:26 pm

Hi, thanks for trying.

BTW: There is already a new version of the script that supports also MM5 > Spotify playlists sync, i.e. supports exporting MM library playlists to Spotify.
You need to install the newest beta build 2245 and the script is within the /SampleScripts/Spotify.mmip available to install as extension.

As for the matching: yes, this will need some more tuning and certainly will never be 100% accurate. I am afraid that matching just based on artist/title (without comparing album) could result in false matches which is probably even worse case. Probably just some tuning like removing the " (remastered)" appendix when comparing could be enough.

cokehearth
Posts: 36
Joined: Thu Aug 24, 2017 6:13 am

Re: MM5 and Spotify [#16521]

Post by cokehearth » Mon May 04, 2020 2:47 am

Yes, I imagine it would. As you say, being able to match the album title more loosely would work - I also notice sometimes this happens with titles that have 'remastered' attached them, and really is just the labels that release the music being too specific!

Again, I have no idea what is possible in regards to coding, but would a possible function being able to match them purposely? That is, to "right click" a song in Spotify and than select an option to match it with a local file?

Will install your script update and continue playing. Many thanks, I really like where this extension is going! :)

Zonky
Posts: 109
Joined: Thu Aug 26, 2010 6:39 am

Re: MM5 and Spotify [#16521]

Post by Zonky » Wed May 20, 2020 2:08 pm

I've send some crash logs, the most recent was ID C491F22F

I was about to sync my Spotify playlist to MM5 database. This action crashed various times including the above.

Michael

Barry4679
Posts: 1049
Joined: Fri Sep 11, 2009 8:07 am
Location: Australia
Contact:

Re: MM5 and Spotify [#16521]

Post by Barry4679 » Wed May 20, 2020 9:05 pm

Ludek wrote:
Sun May 03, 2020 3:26 pm
As for the matching: yes, this will need some more tuning and certainly will never be 100% accurate. I am afraid that matching just based on artist/title (without comparing album) could result in false matches which is probably even worse case. Probably just some tuning like removing the " (remastered)" appendix when comparing could be enough.
I think that matching on just artist/title would be OK as a second pass. ... ie. first attempt match on full artist|album|track, and then try to find matches for those which failed, on just artist & title.

Ludek
Posts: 3344
Joined: Fri Mar 09, 2007 9:00 am

Re: MM5 and Spotify [#16521]

Post by Ludek » Thu May 21, 2020 4:28 am

Zonky wrote:
Wed May 20, 2020 2:08 pm
I've send some crash logs, the most recent was ID C491F22F

I was about to sync my Spotify playlist to MM5 database. This action crashed various times including the above.

Michael

Hi, I saw your crash logs C491F22F yeasterday when checking logs from 2250.
But I needed to add more debug info to see why it is happening for you.

Please replace your current /scripts/spotify/helpers/cloudServices_add.js by this one: https://www.dropbox.com/s/8gjmidw2vr37q ... dd.js?dl=0
and submit new crash log, thanks!

Zonky
Posts: 109
Joined: Thu Aug 26, 2010 6:39 am

Re: MM5 and Spotify [#16521]

Post by Zonky » Thu May 21, 2020 7:30 am

Done and some crash logs sent. e.g. FF31B1D8.

Unfortunately, right after sending the crash reports, MM5 is behaving a little weired. One crash after another happens and there is no chance to quit MM5 unless stopping multiple processes with the help of Windows Task-Manager.

cu,
Michael

Ludek
Posts: 3344
Joined: Fri Mar 09, 2007 9:00 am

Re: MM5 and Spotify [#16521]

Post by Ludek » Thu May 21, 2020 8:16 am

Thanks, try with this cloudServices_add.js : https://www.dropbox.com/s/dg0i3bckqfp5l ... dd.js?dl=0

It fixes the issue, will be in 2251: https://www.ventismedia.com/mantis/view ... 521#c57753
Last edited by Ludek on Fri May 22, 2020 6:58 am, edited 1 time in total.

Zonky
Posts: 109
Joined: Thu Aug 26, 2010 6:39 am

Re: MM5 and Spotify [#16521]

Post by Zonky » Thu May 21, 2020 12:55 pm

Ludek wrote:
Thu May 21, 2020 8:16 am
It fixes the issue...
Unfortunately no :( See subsequent logs and last one: A04CA4BC

Michael

Ludek
Posts: 3344
Joined: Fri Mar 09, 2007 9:00 am

Re: MM5 and Spotify [#16521]

Post by Ludek » Fri May 22, 2020 4:26 am

Thx, I see, the problem is with this playlist: https://open.spotify.com/playlist/4173E ... Hrz9pipvxI
It is broken and includes items with track value null, I'll workaround it. Thx.

Ludek
Posts: 3344
Joined: Fri Mar 09, 2007 9:00 am

Re: MM5 and Spotify [#16521]

Post by Ludek » Fri May 22, 2020 6:58 am


Post Reply