Bug 340973 - Make it easy to move database
Summary: Make it easy to move database
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Collections/Local (show other bugs)
Version: 2.8.0
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: 2.9
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-14 23:46 UTC by Alex Dănilă
Modified: 2024-04-30 09:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Dănilă 2014-11-14 23:46:01 UTC
Moving collection between computers is not straightforward. I copied:
- all music at the exact same paths
- ~/.kde/share/apps/amarok/*
- ~/.kde/share/config/amarok*

However this is not enough. I achieved: copying layout + most or all settings + playlist contents; but the collection contained 0 tracks. After rescaning there were no ratings or "statistics".

I find that loosing ratings (+ play statistics + tags + lyrics) at each computer change kind of negates the usefullness of using the feature.

Reproducible: Always


Actual Results:  
Collection is not transferable by means known to mortals.

Expected Results:  
Collection should transfer easily without having database knowledge or who knows what other skills.
Comment 1 Matěj Laitl 2014-11-15 10:31:43 UTC
This should be (partially or even fully) resolved by Konrad's GSoC 2013 (to be included in next Amarok release), see http://konradzemek.com/
Comment 2 Myriam Schweingruber 2014-11-15 10:32:54 UTC
Changing the description, as it is about moving the database from one computer to another, not about actually moving the collection (physical files).
Comment 3 Ralf Engels 2014-11-16 13:44:12 UTC
If you never want to loose the rating again, just go to "settings/metadata" and switch on the syncing. This would store the metadata in the file. Storing rating and playcounts is even somewhat compatible because there is a standard for it.
Comment 4 Alex Dănilă 2014-11-17 20:11:42 UTC
Update: actually I think the method of copying  database files has worked. I started Amarok today and can see that many many songs have ratings, tags and play counts. They see correct.
Comment 5 Tuomas Nurmi 2024-04-30 09:22:35 UTC
Closing as based on the last comment, this might have actually worked back 10 years ago. If everything's in right place on first start / first collection update / rescan, the copy process probably works. (This is somewhat sensitive, as the tracks not being in collection for during a scan can easily lead them to be deemed removed, but writing stats to files is a possibility. Additionally, some related bugs that might have caused loss of statistics if the paths were not exactly the same have been fixed since.)