20 Commits

Author SHA1 Message Date
06b19c7cb4 Round recording duration to the nearest second in RSS feed items (#8)
Some checks failed
Docker / build (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
2025-04-13 23:31:51 +03:00
f9d0347ed4 Refactor GetDuration for improved MP3 duration estimation (#7)
* Refactor GetDuration to improve MP3 duration estimation using bitrate sampling and file size

* Improve error message for bitrate sampling failure in GetDuration
2025-04-13 23:23:27 +03:00
b5f23a50b7 Integrate MP3 duration extraction and silence handling (#6)
Some checks failed
CodeQL / Analyze (go) (push) Has been cancelled
Docker / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
* feat: integrate MP3 duration extraction and silence handling

- Added a new dependency on github.com/tcolgate/mp3 for MP3 frame decoding.
- Implemented actual MP3 duration retrieval in the scanRecordings function, falling back to an estimation if retrieval fails.
- Introduced a silent frame asset for generating silence in audio streams.
- Created a silence reader to provide a continuous stream of silent frames.
- Added necessary documentation and licensing for the new MP3 package.
- Updated .gitignore to exclude MP3 files except for the internal data directory.

* feat: update README and improve application configuration and logging

* refactor: remove unused GenerateFileHash function and improve resource cleanup in MP3 and recorder modules
2025-04-13 15:56:22 +03:00
ca6d23daf7 remove filestore package and its related functionality (#5) 2025-04-13 10:59:27 +03:00
Dmitrii Andreev
efc94b9162 logged errors on destFile.Close
Some checks failed
CodeQL / Analyze (go) (push) Has been cancelled
Docker / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
2025-04-13 08:37:55 +03:00
Dmitrii Andreev
23c8e490ba fixed again rss endpoint 2025-04-13 08:23:22 +03:00
Dmitrii Andreev
31812744b8 fixed rss endpoint 2025-04-13 08:18:53 +03:00
Dmitrii Andreev
6ca796efb6 renamed some config options 2025-04-13 08:16:13 +03:00
Dmitrii Andreev
71ede6e93d fixes for records downloading 2025-04-13 08:07:44 +03:00
Dmitrii Andreev
4666cbeb8e fixed filename format patterns for rss generator 2025-04-13 07:59:21 +03:00
Dmitrii Andreev
c63a640eb0 fallback to copying while rename failed; keep file if moving failed 2025-04-13 07:46:29 +03:00
Dmitrii Andreev
b4bed37a9f switched codeql to go 2025-04-07 19:17:04 +03:00
Dmitrii Andreev
926a9ca08b removed filestore metadata caching
Some checks failed
CodeQL / Analyze (python) (push) Has been cancelled
Docker / build (push) Has been cancelled
golangci-lint / lint (push) Has been cancelled
2025-04-07 13:44:49 +03:00
Dmitrii Andreev
15c6f7b137 removed DATABASE_PATH 2025-04-07 13:27:12 +03:00
Dmitrii Andreev
a1c189c885 renamed database to filestore 2025-04-07 12:47:36 +03:00
Dmitrii Andreev
a3038b43ab refactoring, simplification 2025-04-07 12:36:56 +03:00
Dmitrii Andreev
535020aa0f moved to guerilla/feeds for rss generation 2025-04-07 11:58:08 +03:00
Dmitrii Andreev
b0b46579b5 goes away from content based guids to filename based 2025-04-07 11:55:08 +03:00
Dmitrii Andreev
42aed9decb linter 2025-04-07 11:32:14 +03:00
Dmitrii Andreev
f64163d12a Rework with go 2025-04-07 11:15:05 +03:00