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
Mamarok
Manager
Posts
6071
Karma
16
OS
You just type 'locale' in a konsole, and it should give you an output similar to this:

LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

If you want to change these settings, you can do this either with the locale command in the konsole ('locale --help' tells you how) or in the KDE System Settings -> Locale.

Make sure you only use either UTF-8 or UTF-16, the old ISO encoding system is not recommended and rather obsolete, even MS Windows switched to UTF 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 ...
User avatar
iceclow
Registered Member
Posts
19
Karma
0
OS
Ok thanks,

I will try it when I get home.
User avatar
iceclow
Registered Member
Posts
19
Karma
0
OS
Here is the result of my locale settings, as you can see all are set to use utf8 enconding:


LANG=es_ES.utf8
LANGUAGE=es_ES
LC_CTYPE="es_ES.utf8"
LC_NUMERIC="es_ES.utf8"
LC_TIME="es_ES.utf8"
LC_COLLATE="es_ES.utf8"
LC_MONETARY="es_ES.utf8"
LC_MESSAGES="es_ES.utf8"
LC_PAPER="es_ES.utf8"
LC_NAME="es_ES.utf8"
LC_ADDRESS="es_ES.utf8"
LC_TELEPHONE="es_ES.utf8"
LC_MEASUREMENT="es_ES.utf8"
LC_IDENTIFICATION="es_ES.utf8"
LC_ALL=

Thanks for the help.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Did you set the encoding for the id3 tags to UTF as well? See my previous comment.


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
I did install Kid3, latest version 1.5.0, for my distro. I configured all the settings in preferences to be in UTF-8 or UTF-16, selected all the tracks and clicked save. Amarok still doesn't find more than one track after re-scanning.

Is this the correct way to convert all the tags to UTF or I'm supossed to do something else?

Thanks a lot
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
I don't think you can do much more unfortunately.

Just to make sure: did you try to set the collection folder to a local folder, not to a dropbox folder?


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
Yes I tried, that didn't work. Also I have done all the above in a local folder, only to be sure that nothing strange is involved here.

I have to mention that every other player that I tried works flawlessly with these files, amarok is the only one that is in trouble.

Maybe someone with a development build of amarok wants to try it with some of my files, just to see where the problem is. I can share them from the dropbox folder.

I'm dissapointed that I have to stay with Banshee, having all other program replaced by the great KDE stuff. :-(

Thanks for the help.
Kash
Registered Member
Posts
21
Karma
0
OS
Try to run collection scanner with -s parameter, It will force scanner restart if It crashed. Does It help to find more then 1 track?
User avatar
iceclow
Registered Member
Posts
19
Karma
0
OS
Do you refer to the amarokcollectionscanner command line utility?

I tried that with the -s parameter, here is the output:

Code: Select all
</scanner>


However I don't see the relation here. As I mentioned on the first post the command: amarokcolecctionscanner -r outputs a full xml with all my collection tracks. It's not the case when done from the Amarok interface.

The command line utility and Amarok seem to be unrelated.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Those are the same, it just seems our collection is not written to the database. Did you check the permissions of your $HOME/.kde/share/apps/amarok/mysqle/ folder?


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
Permissions in ~/.kde/share/apps/amarok/mysqle folder are:

Code: Select all
drwxr-xr-x


There is another folder inside mysql, named amarok, that has the same permissions.

I can create folders and files in both folders.

Thanks,
User avatar
iceclow
Registered Member
Posts
19
Karma
0
OS
I tried also setting write permission to group and others, like this:

drwxrwxrwx

and didn't work.

Also, why is the amarokcolecctionscanner leaving two files in my ~ directory:
collection_scan.files and collection_scan.log ?
Kash
Registered Member
Posts
21
Karma
0
OS
iceclow wrote:Do you refer to the amarokcollectionscanner command line utility?

I tried that with the -s parameter, here is the output:

Code: Select all
</scanner>


However I don't see the relation here. As I mentioned on the first post the command: amarokcolecctionscanner -r outputs a full xml with all my collection tracks. It's not the case when done from the Amarok interface.

The command line utility and Amarok seem to be unrelated.

Did you compiled It from the sources? If so could you check It with this http://pastebin.com/TjDjVqQk patch.
User avatar
iceclow
Registered Member
Posts
19
Karma
0
OS
No sorry, is the standard .deb that comes in Kubuntu 10.10 repositories
Kash
Registered Member
Posts
21
Karma
0
OS
iceclow wrote:No sorry, is the standard .deb that comes in Kubuntu 10.10 repositories

Oh, then this problem could be already resolved in git repo, since there were a lot of fixes in last few weeks.
Could you share somehow one of this file? I'd like to look It closer.


Bookmarks



Who is online

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