Amarok guesses an album from the track's filepath if a track has no album-tag
Steps to Reproduce:
1. Have files assorted in folders with year and without album tag
2. Add a new collection to amarok
3. Look at the local collection, e.g. with First-Level Album
Amarok adds the last folder from the filepath as Album for the track in it's collection
Amarok should leave the Album blank in it's collection
This does not happen in Amarok 2.7 and must be introduced later.
Here are typical examples where Amarok guesses the album at import although it was never asked to:
/home/user/Musik/FLAC/Pop/1970/ -> All files within this folder get "1970" as album
/home/user/Musik/Acoustic/ -> All files get "Acoustic" as album
/home/user/Musik/Oldies/60s/ -> All files get "60s" as album
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:
Author: Ralf Engels <firstname.lastname@example.org>
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() :
...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.