brianpetkovsek / discord-youtube Goto Github PK
View Code? Open in Web Editor NEWA Youtube wrapper that uses Discord RPC to show what you're watching using Rich Presence
License: MIT License
A Youtube wrapper that uses Discord RPC to show what you're watching using Rich Presence
License: MIT License
recently when ive been going on the exe, it will load fine but a few seconds later, it will open a lot of them and wont stop opening new ones and when i close the one i opened, it will close all the others. I know its not me pressing it to many times because ive tried it many times, ive even pressed it once and then pressed enter.
I noticed that the timer and RPC keeps being reset, and I'm wondering if we can inject some JavaScript code into the site that watches for clicks on certain elements. So if we pause, click into a new video, or change the duration it will update the RPC.
So basically the code injection will send an event to the main process via ipc, which can then be used for updating the RPC.
Just an idea I had after a quick google search. Do I think this will be easy? No. But it's just an idea.
Link to the result that gave me this idea: https://stackoverflow.com/questions/32780726/how-to-access-dom-elements-in-electron
I don't have any experience with Electron or YouTube's website in general, so sorry I can't help much with this.
Thanks for looking into this though <3
Hello,
This program when fullscreen creates graphical issues, mostly around flashing old frames on top of the currently playing video. I belive these artifacts could be fixed with GPU accleration and/or the h264ify chrome extention, if it's possible for electron to load youtube extentions.
This can really hurt my eyes until I reenter fullscreen mode, so would be much appreciated if you could fix this, as it's the only reason I'm still using youtube in my browser.
Aside from that a dark title bar would be appreciated if possible to compliment the youtube dark theme.
Thanks!
h264ify Extention GitHub Page
Another extention I'd love (Ik it says for every website but it works like native in YouTube and I've found it to be the best one on the store)
Idea is in title, it would be nice to add a built in adblocker to the app. Thanks.
I've downloaded a version from the releases page and when I run the .exe nothing happens, I've tried both the 1.0.0 version and the 1.2.0, is there some kind of dependency needed for the release builds?
after i hv done npm start n the youtube application has opened, do i have to keep the cmd open?
also would i have to do npm start evertime or wud i just b able open the youtube appliction because i have pinned it to my taskbar
Time remaining in Discord rich prescence always shows 0:00, did youtube change something?
https://i.imgur.com/n2gLUlH.png
I installed the version 1.2.0. Its working well but there is just one problem: Timer is not working. Its always stucking in 0:00. How can i fix that?
Also a video tutorial for installation can be very useful though.
Thanks for this software :)
Can you up the compatibility with MacOs because I get this error:
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"win32,!darwin,!linux"} (current: {"os":"darwin","arch":"x64"})
npm ERR! notsup Valid OS: win32,!darwin,!linux
npm ERR! notsup Valid Arch: undefined
npm ERR! notsup Actual OS: darwin
npm ERR! notsup Actual Arch: x64
npm ERR! A complete log of this run can be found in:
Thanks,
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.