a8e160b287288e0975caf90230b23712576fc157 — Sebastian LaVine 13 days ago 60e4b2e master
Revert "Print "$info" even if it is one line long"

This reverts commit 51d172aa8f792b1858a2795a215596a6134323f7.

Upon testing, this is done because if "$info" is only one line in this
loop, then there are no new videos for the channel.

This codebase is a mess and needs major refactoring.
1 files changed, 3 insertions(+), 1 deletions(-)

M omnavi
M omnavi => omnavi +3 -1
@@ 73,7 73,9 @@ output() {
		# Removes all name tags except the first (for channel name), and
		# Removes all other opening and closing tags.

		echo "$info"
		# Only print info if there are new videos, meaning info is more
		# than one line long.
		[ "$(printf "$info" | wc -l)" -gt 1 ] && printf "$info\n"