Created
August 25, 2025 23:03
-
-
Save harborseals/7ecafe7dfab484e6a5b98b635694520c to your computer and use it in GitHub Desktop.
Foobar2000 LyricsPanel3 Genius Lyric Source Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## install at C:\Program Files (x86)\foobar2000 | |
| ## add your client access token from https://genius.com/api-clients | |
| ## add as source on lyricspanel3 | |
| ## usage: py get_lyrics.py --track "Track Name" --artist "Your Artist" | |
| from lyricsgenius import Genius | |
| import sys | |
| genius = Genius('YourTotallySecretAndUnkownAccessTokenShouldGoHereBuddy', | |
| user_agent="curl/7.54.1") # use curl useragent to bypass antibot | |
| genius.verbose = False | |
| track_name = sys.argv[2] | |
| artist_name = sys.argv[4] | |
| result = genius.search_song(track_name, artist_name) | |
| print(result.lyrics) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment