Combining all my work #1

Merged
kristy-fournier merged 10 commits from dev into main 2024-06-12 13:01:31 -04:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 7a22c9efec - Show all commits

View file

@ -2,11 +2,10 @@ import os
from mutagen.easyid3 import EasyID3
from mutagen.mp3 import MP3
import requests, ast, time, math, argparse, json
loading = ["-","\\","|","/"]
# place your lastfm key in the slot below
apikeylastfm="YourLastfmKeyHere"
loading = ["-","\\","|","/"]
songFiles = os.listdir(r'./sound')
parser=argparse.ArgumentParser(description="Options for the generation of the song database")
parser.add_argument('-m', '--mode', help='new/update: Remake database or update current', default= "update")

View file

@ -38,6 +38,7 @@ These are specific details on each section of the app, and how to use them
- Art is retrieved from LastFM
- Running with `--mode (update/new)` either updates the current database and only adds new songs, or recreates the entire database (update is default)
- Running with `--art (True/False)` retrieves art from LastFM or doesn't (True is default)
- *Can only generate one song / 0.25 seconds, to avoid pinging the LastFM server too much*
- `songDatabase.json` stores all the information about each song in this format:
```
[