Package Details: mpv-autosubsync-git r124.22cb928-2

Git Clone URL: https://aur.archlinux.org/mpv-autosubsync-git.git (read-only, click to copy)
Package Base: mpv-autosubsync-git
Description: Automatic subtitle synchronization script for mpv media player
Upstream URL: https://github.com/joaquintorres/autosubsync-mpv
Keywords: mpv plugin
Licenses: MIT
Provides: mpv-autosubsync
Submitter: mogeko
Maintainer: gee
Last Packager: gee
Votes: 2
Popularity: 1.22
First Submitted: 2021-08-18 04:11 (UTC)
Last Updated: 2024-03-18 12:36 (UTC)

Dependencies (4)

Required by (0)

Sources (2)

Latest Comments

gwuensch commented on 2025-01-03 05:13 (UTC)

Still doesn't work out of the box, unfortunately. This package installs everything in /usr/share/mpv/, but mpv only looks for the scripts and script-opt directories in ~/.config/mpv/ and /etc/config by default. Following the example of mpv-mpris, I would suggest the following changes:

  • Install the lua code in its own directory under /usr/lib/, for example /usr/lib/mpv-autosubsync/
  • Create a symlink to this directory from /etc/mpv/scripts/autosubsync
  • Install the config file directly in /etc/mpv/script-opts/

This has the benefits of keeping /usr/share/mpv clutter-free and not needing any user interaction if one is happy with the default configuration. The config can be edited in-place to take effect globally or be copied to the user's home directory, as already suggested in the .install script.

gee commented on 2024-03-18 12:28 (UTC)

I just adopted this and hopefully fixed the issues.

TalkingHat commented on 2023-01-08 14:02 (UTC)

https://forum.manjaro.org/t/how-can-i-install-and-use-mpv-autosubsync-git/131157/3

qwelias commented on 2022-09-27 18:50 (UTC)

Installation is incorrect, see https://github.com/joaquintorres/autosubsync-mpv/issues/13

s3wall commented on 2021-10-21 21:38 (UTC) (edited on 2021-10-22 07:41 (UTC) by s3wall)

Scripts in /usr/share/mpv/scripts are not laoded by default by mpv, mpv --scripts=/usr/share/mpv/scripts/

Anyway it seems it should install all lua files of the repository not only autosubsync.lua i.e.

  install -Dm644 main.lua \
    -t "$pkgdir"/usr/share/mpv/scripts/autosubsync/
...