This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Amarok sometimes skips files when scanning recursively

Tags: None
(comma "," separated)
hooverphonic
Registered Member
Posts
19
Karma
0
OS
Hey there,

back after CAUTIOUS upgrade (read: not too much, but still trying to stay on the stable shore) I have Amarok 2.3.1 up and running.

Now there is something I've encountered just by pure accident:

Amarok may skip files.
Er no, I'm not talking about Unicode stuff. I deliberately kept everything Unicode out of my test folder just to eliminate possible other causes.

Hierarchy (though simplified) is about: (NTFS-formatted drive, need to access with both *nix and Windows)

Code: Select all
 /media/sdX/...

 - MP3_A
 - - folder1
 - - - folders11_14
 - - folder2
 - - - folders21_24
 - - folder3
 - - - folders31_34
 - - FOLDER4
 - - - folders41_46
 - - folder5
 - - - folders51_54


Folder MP3_A is filled up with rar and zip archives. I know amarok does not load them, and mind you, I did not open this thread to complain about it either! :)

That's because it's rather the "delta" that interests me. It's about 40 non-archive files, kept there for reasons of coherence, with the great part residing in FOLDER4 and its subfolders.

I just used the "Add Media" option in the Playlist menu to add the stuff.

Now my findings:

-> Adding just MP3_A with all subfolders (select 'MP3_A', press OK) will output 6 files. Repeated 2 times, same thing.
-> Navigating into MP3_A and adding every /[FOLDER|folder]?/ using the mouse "block select mode" (double click 'MP3_A' to go inside, mark all, press OK) will give me the missing 34 files.

Is that a known issue?
User avatar
google01103
Manager
Posts
6668
Karma
25
2.3.1 is old (2.5 is current), could you update and retest


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
The database and scanner have been completely reworked since that version, that is one of the main reasons we do not support these versions anymore, sorry. If you really want support make sure you have at least Amarok 2.4.x


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
hooverphonic
Registered Member
Posts
19
Karma
0
OS
So 2.4.x?
Thanks Mamarok, that is a deal. :D

2.5.0 was out of the question (too many in-depth updates with questionable outcome) so now you know why I was reluctant to reply to the post preceding yours ;)
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
I don't really know what "questionable outcome" you are talking about, but just because Debian stable ships outdated software doesn't mean the updates would break anything. For the record: pretty much all other distributions do ship KDE 4.8 and Amarok 2.5 now.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
hooverphonic
Registered Member
Posts
19
Karma
0
OS
Update time!

Everything worked well when I removed a CUE/MP3 pair from the folder with the zips. That was the actual reason. These simply must have confused the hell out of the whole Amarok engine.

The logs told me a bunch about that too:

Code: Select all
amarok(10300)/kio (KIOJob) KIO::TransferJob::slotMimetype: mimetype() emitted again, or after sending first data!; job URL = KUrl("http://userserve-ak.last.fm/serve/_/123456789/insert_your_fav_cover_here.jpg")


This went in a (seemingly) infinite loop, and in the end, I had 10 times the same playlist of the same (10-track) CD.
After manually deleting 90 out of the 100 entries, the nuisant loop stopped and the logs went "quiet".

Just for the record:
- I had ALL services disabled ("Internet Services" tab in the settings, including "last.fm")
- I had NOT checked the box "Automatically download covers"

and YET it always tried to retrieve the cover JPEG a dozen times.
No idea why it does/did that, nor how to stop that from happening for good.
(From user's side, I must assume it is (or once was) hardcoded)
It only (and really only) happens with all-in-one mp3/flac/ape files that are accompanied by a .cue file. These usually come in pairs.


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, sethaaaa, Sogou [Bot], Yahoo [Bot]