Endless "Scanning files into library: Folders"

Report bugs & feature requests for MediaMonkey for Android and learn about the newest beta build.

Moderator: Gurus

cokehearth
Posts: 65
Joined: Thu Aug 24, 2017 6:13 am

Endless "Scanning files into library: Folders"

Post by cokehearth »

Not sure if the log will actually have any relevant info, but have uploaded it anyway.

My MMA seems to be stuck: it is continuously "scanning files into the library: Folders", and it hasn't seemed to end since last night after a sync.

I've tried closing the app, but it just picks up where it left off. After cycling through the entire contents, it'll start right again at the beginning, and do the whole thing again, and then start at the beginning, repeat, etc.

The complete text is:
Scanning files into the library: Folders
3735-3964:Music/{Artist}/{Album}/{Track}

If I go to the "Folder" view, I notice the SD card/Music folder (under "Library") goes from having way over the amount of tracks on the device (for example, thinking it has over 180,000, actual number of files is about 94,000), to going back to 0 and building up to the overly-large number by the time it scans through all the folders; and then another cycle of scanning files begins, and it repeats, and so-on.

As one can imagine, it's chewing through the phone's battery as a result. This behaviour only started last night, although there has been a few times where it seems adamant to want to scan seemingly out of nowhere.

MMA - 2.0.0.1102
Samsung A54G

Log ID: AXHVKCBMDD

Thanks as always!
Primarily using: MM4 (latest update) Gold on Windows 11 (32GB RAM);
Samsung A54G 128GB/1TB MicroSD.

Library: 1875GB (254680+) files, on a Network Drive (Windows)
cokehearth
Posts: 65
Joined: Thu Aug 24, 2017 6:13 am

Re: Endless "Scanning files into library: Folders"

Post by cokehearth »

Update: My library stopped scanning the afternoon of making my last post once I arrived at my place of work! :o So it seems at the moment, my library on MMA is all good again - after doing a couple of syncs since, I'm not experiences any scanning loops. I'm wondering if - possibly - it's because I was no longer at home where my Mediamonkey Server is connected to the WiFi? But that may just be speculation!

A couple of other bugs that I've noticed, and I didn't want to span the forum with multiple topics:

Updating metadata to server (over Wifi)
I notice when uploading changed metadata (in my case, it's usually ratings, occasionally title/artists, and obviously playcounts) the updater tends to go to 100/(x amount files) and then hangs for quite a long time. Sometimes it fails, and not all of the metadata gets synced.

Double syncing (over Wifi)
When I'm doing a sync, often - but not always - after completing the sync, it will go ahead and intialise another sync right after.

Cancelling sync (over Wifi)
If I cancel the sync, particularly in the "initialising" phase, MMA tends to hang on "Terminating..." for quite a long time. BUT: if I close MMW, or Restart the Mediamonkey Service on Windows, it cancels afterwards straight away; so it seems to be related to being connected to the MMW library.

This is on the Samsung A54G; I think the bugs may be something to do with this phone, as my previous Samsung S10+ didn't tend to have these specific problems.

Hope these are useful for the continued development of the MediaMonkey app - and as always, thanks heaps for continued work! :D
Primarily using: MM4 (latest update) Gold on Windows 11 (32GB RAM);
Samsung A54G 128GB/1TB MicroSD.

Library: 1875GB (254680+) files, on a Network Drive (Windows)
deep2
Posts: 1
Joined: Wed Feb 21, 2024 2:10 am

Re: Endless "Scanning files into library: Folders"

Post by deep2 »

What could be the possible reasons behind the scanning issues in my Mediamonkey library, especially considering that the scanning problem stopped when I was no longer connected to my home WiFi where the Mediamonkey Server is located? Additionally, what could be causing the long hanging time and occasional failure when updating metadata over WiFi, the occurrence of double syncing after completing a sync, and the prolonged "Terminating..." phase when canceling a sync on my Samsung A54G? Could these issues be specific to this phone model?
Last edited by deep2 on Thu Feb 22, 2024 2:29 am, edited 1 time in total.
Lowlander
Posts: 56657
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Endless "Scanning files into library: Folders"

Post by Lowlander »

Which Build (Help > About) of MediaMonkey?
Post Reply