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:
parent
f35c0076cb
commit
42fc9c5205
@ -32,13 +32,23 @@ def get_existing_genre():
|
|||||||
|
|
||||||
def help_search_metadata():
|
def help_search_metadata():
|
||||||
msg = """
|
msg = """
|
||||||
- - - Type the command you want to execute - - -
|
- - - Available Options - - -
|
||||||
.. - Previous Options
|
.. - Previous Options
|
||||||
(query_string) - Search for songs, albums, bands...
|
(query_string) - Search for songs, albums, bands...
|
||||||
(int) - Select an item from the search results
|
(int) - Select an item from the search results
|
||||||
d - Start the download
|
d - Start the download
|
||||||
h - Help
|
h - Help
|
||||||
q - Quit / Exit
|
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)
|
print(msg)
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import jellyfish
|
import jellyfish
|
||||||
import string
|
import string
|
||||||
|
|
||||||
TITLE_THRESHOLD_LEVENSHTEIN = 2
|
TITLE_THRESHOLD_LEVENSHTEIN = 1
|
||||||
UNIFY_TO = " "
|
UNIFY_TO = " "
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user