Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
samhippo authored May 23, 2020
1 parent 09cf2ae commit 5abd246
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* [move-file-subfolder](#move-file-subfolderlua)
* [cut-video](#cut-videolua)
* [next-file](#next-filelua)
* [load-dir](#load-dirlua)
* [load-dir-auto](#load-dir-autolua)
* [playlist-sort](#playlist-sortlua)
* [clean-playlist](#clean-playlistlua)
Expand Down Expand Up @@ -169,6 +170,15 @@ Loads the next video file from the current directory. No playlist is used. The f
Alt+e script_message next-file
```

# load-dir.lua
Adds files from the currrent directory to the playlist. If the file already exists then it will be skipped. The file types can be edited in the script as needed.
#### Installation
1. Copy [load-dir.lua](load-dir.lua) to your mpv scripts directory.
2. Add the following command to **input.conf**
```
Alt+r script_message load-dir
```

# load-dir-auto.lua
Automatically adds files from the current directory to the playlist. The file types can be edited in the script as necessary.
#### Installation
Expand Down

0 comments on commit 5abd246

Please sign in to comment.