scriptlet: cleanup lyrics from bad import #4364
toppk
started this conversation in
Show and tell
Replies: 1 comment
-
Looks super cool. Thank you for contributing this!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Notice your lyrics have a some non-lyrics text, like ("Tekst piosenki" and "Dodaj interpretację"). in the lyrics plugin, there is webscraping, which caused some additional text to be pulled in. This pull request fixes:
#4229
But I didn't see any simple way to clean up the tags. I wrote this simple script to check every tracks and remove the text if it is there.
This is working on python3.10 on linux where the lyrics are stored both inside the audiofile and in the database. Please ensure that is what you want before running this script. as written, it will place the lyrics inside the actual mp3 file.
https://gist.github.com/toppk/0384177a93cf9c9739ead5e280f3dea1
Beta Was this translation helpful? Give feedback.
All reactions