getmusicbee.com

Support => Bug Reports => Topic started by: hiccup on June 13, 2025, 09:35:26 PM

Title: problem with trying to have 'Lyrics' as a column
Post by: hiccup on June 13, 2025, 09:35:26 PM
Either a bug, or I am trying to force MusicBee doing somenthing that it doesn't want to.

(for testing purposes) I want a column that shows the contents of 'Lyrics'.
But since 'Lyrics' is not available as a displayed field, I created a virtual tag and use that instead:

Lyrics¨
Code
$IsNull(<Lyrics>,,<Lyrics>)
When retrieving and embedding lyrics, that works fine:

 (https://i.imgur.com/MtS74mY.png)

But after a restart of MusicBee, the Lyrics column shows empty:

(https://i.imgur.com/uiBxNuV.png)

While the lyrics are actually embedded in the file(s).

A bug?
Title: Re: problem with trying to have 'Lyrics' as a column
Post by: Pickles7853 on June 13, 2025, 10:12:27 PM
On reboot MB will load the DB but, I think, only the common displayed fields are saved there.
EG: I do not think <lyrics> are stored in the DB and MB will load this on demand.  Like when viewing in the tag editor or when playing a song.
This makes since from a practical standpoint.  Why duplicate the lyrics by also storing it in the DB when its easy to get when you need it?
Of course, if MB does need to get the lyrics, you might as well (temporarily), store them to reduce the number of file reads.

That being said, I am not sure if it is really a bug.  You are asking for field data which is populated on demand.  And on reboot there has been no demand yet.
This is implied by <lyrics> not being available as a displayed field.

I wonder what the extra load would be on large libraries if MB needed to pull in all lyrics at load time...
If it isn't that bad, perhaps this would make a good feature request.  I cant think of a way to test this though.
Title: Re: problem with trying to have 'Lyrics' as a column
Post by: Steven on June 14, 2025, 03:44:13 AM
Its because MB only loads all the lyrics if you explicitly set the search fields (in the search box drop-down) to include lyrics. I appreciate its not ideal but the reason is memory usage
Title: Re: problem with trying to have 'Lyrics' as a column
Post by: hiccup on June 14, 2025, 08:54:36 AM
Its because MB only loads all the lyrics if you explicitly set the search fields (in the search box drop-down) to include lyrics.
Thanks, that works.
Nice.