Giter Site home page Giter Site logo

cogentredtester / mpv-file-browser Goto Github PK

View Code? Open in Web Editor NEW
242.0 9.0 6.0 6.25 MB

A simple no-dependency file browser for mpv player

License: MIT License

Lua 100.00%
mpv-player mpv-script file-browser dynamic-keybinds mpv-commands custom-keybinds addons

mpv-file-browser's Introduction

mpv-file-browser

cover

This script allows users to browse and open files and folders entirely from within mpv. The script uses nothing outside the mpv API, so should work identically on all platforms. The browser can move up and down directories, start playing files and folders, or add them to the queue.

By default only file types compatible with mpv will be shown, but this can be changed in the config file.

This script requires at least mpv v0.33.

Originally, file-browser worked with versions of mpv going back to v0.31, you can find those (now unsupported) older versions of file-browser here

Installation

Basic

Clone this git repository into the mpv ~~/scripts directory and change the name of the folder from mpv-file-browser to file-browser. You can then pull to receive updates. Alternatively, you can download the zip and extract the contents to ~~/scripts/file-browser. ~~/ is the mpv config directory which is typically ~/.config/mpv/ on linux and %APPDATA%/mpv/ on windows.

Create a file_browser.conf file in the ~~/script-opts/ directory and customise the root option for your system. The docs/file_browser.conf file contains the full list of options and their defaults.

Advanced

To setup custom keybinds enable the custom_keybinds option in file_browser.conf and create a ~~/script-opts/file-browser-keybinds.json file. Do not copy the file-browser-keybinds.json file stored in this repository, that file is a collection of random examples, many of which are for completely different operating systems. Use them and the docs to create your own collection of keybinds.

To setup addons enable the addons option in file_browser.conf and place the addon files in the ~~/script-modules/file-browser-addons/ directory.

If you are not going to enable custom keybinds or addons then there is no reason to create file-browser-keybinds.json or script-modules/file-browser-addons/.

Keybinds

The following keybinds are set by default

Key Name Description
MENU browse-files toggles the browser
Ctrl+o open-browser opens the browser
Alt+o browse-directory/get-user-input opens a dialogue box to type in a directory - requires mpv-user-input

The following dynamic keybinds are only set while the browser is open:

Key Name Description
ESC close closes the browser or clears the selection
ENTER play plays the currently selected file or folder
Shift+ENTER play_append appends the current file or folder to the playlist
Alt+ENTER play_autoload loads playlist entries before and after the selected file (like autoload.lua)
RIGHT down_dir enter the currently selected directory
LEFT up_dir move to the parent directory
DOWN scroll_down move selector down the list
UP scroll_up move selector up the list
PGDWN page_down move selector down the list by a page (the num_entries option)
PGUP page_up move selector up the list by a page (the num_entries option)
Shift+PGDWN list_bottom move selector to the bottom of the list
Shift+PGUP list_top move selector to the top of the list
HOME goto_current move to the directory of the currently playing file
Shift+HOME goto_root move to the root directory
Ctrl+r reload reload directory and reset cache
s select_mode toggles multiselect mode
S select_item toggles selection for the current item
Ctrl+a select_all select all items in the current directory

When attempting to play or append a subtitle file the script will instead load the subtitle track into the existing video.

The behaviour of the autoload keybind can be reversed with the autoload script-opt. By default the playlist will only be autoloaded if Alt+ENTER is used on a single file, however when the option is switched autoload will always be used on single files unless Alt+ENTER is used. Using autoload on a directory, or while appending an item, will not work.

Root Directory

To accomodate for both windows and linux this script has its own virtual root directory where drives and file folders can be manually added. The root directory can only contain folders.

The root directory is set using the root option, which is a comma separated list of directories. Entries are sent through mpv's expand-path command. By default the only root value is the user's home folder:

root=~/

It is highly recommended that this be customised for the computer being used; file_browser.conf contains commented out suggestions for generic linux and windows systems. For example, my windows root looks like:

root=~/,C:/,D:/,E:/,Z:/

Multi-Select

By default file-browser only opens/appends the single item that the cursor has selected. However, using the s keybinds specified above, it is possible to select multiple items to open all at once. Selected items are shown in a different colour to the cursor. When in multiselect mode the cursor changes colour and scrolling up and down the list will drag the current selection. If the original item was unselected, then dragging will select items, if the original item was selected, then dragging will unselect items.

When multiple items are selected using the open or append commands all selected files will be added to the playlist in the order they appear on the screen. The currently selected (with the cursor) file will be ignored, instead the first multi-selected item in the folder will follow replace/append behaviour as normal, and following selected items will be appended to the playlist afterwards in the order that they appear on the screen.

Custom Keybinds

File-browser also supports custom keybinds. These keybinds send normal input commands, but the script will substitute characters in the command strings for specific values depending on the currently open directory, and currently selected item. This allows for a wide range of customised behaviour, such as loading additional audio tracks from the browser, or copying the path of the selected item to the clipboard.

To see how to enable and use custom keybinds, see custom-keybinds.md.

Add-ons

Add-ons are ways to add extra features to file-browser, for example adding support for network file servers like ftp, or implementing virtual directories in the root like recently opened files. They can be enabled by setting addon script-opt to yes, and placing the addon file into the ~~/script-modules/file-browser-addons/ directory.

For a list of existing addons see the wiki. For instructions on writing your own addons see addons.md.

Script Messages

File-browser supports a small number of script messages that allow the user or other scripts to talk with the browser.

browse-directory

script-message browse-directory [directory]

Opens the given directory in the browser. If the browser is currently closed it will be opened.

get-directory-contents

script-message get-directory-contents [directory] [response-string]

Reads the given directory, and sends the resulting tables to the specified script-message in the format:

script-message [response-string] [list] [opts]

The list and opts tables are formatted as json strings through the mp.utils.format_json function. See addons.md for how the tables are structured, and what each field means. The API_VERSION field of the opts table refers to what version of the addon API file browser is using. The response-string refers to an arbitrary script-message that the tables should be sent to.

This script-message allows other scripts to utilise file-browser's directory parsing capabilities, as well as those of the file-browser addons.

Configuration

See file_browser.conf for the full list of options and their default values. The file is placed in the ~~/script-opts/ folder.

Conditional Auto-Profiles

file-browser provides a property that can be used with conditional auto-profiles to detect when the browser is open. On mpv v0.36+ you should use the user-data property with the file_browser/open boolean.

Here is an example of an auto-profile that hides the OSC logo when using file-browser in an idle window:

[hide-logo]
profile-cond= idle_active and user_data.file_browser.open
profile-restore=copy
osc=no

On older versions of mpv you can use the file_browser-open field of the shared-script-properties property:

[hide-logo]
profile-cond= idle_active and shared_script_properties["file_browser-open"] == "yes"
profile-restore=copy
osc=no

See #55 for more details on this.

mpv-user-input is a script that provides an API to request text input from the user over the OSD. It was built using console.lua as a base, so supports almost all the same text input commands. If user-input.lua is loaded by mpv, and user-input-module is in the ~~/script-modules/ directory, then using Alt+o will open an input box that can be used to directly enter directories for file-browser to open.

mpv-file-browser's People

Contributors

cogentredtester avatar dyphire avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mpv-file-browser's Issues

When appending files to playlist, it autoloads files in the same folder?

According to the documentation on this Github repo, "Autoload" (the process of appending files from the same directory to the playlist/queue) should be disabled by default. This is true when selecting files to override current playback, but when holding "SHIFT" to append files it will queue up everything else in the same folder. Only workaround is to select the single file with S and then SHIFT+ENTER to append to playlist. I'm reporting this because it does not seem to be intentional on the developer's part and may qualify as a bug (or a conflict).

Using the most up-to-date release of MPV from the MPV-Tests Repo (Linux Mint 20.2) I am willing to purge this PPA and resort to distro default if it will fix the issue.

Sorting requires a leading zero

Currently the sorting of filenames seems to require a leading zero.

The result ends up looking like this:

  • Episode 1 - Episode name
  • Episode 10 - Episode name
  • Episode 11 - Episode name
  • Episode 12 - Episode name
  • Episode 2 - Episode name

Is it possible to make it so a leading zero is no longer required.
Or is this a limitation of MPV?

Need to customize keys.

What have I done before I ask here?
Need to customize keys.

  • file-browser-keybinds.json > script-opts folder
  • custom_keybinds=yes > file_browser.conf
  • s script-binding scroll_down > input.conf
  • s script-binding scroll-down > input.conf

Unfortunately, nothing changed.

Single character directories not opening from root

Discussed in #75

Originally posted by LinArcX October 17, 2022
I mounted two NTFS partitions on /mnt/D and /mnt/E on my Linux machine.
These are the equivalent of D:\ and E:\ on my window os.

The problem is that when I want to define root in file_browser.conf and I open mpv-file-browser in MPV, I see two green labels and I can't search or enter through them.(Seems they are locked for exploration but don't know why). This is how I defined root:

root=~/,/mnt/D/video/,/mnt/E/video/,

Need to change - font / font size

I need to be able to change the font and the font size. How can I do it?

What have I done so far?

  • checked > readme.md
  • checked > file_browser.conf
  • checked > file-browser.lua

Is there a way to open favorites with just a keybind?

I really like this script so far. However, I would like to know if there is a way to open favorites right away and not go all the way back to the root folder. Is it possible to make a keybind in input.conf that would bring up the favorites folder?

Folders and files should be displayed alphabetically

Installed the browser which works which is great but when I open a folder the files are listed all over the place. In this instance my files are episodes named as follows S01E01 for season 1, episode 1 through to , say, S10E22, being season 10, episode 22. Listing them in in alphabetical order would be very helpful.

Modifying Default Keybind does not work

Hello,

I want to modify the open_browser keybind to b.

This is what I tried:

  • ~~/script-opts/file_browser.conf: custom_keybinds=yes

  • ~~/script-opts/file-browser-keybinds.json:

    [
        {
            "key": "b",
            "command": ["script-binding", "file_browser/dynamic/open_browser"]
        }
    ]
    

But nothing happens when pressing b.

Interestingly, also a dummy keybind gets no reaction:

  [
      {
          "key": "p",
          "command": ["print-text", "spam-text"],
          "flags": {
              "repeatable": true
          }
      }
  ]

(Using mpv 0.34.0 on macOS 11.6.)

How do I use the addons?

I am unable to get favorites addon or any other to work. I have done everything as described, added favourites.lua to ~/script-modules/file-browser-addons, sat addon=yes, and custom_keybinds=yes in file-browser conf too. But nothing happens. Whenever I press F as noted to be the hotkey for toggling Favorite virtual directory.

play_or_down_dir command

An idea for an additional command, in case it's easy to do, and you like the idea:

command name: play_or_down_dir

In case the selection is a file, play it,
in case the selection is a directory, enter the directory.

I think I would favor this behavior.

line 462 causes error

