Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Zerion): change domain #8739

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions websites/Z/Zerion/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"en": "Zerion.cc gives you access to online content so you can watch your favorite series and TV shows wherever you have Internet access.",
"pl": "Zerion.cc zapewnia dostęp do treści online, dzięki czemu możesz oglądać swoje ulubione seriale i programy telewizyjne, gdziekolwiek masz dostęp do Internetu."
},
"url": "zerion.cc",
"version": "1.0.8",
"url": "zeriun.cc",
"version": "1.0.9",
"logo": "https://cdn.rcd.gg/PreMiD/websites/Z/Zerion/assets/logo.png",
"thumbnail": "https://cdn.rcd.gg/PreMiD/websites/Z/Zerion/assets/thumbnail.png",
"color": "#aa1717",
Expand All @@ -21,7 +21,7 @@
"serials"
],
"iframe": true,
"iFrameRegExp": ".*",

Check warning on line 24 in websites/Z/Zerion/metadata.json

View workflow job for this annotation

GitHub Actions / Presence Validator

Presence (Zerion) has metadata.iFrameRegExp set to '.*', please change this if possible
"settings": [
{
"id": "lang",
Expand Down
2 changes: 2 additions & 0 deletions websites/Z/Zerion/presence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ presence.on("UpdateData", async () => {
break;
}

if (presenceData.endTimestamp && presenceData.startTimestamp)
presenceData.type = ActivityType.Watching;
if (!logo || privacy) presenceData.largeImageKey = Assets.Logo;
if (!buttons || privacy) delete presenceData.buttons;
if (!time) delete presenceData.startTimestamp;
Expand Down
Loading