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

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Artist nodes remain after remove all related tracks [#14421]

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

by TIV73 » Tue Oct 03, 2017 8:41 am

Ah, great, I didn't know that. Sorry for the confusion!

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

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

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

by TIV73 » Mon Oct 02, 2017 4:07 pm

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.

Top