Open icidasset opened 3 years ago
@icidasset It's been a couple of years since the Mega.nz player was written https://play.google.com/store/apps/details?id=com.media.library
Seems to be possible, hard to tell with the documentation focusing on the C++ SDK. There's a bit of info available at https://mega.nz/doc (see "under the hood")
One thing that might be difficult is the login sessions, but maybe the prepare
function can deal with that.
Sadly it's not immediately clear what a REST API request should look like.
@icidasset And a decentralized player has already been written, too. There is no need to write a second one.
More research.
Things I think that should happen:
https://g.api.mega.co.nz/cs?id=135132513532&ak=APP_KEY&node_id=NODE_ID
endpoint where node id is the id in the url you can find in the official UI?Example of auth: https://github.com/topac/rmega/blob/master/lib/rmega/session.rb#L116
Is there any update on support for MEGA? Would love this as for the 20GB free tier in MEGA.
Is there any update on support for MEGA? Would love this as for the 20GB free tier in MEGA.
@vyoln I don’t really have time to work on it right now, but hopefully soon.
I still don’t fully know how to implement it though, so if anyone can point at any source code from other apps that’d be helpful. I should also point out that Diffuse needs to play according to the browser’s CORS rules so the implementation might not be as straightforward as in some other native apps (eg. evermusic).
https://mega.io/ Not immediately clear if possible.