Page 1 of 1

MediaMonkey 5.0.2.2531 - DropBox connect [#18702]

Posted: Wed Dec 22, 2021 8:18 pm
by Peter Machaj
Hi there

I'm unable to add Dropbox to 'Storage and Services' under 'Devices & Services'.
When I click to add Dropbox, it takes me to browser to permission allowance page.
I click to Accept, next I'm redirected to:

http://localhost:9465/MM/auth/?code=pkps.....................................................

It seems to be MediaMonkey local service, and it's probably not listening there.

Re: MediaMonkey 5.0.2.2531 - DropBox connect

Posted: Wed Dec 22, 2021 9:31 pm
by Peke
Hi,
Added at https://www.ventismedia.com/mantis/view.php?id=18702

Test note: My main installation with existing of DropBox worked, but once i removed it I could not create new. Tested 5.0.0, official 5.0.1 and latest 5.0.2, so unfortunately it looks like service/platform issue because Auth pass with message "Authorization was successful. Switch to MediaMonkey." and http://localhost:9465/ works correctly or you would had no interaction :( Assigned for analyzing.

Re: MediaMonkey 5.0.2.2531 - DropBox connect

Posted: Thu Dec 23, 2021 5:58 am
by Peter Machaj
Peke wrote: Wed Dec 22, 2021 9:31 pm Hi,

Test note: My main installation with existing of DropBox worked, but once i removed it I could not create new. Tested 5.0.0, official 5.0.1 and latest 5.0.2, so unfortunately it looks like service/platform issue because Auth pass with message "Authorization was successful. Switch to MediaMonkey." and http://localhost:9465/ works correctly or you would had no interaction :( Assigned for analyzing.
Hi, I've tested simply 'http://localhost:9465' and it gives me message:

Syntax Error: Unexpected end of JSON input. Finally it crashes MediaMonkey process.

Re: MediaMonkey 5.0.2.2531 - DropBox connect [#18702]

Posted: Thu Dec 23, 2021 9:12 am
by Ludek
Thanks for reporting!

Until an update is available the workaround is to replace current
[MM5 install folder]\scripts\DropBox\helpers\cloudServices_add.js
by this
https://www.dropbox.com/s/z0cswog037l6r ... dd.js?dl=0

Re: MediaMonkey 5.0.2.2531 - DropBox connect

Posted: Thu Dec 23, 2021 12:21 pm
by Peke
Peter Machaj wrote: Thu Dec 23, 2021 5:58 am Hi, I've tested simply 'http://localhost:9465' and it gives me message:

Syntax Error: Unexpected end of JSON input. Finally it crashes MediaMonkey process.
To explain it is normal as MM just temporary use service port 9465 to communicate with browser and it is specifically formatted specifically for the service and communication. It is not normal address so it is normal that you can't access.

I can confirm that Ludek fix works normally and it is also included in next version.