Repository navigation
0.9.0.0-beta
Pre-release
Pre-release
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.mkvandMovie.mp4, the plugin will now generateMovie.strmandMovie [mp4].strminstead of overwriting each other on every sync. - Atomic writes:
.strmand.originalfiles 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:
- Orphan deletion is in simulation mode (
DryRun).- For safety,
OrphansDryRunis enabled by default. If you had orphan deletion enabled, you will see[ORPHANS-DRYRUN] N .strm would be deletedin 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)".
- For safety,
- Scan paths reset.
- The
SelectedFoldersproperty has been renamed toCustomScanPathto fix a UI bug. If you had selected folders, you will need to re-enter them in the plugin settings.
- The
- New
.strmfiles 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.strmfiles will not be deleted, but a clean library scan is recommended.
- If you had two remote files with the same name but different extensions, new entries will appear in Emby (e.g.,
How to update
- Download the new
Chomyfin.dll(v0.9.0.0). - Replace the file in your Emby
/config/plugins/folder. - Restart Emby.
- Go to the plugin settings and re-enter your scan folders.