Summary: | Amarok guesses album from file path for tracks without album-tag at import | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Mathias Dietrich <dietrichmathias> |
Component: | Collections/Local | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | matej, ralf-engels, shaddowy2 |
Priority: | NOR | ||
Version: | 2.7-git | ||
Target Milestone: | 2.8 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Mathias Dietrich
2013-07-10 09:33:06 UTC
Just to be 100% sure: you did check that there were indeed no Album tags with another tool? Did you try reproducing this, e.g remove the Album tag with kid3 since you don't want it, then reopening Amarok and check there was indeed a tag written? FWIW: I can't reproduce this here at all, using Amarok v2.7.90-23-g2180541 I tried again, and there is a display of an album tag, but the tag is not actually written. Doing a full collection rescan shows the tags correctly, so this is the "good old caching bug" raising its head again *sigh* Yes, that was what I saw when I tried Amarok-Git, but I couldn't describe the problem properly on #irc :) Not a regression, just an old tenacious bug that is very hard to solve. related to bug 262504 This is not a bug, but a feature, since: commit 2c45d97ad5083dd78675da9357e73241f4a28261 Author: Ralf Engels <ralf.engels@nokia.com> Date: Fri Nov 26 18:55:17 2010 +0100 Fix CollectionScanner identify compilation problems To quote the part of the code: // use the directory name as album name QString fallbackAlbumName = ( dirAlbumNames.isEmpty() ? QDir( dir->path() ).dirName() : QString() ); ...so almost 3 years old. The behaviour is not set in stone, but the heuristics look sane: "if *no* track in the directory has album set, assume the directory name is album name". Changing the behaviour would need to be proposed & discussed with all developers on amarok-devel mailing list. AFAIK this behavior is not 3 years old. I can confirm that this heuristic is used running Amarok-git but definetaly not in Amarok 2.7.1 and before. To my mind this is not a sane behavior. Why would someone, who removes the album-tag from a song, want a heuristic album, guessed by the path directories. I will propose this at amarok-devel, this needs dicussion. |