$ mpv "[Domestic na Kanojo OP] _Kawaki wo Ameku_ - Minami (Piano).webm"
    recent: Error: Can't convert  to number!
 osd_clock: interval:15m, format:%H:%M
    recent: script-opts/recent.conf:3 error converting value '' for key 'auto_save_skip_past'
   cplayer: Auto-loading profile 'extension.webm'
   cplayer:  (+) Video --vid=1 (*) (vp9 1280x720 29.970fps)
   cplayer:  (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
auto_profiles: Applying auto profile: Blend Subtitles
auto_profiles: Applying auto profile: NoLoop
playlistmanager: Loading files from playing files directory
   cplayer: AO: [wasapi] 48000Hz stereo 2ch float
   cplayer: VO: [gpu] 1280x720 yuv420p
playlistmanager: Added files will be automatically sorted
statusline: AV: 00:00:00.000 / 00:01:54.801 (0%) A-V:  0.000
Id     Name            PSJobTypeName   State         HasMoreData     Location             Command
--     ----            -------------   -----         -----------     --------             -------
1      mpvminloop      BackgroundJob   Running       True            localhost            ...
statusline: AV: 00:00:04.371 / 00:01:54.801 (4%) A-V:  0.000
file_browser:
file_browser: stack traceback:
file_browser:   [string "C:/Users/seth/scoop/apps/mpv-git/current/port..."]:476: in function 'goto_current_dir'
file_browser:   [string "C:/Users/seth/scoop/apps/mpv-git/current/port..."]:751: in function 'open'
file_browser:   .../mpv-git/current/portable_config/scripts/scroll-list.lua:191: in function 'toggle'
file_browser:   [string "C:/Users/seth/scoop/apps/mpv-git/current/port..."]:879: in function 'fn'
file_browser:   mp.defaults:230: in function 'fn'
file_browser:   mp.defaults:65: in function 'handler'
file_browser:   mp.defaults:370: in function 'handler'
file_browser:   mp.defaults:500: in function 'call_event_handlers'
file_browser:   mp.defaults:534: in function 'dispatch_events'
file_browser:   mp.defaults:493: in function <mp.defaults:492>
file_browser:   [C]: at 0x00992fc0
file_browser:   [C]: at 0x009919d0
statusline: AV: 00:00:04.404 / 00:01:54.801 (4%) A-V:  0.000
file_browser: Lua error: [string "C:/Users/seth/scoop/apps/mpv-git/current/port..."]:462: attempt to call method 'clear' (a nil value)
statusline: AV: 00:00:06.774 / 00:01:54.801 (6%) A-V:  0.000
   cplayer:
   cplayer: Exiting... (Quit)

How to run this application

Can anyone please help how to run this app ?
I ran
lua file-browser.lua
But got these errors :-

└──╼ $lua file-browser.lua 
lua: file-browser.lua:11: module 'mp' not found:
	no field package.preload['mp']
	no file '/usr/local/share/lua/5.2/mp.lua'
	no file '/usr/local/share/lua/5.2/mp/init.lua'
	no file '/usr/local/lib/lua/5.2/mp.lua'
	no file '/usr/local/lib/lua/5.2/mp/init.lua'
	no file '/usr/share/lua/5.2/mp.lua'
	no file '/usr/share/lua/5.2/mp/init.lua'
	no file './mp.lua'
	no file '/usr/local/lib/lua/5.2/mp.so'
	no file '/usr/lib/x86_64-linux-gnu/lua/5.2/mp.so'
	no file '/usr/lib/lua/5.2/mp.so'
	no file '/usr/local/lib/lua/5.2/loadall.so'
	no file './mp.so'
stack traceback:
	[C]: in function 'require'
	file-browser.lua:11: in main chunk
	[C]: in ?

No Menu Button And no OSD

Hello!
I don't have an MENU button on my laptop. I tried to change keybind on line 530 to another one:
mp.add_key_binding('Ctrl+z','browse-files', toggle_browser)

but when I'm trying to start it from mpv, I see:

[file_browser] Command osd-overlay: no argument hidden.
[file_browser] Command osd-overlay: no argument hidden.

and no any OSD appears.

my system:
Archlinux, bspwm, zsh, kitty term.

Detect Directory Automatically ?

currently this has to be done root=~/,C:/,D:/,E:/ , is there a way to automatically detect directory, like if a plug in a usb drive or external HDD later , will i have to add that drive letter file_browser.conf ?

Mark files as watched and set favourites

First of all, this is a great script. I have two feature requests which might bring this script to the next level.

  1. Mark videos which have already been watched and hide them from the media browser. Both automatically when closing the video at e.g. 95%+ of its runtime and manually by hitting a certain key. There should of course be option to toggle visibility of files marked as watched. If all files in a directory are marked as watched, hide the directory as well. This should of course work recursively as well. Example: If your file structure looks like

    • root
      • show X
        • season 1
          • episode 1
          • episode 2
          • ...
        • season 2
          • episode 1
          • episode 2
          • ...

    and you completely watch all episodes in season 1 and season 2, show X should be hidden as well, not only season 1 and season 2 inside of show X.

  2. Mark files as favourites and populate them in a virtual directory at the top of the root directory.

Those two options would vastly enhance the use case of this script from mere file browser to a proper file manager. This might even work as a barebones and lightweight alternative to other media management tools like Jellyfin. Of course, many features which are in such media management tools will be missing but the most important basic functionality of marking things as watched, picking it back up where you left from and marking files favourites will still be present this way.

Implement Multi-Selection Behaviour

  • Ctrl+Enter to select an item
  • Ctrl+UP/DOWN to drag selection
  • Implement multi-select ASS style
  • Implement opening behavior for all selected items
  • Add to Documentation
  • Use complex keybindings to intelligently un-drag selections while Ctrl is still pressed

Path normalization on Windows

The script uses forward slashes on Windows, which often works, but also often works not.

I noticed it here:

mpv-player/mpv#6560

It can also be an issue for some mpv frontends and some mpv user scripts, in mpv.net, I normalize paths whenever possible.

For my use case, it's not an urgent issue, but it's likely that some user will run into it one day.

Couldn't access drives other than C:/

My current root in ocnfig looks like this : root=~/,C:/,D:/,E:/,F:/,G:/
After pressing ctrl+o, it shows ~/. when i click right arrow, it takes me to C:/Users/User . then i click the left arrow until I reach to C:/ and 1 more lfet arrow click and I'm in ~/ again.
How do I access the other drives?
I haven't messed with other configs.
Screenshot_11
Screenshot_10

does not work in macos environment

Thanks for the useful script.

In an environment that utilizes windows10, the script works well.
But, it did not work well in macOS11 environment.

I run the command mpv --msg-level=all=trace in macOS environment and post a message related to this script.
Could you give me some advice on how to make the script work?

[file_browser] Loading lua script /Users/tnira/.mpv/scripts/file-browser.lua...
[scroll_list] loading mp.defaults
[file_browser] loading mp.defaults
[scroll_list] loading file /Users/tnira/.mpv/scripts/scroll-list.lua
[file_browser] loading file /Users/tnira/.mpv/scripts/file-browser.lua
[file_browser] 
[file_browser] stack traceback:
[file_browser] 	[C]: ?
[file_browser] 	[C]: ?
[file_browser] Lua error: [string "/Users/tnira/.mpv/scripts/file-browser.lua"]:282: '=' expected near 'continue'
[file_browser] Exiting...

Particular key binding not working

The default key binding S for select_item is working, but when I define the key 1 as custom binding for select_item, to use with my remote control, it's not working, all other custom bindings work fine.

[
    {
        "key": "SPACE",
        "command": ["script-binding", "file_browser/dynamic/down_dir"],
        "filter": "dir"
    },
    {
        "key": "ENTER",
        "command": ["script-binding", "file_browser/dynamic/down_dir"],
        "filter": "dir"
    },
    {
        "key": "SPACE",
        "command": ["script-binding", "file_browser/dynamic/play"],
        "filter": "file"
    },
    {
        "key": "ENTER",
        "command": ["script-binding", "file_browser/dynamic/play"],
        "filter": "file"
    },
    {
        "key": "RIGHT",
        "command": ["script-binding", "file_browser/dynamic/play"],
        "filter": "file"
    },
    {
        "key": "BS",
        "command": ["script-binding", "file_browser/dynamic/close"]
    },
    {
        "key": "1",
        "command": ["script-binding", "file_browser/dynamic/select_item"]
    },
    {
        "key": "2",
        "command": ["script-binding", "file_browser/dynamic/play_append"]
    },
    {
        "key": "3",
        "command": ["script-binding", "file_browser/dynamic/reload"]
    },
    {
        "key": "CTRL+F11",
        "command": ["script-binding", "file_browser/dynamic/page_up"]
    },
    {
        "key": "CTRL+F12",
        "command": ["script-binding", "file_browser/dynamic/page_down"]
    }
]

OSC disappears after selecting files

I read here that you are hiding the osc intentionally I think.

Running on Windows 10

Steps to reproduce:

  • Set up the script
  • No custom keybinds
  • Run a file
  • Multiselect some files
  • Press ENTER
  • OSC is gone.

Show only video files

Just found this script and while so far I'm happy with it, there is this thing that is a bit uncomfortable
Is it possible to hide irrelevant files (non-video, hidden files/folders) in the browser? Cuz usually there are subtitles files in folder and I don't really like seeing it. If that's possible then I have nothing to ask more.

Detection of deleted files and folders

Deleting files might be a common use case. I download everything with a Chrome extension called External Application Launcher and yt-dlp.

I have my own script for file deletion and found two other.

https://github.com/jonniek/mpv-scripts/blob/master/trashfileonend.lua

https://github.com/zenyd/mpv-scripts/blob/master/delete_file.lua

https://github.com/stax76/mpv-scripts/blob/main/delete-current-file.lua

If you like the idea, and it's easy to do, maybe you could detect deletions by checking all files if the folder hasn't too many files (people often have fast SSD drives). Or react to a script message from my script. What do you think?

Trying to make custom keybind behave like arrow keys

I set up some vim-like keybindings so I can move between files and folders. I did it like this:

[
        {
        "key": "k",
        "command": ["script-binding", "file_browser/dynamic/scroll_up"]
    },
    {
        "key": "j",
        "command": ["script-binding", "file_browser/dynamic/scroll_down"]
    },
    {
        "key": "h",
        "command": ["script-binding", "file_browser/dynamic/up_dir"]
    },
    {
        "key": "l",
        "command": ["script-binding", "file_browser/dynamic/down_dir"]
    }
]

But when I keep the key pressed it doesn't scroll like it does with arrow keys. I have to release the key and press it again to move down or up a list. Is it possible to make it behave like the default keys?

OSD overlap

For my use case, it would be helpful if file-browser would clear the OSD before showing, in order to avoid overlap.

Alias for root directories, prohibit going higher in the directory structure in root directories

Directory structure example

This is what my root directory structure looks like. I find it kind of ugly that I can see the whole path I typed into my configuration file. I think this overview could be a lot neater if one could choose aliases for the root directories. You would then see e.g.

Favourites
New Shit
Anime

instead of the paths.

Likewise, it'd be quite useful if the file-browser could be limited to directories which are lower in the hierarchy than your root directory you are currently browsing. When I start out in e.g. ~/Videos/New Shit, I'd never want to go up from there to e.g. ~/Videos which does happen if you open the root directory ~/Videos/New Shit and try going back by using Left.. Sure, Shift + HOME does exist but what's the point of being able to go up from the root directory you chose. If I wanted to access directories higher up, I'd have placed my root directory higher up. Pressing Left a few times is also a lot faster than moving your hands to Shift + HOME.

Possible to sort directorys by date + underlay files?

This addon is very nice. Thank You !

One thing i thin is missing: the option to enable sort by date. Even just for folder creation date and plus sort by file creation in folders.
Is this even possible in lua? I'm using linux.

file-browser.lua 0f4d581 doesn't start - caused by favourites addon

I saw that you updated file-browser.lua 28 days ago. Because of that, I replaced the file-browser.lua in my config with the newest one but that makes the script not respond at all. MENU doesn't open the file browser any more. Prior, I was on this specific version of the script.

The last section called "mpv-user-input Compatability" is missing in the newer versions. Could this be responsible for this problem? I guess it isn't broken on your side, otherwise you wouldn't have shipped four more versions since then.

I am on mpv version 0.34.0-100-g0e76372e86 which is the newest git master as of writing this.

Implement file loading

  • Load current file/directory with enter
  • Append current file/directory to playlist with enter+shift

Feature Request: Searching?

Similar to your Youtube Search plugin, It might be cool to search files using this plugin as an alternative keybinding. It should, naturally, only search in folders already accessible by the File Manager, which is to say files already specified by the user.

Implement Scrolling

  • Implement selector with arrow keys
  • Scroll results when moving up/down page
  • Cut off results before they overflow page
  • Add permanent directory header
  • Add headers and footers to show cut off results

OSC logo conflict

Proposed solution which is not perfect but good enough:

Provide 2 new conf options:

show-command
Command executed before show.
Users can set this to:
script-message osc-visibility never

hide-command
Command executed after hide.
Users can set this to:
script-message osc-visibility auto

More info:
mpv-player/mpv#10201

Screenshot (23)

How to use ftp-browser and apache-browser addons?

My operating system is Windows.I have put the files on the appropriate file directory and installed curl.but I don't know how to browser,windows should be used to add different drive letters,how to add ftp or http?

There is a conflict between windir.lua and BD folder playback.

Precondition: add BD and DVD file types to the white list of extensions.

extension_whitelist=bdmv;ifo;iso

When file-browser uses the addon of windir.lua and directly plays for the BD folder, the BD folder will fail to play.
When the addon of windir.lua is not used, the BD folder will be loaded and played normally.

Here are the log files:
mpv_nor.txt
mpv_err.txt

Crash when user-input-module is not in the modules directory

Latest update no longer works on Windows 10.

Files:

script-opt > file_browser.conf (Only edited root=C:/,E:/,G:/,R:/)
script-opt > file-browser-keybinds.json
scripts > file-browser.lua
scripts > scroll-list.lua
scripts > user-input.lua
scripts > user-input-module.lua

All of these are the latest version

Pressing TAB (TAB script-binding browse-files in input.conf) does nothing.
When running in Powershell mpv.com TAB does nothing and nothing shows in Powershell

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.