179 Commits

Author SHA1 Message Date
jonathan
8e9af7f65f add rounding to duration 2021-05-31 18:03:00 +02:00
jonathan
722ad8c650 relative import 2021-05-31 18:02:37 +02:00
jb-alvarado
72645f9034 kill encoder instead of terminate 2021-05-18 15:50:56 +02:00
jb-alvarado
b8c81eb414 use get_float 2021-05-18 15:16:18 +02:00
jb-alvarado
945133e18f pad audio only if duration is >= out-seek 2021-05-18 14:46:12 +02:00
jb-alvarado
22fab24bd5 set correct ffmpeg/ffplay error levels 2021-05-13 21:31:39 +02:00
jb-alvarado
0a7b19dae4 fix spelling 2021-03-30 14:10:35 +02:00
jb-alvarado
b4c4d15541 don't expose realtime filter to user 2021-03-29 09:25:43 +02:00
jb-alvarado
acdadcbfd4 give error, when file not exists 2021-03-27 23:29:51 +01:00
jb-alvarado
5dbbe6eb18 config needs to be reloadable 2021-03-27 22:39:18 +01:00
jb-alvarado
67be3afb3d add docstrings and clean code with pylint 2021-03-26 14:43:21 +01:00
jb-alvarado
9f218350e9 simplify load_config function 2021-03-26 11:21:40 +01:00
jb-alvarado
e708245721 add docstring and make code more readeble 2021-03-26 11:04:27 +01:00
jb-alvarado
c25375375f remove encoding 2021-03-25 14:39:27 +01:00
jb-alvarado
0a1467b093 change variable names, to try to follow style conventions 2021-03-25 14:39:03 +01:00
jb-alvarado
6abadf9543 add docstring, compact seek_in/set_length 2021-03-24 20:23:48 +01:00
jb-alvarado
d36cb6af6d rename and uppercase constans, rename filter function 2021-03-24 17:24:31 +01:00
jb-alvarado
cb7034b3c8 rename and uppercase constants 2021-03-24 17:22:26 +01:00
jb-alvarado
407e15452c fix when loop goes over midnight, #91 2021-03-24 15:11:49 +01:00
jb-alvarado
6da0364f5a anullsrc has no duration value in older ffmpeg versions 2021-03-23 16:38:41 +01:00
jb-alvarado
f700bdee5a get m3u8 content only when file exists, use try remove 2021-03-23 14:24:59 +01:00
jb-alvarado
fc00c8edf3 change aevalsrc to anullsrc and fix channel layout #92 2021-03-23 14:22:11 +01:00
jb-alvarado
dfab8c9b5d set begin to list_start and list_start to current time on loop, fix #91 2021-03-22 20:19:00 +01:00
jb-alvarado
48bbf1cd73 handle situation when last clip will skip 2021-03-07 12:29:38 +01:00
jb-alvarado
9d3d2b7f83 add delta only on last clip 2021-03-05 09:59:31 +01:00
jb-alvarado
c05937514a no extra duration 2021-03-02 09:43:10 +01:00
jb-alvarado
601551ee4e calculate new playlist date with real delta 2021-03-01 16:00:53 +01:00
jb-alvarado
7f4a1d39b9 simplify get_date 2021-03-01 15:59:33 +01:00
jb-alvarado
c021758c0e call handle_list_init directly, smaller abs_tol value 2021-03-01 12:46:09 +01:00
jb-alvarado
37516e2af1 use delta for date calculation 2021-03-01 12:43:39 +01:00
jb-alvarado
654cf3f730 smaller thread_queue_size 2021-03-01 12:42:26 +01:00
jb-alvarado
21fe48f789 better naming 2021-02-22 09:10:07 +01:00
jb-alvarado
0e9805dba7 fix case when day start is not 00:00:00 2021-02-20 22:36:50 +01:00
jb-alvarado
e2897d5255 cleanup and simplify 2021-02-19 13:24:56 +01:00
jb-alvarado
7df48cb6d9 add docstring 2021-02-19 13:24:37 +01:00
jb-alvarado
d0c1a614dc handle playlist except 2021-02-18 16:34:34 +01:00
jb-alvarado
b4a35d7bee no extra duration 2021-02-18 11:28:46 +01:00
jb-alvarado
871b3c2c05 simplify code, make last clip min one second long. handle missing lists 2021-02-18 11:28:30 +01:00
jb-alvarado
9a3d4f8645 test if clip_nodes are filled 2021-02-17 17:36:42 +01:00
jb-alvarado
f5ef0ec7bd set begin to current time in eof function 2021-02-17 15:26:12 +01:00
jb-alvarado
7ed9fcd7d9 better number selection 2021-02-17 15:25:28 +01:00
jb-alvarado
4d711affe6 show duration in play info 2021-02-17 11:41:28 +01:00
jb-alvarado
f0cf5d80e3 change numeric match 2021-02-17 11:41:03 +01:00
jb-alvarado
c8261011db give right nodes to build filter function 2021-02-17 09:18:32 +01:00
jb-alvarado
8f359f4750 move playlist functions to playlist.py 2021-02-17 09:09:10 +01:00
jb-alvarado
e2e714a16c use filter from node 2021-02-17 09:08:42 +01:00
jb-alvarado
52a1739139 use node only 2021-02-16 21:42:43 +01:00
jb-alvarado
587e3b8820 rewrite playlist code 2021-02-16 21:37:38 +01:00
jb-alvarado
bd76ebd3c7 use node only 2021-02-16 21:36:45 +01:00
jb-alvarado
e880b912cb set duration a second longer for fade filter, create filler node 2021-02-11 09:29:14 +01:00