Minor fixes

This commit is contained in:
matthias@arch 2021-09-29 14:52:05 +02:00
parent c985d73858
commit 711a13d087
2 changed files with 4 additions and 2 deletions

View File

@ -7,6 +7,8 @@ There is a 5 second delay between each request to azlyrics.com because the site
### Files
Nicole supports FLAC and mp3 files. Other files can not be edited (as of now).
Files that do not have a .flac or .mp3 extension are skipped automatically.
- mp3: lyrics are stored in "USLT" tag as "lyrics- "
- flac: lyrics are stored as vorbis-comment with key "LYRICS"
### History
Nicole creates a history of all files that were processed in `~/.configs/nicole`.

View File

@ -252,7 +252,7 @@ class Nicole:
if self.write_history and file not in self.history:
self.history.append(file)
return (True, f"✓ Written text to {artist} - {title}")
return (True, f"Written lyrics to {artist} - {title}")
else:
return (False, lyrics) # lyrics is error message here
@ -344,7 +344,7 @@ Command line options:
try:
nicole.process_dir(directory)
except KeyboardInterrupt:
print("KeyboardInterrupt: Ending nicole.")
print("")
else:
use_wdir = input("No file or directory given. Use working directory? (y/n): ")
if use_wdir in "yY":