diff --git a/docker/src/scripts/anime/player.js b/docker/src/scripts/anime/player.js index 72072b7..fdd7e50 100644 --- a/docker/src/scripts/anime/player.js +++ b/docker/src/scripts/anime/player.js @@ -66,16 +66,6 @@ async function loadMetadata() { document.getElementById('anime-title-details2').innerText = title; document.title = `Watching ${title} - Ep ${currentEpisode}`; - fetch("/api/rpc", { - method: "POST", - headers: {"Content-Type": "application/json"}, - body: JSON.stringify({ - details: title, - state: `Episode ${currentEpisode}`, - mode: "watching" - }) - }); - const tempDiv = document.createElement('div'); tempDiv.innerHTML = description; document.getElementById('detail-description').innerText = tempDiv.textContent || tempDiv.innerText || 'No description available.'; diff --git a/docker/src/scripts/books/reader.js b/docker/src/scripts/books/reader.js index 5733f02..a323e0e 100644 --- a/docker/src/scripts/books/reader.js +++ b/docker/src/scripts/books/reader.js @@ -145,18 +145,6 @@ async function loadChapter() { setupProgressTracking(data, source); - const res2 = await fetch(`/api/book/${bookId}?source=${source}`); - const data2 = await res2.json(); - - fetch("/api/rpc", { - method: "POST", - headers: {"Content-Type": "application/json"}, - body: JSON.stringify({ - details: data2.title.romaji ?? data2.title, - state: `Chapter ${data.title}`, - mode: "reading" - }) - }); if (data.error) { reader.innerHTML = `
diff --git a/docker/src/scripts/rpc-inapp.js b/docker/src/scripts/rpc-inapp.js deleted file mode 100644 index 943d2ba..0000000 --- a/docker/src/scripts/rpc-inapp.js +++ /dev/null @@ -1,9 +0,0 @@ -fetch("/api/rpc", { - method: "POST", - headers: {"Content-Type": "application/json"}, - body: JSON.stringify({ - details: "Browsing", - state: `In App`, - mode: "idle" - }) -}); \ No newline at end of file diff --git a/docker/views/anime/anime.html b/docker/views/anime/anime.html index 4299dfc..051c71a 100644 --- a/docker/views/anime/anime.html +++ b/docker/views/anime/anime.html @@ -332,7 +332,6 @@
- diff --git a/docker/views/anime/animes.html b/docker/views/anime/animes.html index b26b7b5..78b3c5c 100644 --- a/docker/views/anime/animes.html +++ b/docker/views/anime/animes.html @@ -246,7 +246,6 @@ - \ No newline at end of file diff --git a/docker/views/books/book.html b/docker/views/books/book.html index 50a52fd..4b44b7f 100644 --- a/docker/views/books/book.html +++ b/docker/views/books/book.html @@ -192,7 +192,6 @@ - diff --git a/docker/views/books/books.html b/docker/views/books/books.html index ab8efe2..c8bcd47 100644 --- a/docker/views/books/books.html +++ b/docker/views/books/books.html @@ -216,7 +216,6 @@ - \ No newline at end of file diff --git a/docker/views/gallery/gallery.html b/docker/views/gallery/gallery.html index e52ec33..a654619 100644 --- a/docker/views/gallery/gallery.html +++ b/docker/views/gallery/gallery.html @@ -119,7 +119,6 @@ - \ No newline at end of file diff --git a/docker/views/gallery/image.html b/docker/views/gallery/image.html index 8badbf4..9b98bba 100644 --- a/docker/views/gallery/image.html +++ b/docker/views/gallery/image.html @@ -104,7 +104,6 @@ - \ No newline at end of file diff --git a/docker/views/list.html b/docker/views/list.html index 630dca4..0b45cfb 100644 --- a/docker/views/list.html +++ b/docker/views/list.html @@ -256,7 +256,6 @@ - diff --git a/docker/views/schedule.html b/docker/views/schedule.html index 3493d68..c9e27e0 100644 --- a/docker/views/schedule.html +++ b/docker/views/schedule.html @@ -139,7 +139,6 @@ - \ No newline at end of file