Syncplay ftp5/20/2023 save-playlistĪ script for saving m3u playlists based on mpvs current internal playlist. This allows scripts to easily read network files over a variety of protocols. read-fileĪn API that provides scripts with a universal interface for reading text files. Allows input commands to be sent via profiles. Parses a script-opt and sends it as a command. Shuffles the playlist and moves the current file to the start of the playlist profile-command Prints a pause icon in the middle of the screen when mpv is paused playlist-shuffle ordered-chapters-playlistĪ script to point the player towards an ordered chapters playlist for devices which don't have direct access to their file systems. Uses mpv-user-input to create an open file dialogue box. Switches to a music profile when an audio file is being played and switches back when a non-audio file is played onedrive-hookĪutomatically converts a onedrive share link into a direct path which mpv can play, Windows only. ![]() ftp-compatĬhanges some options when using the ftp protocol for better user experience keep-sessionĪutomatically saves the current playlist on exit and allows the user to reload it next time they boot mpv music-mode file-browserĪ universal no-dependency file browser that uses mpv's OSD. This makes it easier to tell the number and names while navigating editions. Prints a message on the OSD if editions are found in the file, and temporarily switches the osd-playing-message to the editions-list property when switching. It also has automatic playlist support for DVDs. It is designed to be used stand-alone, or as an addon for file-browser. The browser is interractive and allows for both playing the selected title, or appending it to the playlist. This script uses the lsdvd commandline utility to allow users to view and select titles for DVDs from directly within mpv. This is necessary on windows because the default display names that mpv usesĪre in the form \\.\DISPLAY#, which are completely useless for setting persistent profilesĪs the numbers can change between boots or display configurations. This means that one can use conditionalĪuto profiles with the name of the monitor. The display_name shared_script_properties field. display-profilesĪutomatically applies profiles when the mpv window is moved to a new display display-nameĪ simple script designed for windows that saves the name of the monitor that mpv is using into ![]() More details at the top of the file delay-commandĪn extremely simple script which executes an nf command only after a set delay. cycle-profileĬycles through a list of profiles sent via a script message and prints the profile-desc to the OSD. Syntax details are at the top of the file. Each iteration of the cycle can contain as many commands as one wants. cycle-commandsĬycles through a series of commands on a keypress. Has options for selecting what file names and types are considered valid. coverartĪutomatically scans the directory of the currently loaded file and loads any valid cover art into mpv as additional video tracks. ![]() Sends an input command after a specified delay. Saves the original monitor resolution and reverts changes on exit and when hotkey is pressed.Ĭreates an scrollable list of chapters to allow more granular chapter selection. Uses nircmd (windows only) to change the resolution and refresh rate of the monitor to match the playing video. Commands include sleep, hibernate, shutdown, lock. Sends commands to nircmd (windows only) on playback finish. Nevertheless, feel free to submit issues if something breaks, and if you have any interesting script ideas feel free to make a Please keep in mind that not all of these scripts are maintained, and some of these were experiments which didn't pan out. Small ones are kept in this repository, larger ones have their own. A collection of scripts I have written for mpv over the years.
0 Comments
Leave a Reply. |