Skip to content

Instantly share code, notes, and snippets.

@fuji44
Created November 23, 2020 12:33
Show Gist options
  • Save fuji44/9b93c479d7c912eb7b92c0f8fa12e58e to your computer and use it in GitHub Desktop.
Save fuji44/9b93c479d7c912eb7b92c0f8fa12e58e to your computer and use it in GitHub Desktop.
- name: TBSチャンネル1
type: CS
channel: CS2
serviceId: 296
isDisabled: true
- name: テレ朝チャンネル1
type: CS
channel: CS2
serviceId: 298
isDisabled: true
- name: テレ朝チャンネル2
type: CS
channel: CS2
serviceId: 299
isDisabled: true
- name: ディズニージュニア
type: CS
channel: CS2
serviceId: 339
isDisabled: true
- name: AT-X HD
type: SKY
channel: ATXHD
serviceId: 33435
satelite: JCSAT3A
isDisabled: true
- name: AXN HD
type: SKY
channel: AXNHD
serviceId: 33418
satelite: JCSAT4A
isDisabled: true
- name: BS SPTV
type: SKY
channel: CH585
serviceId: 33353
satelite: JCSAT3A
isDisabled: true
- name: AT-X HD
type: SKY
channel: ATXHD
serviceId: 33435
satelite: JCSAT3A
isDisabled: true
- name: AXN HD
type: SKY
channel: AXNHD
serviceId: 33418
satelite: JCSAT4A
isDisabled: true
- name: BS SPTV
type: SKY
channel: CH585
serviceId: 33353
satelite: JCSAT3A
isDisabled: true
curl -X PUT "http://192.168.10.254:40772/api/config/channels/scan?type=CS&minCh=1&maxCh=3" -H "accept: text/plain"
---- Response headers
connection: keep-alive
content-type: text/plain; charset=utf-8
date: Mon23 Nov 2020 12:31:08 GMT
keep-alive: timeout=5
server: Mirakurun/3.3.1
transfer-encoding: chunked
---- Response body
channel scanning... (type: "CS")
channel: "CS1" ...
-> no signal. [Error: stream has closed before get network]
channel: "CS2" ...
-> 4 services found.
-> {"name":"TBSチャンネル1","type":"CS","channel":"CS2","serviceId":296,"isDisabled":true}
-> {"name":"テレ朝チャンネル1","type":"CS","channel":"CS2","serviceId":298,"isDisabled":true}
-> {"name":"テレ朝チャンネル2","type":"CS","channel":"CS2","serviceId":299,"isDisabled":true}
-> {"name":"ディズニージュニア","type":"CS","channel":"CS2","serviceId":339,"isDisabled":true}
channel: "CS3" ...
-> no signal. [Error: stream has closed before get network]
-> total 4 channels (of Takeover is 0) found and 7 channels stored.
channel scan has completed and saved successfully.
**RESTART REQUIRED** to apply changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment