Summary: | Store dynamic Collections in database - don't scan them on every mount | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | andre.wittmann |
Component: | Collections/Media Devices | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | CC: | aumuell, dextpol, heri+kde, jon, matej, pndiku |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
andre.wittmann
2010-04-01 16:38:22 UTC
The long term idea is to store the database of a media device on the device itself. But I have no idea when that will be ready. I, too, would love to see this feature. I'm in the same situation having most of my media on an external drive. Having to wait tens of minutes to access it each time I reconnect the drive ruins the usability of an otherwise wonderful music player. I've got 161GB, ~15.000 files, but on server (over NFS). Every time, I lost connection (for example after suspend) Amarok scans everything again - it takes about 60-90 minutes. It was worst, when I keep data base on server using MySQL... Git commit d57eedc5563b3950446257f09d439aaa3b8c21ee by Peter C. Ndikuwera. Committed on 03/03/2011 at 16:01. Pushed by pndiku into branch 'master'. Fix NFS & SMB/CIFS Remote collection BUG: 249760 CCBUG: 232976 CCBUG: 171213 CCBUG: 187692 Using Max's Mass Storage Device code as a guide, this commit returns network-based collections, shared over NFS & SMB/CIFS to the dynamic collection architecture. This should re-validate http://amarok.kde.org/wiki/Dynamic_Collection, which some people have complained to longer applies. Test it & break it! M +3 -3 src/core-impl/collections/db/sql/MountPointManager.cpp M +2 -2 src/core-impl/collections/db/sql/device/CMakeLists.txt M +14 -6 src/core-impl/collections/db/sql/device/nfs/CMakeLists.txt M +77 -30 src/core-impl/collections/db/sql/device/nfs/NfsDeviceHandler.cpp M +12 -8 src/core-impl/collections/db/sql/device/nfs/NfsDeviceHandler.h M +14 -6 src/core-impl/collections/db/sql/device/smb/CMakeLists.txt M +76 -32 src/core-impl/collections/db/sql/device/smb/SmbDeviceHandler.cpp M +11 -7 src/core-impl/collections/db/sql/device/smb/SmbDeviceHandler.h http://commits.kde.org/amarok/d57eedc5563b3950446257f09d439aaa3b8c21ee a fix for remote NFS collections so they don't get rescanned. For the user with a large external drive, what I do is I actually select the drive as part of the collection (in the "Settings|Configure Amarok|Collection" dialog). With dynamic collections, the files on this drive will be disabled whenever the USB drive is disconnected. I guess this is fixed by now, bug 293277 corrected gui strings so it should now be more clear that "Dynamic Collection" is all about Local Collection. *** This bug has been marked as a duplicate of bug 93277 *** *** This bug has been marked as a duplicate of bug 293277 *** |