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

[Solved] not scanning collection at all

Tags: None
(comma "," separated)
wiggie
Registered Member
Posts
8
Karma
0
Hi,

I've had quite a few problems with amarok 2+, and I actually gave up on the program. Alas, I have found no other alternative, so I have to come back to amarok.

The last problem that turned me off was the fact that I cannot scan my collection. Absolutely no songs are available in amarok from my collection.

I started amarok in debug mode and this is what it says:

Code: Select all
amarok:    ERROR: Database temporary table setup did not complete.  This is probably a result of no directories being scanned.


I though this issue has something to do with some sort of database which is corrupted somewhere, so I deleted the amarok folder in .kde/shar/apps/, .kde/shar/apps/ and usr/share/kde4/apps. This did nothing.

Any ideas?

Oh, and and when I start amarok and go into the settings concerning my collection, the checkmark is set to the right folder, although it is dashed. The Music folder also has a dashed checkmark but inside that folder, no other folder is marked with a dashed or solid checkmark. When I try to import (copy or move files to collection) the collection directory is a folder which does not exist anymore, inside my Music folder.

Last edited by wiggie on Mon Jan 04, 2010 7:23 pm, edited 1 time in total.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: not scanning collection at all

Sat Dec 26, 2009 2:48 pm
Could you maybe start by telling us which exact Amarok version you are using, which KDE version and which distribution you have?

Also, where is your collection located? On a local mounted disk, an ntfs share, a remote NAS?

Form your description it sounds as if the collection location was not accessible.


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 ...
wiggie
Registered Member
Posts
8
Karma
0

Re: not scanning collection at all

Sat Dec 26, 2009 6:56 pm
certainly:

using amarok 2.2.0, kde 4.3.2, ubuntu (not kubuntu). My collection is in my home directory.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: not scanning collection at all

Sun Dec 27, 2009 7:18 am
wiggie wrote:certainly:

using amarok 2.2.0, kde 4.3.2, ubuntu (not kubuntu). My collection is in my home directory.

Please upgrade to 2.2.1 (or even better: 2.2.2-Beta), they come with many bug fixes:

http://www.kubuntu.org/news/amarok-2.2.1
http://www.kubuntu.org/news/kde-sc-4.4-beta-2


--
Mark Kretschmann - Amarok Developer
wiggie
Registered Member
Posts
8
Karma
0

Re: not scanning collection at all

Tue Dec 29, 2009 9:26 am
thanks markey,

i have done that. I get the same problems as above. if i use an external db such as mysql, but i get the same result. if i checkmark the music folder, click apply and ok, it won't remember that i did it, when i go back to the settings.

in debug mode i get this message when either mysql or msyqle is used:
Code: Select all
amarok:   BEGIN: virtual OSDWidget::~OSDWidget()
amarok:   END__: virtual OSDWidget::~OSDWidget() - Took 0.00011s
amarok:    Success. Committing result to database.
amarok:    Database temporary table setup did not complete due to no directories needing to be processed.
amarok:   BEGIN: virtual ScanResultProcessor::~ScanResultProcessor()
amarok:   END__: virtual ScanResultProcessor::~ScanResultProcessor() - Took 4.1e-05s
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: not scanning collection at all

Mon Jan 04, 2010 4:29 pm
wiggie wrote:thanks markey,

i have done that. I get the same problems as above. if i use an external db such as mysql, but i get the same result. if i checkmark the music folder, click apply and ok, it won't remember that i did it, when i go back to the settings.

in debug mode i get this message when either mysql or msyqle is used:
Code: Select all
amarok:   BEGIN: virtual OSDWidget::~OSDWidget()
amarok:   END__: virtual OSDWidget::~OSDWidget() - Took 0.00011s
amarok:    Success. Committing result to database.
amarok:    Database temporary table setup did not complete due to no directories needing to be processed.
amarok:   BEGIN: virtual ScanResultProcessor::~ScanResultProcessor()
amarok:   END__: virtual ScanResultProcessor::~ScanResultProcessor() - Took 4.1e-05s

Try this, while Amarok is not running, and use the internal DB (it's actually MySQL Embedded):

Code: Select all
mv ~/.kde/share/apps/amarok/mysqle ~/.kde/share/apps/amarok/mysqle-backup


--
Mark Kretschmann - Amarok Developer
wiggie
Registered Member
Posts
8
Karma
0
Hey Markey,

thanks for the reply. I have tried it, but it wasn't successful. What I did try, however, was to uncheck "Scan folders recursively" and "Watch folders for chagne" in the Settings / Collection tab. I then hit Apply and voila, magic! It sacnned only the files in my Music folder. After that I checked "Scan folders recursively" and it scanned all my folders in my Music folder.

Now my collection is back on track.

Perhaps there was a problem with folders being checked that were deleted manually outside of amarok.

Thanks for your help, Mamarok and Markey.

Cheerio


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]