boyska
6ae1242c66
FIX return values respect typing
2024-07-27 20:38:47 +02:00
boyska
439c37088f
clearer debug/error messages
2024-07-27 20:38:47 +02:00
boyska
55fbfb8921
FIX: actually print debug
2024-07-27 20:38:30 +02:00
boyska
2bf468a2cf
handle errors in duration
2024-07-27 20:38:30 +02:00
boyska
2995e979ab
copy file:/// too
2024-07-27 20:38:29 +02:00
boyska
bfb51dee44
get duration more safely
2024-07-27 20:38:06 +02:00
boyska
4c02335412
change: weights are divided among children
2024-07-27 20:38:04 +02:00
boyska
4c9f73f705
add --intro and --outro
2024-07-27 20:37:34 +02:00
boyska
f4e04a41ee
add specific exceptions
2024-07-27 20:37:34 +02:00
boyska
55744a84a6
don't expand globs on HTTP
...
(it just makes no sense)
2023-01-29 10:50:17 +01:00
boyska
751111143e
file:/// needs copy, too
...
they might well be a remote FUSE filesystem, thus depending on network,
so let's be sure and copy it
2023-01-29 10:48:56 +01:00
boyska
cb3814733d
pfff depracations
2021-10-10 00:12:13 +02:00
boyska
797caef94d
lazy evaluation of audio duration
2021-10-10 00:11:46 +02:00
boyska
66842a79f9
handle items without audios
...
thanks for fuzzing me, radioblackout.org
2021-10-10 00:01:36 +02:00
boyska
9347bc6752
--glob
2021-09-25 00:13:38 +02:00
boyska
7af24e779c
refactor + --random-seed
2021-09-24 23:56:00 +02:00
boyska
234aeac1d0
don't encode urls, just pass strings
2021-09-24 23:33:59 +02:00
boyska
d4525c1f66
more logging
2021-09-24 23:28:49 +02:00
7af0cfbe18
feedtype: supports standard podcast, too
2020-11-16 16:31:13 +01:00
ac1c64aba9
FIX --fill-interleave-dir: ignore non-audio files
...
+ recurse
+ refactor
2020-11-16 16:30:30 +01:00
c7c61175a7
black formatting
2020-11-16 15:31:13 +01:00
b7e0a7ace4
continue when invalid files found
...
if you have an invalid ogg file, ffprobe will exit!=0, so everything
will crash. This commit just ignores the file
2020-11-16 15:30:02 +01:00
bddbbdf3ca
source-weights fallback when the source is empty
2020-11-16 15:29:36 +01:00
2470864043
FIX continue downloading
2020-11-16 15:11:42 +01:00
eb5b04393b
feed: always downloads with resume
...
what if the server doesn't support range? we don't support it!
2020-11-12 01:07:31 +01:00
a0b6d77927
fill: reverse after
...
if you want to fill with as many recent news as possible, putting the
more recent *last*, you need this
2020-07-22 00:47:35 +02:00
efe3488799
Audio repr: human readable time
2020-07-22 00:42:48 +02:00
d945a246f1
feed --fill: maximize usage of a "slot"
2020-07-22 00:33:43 +02:00
daeb2ff3db
semplifica audio/audiogroup
...
ora il codice di filtraggio è uguale
2020-07-21 13:18:37 +02:00
5a28106714
feed: date from txdate=
2019-01-27 18:17:58 +01:00
af4ff802ff
feed: aggiunto valid, txdate, end_date, replica=
...
la txdate puo' essere pescata dal corpo (attualmente la cosa e' parziale)
in base al flag replica= viene ricavata una data di fine validita per un
audio.
Sia gli audio sia gli audiogroup hanno un flag "valid"
2019-01-27 18:13:05 +01:00
086c1f9aa6
FIX filtering for files, too
2018-03-20 01:38:57 +01:00
229b946a32
add date to files got inside dir
...
beware: files are still missing filters
2018-03-20 01:19:48 +01:00
ce11addbcd
FIX: invalid URLs do not block the script
...
before that, a single invalid URL in the feed would have blocked all of
it. In fact, when there is no duration, and ffprobe fails, everything
was failing. This commit make it resilient to errors.
2018-02-27 14:46:19 +01:00
5930f1cdba
sort by duration
2018-02-18 20:34:31 +01:00
6d84552a2c
args: audio length can be human-friendly
...
--min-len and --max-len accept argument like 15m for 15 minutes or 2h
for two hours.
The old "number of seconds" (ie: 3600 for 1 hour) is still supported
and not deprecated.
2018-02-18 20:28:58 +01:00
324fdf9d96
--sort-by and --reverse
...
no means "leave it as it is"
2018-02-13 23:00:56 +01:00
0740fb5f84
Support audio date (and filter by date)
2018-02-13 22:51:22 +01:00
0cdec12b92
cosmetic changes
2018-02-13 21:49:30 +01:00
6e6e4c826e
minor: option group for --source-weights
2018-02-13 21:35:36 +01:00
9fc54050d6
feed --min-len
2018-02-13 21:32:31 +01:00
1633ce703d
minor: english variable names
2018-02-13 20:28:01 +01:00
aeb59a8dc0
options are organized in groups
2018-02-13 20:20:06 +01:00
1be085976e
FIX #1 : --source-weights
...
source weights are meant to first of all pick a source, with the
defined weights. This option is unrelated to --random. In fact,
--random will switch from chronological order to random one.
--source-weights will, instead, pick only one of the sources given in
command line.
A typical example is for jingles: if you have a big number of jingles that
should run relatively rarely, and a small number of jingles that should
run often, then putting them all in the same directory isn't a good
idea. You'd better put them in two different dirs and use
--source-weights 1:2
2017-12-09 17:51:56 +01:00
a8f59b75a3
feed: supports directories, too
...
Now feeds and directories can easily be combined
2017-12-09 12:51:36 +01:00
e9ca1cf181
--random
2017-06-12 23:26:43 +02:00
a0096cd335
fix group
2017-06-12 23:26:36 +02:00
3b40b070fb
FIX file:// uri
2017-05-26 12:57:15 +02:00
1033871b60
feed --copy: sanitize url
2017-05-25 19:22:00 +02:00
f757ce168d
add --copy
2017-05-25 16:52:57 +02:00