Commit Graph

191 Commits

Author SHA1 Message Date
Jonathan Baecker
5ec80d90c1 fix handling of to short playlists 2019-08-14 11:31:51 +02:00
Jonathan Baecker
7ffca4efa0 fix 00:00:00.000 starttime 2019-08-14 10:37:58 +02:00
jb-alvarado
5a2a7532e9 fix time string 2019-08-13 21:41:10 +02:00
Jonathan Baecker
c52e17df83 merge with master 2019-08-12 14:30:47 +02:00
jb-alvarado
0e7e4724fd add folder argument 2019-08-09 17:55:21 +02:00
jb-alvarado
d619cd3c8b fix overlay in copy mode, calculation pre bitrate, cleanup 2019-08-09 17:31:39 +02:00
jb-alvarado
34b38c9491 cleanup code, fix: #21 2019-08-04 21:48:01 +02:00
Jonathan Baecker
91ba298b59 fix error when source in playlist is empty 2019-07-31 10:10:26 +02:00
jb-alvarado
c6f448f2ce check only length 2019-07-21 00:54:06 +02:00
Jonathan Baecker
21a7b9e08d loop filler clip, when playlist is not 24 hours long 2019-07-19 14:58:28 +02:00
Jonathan Baecker
1a622484c8 remove begin in playlist and time_shift in config - is redundant 2019-07-19 12:49:01 +02:00
Jonathan Baecker
de01322bc6 remove map_extension, cleanup 2019-07-18 18:00:56 +02:00
Jonathan Baecker
3effb577ce close when is done 2019-06-24 15:01:49 +02:00
Jonathan Baecker
499f7b44dd Merge branch 'dev' 2019-06-19 17:05:48 +02:00
Jonathan Baecker
1d750d4204 float instead of integer 2019-06-19 16:11:30 +02:00
jb-alvarado
4279f32089 thread_queue_size for copy mode 2019-06-16 14:27:15 +02:00
jb-alvarado
05c1739b40 no overlay filter in copy mode 2019-06-16 14:06:58 +02:00
Jonathan Baecker
67c58c8240 reorder variables 2019-06-11 15:28:52 +02:00
jb-alvarado
0286f94c2a Merge branch 'master' into dev 2019-06-10 11:18:25 +02:00
jb-alvarado
3991449785 tweak drawtext 2019-06-09 21:04:33 +02:00
Jonathan Baecker
3ce59811ab drawtext with config options 2019-06-07 16:42:11 +02:00
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