Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Genres not reset #1230

Open
theking2 opened this issue Nov 25, 2024 · 1 comment
Open

Genres not reset #1230

theking2 opened this issue Nov 25, 2024 · 1 comment

Comments

@theking2
Copy link

After a "Clear library and rescan everything" genres are not cleared.

  1. Select "Clear library and rescan everything" and click "Rescan
  2. Wait for the process to finalize
  3. The Genres list contains empty genres

The content of the scanner.log file:

[24-11-25 08:56:59.9367] main::main (213) Starting Lyrion Music Server scanner (v9.0.0, 1732014181, Wed Nov 20 02:59:14 UTC 2024) perl 5.036000
[24-11-25 08:57:37.9688] Slim::Music::Import::runImporter (581) Starting Slim::Media::MediaFolderScan scan
[24-11-25 08:57:37.9695] Slim::Utils::Scanner::Local::rescan (180) Discovering audio files in /music
[24-11-25 08:57:45.9524] Slim::Utils::Scanner::Local::__ANON__ (192) Start processing found tracks
[24-11-25 08:57:45.9531] Slim::Utils::Scanner::Local::__ANON__ (200) Connect do DB
[24-11-25 08:57:45.9535] Slim::Utils::Scanner::Local::__ANON__ (203) Get latest ID
[24-11-25 08:57:45.9541] Slim::Utils::Scanner::Local::__ANON__ (228) Build temporary table for deleted tracks
[24-11-25 08:57:45.9551] Slim::Utils::Scanner::Local::__ANON__ (249) Build temporary table for new tracks
[24-11-25 08:57:45.9984] Slim::Utils::Scanner::Local::__ANON__ (269) Build temporary table for changed tracks
[24-11-25 08:57:46.0126] Slim::Utils::Scanner::Local::__ANON__ (292) Get deleted tracks count
[24-11-25 08:57:46.0131] Slim::Utils::Scanner::Local::__ANON__ (299) Get new tracks count
[24-11-25 08:57:46.0138] Slim::Utils::Scanner::Local::__ANON__ (304) Get changed tracks count
[24-11-25 08:57:46.0142] Slim::Utils::Scanner::Local::deleteTracks (421) Removing deleted audio files (0)
[24-11-25 08:57:46.0146] Slim::Utils::Scanner::Local::updateTracks (588) Rescanning changed audio files (0)
[24-11-25 08:57:46.0150] Slim::Utils::Scanner::Local::addTracks (504) Scanning new audio files (13430)
[24-11-25 09:06:11.4151] Slim::Music::Import::endImporter (714) Completed Slim::Media::MediaFolderScan Scan in 513.446 seconds.
[24-11-25 09:06:11.4162] Slim::Music::Import::runImporter (581) Starting Slim::Plugin::ExtendedBrowseModes::Libraries scan
[24-11-25 09:06:11.4167] Slim::Music::Import::endImporter (714) Completed Slim::Plugin::ExtendedBrowseModes::Libraries Scan in 0.001 seconds.
[24-11-25 09:06:11.4174] Slim::Music::Import::runImporter (581) Starting Slim::Plugin::FullTextSearch::Plugin scan
[24-11-25 09:06:11.4187] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (513) Starting fulltext index build
[24-11-25 09:06:11.4192] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (521) Initialize fulltext table
[24-11-25 09:06:11.4231] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (534) Create fulltext index for tracks
[24-11-25 09:06:32.8452] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (544) Create fulltext index for albums
[24-11-25 09:06:40.3096] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (553) Create fulltext index for contributors
[24-11-25 09:06:40.5573] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (563) Create fulltext index for works
[24-11-25 09:06:45.7869] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (572) Create fulltext index for playlists
[24-11-25 09:06:45.9642] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (587) Optimize fulltext index
[24-11-25 09:06:46.2065] Slim::Plugin::FullTextSearch::Plugin::_rebuildIndex (602) Fulltext index build done!
[24-11-25 09:06:46.2073] Slim::Music::Import::endImporter (714) Completed Slim::Plugin::FullTextSearch::Plugin Scan in 34.790 seconds.
[24-11-25 09:06:46.2619] Slim::Music::Artwork::precacheAllArtwork (658) Starting precacheArtwork for 1081 albums
[24-11-25 09:08:00.9072] Slim::Music::Artwork::__ANON__ (809) precacheArtwork finished in 74.6371159553528
[24-11-25 09:08:00.9222] Slim::Music::Import::endImporter (714) Completed precacheArtwork Scan in 74.714 seconds.
[24-11-25 09:08:01.5928] Slim::Music::Import::runScanPostProcessing (483) Starting Database optimization.
[24-11-25 09:08:10.9633] Slim::Music::Import::endImporter (714) Completed dbOptimize Scan in 9.370 seconds.
@michaelherger
Copy link
Member

A wipe & rescan deletes everything from the tables. See https://github.com/LMS-Community/slimserver/blob/public/9.0/SQL/SQLite/schema_clear.sql. If you end up with empty genres, then something else might be at play. Please check your files for where the tag might have survived. It could also be there's an album which has some tracks with that genre only, or with multiple genres, and the menu was filtering at the album level or whatever.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants