Skip to content

0.9.0.0-beta

Pre-release
Pre-release

Choose a tag to compare

@Johanst21 Johanst21 released this 24 Oct 16:18
· 29 commits to main since this release
59bef81

Chomyfin v0.9.0.0 — Release Notes

This update is the result of a thorough security and stability audit. 4 critical vulnerabilities (P0) and 6 important bugs (P1) have been resolved. The plugin is now much safer, faster, and will no longer block video playback.

Security (P0)

  • Session cookies removed from the player: Chomikuj cookies are no longer sent to Emby or playback clients (preventing session leaks in ffmpeg logs). It has been verified that direct URLs work without them.
  • REST Endpoints protected: Routes to force sync, check status, or test connections now require the Admin role.
  • Fail-safe log sanitizer: The system masking passwords and tokens in logs is now bulletproof (supports JSON, URLs, and truncated XML). The last two lines of code printing unencrypted data have been patched.
  • Protection against accidental deletion: Orphan file deletion is now strictly limited to the folders scanned by the plugin. Additionally, a safe mode (OrphansDryRun) has been added, which is enabled by default.

Stability & Performance (P1)

  • Name collision resolved: If you have Movie.mkv and Movie.mp4, the plugin will now generate Movie.strm and Movie [mp4].strm instead of overwriting each other on every sync.
  • Atomic writes: .strm and .original files are now written safely using temporary files. Emby will never read a half-written file.
  • Instant playback: Sibling version resolution has been moved to a background thread (fire-and-forget). It no longer delays video startup.
  • Sibling queue throttling: Concurrency is limited to 1 to avoid saturating the Chomikuj API. A purge system was added to prevent memory leaks.
  • Unstuck syncs: Fixed an execution lock leak. If a scan fails at startup, the plugin will no longer get stuck saying "A generation is already in progress".
  • Real cancellation: If you cancel a sync from Emby, it now shows as "Canceled" (previously it was marked as an error).
  • Robust login: Timeouts are no longer confused with actual cancellations. Concurrent requests share a single login session (preventing Chomikuj rate-limits/bans).

MIGRATION NOTES (Must Read)

Due to the security and stability changes, there are three behavioral changes compared to v0.8.7.0:

  1. Orphan deletion is in simulation mode (DryRun).
    • For safety, OrphansDryRun is enabled by default. If you had orphan deletion enabled, you will see [ORPHANS-DRYRUN] N .strm would be deleted in the logs, but nothing will actually be deleted.
    • What to do: Check the logs. If you agree with what would be deleted, go to the plugin settings and uncheck "Orphans: simulate only (dry-run)".
  2. Scan paths reset.
    • The SelectedFolders property has been renamed to CustomScanPath to fix a UI bug. If you had selected folders, you will need to re-enter them in the plugin settings.
  3. New .strm files due to collisions.
    • If you had two remote files with the same name but different extensions, new entries will appear in Emby (e.g., Movie [mp4].strm). Old .strm files will not be deleted, but a clean library scan is recommended.

How to update

  1. Download the new Chomyfin.dll (v0.9.0.0).
  2. Replace the file in your Emby /config/plugins/ folder.
  3. Restart Emby.
  4. Go to the plugin settings and re-enter your scan folders.