diff --git a/.gitignore b/.gitignore index 10a4505..bec7076 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,6 @@ publish/ # OS noise .DS_Store Thumbs.db + +# Log files +*.log diff --git a/Jellyfin.Plugin.RedditComments/Jellyfin.Plugin.RedditComments.csproj b/Jellyfin.Plugin.RedditComments/Jellyfin.Plugin.RedditComments.csproj index 1055326..a66c275 100644 --- a/Jellyfin.Plugin.RedditComments/Jellyfin.Plugin.RedditComments.csproj +++ b/Jellyfin.Plugin.RedditComments/Jellyfin.Plugin.RedditComments.csproj @@ -18,7 +18,14 @@ runtime - + + + runtime + diff --git a/README.md b/README.md index 161ffd3..617496d 100644 --- a/README.md +++ b/README.md @@ -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: `/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//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): diff --git a/SmokeTests/SmokeTests.csproj b/SmokeTests/SmokeTests.csproj index e7229c1..51519ab 100644 --- a/SmokeTests/SmokeTests.csproj +++ b/SmokeTests/SmokeTests.csproj @@ -9,6 +9,9 @@ + + diff --git a/manifest.json b/manifest.json index b28fc4f..1f24029 100644 --- a/manifest.json +++ b/manifest.json @@ -11,8 +11,8 @@ "version": "1.0.0.0", "changelog": "- Initial release\n- Player OSD button + comments sidebar\n- Reddit thread search across configurable subreddits\n- SQLite caching with separate TTLs for found/not-found results\n- Sliding-window rate limiter (default 60 requests/minute, max 100)\n- Lazy loading: Reddit is only contacted on button click", "targetAbi": "10.11.0.0", - "sourceUrl": "https://git.gabjimmy.com/Gabe/Jellyfin-Comments/releases/download/1.0/Jellyfin.Plugin.RedditComments_1.0.0.0.zip", - "checksum": "9ee28786f8f9c7edb17f3f7c147a6df9", + "sourceUrl": "https://git.gabjimmy.com/Gabe/Jellyfin-Comments/releases/download/FixedV1/Jellyfin.Plugin.RedditComments_1.0.0.0.zip", + "checksum": "83c0fe073263c25c119ef3421fe9dbfb", "timestamp": "2026-07-16T00:00:00Z" } ]