Page 1 of 1

Artist nodes remain after remove all related tracks [#14421]

Posted: Mon Oct 02, 2017 4:07 pm
by TIV73
After removing all tracks for a given artist from the library, the artist still shows up in the Music > Artists node. To reproduce:
  • Remove all tracks from the library (or at least all tracks for an artist)
  • Run maintain Database with the options Rebuild FTS index, Optimize database and rebuild database
  • The deleted artists should now be gone from the list in Music > Artists and when opening the column browser in Music > All tracks, but all subnodes under the Music > Artists node will still be there
When trying to remove the nodes manually, a 'Please select some files for this operation' pops up, which is not possible at this point since the library doesn't contain a single track. Running Clear Database... from the Mangage Database dialog removes the nodes, but obviously involves heavy collateral damage unless you are trying to actually remove the complete library.

Edit:
I just figured out that this issue is not related to the deletion of tracks at all. Subnodes under Music > Artists just don't properly refresh, regardless if tracks are deleted or tracks with new artists are added. Forcing a reload with Running window.doReload() fixes the issue.

Re: 2078: Artist nodes remain after removing all related tra

Posted: Tue Oct 03, 2017 3:47 am
by Peke

Re: Artist nodes remain after remove all related tracks [#14

Posted: Tue Oct 03, 2017 8:41 am
by TIV73
Ah, great, I didn't know that. Sorry for the confusion!