shi11 / RemoteControls

cordova 3 plugin for interacting with ios7 remote controls and metadata
57 stars 41 forks source link

Async cover loading from URL, Elapsed time support, etc. #3

Closed art1c0 closed 9 years ago

art1c0 commented 9 years ago

Loading of a cover from URL (as well as loading from a file from now on) is done in a separate thread asynchronously and non-blocking. If image is absent then default image named "no-image" will be used instead. Elapsed time attribute introduced, allowing to be used along with duration. I propose to change the namespace from window.plugins.remoteControls to just window.remoteControls, which means it can be accessed via simply remoteControls as well. Readme is updated to include these changes.

shi11 commented 9 years ago

Thanks for this update Artico. I still need to test it and I hope to give it a go soon. Seth

timwasson commented 9 years ago

Just a quick note on this PR. I was having an issue where, if album artwork loaded, meta details (artist, album, etc.) didn't load. This PR resolved those issues for me.

I tested it with a remote URL as well, and it worked flawlessly.

Thanks to shi11.