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 Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:07 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
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

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:07 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/mpv/issues/2
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.
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.
Comment by m040601 (m040601) - Friday, 25 August 2023, 04:29 GMT
> Please reply if you still experience this bug




The most important example is the python "upmv" script.
https://github.com/mpv-player/mpv/blob/master/TOOLS/umpv


It is still not shipped by the Arch official mpv package.

Loading...