Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#67406 - [mpv] consider including the entire TOOLS folder contents in the documentation to be installed

Attached to Project: Community Packages
Opened by m040601 (m040601) - Sunday, 26 July 2020, 23:22 GMT
Last edited by freswa (frederik) - Sunday, 26 July 2020, 23:42 GMT
Task Type Feature Request
Category Packages
Status Assigned
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Summary:

A request for the official ArchLinux build of mpv to include more documentation provided by the upstream release, to be installed under /usr/share/doc/mpv or /usr/share/mpv/scripts



Description:

MPV includes in its official releases lots of usefull documentation and additional scripts under the "TOOLS" folder,

https://github.com/mpv-player/mpv/blob/master/TOOLS

The current ArchLinux PKGBUILD,
https://github.com/archlinux/svntogit-community/blob/packages/mpv/trunk/PKGBUILD
does include some, but not the entire content
of this folder.

Example, the "lua" folder containing lua scripts:


install -m0644 TOOLS/lua/* \
-D -t "$pkgdir"/usr/share/mpv/scripts



However there are many other extremely usefull scripts for a generic Arch audience under "TOOLS"

They are left out. An important example is the python "upmv" script.
https://github.com/mpv-player/mpv/blob/master/TOOLS/umpv

It's even recommended and an almost indispesible companion for watching videos with Qutebrowser.




These other scripts could also be included to install in /usr/share/mpv/scripts,
or in alternative, /usr/share/doc/mpv/



PS:
An extension for this request would be to include the contents of the wiki,
https://github.com/mpv-player/mpv/wiki
to be installed under /usr/share/mpv/docs/wiki

This is a well curated wiki, with an immense ammount of usefull information.

These are mere markdown.md pages, so no additional processing is needed.
This task depends upon

Comment by Vladimir (_v_l) - Monday, 11 January 2021, 12:13 GMT
Hello,
I think there are only four files in TOOLS that could be used by users. The first two are 'umpv' and 'mpv_identify.sh' (the last is used by mc if mplayer is not installed to display meta-information about video or audio files when one presses F3 to "view" a file). The last two are 'stats-conv.py' and 'idet.sh'. According to documentation in comments the first produces statistics from a file written by mpv. As for last one, I'm not sure if it is very helpfull for most users but it would be good to have (it is about detecting 'interlaced' files, I'm not understand that stuff at all).
Comment by Mátyás Jani (jzombi) - Tuesday, 14 March 2023, 21:26 GMT
> 'mpv_identify.sh' (the last is used by mc if mplayer is not installed to display meta-information about video or audio files when one presses F3 to "view" a file)
It would be a nice addition, I've just run into this. mc looks for it on the $PATH though (`which mpv_identify.sh`), so putting it under /usr/share/mpv/scripts won't solve this issue oob.

Loading...