Skip to content

Instantly share code, notes, and snippets.

@yanoshi
Last active February 11, 2022 18:07
Show Gist options
  • Save yanoshi/14ada855e91873338b0cbb514bee1199 to your computer and use it in GitHub Desktop.
Save yanoshi/14ada855e91873338b0cbb514bee1199 to your computer and use it in GitHub Desktop.
Mirakurun@Windowsな設定ファイル(紆余曲折があってBonDriverProxyExを使って動作させてる)
[OPTION]
; サーバ側でのアドレス指定では「,」区切りで複数インタフェースを指定可能
; e.g. ADDRESS=192.168.0.100, 127.0.0.1
ADDRESS=192.168.0.3
PORT=11920
SANDBOXED_RELEASE=0
DISABLE_UNLOAD_BONDRIVER=0
BONDRIVER=PT-S
CHANNEL_LOCK=0
CONNECT_TIMEOUT=5
USE_MAGICPACKET=0
[MAGICPACKET]
TARGET_ADDRESS=192.168.0.100
TARGET_PORT=1192
TARGET_MACADDRESS=AA-BB-CC-DD-EE-FF
[SYSTEM]
PACKET_FIFO_SIZE=64
TS_FIFO_SIZE=64
TSPACKET_BUFSIZE=192512
; PROCESSPRIORITYの有効な値は高い方から順に、REALTIME, HIGH, ABOVE_NORMAL, NORMAL, BELOW_NORMAL, IDLE
PROCESSPRIORITY=NORMAL
; THREADPRIORITY_XXXの有効な値は高い方から順に、CRITICAL, HIGHEST, ABOVE_NORMAL, NORMAL, BELOW_NORMAL, LOWEST, IDLE
THREADPRIORITY_TSREADER=NORMAL
THREADPRIORITY_SENDER=NORMAL
[OPTION]
; サーバ側でのアドレス指定では「,」区切りで複数インタフェースを指定可能
; e.g. ADDRESS=192.168.0.100, 127.0.0.1
ADDRESS=192.168.0.3
PORT=11920
SANDBOXED_RELEASE=0
DISABLE_UNLOAD_BONDRIVER=0
BONDRIVER=PT-T
CHANNEL_LOCK=0
CONNECT_TIMEOUT=5
USE_MAGICPACKET=0
[MAGICPACKET]
TARGET_ADDRESS=192.168.0.100
TARGET_PORT=1192
TARGET_MACADDRESS=AA-BB-CC-DD-EE-FF
[SYSTEM]
PACKET_FIFO_SIZE=64
TS_FIFO_SIZE=64
TSPACKET_BUFSIZE=192512
; PROCESSPRIORITYの有効な値は高い方から順に、REALTIME, HIGH, ABOVE_NORMAL, NORMAL, BELOW_NORMAL, IDLE
PROCESSPRIORITY=NORMAL
; THREADPRIORITY_XXXの有効な値は高い方から順に、CRITICAL, HIGHEST, ABOVE_NORMAL, NORMAL, BELOW_NORMAL, LOWEST, IDLE
THREADPRIORITY_TSREADER=NORMAL
THREADPRIORITY_SENDER=NORMAL
[OPTION]
; サーバ側でのアドレス指定では「,」区切りで複数インタフェースを指定可能
; e.g. ADDRESS=192.168.0.100, 127.0.0.1
ADDRESS=192.168.0.3, 127.0.0.1
PORT=11920
OPENTUNER_RETURN_DELAY=0
SANDBOXED_RELEASE=0
DISABLE_UNLOAD_BONDRIVER=0
;BONDRIVER=PT-T
CHANNEL_LOCK=1
[BONDRIVER]
00=PT-S;BonDriver_PT3-S0.dll;BonDriver_PT3-S1.dll;BonDriver_PT3-S2.dll;BonDriver_PT3-S3.dll;BonDriver_PT3-S4.dll;BonDriver_PT3-S5.dll
01=PT-T;BonDriver_PT3-T0.dll;BonDriver_PT3-T1.dll;BonDriver_PT3-T2.dll;BonDriver_PT3-T3.dll;BonDriver_PT3-T4.dll;BonDriver_PT3-T5.dll
[SYSTEM]
PACKET_FIFO_SIZE=64
TS_FIFO_SIZE=64
TSPACKET_BUFSIZE=192512
; PROCESSPRIORITYの有効な値は高い方から順に、REALTIME, HIGH, ABOVE_NORMAL, NORMAL, BELOW_NORMAL, IDLE
PROCESSPRIORITY=NORMAL
; THREADPRIORITY_XXXの有効な値は高い方から順に、CRITICAL, HIGHEST, ABOVE_NORMAL, NORMAL, BELOW_NORMAL, LOWEST, IDLE
THREADPRIORITY_TSREADER=NORMAL
THREADPRIORITY_SENDER=NORMAL
- name: NHK総合・東京
type: GR
channel: '14'
- name: NHKEテレ東京
type: GR
channel: '13'
- name: tvk
type: GR
channel: '5'
- name: 日本テレビ
type: GR
channel: '12'
- name: テレビ朝日
type: GR
channel: '11'
- name: TBS
type: GR
channel: '9'
- name: テレビ東京
type: GR
channel: '10'
- name: フジテレビジョン
type: GR
channel: '8'
- name: TOKYO MX
type: GR
channel: '3'
- name: 放送大学
type: GR
channel: '15'
- name: NHK BS1
type: BS
channel: '9'
serviceId: 101
- name: NHK BS1 (Sub)
type: BS
channel: '9'
serviceId: 102
- name: NHK BS Premium
type: BS
channel: '10'
serviceId: 103
- name: NHK BS Premium (Sub)
type: BS
channel: '10'
serviceId: 104
- name: BS Nippon
type: BS
channel: '7'
serviceId: 141
- name: BS Nippon (Sub)
type: BS
channel: '7'
serviceId: 142
- name: BS Asahi
type: BS
channel: '0'
serviceId: 151
- name: BS Asahi (Sub)
type: BS
channel: '0'
serviceId: 152
- name: BS-TBS
type: BS
channel: '1'
serviceId: 161
- name: BS JAPAN
type: BS
channel: '3'
serviceId: 171
- name: BS Fuji
type: BS
channel: '8'
serviceId: 181
- name: WOWOW Prime
type: BS
channel: '2'
serviceId: 191
- name: WOWOW Live
type: BS
channel: '13'
serviceId: 192
- name: WOWOW Cinema
type: BS
channel: '14'
serviceId: 193
- name: BS11
type: BS
channel: '4'
serviceId: 211
- name: BS SPTV
type: BS
channel: '18'
serviceId: 241
- name: スター・チャンネル1
type: BS
channel: '5'
serviceId: 200
- name: スター・チャンネル2
type: BS
channel: '15'
serviceId: 201
- name: スター・チャンネル3
type: BS
channel: '15'
serviceId: 202
- name: TwellV
type: BS
channel: '6'
serviceId: 222
- name: 放送大学BS1
type: BS
channel: '19'
serviceId: 231
- name: 放送大学BS2
type: BS
channel: '19'
serviceId: 232
- name: 放送大学BS3
type: BS
channel: '19'
serviceId: 233
- name: グリーンチャンネル
channel: '20'
type: BS
serviceId: 234
- name: BSアニマックス
type: BS
channel: '16'
serviceId: 236
- name: FOX bs238
channel: '17'
type: BS
serviceId: 238
- name: J SPORTS 1
type: BS
channel: '21'
serviceId: 242
- name: J SPORTS 2
type: BS
channel: '22'
serviceId: 243
- name: J SPORTS 3
type: BS
channel: '25'
serviceId: 244
- name: J SPORTS 4
type: BS
channel: '26'
serviceId: 245
- name: BS釣りビジョン
type: BS
channel: '27'
serviceId: 251
- name: IMAGICA BS
type: BS
channel: '24'
serviceId: 252
- name: 日本映画専門チャンネル
type: BS
channel: '28'
serviceId: 255
- name: ディズニー・チャンネル
type: BS
channel: '23'
serviceId: 256
- name: D-Life
type: BS
channel: '29'
serviceId: 258
- name: ショップチャンネル
type: CS
channel: '3'
serviceId: 55
- name: スカパー!プロモ
type: CS
channel: '1'
serviceId: 100
- name: QVC
type: CS
channel: '10'
serviceId: 161
- name: 東映チャンネル
type: CS
channel: '3'
serviceId: 218
- name: 衛星劇場
type: CS
channel: '3'
serviceId: 219
- name: チャンネルNECO
type: CS
channel: '1'
serviceId: 223
- name: ザ・シネマ
type: CS
channel: '1'
serviceId: 227
- name: FOXムービー
type: CS
channel: '11'
serviceId: 229
- name: ムービープラスHD
type: CS
channel: '8'
serviceId: 240
- name: sky・Aスポーツ+
type: CS
channel: '1'
serviceId: 250
- name: GAORA
type: CS
channel: '5'
serviceId: 254
- name: 日テレG+ HD
type: CS
channel: '11'
serviceId: 257
- name: ゴルフネットHD
type: CS
channel: '8'
serviceId: 262
- name: SKY STAGE
type: CS
channel: '7'
serviceId: 290
- name: 時代劇専門chHD
type: CS
channel: '6'
serviceId: 292
- name: ファミリー劇場HD
type: CS
channel: '6'
serviceId: 293
- name: ホームドラマCH
type: CS
channel: '2'
serviceId: 294
- name: TBSチャンネル1
type: CS
channel: '0'
serviceId: 296
- name: TBSチャンネル2
type: CS
channel: '10'
serviceId: 297
- name: テレ朝チャンネル1
type: CS
channel: '0'
serviceId: 298
- name: テレ朝チャンネル2
type: CS
channel: '0'
serviceId: 299
- name: 日テレプラス
type: CS
channel: '11'
serviceId: 300
- name: チャンネル銀河
type: CS
channel: '7'
serviceId: 305
- name: フジテレビONE
type: CS
channel: '9'
serviceId: 307
- name: フジテレビTWO
type: CS
channel: '9'
serviceId: 308
- name: フジテレビNEXT
type: CS
channel: '9'
serviceId: 309
- name: スーパー!ドラマHD
type: CS
channel: '6'
serviceId: 310
- name: AXN
type: CS
channel: '7'
serviceId: 311
- name: FOX
type: CS
channel: '10'
serviceId: 312
- name: 女性ch/LaLa
type: CS
channel: '8'
serviceId: 314
- name: スペシャプラス
type: CS
channel: '11'
serviceId: 321
- name: スペースシャワーTV
type: CS
channel: '10'
serviceId: 322
- name: MTV
type: CS
channel: '2'
serviceId: 323
- name: エムオン!HD
type: CS
channel: '5'
serviceId: 325
- name: ミュージック・エア
type: CS
channel: '3'
serviceId: 326
- name: 歌謡ポップス
type: CS
channel: '2'
serviceId: 329
- name: キッズステーション
type: CS
channel: '5'
serviceId: 330
- name: カートゥーン
type: CS
channel: '10'
serviceId: 331
- name: AT-X
type: CS
channel: '7'
serviceId: 333
- name: ディズニージュニア
type: CS
channel: '3'
serviceId: 339
- name: ディスカバリー
type: CS
channel: '2'
serviceId: 340
- name: アニマルプラネット
type: CS
channel: '2'
serviceId: 341
- name: ヒストリーチャンネル
type: CS
channel: '1'
serviceId: 342
- name: ナショジオチャンネル
type: CS
channel: '7'
serviceId: 343
- name: 日テレNEWS24
type: CS
channel: '3'
serviceId: 349
- name: TBSニュースバード
type: CS
channel: '10'
serviceId: 351
- name: BBCワールド
type: CS
channel: '7'
serviceId: 353
- name: CNNj
type: CS
channel: '2'
serviceId: 354
- name: 旅チャンネル
type: CS
channel: '11'
serviceId: 362
- name: 囲碁・将棋チャンネル
type: CS
channel: '1'
serviceId: 363
- name: スカチャン0
type: CS
channel: '4'
serviceId: 800
- name: スカチャン1
type: CS
channel: '4'
serviceId: 801
- name: スカチャン2
type: CS
channel: '4'
serviceId: 802
- name: スカチャン3
type: CS
channel: '4'
serviceId: 805
path: \\.\pipe\mirakurun
port: 8888
logLevel: 2
- name: PT3-S1
types:
- BS
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-S.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-S2
types:
- BS
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-S.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-S3
types:
- BS
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-S.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-S4
types:
- BS
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-S.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-S5
types:
- BS
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-S.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-S6
types:
- BS
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-S.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-S1
types:
- CS
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --space 1 --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-S.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-S2
types:
- CS
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --space 1 --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-S.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-S3
types:
- CS
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --space 1 --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-S.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-S4
types:
- CS
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --space 1 --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-S.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-S5
types:
- CS
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --space 1 --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-S.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-S6
types:
- CS
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --space 1 --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-S.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-T1
types:
- GR
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-T.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-T2
types:
- GR
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-T.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-T3
types:
- GR
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-T.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-T4
types:
- GR
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-T.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-T5
types:
- GR
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-T.dll --output - --channel <channel>
decoder: ~
isDisabled: false
- name: PT3-T6
types:
- GR
command: C:\soft\PT3\BonRecTest\BonRecTest.exe --decoder C:\soft\PT3\BonRecTest\B25Decoder.dll --log --driver C:\soft\PT3\BonRecTest\proxy\BonDriver_Proxy-T.dll --output - --channel <channel>
decoder: ~
isDisabled: false
@yanoshi
Copy link
Author

yanoshi commented May 1, 2016

BonRecTestとBonDriverProxyExを使って動作します。
https://github.com/u-n-k-n-o-w-n/BonDriverProxyEx
https://github.com/rndomhack/BonRecTest

Mirakurunを動かした時のログはここにあるよ。
C:\Users\%username%\AppData\Local\Mirakurun\stdout

@yanoshi
Copy link
Author

yanoshi commented May 1, 2016

ちなみにtuners.yml, server.yml, channels.yml
C:\Users\%username%\.Mirakurun
へ。

また、チャンネル番号には気を付けたほうがよいかも(BonDriverな環境なので、LinuxなMirakurunのそれとは違う)

Mirakurunのバージョンは1.3.2を使用。RecBonTestは5bb99b983b90dbd4d256c26cc9772b99d8016899なコミットのものを利用。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment