added stuff to help command and set down max phoenetic distance

added stuff to help command and set down max phoenetic distance
This commit is contained in:
Hellow 2022-11-23 23:44:25 +01:00
parent f35c0076cb
commit 42fc9c5205
2 changed files with 12 additions and 2 deletions

View File

@ -32,13 +32,23 @@ def get_existing_genre():
def help_search_metadata():
msg = """
- - - Type the command you want to execute - - -
- - - Available Options - - -
.. - Previous Options
(query_string) - Search for songs, albums, bands...
(int) - Select an item from the search results
d - Start the download
h - Help
q - Quit / Exit
- - - How the Query works (examples) - - -
> #a <any artist>
searches for the artist <any artist>
> #a <any artist> #r <any releas>
searches for the release (album) <any release> by the artist <any artist>
> #r <any release> Me #t <any track>
searches for the track <any track> from the release <any relaese>
"""
print(msg)

View File

@ -1,7 +1,7 @@
import jellyfish
import string
TITLE_THRESHOLD_LEVENSHTEIN = 2
TITLE_THRESHOLD_LEVENSHTEIN = 1
UNIFY_TO = " "