timerring / bilive

自动监听、B站直播录制和弹幕、自动转换xml弹幕(含付费留言、礼物等)为ass并压制进视频,自动投稿至B站,无需GPU,兼容超低配置服务器。
8 stars 0 forks source link

[BUG] Error in passing parameter #66

Closed timerring closed 3 hours ago

timerring commented 3 hours ago

Describe the bug

There is a error in passing parameter. The command cannot be recognized correctly.

How To Reproduce

Steps to reproduce the behavior: Run command:

python3 $root_path/removeEmojis.py $ass_file > $root_path/logs/burningLog/remove-$(date +%Y%m%d%H%M%S).log 2>&1

See error: file not exists.

Expected behavior

Run the script correctly

Environment Information

timerring commented 3 hours ago

It seems that the $varible is not recognized as the parameter passed, I will fix the way to pass it.