xmcp / QRCD

QQMusic lyrics crawler & decoder
31 stars 2 forks source link

Can't start display.py #2

Closed MC-dusk closed 2 years ago

MC-dusk commented 2 years ago

Can't start display.py.

input python displayer.py in cmd and then it shows:

 * Restarting with windowsapi reloader
 * Debugger is active!
'ioreg' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
 * Debugger PIN: 521-624-375

I have installed requirements.txt, so what should I do?

xmcp commented 2 years ago

The code base does not contain "ioreg" so it should be some issues in your environment.

MC-dusk commented 2 years ago

ioreg isn't in this script. It may be related to socket module I guess.

Actually I just want to download lrc from qrc. So is there anyway to avoid using local webpage, just use these python scripts to get eslyric precise format lyrics?

For example, I have modified qrcd.py to get lyrics directly. But the file format can't be recognized by eslyric plugin of foobar2000.

Thank you all the same.

xmcp commented 2 years ago

It should be possible to reuse some code in the down_lyric_orig endpoint in displayer.py.

If this format is not recognized by eslyrics, you may need to slightly tweak its format.

MC-dusk commented 2 years ago

It should be possible to reuse some code in the down_lyric_orig endpoint in displayer.py.

If this format is not recognized by eslyrics, you may need to slightly tweak its format.

OK, I'll try it. Thanks.