You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ sudo curl -X PUT "http://localhost:40772/api/config/channels/scan"
channel scanning... (type: "GR")
-> total 0 channels (of Takeover is 0) found and 46 channels stored.
channel scan has completed and saved successfully.
**RESTART REQUIRED** to apply changes.
Environment
3.4.0
v14.15.3
6.14.9
Issue
チャンネルスキャンが既存のエンドポイント/オプションで動作しなくなっていました。
#79 の PR が契機と思われます。
挙動としてはminCh/maxChを指定すると動作するため、
以下で判定が想定通りで無いように見えました。
Mirakurun/src/Mirakurun/api/config/channels/scan.ts
Lines 66 to 68 in a8674a1
以下は推測です。
API定義上のデフォルト値も消えている。
Mirakurun/src/Mirakurun/api/config/channels/scan.ts
Lines 304 to 315 in a8674a1
fw? middleware? に何を使っているのか把握出来ていないのですが、
GRとかのデフォルト値が扱われているところをみると、
type: "integer" で、
0
に丸められる挙動になってしまっているのでは無いでしょうか。The text was updated successfully, but these errors were encountered: