ChurchApps / FreeShow

FreeShow is a free and open-source, user-friendly presenter software.
https://freeshow.app
GNU General Public License v3.0
568 stars 86 forks source link

[Feature Request] Bulk edit the "Number" using the magic wand button #1045

Closed yurividal closed 18 hours ago

yurividal commented 1 day ago

Hi. I made a python script to that added a "Number" attribute to all my songs. The Number shows in the metadata information, as expected:

image

But, in order for it to be recognized by opensong, and become searchable, i have to manually click the magic wand button, on every song. Once i click the magic wand, the number appears as a pink number in front of the song title, and i can search fot it. Like this: image

Is there a way to apply this for all the songs in bulk?

vassbo commented 18 hours ago

In addition to the metadata: number key, you also have to add the number to the quickAccess: number key so it's searchable, and probably update/delete the shows.json (cache) file.

I forgot to auto add to the quickAccess when importing (if the metadata number is available) so I'll add that.

yurividal commented 18 hours ago

thanks! the trick was to delete the shows.json file, or else, it kept overwritting and deleting my quickaccess : number (which was already part of my script).

the first time i oppened freeshow after deleting shows.json, it took a while (almost 3 minutes) for the app to start. But it seems to be all good now.

vassbo commented 17 hours ago

Great! It takes a while because it has to read through all of your .show file and parse the data again.

That's why I'm not sure it's a good idea to do this at this point in time: https://github.com/ChurchApps/FreeShow/issues/1025