From a0b654ae41304649f4c4fea2702d716421fdd978 Mon Sep 17 00:00:00 2001 From: wonipapa Date: Fri, 14 Apr 2017 10:47:08 +0900 Subject: [PATCH] Update README.md --- README.md | 67 +++++++++++++++++++++++++++---------------------------- 1 file changed, 33 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index 504555f..4be9587 100644 --- a/README.md +++ b/README.md @@ -31,40 +31,6 @@ Channel.json 파일을 텍스트 편집기로 열어보면 각채널별 정보 필요없는 채널정보를 가져오지 않게 하는 것으로 EPG 정보 수집시 시간을 단축할 수 있다. 삭제된 채널등으로 인해서 오류 발생시에도 Enabled:0으로 변경하면 오류 발생을 차단할 수 있다. -## 사용방법 - -### tv_grab_file 사용시 (https://github.com/neo365/tvheadend-for-Korea) -epg2xml tv_grab_file 안의 cat xmltv.xml 또는 wget 부분을 아래와 같이 변경해준다. - -#### PYTHON의 경우 -
-/usr/bin/python /home/hts/epg2xml.py 또는
-/home/hts/epg2xml.py
-
- -#### PHP의 경우 -
-/usr/bin/php /home/hts/epg2xml.php 또는
-/home/hts/epg2xml.php
-
- - - -### XMLTV SOCKET 사용시 -**xmltv.sock 사용시 socat 등을 사용하지 않고 바로 socket에 쓰기가 가능하다** - -#### PYTHON의 경우 -
-/usr/bin/python /home/hts/epg2xml.py 또는
-/home/hts/epg2xml.py
-
- -#### PHP의 경우 -
-/usr/bin/php /home/hts/epg2xml.php 또는
-/home/hts/epg2xml.php
-
- ## 옵션 소개 실행시 사용가능한 인수는 --help 명령어로 확인이 가능하다 epg2xml.json의 설정을 옵션의 인수를 이용하여 변경할 수 있다. @@ -82,5 +48,38 @@ epg2xml.json의 설정을 옵션의 인수를 이용하여 변경할 수 있다. --verbose : EPG 정보 상세하게 표기 ex) --verbose y +## 사용방법 + +### tv_grab_file 사용시 (https://github.com/neo365/tvheadend-for-Korea) +epg2xml tv_grab_file 안의 cat xmltv.xml 또는 wget 부분을 아래와 같이 변경해준다. + +#### PYTHON의 경우 +
+/usr/bin/python /home/hts/epg2xml.py 또는
+/home/hts/epg2xml.py
+
+ +#### PHP의 경우 +
+/usr/bin/php /home/hts/epg2xml.php 또는
+/home/hts/epg2xml.php
+
+ +### XMLTV SOCKET 사용시 +**xmltv.sock 사용시 socat 등을 사용하지 않고 바로 socket에 쓰기가 가능하다** + +#### PYTHON의 경우 +
+/usr/bin/python /home/hts/epg2xml.py 또는
+/home/hts/epg2xml.py
+
+ +#### PHP의 경우 +
+/usr/bin/php /home/hts/epg2xml.php 또는
+/home/hts/epg2xml.php
+
+ + ## 라이센스 BSD