diff --git a/.config/dwb/userscripts/youtube-mplayer.js b/.config/dwb/userscripts/youtube-mplayer.js index df505496..967cd9e4 100644 --- a/.config/dwb/userscripts/youtube-mplayer.js +++ b/.config/dwb/userscripts/youtube-mplayer.js @@ -6,6 +6,6 @@ var regex = new RegExp("http(.*)://www.youtube.com/watch\\?(.*&)*v=.*"); signals.connect("navigation", function (wv, frame, request) { if (wv.mainFrame == frame && regex.test(request.uri)) - system.spawn("sh -c 'mplayer \"$(youtube-dl -g " + request.uri + ")\"'"); + system.spawn("sh -c 'mpv \"$(youtube-dl -g " + request.uri + ")\"'"); return false; }); diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index fb5550b7..0b7f0c56 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -137,9 +137,9 @@ map egs shell -w git status -uno %s map ep shell -w mogrify -resize 50% %s ## Video -## Note that latin1 for MPlayer is cp1252 in reality. -map ev console shell mplayer "%f" -sub "%s" -map eV console shell mplayer "%f" -sub "%s" -subcp latin1 +## Note that latin1 for mplayer/mpv is actually cp1252. +map ev console shell mpv "%f" --sub "%s" +map eV console shell mpv "%f" --sub "%s" --subcp latin1 ## Subs map es shell -w subdl %f diff --git a/.pkg/arch-aur-edf23ads b/.pkg/arch-aur-edf23ads index 39fabb29..cf82c747 100644 --- a/.pkg/arch-aur-edf23ads +++ b/.pkg/arch-aur-edf23ads @@ -20,7 +20,6 @@ inkscape-pruned lib32-sdl_mixer lib32-smpeg mutt-sidebar -openmw-git package-query pkgtools scour diff --git a/.pkg/arch-expert b/.pkg/arch-expert index e64551f1..235a0ef0 100644 --- a/.pkg/arch-expert +++ b/.pkg/arch-expert @@ -104,7 +104,7 @@ mime-types mjpegtools mkinitcpio mpg123 -mplayer2 +mpv mtools mupdf nano diff --git a/.pkg/arch-official-edf23ads b/.pkg/arch-official-edf23ads index 5d0be280..2ab73703 100644 --- a/.pkg/arch-official-edf23ads +++ b/.pkg/arch-official-edf23ads @@ -30,7 +30,6 @@ bison blas boost-libs bridge-utils -bullet bzip2 ca-certificates cairo @@ -43,7 +42,6 @@ chicken chromium chrpath cloog -cmake cmus colord compositeproto @@ -103,7 +101,6 @@ foomatic-db-engine foomatic-filters fortune-mod freeglut -freeimage freetype2 fribidi fuse @@ -162,7 +159,6 @@ gstreamer0.10-ugly-plugins gtkmm gtkspell gtk-update-icon-cache -guile gutenprint gzip harfbuzz @@ -360,7 +356,6 @@ libtirpc libtool libtorrent libtxc_dxtn -libunistring libusb-compat libusbx libutempter @@ -447,12 +442,10 @@ mpg123 mpv mtdev mtools -mygui namcap nano nawk ncdu -ncftp ncurses netctl nethogs @@ -467,11 +460,8 @@ nspr nss ntfs-3g numlockx -nvidia-cg-toolkit octave odt2txt -ogre -ois openal openbox opencore-amr @@ -534,12 +524,10 @@ python2-markupsafe python2-notify python2-setuptools python-dbus-common -python-docutils python-pyelftools python-xdg qhull qpdf -qt4 quvi randrproto ranger @@ -684,7 +672,6 @@ xterm xvidcore xz yajl -yasm youtube-dl zathura zathura-djvu @@ -692,4 +679,3 @@ zathura-pdf-poppler zathura-ps zlib zsh -zziplib