Skip to content

Commit

Permalink
fix(Emby): fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
darkvillager2 committed Oct 15, 2024
1 parent e272156 commit f7d577b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions websites/E/Emby/presence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,8 @@ async function handleItemDetails(): Promise<void> {
const data = await obtainMediaInfo(
new URLSearchParams(location.hash.split("?")[1]).get("id")
);
delete presenceData.startTimestamp;
delete presenceData.endTimestamp;

if (!data) {
presenceData.details = "Browsing details of an item";
Expand Down

0 comments on commit f7d577b

Please sign in to comment.