Skip to content

Commit

Permalink
Fix: DD Max M4 を認識できない問題を修正 (Close #3)
Browse files Browse the repository at this point in the history
fe_delivery_system 型に SYS_DVBC2 が取り込まれたのは2年前とかなり最近で、実装時の参考資料に書かれていなかったのが原因だと思われる
ref: https://github.com/torvalds/linux/blob/v6.10/include/uapi/linux/dvb/frontend.h#L676-L697
  • Loading branch information
tsukumijima committed Aug 13, 2024
1 parent cc1ad05 commit 67d7ace
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions isdb_scanner/tuner.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ class DtvProperties(ctypes.Structure):
DTV_ENUM_DELSYS = 44

# 配信システムの列挙型
## ref: https://github.com/torvalds/linux/blob/v6.10/include/uapi/linux/dvb/frontend.h#L676-L697
class fe_delivery_system(IntEnum):
SYS_UNDEFINED = 0
SYS_DVBC_ANNEX_A = 1
Expand All @@ -532,6 +533,7 @@ class fe_delivery_system(IntEnum):
SYS_DVBT2 = 16
SYS_TURBO = 17
SYS_DVBC_ANNEX_C = 18
SYS_DVBC2 = 19

# DVB フロントエンドデバイスを開く
try:
Expand Down

0 comments on commit 67d7ace

Please sign in to comment.