Persistent Transcode is a Perl script that simplifies the process of transferring files to a portable device by reducing their size and quality.
This feature ensures that once Amarok requests for a particular file, the script will point to the correct location rather than transcoding it again. Currently, the script can support transcoding of FLAC to Ogg Vorbis, Ogg Vorbis to Ogg Vorbis, and MP3 to Ogg Vorbis.
To start using the application, all you have to do is run the script and select "Transcode before transferring to device" and "Whenever possible" in the Configure Media Device window. To access the persistent transcoding feature, users would need to edit the script and set the source and target variables.
To set up the persistent transcoding feature, for example, one would need to transcode ~/audio/collection/Artist/Album/Track.flac and set:
my $source_dir = $ENV{HOME}."/audio/collection";
my $target_dir = $ENV{HOME}."/audio/portable";
Once this is set up, the converted file will be saved as ~/audio/portable/Artist/Album/Track.ogg.
If you do not plan to store the converted files for further use, all you have to do is select "Remove transcoded files after transfer" and leave source/target directory configuration at default values. Overall, Persistent Transcode is a powerful tool that offers a straightforward solution for transcoding files.
Version 0.1: N/A