MM5 and Spotify [#16521]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: MM5 and Spotify [#16521]

Re: MM5 and Spotify [#16521]

by Ludek » Sat Jun 13, 2020 2:33 am

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

Re: MM5 and Spotify [#16521]

by Ludek » Thu Jun 04, 2020 3:51 pm

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.

Re: MM5 and Spotify [#16521]

by Zonky » Thu Jun 04, 2020 12:30 pm

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

Re: MM5 and Spotify [#16521]

by Zonky » Thu Jun 04, 2020 12:22 pm

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

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]

by Ludek » Thu Jun 04, 2020 7:10 am

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

Re: MM5 and Spotify [#16521]

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

Re: MM5 and Spotify [#16521]

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.

Re: MM5 and Spotify [#16521]

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

Re: MM5 and Spotify [#16521]

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

Re: MM5 and Spotify [#16521]

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

Re: MM5 and Spotify [#16521]

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!

Re: MM5 and Spotify [#16521]

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.

Re: MM5 and Spotify [#16521]

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

Re: MM5 and Spotify [#16521]

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! :)

Re: MM5 and Spotify [#16521]

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.

Top