jellyfin / jellyfin-plugin-intros

Intros Plugin for Jellyfin
GNU General Public License v3.0
43 stars 9 forks source link

Renaming videos on-disk seems to break the plugin #12

Closed MaVdbussche closed 1 year ago

MaVdbussche commented 1 year ago

Good morning !

First of all thank you for creating this plugin, it's really a great and fun way to improve the viewing experience ! I have played with the previous version from dkanada and recently migrated to this fork.

I run Jellyfin using the Docker image from Linuxserver.io, with my library mounted via bind mounts from my Linux (Ubuntu) host.

What I did : I installed the plugin the first time and downloaded a whole folder of videos from the community. I mounted them inside the Jellyfin container and everything worked fine. I played a bit with rules and could see the intros when launching a movie.

Then I realized I had a bit too much files, and decided to rename them to make the process easier. (I can't remember if I shut down the container before doing so) I then figured I would have to restart the container for those file system changes to be visible to the plugin. So I did. But now every time I click "Load Videos" in the settings, I get a pop-up with an unhelpful [object Response] message. (see logs in attached file) error.txt

What I tried : I figure from the error message that the plugin somehow detects that even though I renamed the file, it was in fact already loaded in the past. However I would expect the file to be skipped (or even better replaced) in that case, instead of a blocking error. So now I want to "empty the memory" of the plugin to start from scratch. But I can't figure out how. I reinstalled the plugin multiple times;

I still get the same error no matter what. I can't find a way the reset this "memory", and I can't find either where that is stored in the server files. Is there a database table somewhere that persists after plugin uninstallation ?

Not sure what my next step could be at this point except a complete reinstall of Jellyfin, which I would really like to avoid.