Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shinichirokosugi opened this issue Oct 15, 2024 · 0 comments

Comments

@shinichirokosugi
Copy link

shinichirokosugi commented Oct 15, 2024

環境

  • 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

@shinichirokosugi shinichirokosugi changed the title 録画ファイルの保存先を2か所設定sitabaai, 録画ファイルの保存先を2か所設定した際に、意図していないファイルが自動削除される Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant