Giter Site home page Giter Site logo

xfg16 / youtubediscordpresence Goto Github PK

View Code? Open in Web Editor NEW
111.0 6.0 5.0 49.5 MB

An extension that takes data directly from the YouTube video playing on the browser and displays it as a rich presence on Discord. Works similar to the Spotify Discord rich presence.

Home Page: https://chrome.google.com/webstore/detail/youtubediscordpresence/hnmeidgkfcbpjjjpmjmpehjdljlaeaaa

License: MIT License

C++ 45.51% JavaScript 27.63% C 17.17% CSS 4.31% HTML 5.37%
chrome-extension cpp discord javascript native-messaging youtube youtube-video 64-bit windows opera-extension

youtubediscordpresence's Introduction

aka mren16 || 2309#2309

Hi, I'm a junior 👋

Hola, 你好, salut, こんにちは, hallo, नमस्ते, 안녕하세요, Привет, zdravo, ahoj, hej, bonjour, sveiki, сайн уу, xin chào

Ego scales with amount of ✨ stars ✨ and Chrome extension users that it has
Would mean a lot if you installed it too, thanks!

youtubediscordpresence's People

Contributors

renyongfu avatar xfg16 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

youtubediscordpresence's Issues

YTDP presence for all open Discord instances

It'd be nice if YTDP showed a presence for all open Discord instances (stable, PTB, & canary).
Right now I have stable and PTB open and the presence only shows for the first instance that's opened.

"{"data":"0_SUCCESS: CLIENT_READY"} Stuck

Hello

I tried a few month ago and it was working flawlessly but when I format my windows and install it again, I cannot get past this message.
I have the extension installed correctly.
I tried everything restart pc, chrome, disabling and re-enabling.

Improve UI for display

Hey team, it'd be really nice if you can improve the current play icon UI to make it look a lot better! The current icon seemed a bit incomplete and may block the album picture. Thanks for working on this project, it was great! :D
image

have the ytdp presence be a lower precedence than actual game presences

if I have ytdp on and have a game open, then the ytdp presence takes precedence over the game's presence (ie in your discord mini profile, ytdp is shown instead of the game).
not sure how precedence works with discord presences or if it's even a thing, but would it be possible to make a settings toggle for ytdp to have the lowest precedence?

an issue starting the rich presence in the new version

when I open the YTDPwin.exe it opens but a message like this pops up:Error: Could not connect
at Socket.onerror (C:\snapshot\NodeHost\node_modules\discord-rpc\src\transports\ipc.js:32:16)
at Object.onceWrapper (events.js:520:26)
at Socket.emit (events.js:400:28)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
� {"data":"CLIENT_ERROR"}

microsoft edge support

hi xfg16, your project looks great and i like it most of all the ones ive seen doing discord presecene for ytmusic. but sadly ti doesnt seem to be working for microsoft edge. i hope when you have the time you could support it please?

"Inclusions" Feature

whenever I put the video link there and then I enabled it, the video I'm watching with the same link doesn't show on my discord status

Update readme

Virustotal shows no issues with the 1.3 msi package. Consider removing that warning from the readme.

Compatability with firefox extensions

I've moved from Opera GX to Librawolf, and noticed that I am unable to download the extension, nor import it from chrome.
Chrome Store Foxified is not available either.

It doesn't work

I have the extension installed and enables and I installed the MSI but it wont show it on discord in the add registered game area

Stuck timer when playing videos in playlist

Played video 1 and it works fine, but when it switched to a new video, the timer in the status would stuck at video 1 and timer freezes at 00:00. Closing youtube does not help.
image

Show album covers using YouTube Music

Hello, here are two features I'm eagerly looking forward to for this project.

  • It would be really cool to see the album cover instead of the YouTube Music icon.
  • When listening to YouTube music, all channel names end with '- Topic'. I would like this phrase to be removed.

Video stuck on 0:00 (Read description)

It's really annoying how frequent this happens, and for me it has never worked normally. Now, I know its in the readme and all, but I was wondering if anyone found any possible fixes for it that isn't turning the extension off and on again.
image
(ignore the video)
Thanks for the help!

Youtube Thumnail as Cover and Some Additional Feature

I've done some experimentation and managed to get some of "new features" working that I think would be a good addition to this extension.

Using Youtube thumbnail as cover for rich presence
image

as you can see from the above screenshot the "playing icon" is replaced by the video author image/channel icon, I think this also would be a great addition
image

More Settings
To accompanied the additional features that I mentioned above, adding a these type of new settings would be very helpful too

image
image

Discord Presence didn't work on Opera GX browser

I tried installing the browser extension on Opera GX as I mainly use it to play both Youtube Music and Youtube. However, it seems that Opera GX failed to detect the desktop client app, as the developer console log (attached below) stated that it was not properly install (which I do)
image

To prove that the desktop client is installed correctly, I tried installing the extension on Google Chrome and Microsoft Edge. And the Discord Presence indeed worked on these two browsers. Here I attached the console logs for both as well:
image
image

ext stops working after pc wakes up

works great, but sometimes after my pc wakes from hibernation, the extension stops working (no discord presence) until i fully restart chrome.
not sure if this screenshot will help:
image
they are the same error

Adding Custom Activity Type

Is it possible to add a custom activity type for the rich presence based upon application is being used. i.e instead of showing "Playing a game" is will be "Watching" on you are on youtube and "Listening" on youtube music.

image
image

As far as I know something like this is technically possible since I have seen this plenty of time some bot, though I am not sure it's possible to do here as am not familiar with discord SDK

can't compile it

the nodehost require a "./bundle" wich is not in the folder how can i do that ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.