Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving Lyrics. Cannot find them. Error #58

Open
nobicycle opened this issue Jan 13, 2022 · 0 comments
Open

Saving Lyrics. Cannot find them. Error #58

nobicycle opened this issue Jan 13, 2022 · 0 comments

Comments

@nobicycle
Copy link

Thanks to the developers of Lyvi

I was curious where lyrics are saved by default. They seem to be saved somewhere because when offline, they still appear.
I could not solve that so I tried creating $HOME/.config/lyvi/lyvi.conf in which I placed one line:

save_lyrics:'/home/user/Music/lyvi-lyrics/'

When running lyvi, the lyrics appeared but the error below also appeared. Nothing appeared in '/home/user/Music/lyvi-lyrics/'

Exception in thread Thread-3 (get):
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1009, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.10/threading.py", line 946, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.10/site-packages/lyvi/metadata.py", line 209, in get
    setattr(self, type, data)
  File "/usr/lib/python3.10/site-packages/lyvi/metadata.py", line 42, in lyrics
    self.save('lyrics', lyvi.config['save_lyrics'])
  File "/usr/lib/python3.10/site-packages/lyvi/metadata.py", line 146, in save
    os.makedirs(os.path.dirname(file))
  File "/usr/lib/python3.10/os.py", line 225, in makedirs
    mkdir(name, mode)
FileNotFoundError: [Errno 2] No such file or directory: ''

Versions
$ uname -a
Linux tower 5.10.89-1-MANJARO #1 SMP PREEMPT Wed Dec 29 18:09:17 UTC 2021 x86_64 GNU/Linux

$ /usr/bin/lyvi --version
Lyvi 2.0.0, using libglyr 1.0.9

$ python -V
Python 3.10.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant