Cleaned up Generator + readme
This commit is contained in:
parent
889137712a
commit
7a22c9efec
2 changed files with 3 additions and 3 deletions
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
```
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue