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

Amarok 2.3.2 Music collection only finds one song

Tags: None
(comma "," separated)
User avatar
iceclow
Registered Member
Posts
19
Karma
0
OS
I have searched the forums for this, and tried the proposed solutions for similiar problems, without luck.

I have recently installed KDE 4.5 on Kubuntu and Amarok 2.3.2 is not discovering my music files. Only one track gets discovered. If I delete that track from the music folder, some more are discovered however.

Runing Amarok with -d option displays no errors. I have checked that I have all the needed mysql dependencies and so on.

However running:
Code: Select all
amarokcollectionscanner -r ~/Dropbox/Música/

gives me a full xml output with all my music files on the console.

I really like kde, and want to use Amarok as my default music player. However this is preventing me from removing banshee for now.

Thanks in advance,
User avatar
google01103
Manager
Posts
6668
Karma
25
is there anything different between the one playable file and the non-playables? rights/ownership? codec? location?


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
iceclow
Registered Member
Posts
19
Karma
0
OS
I apologize for the delay, I was having trouble login back to the forums.

Maybe I didn't explain very well, here is the situation:

- all files are playable if done from the file browser pane
- my library is composed of mp3 and m4a files
- scanning colection from amarok completes immediately with only one file added to collection, that file is in mp3 format
- removing the file from the music folder makes amarok add more results after rescaning the collection, those files are in mp3 and m4a formats
- however only 20 files are added, and again the scanning did complete almost immediately
- adding the first file back to the library makes amarok forgot all other files after a full rescan and shown only that one


Maybe is something in the logs that I cannot see? The debg output seems to be normal.


Thanks!
User avatar
google01103
Manager
Posts
6668
Karma
25
only thought I have is to remove/rename the Amarok apps directory and config files and try again (or try as a different user)

config files = ~/.kde4/share/config/amarok*
apps directory = ~/.kde4/share/apps/amarok
note: some distros use ~/.kde


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
iceclow
Registered Member
Posts
19
Karma
0
OS
Thanks for your help, I will try it when I get home and report back
User avatar
iceclow
Registered Member
Posts
19
Karma
0
OS
I deleted specified files and restarted Amarok. After setting the collection folder, and rescaning the collection, the same only track gets added.

This is very dissapointing. Any other idea to track this behaviour?

I have to say that also Amarok did freeze two times after scanning the collectiong, but not the first time.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please start Amarok using the "--debug" option in a terminal, and paste the output here.

Code: Select all
amarok --debug


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS
Your collection is in your dropbox folder. Are these files physically there or in the cloud? Remember, that files are only loaded when opened. Therefore amarok will only find the tracks which are really on your computer. Test it by creating a temporary folder, copy over some tracks and scan it with amarok.

m0nk


If men could get pregnant, abortion would be a sacrament.
User avatar
iceclow
Registered Member
Posts
19
Karma
0
OS
Your collection is in your dropbox folder. Are these files physically there or in the cloud? Remember, that files are only loaded when opened. Therefore amarok will only find the tracks which are really on your computer. Test it by creating a temporary folder, copy over some tracks and scan it with amarok.


I think that is not how Dropbox works, Dropbox does a full sync with the cloud and all the files are downloaded to my computer, so they are phisically there. I can safely remove Dropbox and all the files are going to stay downloaded on my computer.

b
y bcooksley » Tue Nov 09, 2010 2:41 am
Please start Amarok using the "--debug" option in a terminal, and paste the output here...


Here http://db.tt/I1W3L0a is the log file of a clean run of amarok, without config files, and scanning the music folder. I hope you see something I can't

Thanks all for the help!
User avatar
google01103
Manager
Posts
6668
Karma
25
can you copy a few albums from ~/Dropbox/Música/ into ~/music-test and then reset the collection scanner to only scan ~/music-test? no idea why it should matter but it should be quick and easy test


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
iceclow
Registered Member
Posts
19
Karma
0
OS
I've moved some files to another folder and set the scanner to scan only that folder, same results.

However I think I've found what can be the root cause of the problem. If I remove one concrete file out of the newly created music folder, Amarok is able to find all the tracks in that folder. If I bring it back, Amarok displays only one track (not that one).

Unfurtunately, it seems to be that I've tones of those files in my original library, so removing that one makes Amarok add tracks to the collection until another one causes the same problem again.

I've tried spotting the difference between that file and another one in the same album, but i couldn't find one. Both files are m4a (MPEG AAC Audio), both have the same metadata and 44100 Hz rate, also both files are playabe in any other player that I've tried (banshee, Juk, VLC)

Any ideas?
User avatar
google01103
Manager
Posts
6668
Karma
25
When you said "all files are playable if done from the file browser pane" you meant Amarok's file browser?

you said they are playable in other players (banshee, Juk) but are those players able to build a collection with them?

do the problematic tracks have their tags filled in?

using mediainfo or vlc can you compare the codec and tag info between 2 tracks from the same album - one that scans and one that doesn't?


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
iceclow
Registered Member
Posts
19
Karma
0
OS
Yes both files are playable inside Amarok from the browser pane.

Banshee, wich is for now my main music player, can build a collection with those tracks (and all the others) without problems.

Using VLC I have compared a bad one vs good one. Both have the same tag information, the only diference is the track name (Communication vs I'm Losing Control). Also the file name scheme is identical for both tracks (TrackNumber. TrackName.m4a).

Here is the codec info window in VLC for both files:
- Kind: Audio
- Codec: MPEG AAC Audio (mp4a)
- Channels: Stereo
- Sampling rate: 44100 Hz

Maybe if I upload the file that is causing problems, would you be so kind of trying to rescan within your environment? Maybe this way we could confirm if Amarok is having trouble with something weird in that file.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
You could check the LOCALE settings? There were problems with locales not set to UTF. Since one of the titles has a ' in it, it could be the root of the problem.
Also please make sure your id3 tags are encoded with UTF as well, easytag or kid3 can modify that in one run.


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 ...
User avatar
iceclow
Registered Member
Posts
19
Karma
0
OS
How do I check the LOCALE setting?

Thanks for helping


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]