GNOME Bugzilla – Bug 772657
Convert FLAC files to ALAC files on synchronisation
Last modified: 2018-05-24 19:11:50 UTC
I have a large library of FLAC files, and an iPod classic. I would like to synchronise my lossless music to my iPod using Rhythmbox. Currently, Rhythmbox automatically synchronises FLAC files by converting them to (lossy) MPEG3 or MPEG4, which is already a nice feature. This feature would be even more awesome if an extra option to convert FLAC files to ALAC files was added. Maybe there is already a plug-in that already adds this functionality, but I could not find it. Unfortunately, I am not skilled enough to write it myself either.
If there was a GStreamer ALAC encoder element (I don't think there is) all you'd need to do would be to add the corresponding media type to the list of supported types in the ipod plugin.
Apparently gstreamer-libav includes an alac encoder.
Created attachment 337752 [details] [review] add alac profile I can't test this myself so I have no idea if it works.
(In reply to Jonathan Matthew from comment #3) > Created attachment 337752 [details] [review] [review] > add alac profile > > I can't test this myself so I have no idea if it works. Your solution seems to be rather straightforward, that's cool :) I tried compiling rythmbox from source with your edits, but I have some missing dependencies I cannot seem to resolve. I have very few experience with compiling from source, so it might just be a stupid error from my side.
Created attachment 337763 [details] ALAC track properties in latest iTunes (In reply to Jonathan Matthew from comment #3) > Created attachment 337752 [details] [review] [review] > add alac profile > > I can't test this myself so I have no idea if it works. The patch works fine on latest git. 1. Extracted a FLAC track from Audio CD. 2. Selected ALAC in iPod properties. 3. Copied FLAC track to iPod. Also, tested ALAC track in latest iTunes ( attached image )
This only works if you select ALAC as your preferred format for the device, which means any files that aren't already in a supported format will be transcoded into ALAC, which is probably not what you want. The existing setting that controls whether lossless files are always transcoded probably needs to be extended a bit.
Review of attachment 337752 [details] [review]: pushed as commit 10fb801
Jonathan, I forgot to reply on your patch. I tried doing as you told, but syncing my iPod went horribly wrong. Thanks for the work you put into this. I hope that some day the transcoding settings per device are extended, as this would make things much more usable.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/rhythmbox/issues/1521.