Version: (using KDE 4.2.96) Compiler: gcc 4.3.3 OS: Linux Installed from: Ubuntu Packages Every iPod introduced to market has support for AIFF, Apple's counterpart to WAV. See http://www.everymac.com/systems/apple/consumer_electronics/stats/ipod.html and http://www.apple.com/ipod/whichipod/ Also, even the first generation iPod Shuffle supported AIFF. See: http://www.testfreaks.co.uk/mp3-players/apple-ipod-shuffle-1st-generation/
Created attachment 35469 [details] Adds support for AIFF.
Copying the patch inline: Index: src/amarok/src/collection/ipodcollection/handler/IpodHandler.cpp =================================================================== --- src/amarok/src/collection/ipodcollection/handler/IpodHandler.cpp (revision 999501) +++ src/amarok/src/collection/ipodcollection/handler/IpodHandler.cpp (working copy) @@ -902,6 +902,7 @@ DEBUG_BLOCK // findPathToCopy( srcTrack ); KUrl srcurl = KUrl::fromPath( srcTrack->playableUrl().path() ); + debug() << "Copying " << srcTrack << " to " << destTrack; m_trackscopying[ srcurl ] = srcTrack; return kioCopyTrack( srcurl, m_trackdesturl[ srcTrack ] ); } @@ -1478,6 +1479,10 @@ { m_itdbtrackhash[ track ]->filetype = g_strdup( "wav" ); } + else if( type=="aiff" ) + { + m_itdbtrackhash[ track ]->filetype = g_strdup( "aiff" ); + } else if(type=="mp3" || type=="mpeg") { m_itdbtrackhash[ track ]->filetype = g_strdup( "mpeg" ); @@ -1754,8 +1759,9 @@ { QStringList formats; - formats << "mp3" << "aac" << "mp4" << "m4a"; + formats << "mp3" << "aac" << "mp4" << "m4a" << "aiff"; + return formats; }
Nice, thanks for the patch, will try tonight after work if I can find an aiff lying around. If there's other formats left, don't feel shy about adding them in either.
Alejandro, any news about this patch?
Implemented locally, I'll push to git-mainline soon.