MM5 and Spotify [#16521]
Moderators: jiri, drakinite, Addon Administrators
Re: MM5 and Spotify [#16521]
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.
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.
-
- Posts: 65
- Joined: Thu Aug 24, 2017 6:13 am
Re: MM5 and Spotify [#16521]
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!
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!
Primarily using: MM4 (latest update) Gold on Windows 11 (32GB RAM);
Samsung A54G 128GB/1TB MicroSD.
Library: 1875GB (254680+) files, on a Network Drive (Windows)
Samsung A54G 128GB/1TB MicroSD.
Library: 1875GB (254680+) files, on a Network Drive (Windows)
Re: MM5 and Spotify [#16521]
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
I was about to sync my Spotify playlist to MM5 database. This action crashed various times including the above.
Michael
Re: MM5 and Spotify [#16521]
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 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.
Want a dark skin for MM5? This is the one that works best for me .. elegant, compact & clear.
Re: MM5 and Spotify [#16521]
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!
Re: MM5 and Spotify [#16521]
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
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
Re: MM5 and Spotify [#16521]
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
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.
Re: MM5 and Spotify [#16521]
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.
It is broken and includes items with track value null, I'll workaround it. Thx.
Re: MM5 and Spotify [#16521]
Fixed with this cloudServices_add.js : https://www.dropbox.com/s/sksdz39bzvw00 ... dd.js?dl=0
Will be in 2251: https://www.ventismedia.com/mantis/view ... 521#c57753
Will be in 2251: https://www.ventismedia.com/mantis/view ... 521#c57753
Re: MM5 and Spotify [#16521]
Hi Michael (Zonky),
I see crash A04C382A in 2255 from you here.
This is because you haven't updated the Spotify script (in the 2255 install folder /sampleScripts/spotify.mmip )
Please re-install the script by the version from 2255 and it will no longer crash for you
I see crash A04C382A in 2255 from you here.
This is because you haven't updated the Spotify script (in the 2255 install folder /sampleScripts/spotify.mmip )
Please re-install the script by the version from 2255 and it will no longer crash for you
Re: MM5 and Spotify [#16521]
Hi,
It is really hard and complicated to update a JS file if you don't know where this is located or where it should be placed, e.g. in /helpers or in Scripts/spotify/helpers/
This get's more annoying if MM5 crashes each time when it starts and is serching for the file cloudServices_add.js or cloudServices.js. I bet I've seen both files in crash logs the last 10 minutes.
If MM5 crashes and crashes again, even while or after sending the log files and restarting in safe mode also does not work, I could start crying
I've now manually delete the spotify subfolder from /Scripts and removed cloudServices_add.js from folder ./helpers and tried a restart - no luck either MM5 still tries to load /herlpers/cloudServices.js.
So I've manually downloaded a file from https://www.dropbox.com/s/sksdz39bzvw00 ... dd.js?dl=0 and saved it to ./helpers again. However, the file from Dropbox reads cloudServices_add.js and MM5 complaints about cloudServices.js This is driving me nuts, you know ^^ so I renamed this one and started MM5 again.
Next crash happens because MM5 now cannot set any property 'spotify'... see log files just sent in...and once again I'm caught in a crash loop that I can only exit with the help of Windows Task Manager.
With other words I gave up now: how can I safely remove all occurrences of Spotify plugin to start over?
It is really hard and complicated to update a JS file if you don't know where this is located or where it should be placed, e.g. in /helpers or in Scripts/spotify/helpers/
This get's more annoying if MM5 crashes each time when it starts and is serching for the file cloudServices_add.js or cloudServices.js. I bet I've seen both files in crash logs the last 10 minutes.
If MM5 crashes and crashes again, even while or after sending the log files and restarting in safe mode also does not work, I could start crying
I've now manually delete the spotify subfolder from /Scripts and removed cloudServices_add.js from folder ./helpers and tried a restart - no luck either MM5 still tries to load /herlpers/cloudServices.js.
So I've manually downloaded a file from https://www.dropbox.com/s/sksdz39bzvw00 ... dd.js?dl=0 and saved it to ./helpers again. However, the file from Dropbox reads cloudServices_add.js and MM5 complaints about cloudServices.js This is driving me nuts, you know ^^ so I renamed this one and started MM5 again.
Next crash happens because MM5 now cannot set any property 'spotify'... see log files just sent in...and once again I'm caught in a crash loop that I can only exit with the help of Windows Task Manager.
With other words I gave up now: how can I safely remove all occurrences of Spotify plugin to start over?
Re: MM5 and Spotify [#16521]
Update: just reinstalled beta 5.0.0.2255 in portable mode and restarted fine. Afterwards I've added spotify.mmip from /SampleScripts and Spotify or better the playlists now sync properly.
cu,
Michael
cu,
Michael
Re: MM5 and Spotify [#16521]
FYI: I have moved the script from /sampleScripts directly to /Scripts (to be pre-installed) for the next build so all will be updated automatically starting from 2256.
Thx.
Thx.
Re: MM5 and Spotify [#16521]
FYI: Matching process has been improved a lot in build 2256 (posted today)
This time the script will be updated automatically during install of 2256
This time the script will be updated automatically during install of 2256