mirror of https://github.com/MidnightCommander/mc
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:
parent
f89d862241
commit
ed0bd98756
|
@ -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 | \
|
||||
|
|
Loading…
Reference in New Issue