Skip to content

Commit

Permalink
fix(AniTube.vip): import
Browse files Browse the repository at this point in the history
  • Loading branch information
Bas950 committed Feb 24, 2025
1 parent ddf824f commit 0f42bbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion websites/A/AniTube.vip/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"vi": "Anitube.vip là trang web Tiếng Bồ Đào nha nơi mọi người có thể xem trực tuyến và tải về anime/drama miễn phí."
},
"url": "www.anitube.vip",
"version": "1.0.1",
"version": "1.0.2",
"logo": "https://i.imgur.com/BYjlGDF.png",
"thumbnail": "https://i.imgur.com/SwPlChB.png",
"color": "#0fa6a9",
Expand Down
4 changes: 3 additions & 1 deletion websites/A/AniTube.vip/presence.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { getTimestampsFromMedia } from 'premid'

const presence = new Presence({
clientId: '853327058054545438',
})
Expand Down Expand Up @@ -96,7 +98,7 @@ presence.on('UpdateData', async () => {
},
]
if (!videoElement.paused) {
[presenceData.startTimestamp, presenceData.endTimestamp] = presence.getTimestampsfromMedia(videoElement)
[presenceData.startTimestamp, presenceData.endTimestamp] = getTimestampsFromMedia(videoElement)
}
}
else if (pathname === '/contato.php') {
Expand Down

0 comments on commit 0f42bbc

Please sign in to comment.