reenable posting

This commit is contained in:
Henry Jameson 2026-01-14 17:33:36 +02:00
commit 8ff7c9280a

View file

@ -139,16 +139,16 @@ const loop = async () => {
if (stateChange) {
if (isLive) {
console.info('Went live!');
// const postResult = await post({
// spoiler_text: 'Stream announcment',
// status: [
// '@hj just went live on peertube',
// '',
// `https://tube.ebin.club/w/${videoId}`,
// ].join('\n'),
// visibility: 'public',
// });
// console.info('post: ' + postResult.status);
const postResult = await post({
spoiler_text: 'Stream announcment',
status: [
'@hj just went live on peertube',
'',
`https://tube.ebin.club/w/${videoId}`,
].join('\n'),
visibility: 'public',
});
console.info('post: ' + postResult.status);
const scrobbleResult = await scrobble({
// artist: 'Peertube',