Skip to content

v1.6.0: Add periodic cleaning for `concat`

Compare
Choose a tag to compare
@Darkness4 Darkness4 released this 20 Jan 13:28
· 107 commits to main since this release
v1.6.0
de0af1a

Changes

Caution

Windows binaries are not statically compiled since v1.1.3+3. This is obviously a bug that need to be fixed.

Caution

This release contains a critical bug in the HLS downloader. Some streams may get corrupted (10x size).
Please use version >= v1.6.2.

  • Added deletion of old .ts that has an existing .combined.* file:

    defaultParams:
      ## Keep the raw .ts recordings after it has been remuxed. (default: false)
      ##
      ## If this option is set to false and concat is true, before every "waiting for stream to be online", a scan will be executed to detect *.combined.* files.
      ## The scan will be done on the directory of `scanDirectory`.
      ## If a non-corrupted .combined. file is detected, it will remove .ts older than `eligibleForCleaningAge`.
      ## After the cleaning, the .combined files will be renamed without the ".combined" part (if a file already exists due to remux, it won't be renamed).
      keepIntermediates: false
      ## Directory to be scanned for .ts files to be deleted after concatenation. (default: '')
      ##
      ## Scan is recursive.
      ##
      ## Empty value means no scanning.
      scanDirectory: ''
      ## Minimum age of .combined files to be eligible for cleaning. (default: 48h)
      ##
      ## The minimum should be the expected duration of a stream to avoid any race condition.
      eligibleForCleaningAge: '48h'

    The cleaner is ran every hour.

  • Added corrupted file deletion feature.

    defaultParams:
      ## Delete corrupted .ts recordings. (default: true)
      deleteCorrupted: true
  • Fix: Fixed various memory leaks with concat.

  • Added clean command

  • Fix: Instead of checking if a file exists to run remux, probe the file to see if the file is a video (equivalent to ffprobe).

  • Fix: Concat has a better ordering with numbers.

SHA256 Checksums

2d8aaeeda04f1c11c4eef46a980354e510676d37658fc4f3b6460d8f5946cc84 *fc2-live-dl-go-darwin-amd64
94428d66c1882f64d05ab5c5624ceec2f7ae0655ee310e3063edd37580494573 *fc2-live-dl-go-darwin-arm64
35e11e080617be2844be10986188d6c77e6465fa738d63ed2356b3c87d09c219 *fc2-live-dl-go-linux-amd64
00909c99652607afac6699e502797db857f508d798f6c11e06cbee570123609b *fc2-live-dl-go-linux-arm64
5aec6e5fd143834b641b2b1cf8831864d16dc8daf064887ba464b5a63814291e *fc2-live-dl-go-linux-riscv64
e20dfa65119e8dd038cc7141c0b92b2aa22efc490d3337d35b1f315498dfdb84 *fc2-live-dl-go-windows-amd64.exe

Full Changelog: v1.5.1...v1.6.0