Commit Graph

170 Commits

Author SHA1 Message Date
Jonathan Baecker
6fff195cd1 starting with text overlay 2019-06-07 16:12:09 +02:00
Jonathan Baecker
8f7055ed39 logging instead of printing 2019-06-07 13:34:48 +02:00
Jonathan Baecker
224df805df add log info 2019-06-07 13:31:47 +02:00
Jonathan Baecker
27d8f51099 import watchdog only when is needed 2019-06-07 10:16:39 +02:00
Jonathan Baecker
e0f829871f handle sigterm, BrokenPipeError and KeyboardInterrupt 2019-06-07 09:40:32 +02:00
jb-alvarado
d70a1b5654 BrokenPipeError to execpt 2019-06-06 22:08:07 +02:00
jb-alvarado
be7f34aa7a catch KeyboardInterrupt and sigterm 2019-06-06 22:02:20 +02:00
Jonathan Baecker
c513e181da add folder watch 2019-06-06 18:16:33 +02:00
Jonathan Baecker
10afe8d914 remove useless function 2019-06-05 14:21:03 +02:00
Jonathan Baecker
28f724a562 no thread limit, json.loads for config lists, format errors, fix yield 2019-06-04 10:16:15 +02:00
jb-alvarado
ba2426e866 remove tolerance check, better naming 2019-06-03 21:33:29 +02:00
jb-alvarado
d76e7d6af9 merge condition 2019-05-30 08:48:48 +02:00
Jonathan Baecker
df56f07b83 make tolernace value as a config option, yield onyl one list 2019-05-29 11:44:18 +02:00
jb-alvarado
da300d3aa0 we need a way to terminate 2019-05-28 21:48:53 +02:00
jb-alvarado
75e774f97f cleanup, optimize, more compact 2019-05-28 21:22:10 +02:00
Jonathan Baecker
434602ddd2 lets try without Queue and Thread 2019-05-28 17:43:57 +02:00
Jonathan Baecker
facaa4144a cleanup 2019-05-28 15:03:47 +02:00
Jonathan Baecker
e8c5ea70e7 read bigger chunks, for smaller ones python is to slow 2019-05-28 13:31:44 +02:00
Jonathan Baecker
13798768cd read exact size, change back to constant bitrate 2019-05-28 09:58:34 +02:00
jb-alvarado
eef7507916 put None to buffer when we out of sync, cleanup 2019-05-27 21:19:43 +02:00
Jonathan Baecker
9b3d0224cb more cleanup 2019-05-27 14:32:22 +02:00
Jonathan Baecker
09f131c6a0 cleanup 2019-05-27 14:08:06 +02:00
Jonathan Baecker
f8acc0a9ae cleanup 2019-05-27 12:20:46 +02:00
Jonathan Baecker
1325570c50 set qualitiy factor instead of bitrate 2019-05-27 11:58:12 +02:00
Jonathan Baecker
e7d9d75818 change tolerance 2019-05-27 11:42:18 +02:00
Jonathan Baecker
66f6a4242d we need to break out, when no data is comming 2019-05-27 11:13:05 +02:00
Jonathan Baecker
f52a045eef test Queue instead of external buffer tool 2019-05-27 10:31:26 +02:00
jb-alvarado
c5f8ebc7a7 hard coded buffer length -> less confusion for the user 2019-05-26 20:59:01 +02:00
jb-alvarado
9ec831a0af fix time_distance sync check 2019-05-20 09:09:52 +02:00
Jonathan Baecker
56fd753fb8 add mail level, unify formatings 2019-05-10 11:10:08 +02:00
jb-alvarado
a0b88c32ef fix #14 - error in copy mode 2019-05-08 09:46:21 +02:00
jb-alvarado
01edf4c8ee remove apad and -shortest -> this is the root of bigger time shift 2019-04-12 16:03:15 +02:00
jb-alvarado
f7833500a1 check boolean first, json encoding, spelling 2019-03-29 15:19:10 +01:00
jb-alvarado
cfd28c2eab sync check better without buffer length, reorder functions 2019-03-29 14:55:51 +01:00
jb-alvarado
5f7ded24b0 fix last_time 2019-03-27 13:19:59 +01:00
jb-alvarado
6db01e4109 remove dummy_len 2019-03-27 09:51:48 +01:00
jb-alvarado
1854284029 dummy clips should have real length 2019-03-27 09:34:13 +01:00
jb-alvarado
3f16900448 change dummy length, error format, json encode 2019-03-26 21:04:31 +01:00
jb-alvarado
9f99960e60 remove verbose output 2019-03-21 20:03:16 +01:00
jb-alvarado
df893bc6fd compression destroy noise... 2019-03-21 12:08:58 +01:00
jb-alvarado
f49f1d768a noise source on errors 2019-03-21 11:31:15 +01:00
jb-alvarado
f7e95e86e5 remove function, generate noise dummy, fix sync check, fix length issue 2019-03-20 17:26:58 +01:00
jb-alvarado
c09bd44773 begin as timecode, rate limit for mail sending, work in error handling 2019-03-19 18:03:31 +01:00
jb-alvarado
5ecad321f0 add argparse for playlist file 2019-03-18 21:23:56 +01:00
jb-alvarado
ded828d9e8 fix #7 2019-03-18 10:54:07 +01:00
jb-alvarado
5f7cf46026 add date to error message 2019-03-15 09:18:41 +01:00
jb-alvarado
188b75f9ff play dummy on missing playlist, validation more verbose 2019-03-14 23:16:45 +01:00
jb-alvarado
7e78213edc fix issues with live source, add more functions to cleanup GetSourceIter 2019-03-13 15:05:04 +01:00
jb-alvarado
8903b8719f handle dummy clip 2019-03-12 21:07:15 +01:00
jb-alvarado
6e09ffc7ce change order, work on logo blend in and out 2019-03-12 18:12:46 +01:00
jb-alvarado
272d096730 cleaner logging 2019-03-12 15:13:07 +01:00
jb-alvarado
c61fa09713 play correctly, when no begin is set 2019-03-12 14:39:09 +01:00
jb-alvarado
cb4d233411 apad and shortet only work in a separate filter graph 2019-03-12 11:25:42 +01:00
jb-alvarado
226390e622 undo last commit 2019-03-11 21:34:07 +01:00
jb-alvarado
26d26de33f less redundant 2019-03-11 15:32:46 +01:00
jb-alvarado
b50c2401dd missing video filter start 2019-03-11 15:07:58 +01:00
jb-alvarado
8b33562ce9 fix type 2019-03-11 14:59:49 +01:00
jb-alvarado
8a914bbfd1 add fade in again 2019-03-11 14:56:56 +01:00
jb-alvarado
7d1313a3e9 exit on error 2019-03-11 12:29:47 +01:00
jb-alvarado
44e9b8fe31 remove logger from mail, add todo and idea 2019-03-11 11:22:23 +01:00
jb-alvarado
bbb406d66c typo... 2019-03-11 09:35:56 +01:00
jb-alvarado
aa7043b69f start cleaning up code 2019-03-10 21:24:03 +01:00
jb-alvarado
bdb7c082e5 wrong indentation 2019-03-09 20:12:20 +01:00
jb-alvarado
6dc6e3c40b change iter function 2019-03-08 16:41:22 +01:00
jb-alvarado
01cb20dfad change iter_src_commands function to class, add mail subject to config 2019-03-08 14:51:37 +01:00
jb-alvarado
dc46591109 higher tolerance in copy mode 2019-03-08 09:53:31 +01:00
jb-alvarado
6bb85a2dab don't use filter on copy mode (#1), calculate buffer size in copy mode 2019-03-08 09:36:02 +01:00
jb-alvarado
8d6ef4947a simpler float check, playlist length validation optinal, change to json 2019-03-06 15:06:06 +01:00
jb-alvarado
0c73b6b4b7 change audio codec to lossless s302m, correct live source (#1), fix #2 2019-03-05 15:01:54 +01:00
jb-alvarado
bc48cbecdd fix #5, work on #1 2019-03-04 17:54:36 +01:00
jb-alvarado
29225cf670 remove todos 2019-03-03 00:22:12 +01:00
jb-alvarado
e7dbfed518 add some logging when program gets terminated 2018-11-28 09:05:05 +01:00
jb-alvarado
b6ec070629 Remove fade in, check play_thread is alive, fix #4 2018-11-27 12:35:27 +01:00
jb-alvarado
1c851fda13 remove try from ffplay process 2018-11-25 19:34:18 +01:00
jb-alvarado
edc81f471f Add preview mode (only for Desktop) 2018-11-25 14:24:47 +01:00
jb-alvarado
e89f206f1d buffer size as integer 2018-11-18 18:38:17 +01:00
jb-alvarado
605ee1c1bc add date to mail, and catch errors to prevent crash 2018-11-14 10:47:53 +01:00
jb-alvarado
4e809cfea3 change shebang 2018-08-27 10:57:14 +02:00
jb-alvarado
ccf7cb5450 fix error in streaming command 2018-08-15 17:34:42 +02:00
jb-alvarado
d2583825d3 int on day start 2018-08-15 16:19:50 +02:00
jb-alvarado
0e71a90ad7 better and more simple time_shift 2018-08-15 16:18:09 +02:00
jb-alvarado
172f8ce6c2 literal_eval for map_extension, change time_shift value 2018-08-15 15:29:42 +02:00
jb-alvarado
0738761f17 work on map_extension 2018-08-15 12:26:43 +02:00
jb-alvarado
7c57e79f78 change time_shift, add map_extension 2018-08-15 12:15:06 +02:00
jb-alvarado
07f0276565 work on time shift - we need some testings for that 2018-08-14 21:41:20 +02:00
jb-alvarado
d3b134a268 add time_shift for delay stream 2018-08-14 21:30:32 +02:00
jb-alvarado
1531bbbf17 Merge branch 'dev', add copy mode 2018-08-13 22:07:26 +02:00
jb-alvarado
fb44b14b61 line break before binary operator 2018-08-13 21:46:21 +02:00
jb-alvarado
b2b7eda797 put line breaks before binary operator 2018-08-13 21:32:25 +02:00
jb-alvarado
4d10cb14e8 add stream copy mode 2018-04-29 18:07:42 +02:00
jb-alvarado
a38f174165 better handling when storage got lost 2018-03-29 10:30:18 +02:00
jb_alvarado
d57bb7afee better time sync, jump to right time after playlist comes back 2018-03-20 21:33:21 +01:00
jb_alvarado
7788419384 remove point from TODO 2018-02-28 21:29:42 +01:00
jb_alvarado
8a5e404469 one time a day we sync the time 2018-02-28 21:16:17 +01:00
jb-alvarado
1f80e72129 change back to mpeg2video pipe, because we run out of sync 2018-02-20 10:59:39 +01:00
jb-alvarado
24510fcf55 move sync check to function 2018-02-19 15:13:24 +01:00
jb-alvarado
056009933f pipe uncompressed stream, add gen_input function, clean function 2018-02-19 11:12:13 +01:00
jb-alvarado
bac14b82d4 xml validation, handle empty playlist 2018-02-13 14:23:34 +01:00
jb-alvarado
c677070764 float to string conversion 2018-02-08 11:30:40 +01:00
jb-alvarado
1c6f518216 fix wrong calculation 2018-02-07 09:11:17 +01:00