Fix info for ogg files in sound.sh

ogginfo should be shown for MC_EXT_FILENAME like other cases.
Using MC_EXT_SELECTED handles filenames with spaces incorrectly.

Signed-off-by: Alessio Ababilov <ilovegnulinux@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Alessio Ababilov 2013-05-18 18:08:24 +03:00 committed by Slava Zanko
parent f89d862241
commit ed0bd98756
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ do_view_action() {
sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p'
;;
ogg)
ogginfo "${MC_EXT_SELECTED}"
ogginfo "${MC_EXT_FILENAME}"
;;
wma)
mplayer -quiet -slave -frames 0 -vo null -ao null -identify "${MC_EXT_FILENAME}" 2>/dev/null | \