Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rossy/mpv-install
Sets up file associations for mpv on Windows
https://github.com/rossy/mpv-install
bat batch batchfile cmd installer isc mpv setup windows
Last synced: 22 days ago
JSON representation
Sets up file associations for mpv on Windows
- Host: GitHub
- URL: https://github.com/rossy/mpv-install
- Owner: rossy
- License: isc
- Created: 2015-02-24T15:00:45.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-09-03T05:55:18.000Z (over 3 years ago)
- Last Synced: 2024-02-16T07:36:52.264Z (10 months ago)
- Topics: bat, batch, batchfile, cmd, installer, isc, mpv, setup, windows
- Language: Batchfile
- Homepage:
- Size: 67.4 KB
- Stars: 418
- Watchers: 13
- Forks: 50
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
- starred - rossy/mpv-install - Sets up file associations for mpv on Windows (Batchfile)
- jimsghstars - rossy/mpv-install - Sets up file associations for mpv on Windows (Batchfile)
- awesome-mpv - install - Sets up file associations for mpv on Windows. (Other)
README
``mpv-install.bat``
===================This script sets up file associations for [mpv][1] on Windows.
How to install
--------------1. Make sure you have the latest build of mpv. Official builds are here:
https://mpv.srsfckn.biz/
2. Download the zip: https://github.com/rossy/mpv-install/archive/master.zip
**Note:** Make sure you use the above link. Don't use GitHub's "Raw" links
on the files themselves, since these have incorrect line-endings, which
cause the script to crash. (See [#7][2].)
3. Copy the .bat files and the .ico to the same directory as mpv.exe
4. Run ``mpv-install.bat`` as administrator. **Note:** For an unattended
install, use the ``/u`` switch.
5. Use the _Default Programs_ and _AutoPlay_ control panels to make mpv the
default playerWhat it does
------------- Creates file associations for several video and audio file types
- Registers mpv with the _Default Programs_ control panel
- Puts mpv in the "Open with" menu for all video and audio files
- Registers mpv.exe so it can be used from the Run dialog and the Start Menu
- Adds mpv as an AutoPlay handler for Blu-rays and DVDs
- Works when reinstalled to a different folder than the one it was in
previously. (File associations created by the "Open with" menu have trouble
with this.)What it doesn't do
------------------- Add mpv to the ``%PATH%``
- Enable thumbnails for all media types (use [Icaros][3] for this)
- Allow multiple files to be selected and opened as a playlist. This is harder
than it sounds and it can't be done with a simple script. As a workaround,
you can create a shortcut to mpv.exe in the "Send to" menu.How to uninstall
----------------To remove all traces of this script from your computer, run
``mpv-uninstall.bat`` as administrator.**Note:** This is not necessary if you want to reinstall mpv later (in a
different folder, for example,) only if you want to remove it completely. To
reinstall, just run ``mpv-install.bat`` again.Disclaimer
----------Should work on Windows Vista and up, tested with Windows Vista, 7, 8.1 and 10.
These scripts were written for personal use and released with the hope that
they would be useful, but without any warranty.[1]: https://mpv.io/
[2]: https://github.com/rossy/mpv-install/issues/7
[3]: http://www.majorgeeks.com/files/details/icaros.html