Skip to content

feat(ClubDoDorama): add presence - #11189

Open
cuscuzleitado wants to merge 5 commits into
PreMiD:mainfrom
cuscuzleitado:cuscuzleitado-patch-1
Open

feat(ClubDoDorama): add presence#11189
cuscuzleitado wants to merge 5 commits into
PreMiD:mainfrom
cuscuzleitado:cuscuzleitado-patch-1

Conversation

@cuscuzleitado

Copy link
Copy Markdown
Contributor

Description

Adds Rich Presence support for ClubDoDorama (clubdodorama.com), a Korean/Asian drama streaming site.

The presence detects three types of pages:

  • Episode pages: shows "Watching: Drama Name" with the current season and episode
  • Movie pages: shows "Watching: Movie Name"
  • Series detail pages: shows that the person is viewing that drama's details
  • General browsing: shows a generic "browsing the site" message

When available, it uses the drama/movie poster (via TMDB) as the large image. The drama/movie name is also used in the "name" field, so it shows up next to the activity icon on Discord instead of the application name.

Note: the site's video player is a third-party iframe, so it isn't possible to read the exact video progress (play/pause/time) due to browser CORS restrictions. Because of that, the timestamp shown is based on when the person opened the page, not the actual video playback time.

Acknowledgements

Screenshots

Proof showing the creation/modification is working as expected Screenshot_112 Screenshot_113 Screenshot_114

Signed-off-by: cuscuzleitado <148428177+cuscuzleitado@users.noreply.github.com>
Signed-off-by: cuscuzleitado <148428177+cuscuzleitado@users.noreply.github.com>
Signed-off-by: cuscuzleitado <148428177+cuscuzleitado@users.noreply.github.com>
@dimerp

dimerp Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

🖼️ Activity asset preview

Asset inspection complete. No pixels were harmed in the making of this comment. 🤖

ClubDoDorama (websites/C/ClubDoDorama) — creation

Preview Source URL
logo https://i.imgur.com/NG3A7fd.png
code (presence.ts) https://i.imgur.com/eeVRVDN.png

Beep boop — I refresh this comment on every push, so no need to scroll. 🤖

Comment thread websites/C/ClubDoDorama/metadata.json Fixed
Comment thread websites/C/ClubDoDorama/presence.ts Fixed
Comment thread websites/C/ClubDoDorama/presence.ts Fixed
Comment thread websites/C/ClubDoDorama/presence.ts Fixed
@cuscuzleitado cuscuzleitado changed the title Cuscuzleitado patch 1 feat(ClubDoDorama): add presence Sep 12, 2026
@cuscuzleitado

Copy link
Copy Markdown
Contributor Author

Okay, I’ll take care of that later. Right now, I need to get some rest…

Signed-off-by: cuscuzleitado <148428177+cuscuzleitado@users.noreply.github.com>
Signed-off-by: cuscuzleitado <148428177+cuscuzleitado@users.noreply.github.com>
Comment on lines +10 to +11
"en": "Show on Discord which drama you are watching on ClubDoDorama.",
"pt": "Mostre no Discord qual dorama você está assistindo no ClubDoDorama."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use official description from service

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this file

Comment on lines +92 to +93
presenceData.smallImageKey
= 'https://i.imgur.com/eeVRVDN.png'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use Assets.Search instead

Comment on lines +99 to +100
presenceData.smallImageKey
= 'https://i.imgur.com/eeVRVDN.png'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

"regExp": "^https?[:][/][/]([a-z0-9-]+[.])*clubdodorama[.]com[/]",
"version": "1.0.0",
"logo": "https://i.imgur.com/NG3A7fd.png",
"thumbnail": "https://i.imgur.com/NG3A7fd.png",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thumbnail should be a landscape promotional image or screenshot—not the logo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants