reenable posting
This commit is contained in:
parent
5554c4b4b6
commit
8ff7c9280a
1 changed files with 10 additions and 10 deletions
20
index.js
20
index.js
|
|
@ -139,16 +139,16 @@ const loop = async () => {
|
||||||
if (stateChange) {
|
if (stateChange) {
|
||||||
if (isLive) {
|
if (isLive) {
|
||||||
console.info('Went live!');
|
console.info('Went live!');
|
||||||
// const postResult = await post({
|
const postResult = await post({
|
||||||
// spoiler_text: 'Stream announcment',
|
spoiler_text: 'Stream announcment',
|
||||||
// status: [
|
status: [
|
||||||
// '@hj just went live on peertube',
|
'@hj just went live on peertube',
|
||||||
// '',
|
'',
|
||||||
// `https://tube.ebin.club/w/${videoId}`,
|
`https://tube.ebin.club/w/${videoId}`,
|
||||||
// ].join('\n'),
|
].join('\n'),
|
||||||
// visibility: 'public',
|
visibility: 'public',
|
||||||
// });
|
});
|
||||||
// console.info('post: ' + postResult.status);
|
console.info('post: ' + postResult.status);
|
||||||
|
|
||||||
const scrobbleResult = await scrobble({
|
const scrobbleResult = await scrobble({
|
||||||
// artist: 'Peertube',
|
// artist: 'Peertube',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue