Hey, this is my 13th weekly report describing my work on my Google Summer of Code project to rewrite MTP (Android) support in Amarok from scratch. The big item is week is transcoding.
On-the-fly transcoding has come to Amarok's Android (MTP) collection. |
What I've done this week:
- Implemented a little configuration dialog that shows some information and lets you set some preferences (more in the future). Accessible from Collection Browser:
The little wrench opens the configuration dialog. |
- Implemented support for renaming the device (setting friendly name). The name is actually sent to the device and is also picked up by kio-mtp etc.
- Implemented on-the-fly transcoding when copying/moving tracks to the device, yay! Your transcoding preferences can optionally be remembered (as is usual in Amarok) and the encoding even makes use of more than one of your processor cores. See:
MTP device configuration dialog. Notice the Transcode label. |
This is the proof that transcoding works. :-) |
- Done small tweaks like correctly releasing the device when Amarok is closed, trying not to confuse user, improving feedback...
- A known bug where transcoding a track with embedded cover image creates a video ogg file, the metadata thereof (most importantly file size) are then refused to be read by Amarok.
- Infinite loop in libmtp when the actual size of the file you want to upload is different than what you claim. Complements interestingly the above bug.
- Ability to see & specify file structure of the on-device tracks.
- Polishing.
You can view and test my code by checking out gsoc branch of my personal Amarok clone repository.