nstanger / process_podcast

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

Detect paths that already have the input prefix? #25

Closed nstanger closed 7 years ago

nstanger commented 8 years ago

If you use, e.g., --input-prefix source, then your configuration file has something like [a:source/foo.wav], it would probably make sense to check whether the latter path already starts with the input prefix before blindly prepending it.

process_podcast.py lines 124–127, 146–149, and 250. Add a function to insert the prefix if applicable.