|
@@ -37,8 +37,9 @@ while read -d $'\0' SERIES ; do
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
# Actual search, with timeout to ensure we don't get stuck
|
|
# Actual search, with timeout to ensure we don't get stuck
|
|
|
- ~/bin/video/timeout -t 300 | \
|
|
|
|
|
- ~/bin/video/findTorrent.pl "${SERIES}" | ~/bin/download
|
|
|
|
|
|
|
+ ~/bin/video/timeout -t 300 \
|
|
|
|
|
+ ~/bin/video/findTorrent.pl "${SERIES}" \ |
|
|
|
|
|
+ ~/bin/download
|
|
|
|
|
|
|
|
# Print the series name on error
|
|
# Print the series name on error
|
|
|
if [ $? -ne 0 ]; then
|
|
if [ $? -ne 0 ]; then
|