This commit is contained in:
Gabrieal Jimmy
2026-07-16 13:54:01 -05:00
parent a188ab3fe0
commit ee94f4fd49
5 changed files with 22 additions and 7 deletions

View File

@@ -38,7 +38,7 @@ primarily for anime, where almost every episode has a thread on r/anime.
- Linux (native): `/var/lib/jellyfin/plugins/RedditComments`
- Docker: `<your config volume>/plugins/RedditComments`
- Windows: `%ProgramData%\Jellyfin\Server\plugins\RedditComments`
3. Extract the zip contents into that folder (the DLLs must sit directly inside it).
3. Extract the zip contents into that folder (the plugin DLL must sit directly inside it).
4. Restart Jellyfin.
### Option B — plugin repository
@@ -102,9 +102,11 @@ Requires the .NET 9 SDK:
dotnet publish Jellyfin.Plugin.RedditComments/Jellyfin.Plugin.RedditComments.csproj -c Release -o publish
```
Copy the plugin DLL plus `Microsoft.Data.Sqlite.dll`, the `SQLitePCLRaw.*.dll`s and the native
`e_sqlite3` library for your platform (under `publish/runtimes/<rid>/native/`) into your plugins
folder. The `dist/` zip in this repo is already assembled this way.
Copy `Jellyfin.Plugin.RedditComments.dll` into your plugins folder and restart. The package is
intentionally a single DLL: the plugin uses the same `Microsoft.Data.Sqlite` build that Jellyfin
itself ships for `jellyfin.db`, so no extra assemblies or native libraries may be placed in the
plugin folder (Jellyfin tries to load every `*.dll` there as a managed assembly and disables the
plugin on failure).
Run the smoke tests (cache, Reddit response parsing, rate limiter):