From b4450bffe3e6db698a097710fc3f471fd4194701 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 14 Jan 2026 15:43:47 +0200 Subject: [PATCH] more log --- index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index ee9c1ff..fe9b016 100644 --- a/index.js +++ b/index.js @@ -77,7 +77,7 @@ const loop = async () => { if (stateChange) { if (isLive) { console.info('Went live!') - await post({ + const postResult = await post({ spoiler_text: 'Stream announcment', status: [ 'hj just went live on peertube', @@ -86,11 +86,13 @@ const loop = async () => { ].join('\n'), visibility: 'public', }); + console.info(postResult) - await scrobble({ + const scrobbleResult = await scrobble({ title: 'Streaming on PeerTube', external_link: `https://tube.ebin.club/w/${videoId}`, }); + console.info(scrobbleResult) } else { console.info('Went offline...') await scrobble({