Skip to content

録画ファイルの保存先を2か所設定した際に、意図していないファイルが自動削除される #703

@shinichirokosugi

Description

@shinichirokosugi

環境

  • Version of EPGStation: 2.8.0
  • OS: Debian 12 bullseye
  • Architecture: x64

Issue

録画ファイルの保存先を2か所設定し、それぞれにlimitThresholdを設定した場合、
片方の保存場所がlimitThresholdに到達した場合、limitThresholdに達していないほうのファイルが削除される場合がある。

■config
recorded:
- name: Long
path: '/app/recorded/1'
limitThreshold: 100000
action: 'remove'
- name: Short
path: '/app/recorded/2'
limitThreshold: 100000
action: 'remove'

■ログ
[2024-10-15T18:05:51.126] [INFO] system - name: Short, free: 99962.53125, threshold: 100000
[2024-10-15T18:05:51.224] [INFO] system - storage limit remove recorded: 182686
[2024-10-15T18:05:51.225] [INFO] system - delete recorded: 182686
[2024-10-15T18:05:51.227] [INFO] system - delete: /app/thumbnail/182686.jpg
[2024-10-15T18:05:51.228] [INFO] system - delete: /app/recorded/1/趣味・教育/みいつけた! 金曜日.ts
[2024-10-15T18:05:51.242] [INFO] system - successful delete recorded: 182686
[2024-10-15T18:06:51.123] [INFO] system - name: Short, free: 99848.67578125, threshold: 100000
[2024-10-15T18:06:51.204] [INFO] system - storage limit remove recorded: 182687
[2024-10-15T18:06:51.204] [INFO] system - delete recorded: 182687
[2024-10-15T18:06:51.206] [INFO] system - delete: /app/thumbnail/182687.jpg
[2024-10-15T18:06:51.210] [INFO] system - delete: /app/recorded/2/趣味・教育/おかあさんといっしょ 金曜日.ts
[2024-10-15T18:06:51.263] [INFO] system - successful delete recorded: 182687
[2024-10-15T18:13:11.609] [INFO] system - all reservation update start

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions