From de389588ce30a80623799aae7e1d7353a8bd817b Mon Sep 17 00:00:00 2001 From: eduard256 Date: Sun, 23 Nov 2025 22:54:03 +0300 Subject: [PATCH] Release v1.0.7: Fix Hikvision channel numbering and improve database - Fixed channel numbering for Hikvision-style cameras (reported by @sergbond_com) - Added universal [CHANNEL+1] placeholder support - Supports both 0-based and 1-based channel numbering - Updated 14 camera brands with universal patterns - Fixed brand+model search matching - Removed invalid test data from database --- CHANGELOG.md | 23 +++++++++++++++++++++++ cmd/strix/main.go | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 173ca90..df304b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,29 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.7] - 2025-11-23 + +### Fixed +- Fixed channel numbering for Hikvision-style cameras (reported by @sergbond_com) +- Removed invalid test data from Hikvision database +- Fixed brand+model search matching in stream discovery + +### Added +- Universal `[CHANNEL+1]` placeholder support for flexible channel numbering +- Support for both 0-based (channel=0 → 101) and 1-based (channel=1 → 101) channel selection +- Added 6 high-priority Hikvision patterns to popular stream patterns database + +### Changed +- Updated 14 camera brands with universal channel patterns (Hikvision, Hiwatch, Annke, Swann, Abus, 7links, LevelOne, AlienDVR, Oswoo, AV102IP-40, Acvil, TBKVision, Deltaco, Night Owl) +- Hikvision: replaced 10 hardcoded patterns with 6 universal patterns +- Hiwatch: replaced 4 hardcoded patterns with 8 universal patterns (including ISAPI variants) +- Universal patterns now tested first for faster discovery, hardcoded patterns kept as fallback +- Improved stream discovery performance with intelligent pattern ordering + +### Technical +- Added support for `[CHANNEL+1]`, `[channel+1]`, `{CHANNEL+1}`, `{channel+1}` placeholders in URL builder +- Modified 16 files: +2448 additions, -1954 deletions + ## [0.1.0] - 2025-11-06 ### Added diff --git a/cmd/strix/main.go b/cmd/strix/main.go index acddbbb..0ce8160 100644 --- a/cmd/strix/main.go +++ b/cmd/strix/main.go @@ -20,7 +20,7 @@ import ( const ( // Version is the application version - Version = "1.0.4" + Version = "1.0.7" // Banner is the application banner Banner = `