Syncing of amarok config directory

Matěj Laitl matej at laitl.cz
Wed Nov 26 10:36:19 UTC 2014


Hi,
this seems due to "Dynamic collection" feature of Amarok that saves
collection folders based on actual underlying media (such as HDD
uuids). I recommend you try with Dynamic Collection disabled, see:
https://community.kde.org/Amarok/Development/Dynamic_Collection

WRT syncing: the next Amarok release will contain statistics syncing
feature that may help you do the syncing differently, in more
"correct" way, see http://konradzemek.com/

Regards,
      Matěj

On Wed, Nov 26, 2014 at 9:25 AM, Florian Lindner <mailinglists at xgm.de> wrote:
> Hello,
>
> I use git-annex (https://git-annex.branchable.com) to sync my music
> collection. Now I also want to sync my amarok configuration.
>
> On my home computer there is ~/Musik/Alben, ~/Musik/FLAC with music files,
> and ~/Musik/Amarok which contains ~/.kde4/share/config/amarok* and
> ~/.kde4/share/apps/amarok/. The files/dirs in ~/.kde4 are symlinked there.
>
> On my work computer ~/Musik itself is symlinked to a mount point. The files
> in .kde4 are also symlinked to ~/Musik/Amarok, like on my home machine.
>
> I sync the entire content of ~/Musik (musik and configuration).
>
> When syncing from home to work (or the other way around) and launching
> amarok afterwards it seems to have forgotten the entire collection including
> the setting for collection folders. After setting collection folders again,
> doing a complete rescan and restart amarok, everything is back in place,
> including information that was added by the sync.
>
> Conclusion is that syncing this way works perfectly, but always involves a
> reset of collection folders and a complete rescan.
>
> All path (like $HOME) are equal, so are amarok 2.8.0 versions on Arch.
>
> Why is that? Is there any way to omit that?
>
> I have diffed amarokrc, resulting in
>
> [Collection Folders]
> 68=./florian/Musik/Alben,./florian/Musik/FLAC,./florian/Musik/Fun,./florian/Musik/Lieder,./florian/Musik/gekauft
> 70=./home/florian/Musik/Alben,./home/florian/Musik/FLAC,./home/florian/Musik/Fun,./home/florian/Musik/Lieder,./home/florian/Musik/gekauft
>
> The line beginning 70 was added by my work computer. Why are they using
> different base directories? (curiosity: what does this number means?)
>
> But after two syncs the amarokrc does not change anymore and the collection
> folders do not need to be set again. But a rescan still needs to take place.
> Maybe due to the different base dir?
>
> Thanks,
>
> Florian
>
> _______________________________________________
> Amarok mailing list
> Amarok at kde.org
> https://mail.kde.org/mailman/listinfo/amarok


More information about the Amarok mailing list