Log for
OwO
TypeError: Cannot read property 'username' of undefined
差不多修好列表清空時,會導致queue loop卡住的bug了
@licson config最好用user id,別用user name
Process exited with code: 172
是說為啥你不要用 ffmpeg.kill('SIGTERM') 就好?
process.exit是用某個exit code結束掉自己啦...
sigterm貌似會讓ffmpeg用0以外exit,然後導致queue以為是異常中指,直接將歌刪除?
是說,會咖歌就不會想讓他在撥阿,直接刪除貌似才是我們想要的行為?
Exiting normally, received signal 15.
echo $?
255
看它code然後處理吧,播放錯誤是1被殺掉是255
仔細想,stop不該是bad exit,畢竟我們不會想讓整點報時把歌刪掉阿
不過我時在打不定主意,循環的queue加上可以pause跟unshift的功能,到底要怎麼寫
沒連動啊 只是Queue可以執行一些Task指定的動作
events.js:141
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at exports._errnoException (util.js:907:11)
at Pipe.onread (net.js:557:26)
ffmpeg.stdin.write('q\r\n');
ffmpeg.on('exit', function (code) {
if (code == 0 || canceled) {
是說,要不要寫成兩個指令,一個會把歌從queue list移除,一個不會?
那要繼續被咖掉的歌,為啥不要直接生一個新的ffmpeg instance,然後seek到正在撥的位置就好?
ApiException('A request to the Telegram API was unsuccessful. The server returned HTTP 400 Bad Request. Response body:\n[{"ok":false,"error_code":400,"description":"Bad Request: chat not found"}]',)
bot.send_message('windasdBotTast_PGO', username )
bot.send_message('windasdBotTast_PGO', captcha_url,disable_web_page_preview=True)
其實我想知道 #275 那邊的Code能不能用(望
可以就好,關於Radio的問題給我發來這邊不要找我(#
bot.sendMessage(@YSITD, "OUO");