Skip to content

Commit

Permalink
fix(Twitch): %title% placeholder doesn't work with lives (#9168)
Browse files Browse the repository at this point in the history
* fix(Twitch): %title% placeholder doesn't work in lives

* chore(Twitch): bump version

* style(Twitch): use correct code style

Co-authored-by: Bas van Zanten <bas.van.zanten007@gmail.com>
Signed-off-by: darkitxu84 <76633266+darkitxu84@users.noreply.github.com>

---------

Signed-off-by: darkitxu84 <76633266+darkitxu84@users.noreply.github.com>
Co-authored-by: Bas van Zanten <bas.van.zanten007@gmail.com>
  • Loading branch information
darkitxu84 and Bas950 authored Jan 16, 2025
1 parent c4ecd5b commit dfcdefa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion websites/T/Twitch/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"devstatus.twitch.tv",
"status.twitch.tv"
],
"version": "3.2.25",
"version": "3.2.26",
"logo": "https://cdn.rcd.gg/PreMiD/websites/T/Twitch/assets/logo.png",
"thumbnail": "https://cdn.rcd.gg/PreMiD/websites/T/Twitch/assets/thumbnail.png",
"color": "#9146FF",
Expand Down
2 changes: 1 addition & 1 deletion websites/T/Twitch/presence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ presence.on("UpdateData", async () => {

if (showLive && live) {
//* Live
const title = getElement(".channel-info-content h2"),
const title = getElement("p[data-a-target='stream-title']"),
streamer =
document.querySelector(".channel-info-content h1")?.textContent ??
document
Expand Down

0 comments on commit dfcdefa

Please sign in to comment.