mc expects mpv_identify.sh script is available when mpv is installed

Bug #1942698 reported by Jiří Hofman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raspbian
New
Undecided
Unassigned

Bug Description

Midnight commander (mc) can view information about media files if supporting programs are installed. After a fresh installation, they are not available, of course. When a user tries to view the media file (by pressing F3 in mc), "Please install either mplayer or mpv to get information for this file" text is displayed. However, after installation of mpv, the text appears again.

Apparently, the reason is that the mc's viewer uses /usr/lib/mc/ext.d/video.sh script which itself uses mpv_identify.sh script. Unfortunately this script is not available after the installation of the mpv. No other instructions are given.

The script in question is available for example from https://github.com/mpv-player/mpv/blob/master/TOOLS/mpv_identify.sh . After copying this script into one of directories of PATH, the mc's viewer works as expected.

The solution would be to include the script mpv_identify.sh into a package of mpv and place it into a directory where it could be executed.

Revision history for this message
Jiří Hofman (jyrkih) wrote :

Linux raspberrypi 5.10.60-v7l+ #1449 SMP Wed Aug 25 15:00:44 BST 2021 armv7l GNU/Linux

mc version: 3:4.8.22-1
mpv version: 0.29.1-1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.