imfunniee / youtube-discord-rpc Goto Github PK
View Code? Open in Web Editor NEW๐ต Discord Rich Presence for Youtube
๐ต Discord Rich Presence for Youtube
I have no idea how to set this up
error code: ENOENT
running discord canary on newest arch
This may simply be an issue with active-win, as I can't see how any part of this program would cause such an issue, but in the line where active-win's sync()
is called, an UnhandledPromiseRejectionWarning is thrown for me, terminating the youtube()
function and making the program useless. I'll continue to look into the problem myself in case it's on my end, but I don't have much experience with Node.js and I don't know what I'll do if it turns out to be an issue with active-win.
Here's the exact error:
Pastebin
I did everything perfectly but for some reason it doesn't show anything in my profile.
I am using linux debian 9, ChromeOS
I was wondering if you were willing to make a Mac version provided node.js is installed.
It connects to Discord fine, and then crashes spitting out a JSON error.
Here is the error I get:
[adam@Adam-Arch youtube-discord-rpc]$ node index
Connected to Discord!
xwininfo: can not set locale properly
/home/adam/youtube-discord-rpc/node_modules/active-win/lib/linux.js:35
title: JSON.parse(result['_NET_WM_NAME(UTF8_STRING)']) || null,
^
SyntaxError: Unexpected number in JSON at position 73
at JSON.parse (<anonymous>)
at parseLinux (/home/adam/youtube-discord-rpc/node_modules/active-win/lib/linux.js:35:15)
at AsyncFunction.module.exports.sync (/home/adam/youtube-discord-rpc/node_modules/active-win/lib/linux.js:74:9)
at Function.module.exports.sync (/home/adam/youtube-discord-rpc/node_modules/active-win/index.js:25:33)
at youtube (/home/adam/youtube-discord-rpc/index.js:17:26)
at Timeout._onTimeout (/home/adam/youtube-discord-rpc/index.js:81:5)
at listOnTimeout (node:internal/timers:556:17)
at processTimers (node:internal/timers:499:7)
[adam@Adam-Arch youtube-discord-rpc]$
Running the latest version of Arch Linux with the latest AUR version of Discord Canary, running via the X11 version of KDE Plasma (from the kde-testing
official Pacman repo).
it starts, connects to discord but doesn't work
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.