https://github.com/takuya/php-epgdump-wrapper
https://github.com/takuya/php-epgdump-wrapper
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/takuya/php-epgdump-wrapper
- Owner: takuya
- License: gpl-3.0
- Created: 2021-03-04T09:35:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-17T09:01:23.000Z (over 4 years ago)
- Last Synced: 2025-02-09T01:14:04.093Z (over 1 year ago)
- Language: PHP
- Size: 9.45 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# epgdump command php wrapper
epgdump のコマンドをいつも間違えるので、ラッパーを書いた
## sample 01
```php
BS()
->setTsFile( '-' )
->setOutFile( '-' )
->setInput( $ts )
->start()
->wait()
->getProcess()
->getOutput();
```
## sample 02
ssh経由で
```php
BS()
->setTsFile( '-' )
->setOutFile( '-' )
->setInput( $ts )
->start()
->wait()
->getProcess()
->getOutput();
```
## sample 03
recpt1 の出力をそのまま使う。
```php
start();
$epgdump = new Epgdump('ssh 192.168.10.5 epgdump');
$xml = $epgdump
->BS()
->setTsFile( '-' )
->setOutFile( '-' )
->setInput( $p1_out )
->start()
->wait()
->getProcess()
->getOutput();
```
Process クラスは ` composer require takuya/process` でインストール。
### epgdump
https://github.com/stz2012/epgdump