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.
If you're here from the Chrome Web Store, continue your installation here!
YTDPsetup.msi
file in the releases section of this repository and run it on your device to install the secondary desktop component.
You should be all set and ready to go.
To access the personalization page, you need to click on the small icon on the top right of the browser under the extensions icon. It would also be easier to access if you pinned the extension.
It would be greatly appreciated if you could leave a rating and review describing your experience on the Chrome Web Store! Thank you for your consideration and enjoy the extension to its fullest!
Extension
|| Release [v1.5.7]: Chrome Web Store >>Host
|| Release [v1.4.2]: Releases >>
Display current activity as status message
in your Discord settings on.
background.js
in Manifest v3Otherwise, this is the first thing you should always do: head to chrome://extensions
and turn the extension off. Then, close your browser, reopen the browser, and turn the extension back on, especially...
00:00 left
...
chrome://extensions
, turn on developer mode, and click "inspect views service worker". This should open a developer window. From there, head to the console section and describe what the debug log shows.NodeHost
directory and use pkg to compile app.js
into an executable. However, you have to link the Chrome extension to the compiled executable manually, which can be done by following this guide
node_modules/discord-rpc/src/client.js
, the RPC_CONNECTION_TIMEOUT
was changed from 10e3
to 2000
bundle.js
file contains the application IDs for the YouTube and YouTube Music rich presence that you have to create separately in the Discord Developer Portal. Make sure the image keys match the ones in app.js
Host
directory from this repository and open YTDPwin.sln
under Host/YTDPwin
in Visual Studio. Also, make sure to have the Microsoft Visual Studio Installer Project extension installedExtension
directory, compress it into a zip, and load it onto your browser manually."allowed_origins"
key in the JSON file involved in native messaging contains the extension's ID. This file can be found in the location you installed YouTubeDiscordPresence, which is usually C:\Program Files\YouTubeDiscordPresence
as main.json
DISCLAIMER: this is not a bootleg copy of PreMiD. On a more technical note, it works similar to the Spotify rich presence—it only appears when a video is playing and disappears when there is no video or the video is paused. In addition, it only displays the presence for videos. Idling and searching are not displayed. Features such as exclusions, fully customizable details, and thumbnail coverage are unique and original to YouTubeDiscordPresence. YouTubeDiscordPresence has not referenced nor is affiliated with PreMiD in any way whatsoever.
Licensed under the MIT license.