nstanger / process_podcast

Python script for processing and assembling a podcast from various input sources
0 stars 0 forks source link

[CLOSED] process_podcast: more flexible time specifications #16

Closed nstanger closed 8 years ago

nstanger commented 8 years ago

Issue by nstanger Monday Aug 15, 2016 at 11:07 GMT Originally opened as https://github.com/Otago-InfoSci-Database/Tools/issues/16


The parser should already handle abbreviated values, e.g., 0:0:5.36 instead of 00:00:05.360.

Could also make hours and minutes optional, enabling us to specify times in seconds only. The parser will accept any number of digits for any of the time components (the only thing truncated is the fraction to milliseconds), and Python’s timedelta will correctly handle any number of seconds as input, so we should be able easily to specify timestamps as, e.g., 114 instead of 00:01:54.