mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-19 23:52:06 +00:00
fix: no filemedia
This commit is contained in:
parent
a9fc3a6fa4
commit
7934d0df16
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Miru",
|
||||
"version": "2.13.0",
|
||||
"version": "2.13.1",
|
||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||
"main": "src/index.js",
|
||||
"homepage": "https://github.com/ThaUnknown/miru#readme",
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ async function handleFiles (files) {
|
|||
|
||||
const nowPlaying = get(media)
|
||||
|
||||
if (nowPlaying?.media) videoFiles = videoFiles.filter(file => file.media.media.id === nowPlaying.media.id)
|
||||
if (nowPlaying?.media) videoFiles = videoFiles.filter(file => file.media?.media?.id === nowPlaying.media.id)
|
||||
|
||||
videoFiles.sort((a, b) => a.media.episode - b.media.episode)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue