Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
helper_scripts [2013/06/28 12:10] beandog |
helper_scripts [2013/06/28 12:14] beandog |
||
---|---|---|---|
Line 22: | Line 22: | ||
</code> | </code> | ||
+ | === confcat === | ||
+ | |||
+ | Strip all empty strings and commented strings | ||
+ | |||
+ | <code> | ||
+ | #!/bin/bash | ||
+ | grep -vh '^#' "$@" | grep -v '^$' | ||
+ | </code> | ||
=== dumpchapters === | === dumpchapters === | ||
Line 56: | Line 64: | ||
=== dvd_id === | === dvd_id === | ||
+ | |||
+ | Once you pop in a DVD, it takes a few seconds to initialize and be able to read, even though the device shows as available. | ||
+ | |||
+ | This helper script just waits patiently until it can correctly read the DVD. | ||
+ | |||
+ | It calls the binary [[disc_id]] which you'll need installed first. | ||
<code bash> | <code bash> |