diff --git a/.gitignore b/.gitignore index 50b09f4..7f8262b 100644 --- a/.gitignore +++ b/.gitignore @@ -23,5 +23,5 @@ downloads/ test/ tmp/ var/ -*.conf -*.log \ No newline at end of file +*.log +*.list \ No newline at end of file diff --git a/converter.conf b/converter.conf new file mode 100644 index 0000000..3c386a4 --- /dev/null +++ b/converter.conf @@ -0,0 +1,8 @@ +logs=./converter.log + +list=./converter.list +imgroot=/home/user/cctv-scheduler/records +imgnames=point-01 point-02 point-04 point-05 point-11 point-12 +xscale=1920 +yscale=1080 +mp4fps=25 diff --git a/publisher.conf b/publisher.conf new file mode 100644 index 0000000..e9b7d94 --- /dev/null +++ b/publisher.conf @@ -0,0 +1,86 @@ +logs=./publisher.log + +pathroot=/home/user/cctv-scheduler/records +vidnamesarray=point-01 point-02 point-04 point-05 point-11 point-12 + + +telegramapiurl=https://api.telegram.org/bot1234567890:YOURAPIKEY +telegramchatid=123456789 +tgpreviewlink=https://www.hmp.today/wp-content/uploads/2021/02/site-slider_hmp-qr_bwg-3840x1705-1.png +tgpreviewtext=https://www.hmp.today/media + + +wpxmlrpclink=https://www.hmp.today/xmlrpc.php +wpxmlrpcuser=user +wpxmlrpcpass=pass +wppageauthor=author +wppagelinkis=https://www.hmp.today/media +wpeditpageid=1007 +wpedituserid=0 +wpeditdateis=20220707T00:00:00 +wptemplateis=./publisher-template-page-1007.xml + + +youtubelink=https://youtu.be/link + + +defaultdp01=point-01 https://www.hmp.today/wp-content/uploads/2022/07/point-01_yyyy.mm_.dd_.mp4 +defaultwp01=point-01 https://www.hmp.today/wp-content/uploads/2022/07/point-01_w.mp4 +defaultmp01=point-01 https://www.hmp.today/wp-content/uploads/2022/07/point-01_yyyy.mm_.mp4 +defaultyp01=point-01 https://www.hmp.today/wp-content/uploads/2022/07/point-01_yyyy.mp4 + +defaultdp02=point-02 https://www.hmp.today/wp-content/uploads/2022/07/point-02_yyyy.mm_.dd_.mp4 +defaultwp02=point-02 https://www.hmp.today/wp-content/uploads/2022/07/point-02_w.mp4 +defaultmp02=point-02 https://www.hmp.today/wp-content/uploads/2022/07/point-02_yyyy.mm_.mp4 +defaultyp02=point-02 https://www.hmp.today/wp-content/uploads/2022/07/point-02_yyyy.mp4 + +defaultdp04=point-04 https://www.hmp.today/wp-content/uploads/2022/07/point-04_yyyy.mm_.dd_.mp4 +defaultwp04=point-04 https://www.hmp.today/wp-content/uploads/2022/07/point-04_w.mp4 +defaultmp04=point-04 https://www.hmp.today/wp-content/uploads/2022/07/point-04_yyyy.mm_.mp4 +defaultyp04=point-04 https://www.hmp.today/wp-content/uploads/2022/07/point-04_yyyy.mp4 + +defaultdp05=point-05 https://www.hmp.today/wp-content/uploads/2022/07/point-05_yyyy.mm_.dd_.mp4 +defaultwp05=point-05 https://www.hmp.today/wp-content/uploads/2022/07/point-05_w.mp4 +defaultmp05=point-05 https://www.hmp.today/wp-content/uploads/2022/07/point-05_yyyy.mm_.mp4 +defaultyp05=point-05 https://www.hmp.today/wp-content/uploads/2022/07/point-05_yyyy.mp4 + +defaultdp11=point-11 https://www.hmp.today/wp-content/uploads/2022/07/point-11_yyyy.mm_.dd_.mp4 +defaultwp11=point-11 https://www.hmp.today/wp-content/uploads/2022/07/point-11_w.mp4 +defaultmp11=point-11 https://www.hmp.today/wp-content/uploads/2022/07/point-11_yyyy.mm_.mp4 +defaultyp11=point-11 https://www.hmp.today/wp-content/uploads/2022/07/point-11_yyyy.mp4 + +defaultdp12=point-12 https://www.hmp.today/wp-content/uploads/2022/07/point-12_yyyy.mm_.dd_.mp4 +defaultwp12=point-12 https://www.hmp.today/wp-content/uploads/2022/07/point-12_w.mp4 +defaultmp12=point-12 https://www.hmp.today/wp-content/uploads/2022/07/point-12_yyyy.mm_.mp4 +defaultyp12=point-12 https://www.hmp.today/wp-content/uploads/2022/07/point-12_yyyy.mp4 + + +currentdp01=point-01 +currentwp01=point-01 +currentmp01=point-01 +currentyp01=point-01 + +currentdp02=point-02 +currentwp02=point-02 +currentmp02=point-02 +currentyp02=point-02 + +currentdp04=point-04 +currentwp04=point-04 +currentmp04=point-04 +currentyp04=point-04 + +currentdp05=point-05 +currentwp05=point-05 +currentmp05=point-05 +currentyp05=point-05 + +currentdp11=point-11 +currentwp11=point-11 +currentmp11=point-11 +currentyp11=point-11 + +currentdp12=point-12 +currentwp12=point-12 +currentmp12=point-12 +currentyp12=point-12 diff --git a/sequences.conf b/sequences.conf new file mode 100644 index 0000000..99f23ab --- /dev/null +++ b/sequences.conf @@ -0,0 +1,17 @@ +logs=./sequence.log + +camuser=user +campass=pass +camaddr=192.168.254.254 +camport=80 + +ftpuser=user +ftppass=pass +ftpaddr=192.168.254.254 +ftpport=21 + +tmpuser=user +tmppass=pass +tmpaddr=192.168.254.254 +tmpport=22 +tmpnode=28-1a2b3c4d5e6f