tripod31 / foo_lyricsource

lyricsource component for foo_uie_lyrics3
49 stars 5 forks source link

trouble installing #3

Closed skeedy2 closed 3 years ago

skeedy2 commented 3 years ago

Hi, thank you for your effort

I cannot install this, although I followed your instructions. I put foo_lyricsouce.dll in the components folder I put iconv.dll and libxml2 in the foobar2000 folder I put get_lyric.exe into the foobar2000 folder.

I can't get_lyrics.exe to work, when I test it, it says this

Traceback : File "", line 38, in PermissionError: {Errno 13} Permission denied: 'get_lyric.log" get_lyric returned -1

Can you please help me? Maybe this is because I use windows 8.1?

tripod31 commented 3 years ago

For test,I set the permission of get_lyric.log to read-only,from windows explorer.Then I test get_lyrics.exe,and got same error. delete get_lyric.log,and please test it again.

skeedy2 commented 3 years ago

Hi, where is the get_lyric.log? It is not in the foobar directory where I put get_lyrics.exe

   

Sent: Saturday, February 27, 2021 at 8:39 AM From: "Hiroki Y" notifications@github.com To: "tripod31/foo_lyricsource" foo_lyricsource@noreply.github.com Cc: "skeedy2" scaruffi1998@mail.com, "Author" author@noreply.github.com Subject: Re: [tripod31/foo_lyricsource] trouble installing (#3)

 

For test,I set the permission of get_lyric.log to read-only,from windows explorer.Then I test get_lyrics.exe,and got same error. delete get_lyric.log,and please test it again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

tripod31 commented 3 years ago

The error occurs when the script writes log.Maybe Script tries to write log to the directory like "C:/promgram files/foobar2000/".The directory requires special permission to write files. I added argument to script,to specifies path to write log. to test this,

1)go to test branch. https://github.com/tripod31/get_lyric/tree/test 2)copy get_lyric.exe 3)copy get_lyric.cnf.sample to get_lyric.cnf,in the same directory as get_lyric.exe resides. 4)edit get_lyric.cnf [settings] log_path=C:\Users\username\Documents

Change "C:\Users\username\Documents" acoording to your environment.it should be writable directry,

By the way,I tested the script today,I found only two sites can work with the script.So maybe number of songs that can retrieve thier lyrics,gets fewer than before.

skeedy2 commented 3 years ago

hi, thanks, I got it to work.

I downloaded this so I could use https://github.com/lukaszsulek/get_lyric

To use this you have to put your get_lyric.exe and the other developer's get_lyric.py in the same directory, this stopped yours from working

I don't know how to get get_lyric working, but yours works fine. do you know what the problem is?

thanks again, you are the best