https://bugs.kde.org/show_bug.cgi?id=261926 Summary: amarok collection scan does not follow symlinks Product: amarok Version: 2.3.1 Platform: Debian unstable OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Collection AssignedTo: amarok-bugs-dist@kde.org ReportedBy: kde@choward.ca CC: mitchell@kde.org, ralf.engels@nokia.com Version: 2.3.1 (using KDE 4.4.5) OS: Linux I just put my music in git-annex (using SHA1 backend). This system works by moving all actual files to .git/annex/objects/SHA1: and replacing the file with a symlink to the above. For example: 13:34:47 [1011]; pwd /home/craig/local/mp3/2005 Walk The Line 19:26:29 [1012]; ls -l total 0 lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 01 - Get Rhythm.mp3 -> ../.git/annex/objects/SHA1:f09f515661af71e6dd4d5e64eaecf107e479fb09/SHA1:f09f515661af71e6dd4d5e64eaecf107e479fb09 lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 02 - I Walk The Line.mp3 -> ../.git/annex/objects/SHA1:5267c91953fcf1bc03f547ff29d27b300c2b7bf8/SHA1:5267c91953fcf1bc03f547ff29d27b300c2b7bf8 lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 03 - Wildwood Flower.mp3 -> ../.git/annex/objects/SHA1:9841f25071e32d20d38ef5aa39b439d2d34aec96/SHA1:9841f25071e32d20d38ef5aa39b439d2d34aec96 lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 04 - Lewis Boogie.mp3 -> ../.git/annex/objects/SHA1:e83352b482ddacc27e506b9d56c817ad0d7640cf/SHA1:e83352b482ddacc27e506b9d56c817ad0d7640cf lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 05 - Ring Of Fire.mp3 -> ../.git/annex/objects/SHA1:194ae88f3a578658a543df7cb4a951f549031de0/SHA1:194ae88f3a578658a543df7cb4a951f549031de0 lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 06 - You're My Baby.mp3 -> ../.git/annex/objects/SHA1:8bcdf003509f76be6f12fffe2185dbe5262a6d34/SHA1:8bcdf003509f76be6f12fffe2185dbe5262a6d34 lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 07 - Cry Cry Cry.mp3 -> ../.git/annex/objects/SHA1:966f7b44f17cfedddca0a83d76826051b8c82171/SHA1:966f7b44f17cfedddca0a83d76826051b8c82171 lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 08 - Folsom Prison Blues.mp3 -> ../.git/annex/objects/SHA1:678a3bfd703da7fee7f972b265cba44877c8bf96/SHA1:678a3bfd703da7fee7f972b265cba44877c8bf96 lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 09 - That's All Right.mp3 -> ../.git/annex/objects/SHA1:1d82e70e1bb8cfcab11c7e62eb4f671ebcd92124/SHA1:1d82e70e1bb8cfcab11c7e62eb4f671ebcd92124 lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 10 - Juke Box Blues.mp3 -> ../.git/annex/objects/SHA1:8249f7986977e18692afabab5488feb2bd623d0c/SHA1:8249f7986977e18692afabab5488feb2bd623d0c lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 11 - It Ain't Me Babe.mp3 -> ../.git/annex/objects/SHA1:89981b963fcd98eb010e891ec5e4c4d07f19ef88/SHA1:89981b963fcd98eb010e891ec5e4c4d07f19ef88 lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 12 - Home Of The Blues.mp3 -> ../.git/annex/objects/SHA1:f64cb204dc9040efae16890f3589f9fc2ada7933/SHA1:f64cb204dc9040efae16890f3589f9fc2ada7933 lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 13 - Milk Cow Blues.mp3 -> ../.git/annex/objects/SHA1:02195b107e803c822b6378d9777a6a99e14206e5/SHA1:02195b107e803c822b6378d9777a6a99e14206e5 lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 14 - I'm A Long Way From Home.mp3 -> ../.git/annex/objects/SHA1:3f017ac3157eecddd5dde885eb51922be08d97e0/SHA1:3f017ac3157eecddd5dde885eb51922be08d97e0 lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 15 - Cocaine Blues.mp3 -> ../.git/annex/objects/SHA1:a7971bf3dfec21f7eeb523b7ed5efe60dd5e664e/SHA1:a7971bf3dfec21f7eeb523b7ed5efe60dd5e664e lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 16 - Jackson.mp3 -> ../.git/annex/objects/SHA1:aa842910bb7d3eb1dc823b53e318b4a8c1e6fe39/SHA1:aa842910bb7d3eb1dc823b53e318b4a8c1e6fe39 lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 2005 Walk The Line.txt -> ../.git/annex/objects/SHA1:93f4de8f77792811c102c4cc4f200aebdaa40f8b/SHA1:93f4de8f77792811c102c4cc4f200aebdaa40f8b lrwxrwxrwx 1 craig craig 113 Dec 25 10:44 2005WTL.jpg -> ../.git/annex/objects/SHA1:1c543478553fb50bb2057338c20bfa144b30e969/SHA1:1c543478553fb50bb2057338c20bfa144b30e969 The file the link points to is read-only: 19:26:31 [1013]; stat 01\ -\ Get\ Rhythm.mp3 File: `01 - Get Rhythm.mp3' -> `../.git/annex/objects/SHA1:f09f515661af71e6dd4d5e64eaecf107e479fb09/SHA1:f09f515661af71e6dd4d5e64eaecf107e479fb09' Size: 113 Blocks: 0 IO Block: 4096 symbolic link Device: fe02h/65026d Inode: 3846251 Links: 1 Access: (0777/lrwxrwxrwx) Uid: ( 1000/ craig) Gid: ( 1000/ craig) Access: 2010-12-25 10:44:18.000000000 -0800 Modify: 2010-12-25 10:44:18.000000000 -0800 Change: 2010-12-25 10:44:18.000000000 -0800 19:27:12 [1014]; stat -L 01\ -\ Get\ Rhythm.mp3 File: `01 - Get Rhythm.mp3' Size: 2351421 Blocks: 4604 IO Block: 4096 regular file Device: fe02h/65026d Inode: 2883333 Links: 1 Access: (0444/-r--r--r--) Uid: ( 1000/ craig) Gid: ( 1000/ craig) Access: 2006-02-03 20:16:04.000000000 -0800 Modify: 2006-02-03 20:16:04.000000000 -0800 Change: 2010-12-25 10:44:18.000000000 -0800 Now that all my files are symlinks to read-only files, my amarok collection is now empty. I can play the files through the symlinks fine in Juk, so there's nothing wrong with the files themselves. Reproducible: Always Steps to Reproduce: Setup a collection where the music files are actually symlinks to read-only files. Rebuild the collection and see that it's empty. Actual Results: The collection is empty. Expected Results: The collection should treat each symlink as the file that is being pointed to and populate the collection. OS: Linux (i686) release 2.6.32-5-686 Compiler: cc -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Amarok-bugs-dist mailing list Amarok-bugs-dist@kde.org https://mail.kde.org/mailman/listinfo/amarok-bugs-dist