nicknsy / jellyscrub

Smooth mouse-over video scrubbing previews for Jellyfin.
MIT License
670 stars 27 forks source link

[Bug] Previews not working when it jumps to next episode #28

Closed Fallenbagel closed 2 years ago

Fallenbagel commented 2 years ago

The previews work perfectly when i explicitly open a specific episode and the previews are shown for that exact same episode but when it finishes playing and jumps to next episode, previews does not appear.

For example, here I opened an item S01E02 (works): image

But when I open S01E01 and then jump to/let it finish playing and start the next episode (does not work): image

(Occurs on both web client as well as jmp)

Fallenbagel commented 2 years ago

From my testings, I found that GetBif is not called in subsequent episodes: S01E02 (opened directly so it got called): image

S01E02 (after jumping from S01E01 so not directly opened): image

As you can see from this, GetBif is not called on the subsequent episode when jumped. Gets called when directly opened though

https://user-images.githubusercontent.com/98979876/184525276-069b1d79-2690-466e-bcad-bc31b78ee413.mp4

nicknsy commented 2 years ago

Yeah Ill try to fix this soon. Looking to rewrite a good bit of the client script

nicknsy commented 2 years ago

Fixed by https://github.com/nicknsy/jellyscrub/commit/f69f784889063ce5b3ea7d1e5ce674e8af32ed23