Rello / audioplayer

Audio Player for Nextcloud and ownCloud
https://rello.github.io/audioplayer
GNU Affero General Public License v3.0
223 stars 54 forks source link

[BUG] Number of albums multiplied by scans/user #600

Open LloydS42 opened 6 months ago

LloydS42 commented 6 months ago

Describe the bug I'm running: occ audioplayer:scan --all on my six-user system. All users have set the same record with music files. The number of albums is added per user and run:

# sudo -u apache php -f occ audioplayer:scan --all
Start scan for ***
Start processing of audio files
Audios found: 3119 <--
Duplicates found: 0
Written to library: 3119
Albums found: 262 <--
Errors: 0
Start scan for ***
Start processing of audio files
Audios found: 3119 <--
Duplicates found: 0
Written to library: 3119
Albums found: 524 <--
Errors: 0
Start scan for ***
Start processing of audio files
Audios found: 3119 <--
Duplicates found: 0
Written to library: 3119
Albums found: 786 <--
Errors: 0
Start scan for ***
Start processing of audio files
Audios found: 3119 <--
Duplicates found: 0
Written to library: 3119
Albums found: 1048 <--
Errors: 0
Start scan for ***
Start processing of audio files
Audios found: 3119 <--
Duplicates found: 0
Written to library: 3119
Albums found: 1310 <--
Errors: 0
Start scan for ***
Start processing of audio files
Audios found: 3119 <--
Duplicates found: 0
Written to library: 3119
Albums found: 1572 <--
Errors: 0

It should be the same number of audio files and albums for each user.

To Reproduce Start occ audioplayer:scan --all via console. Reproducible always.

Versions:

Nextcloud log No entries in this context.