Showing the changes to TOOLS/lua/autoload.lua (1 of 1 file). Show all
Unified · Split
| @@ -47,6 +47,10 @@ function find_and_add_entries() · 46 unmodified lines | ||
| 47 | 47 | if #dir == 0 then |
| 48 | 48 | return |
| 49 | 49 | end |
| 50 | + local isplaylist = mp.get_property("playlist-count") | |
| 51 | + if #isplaylist > 1 then | |
| 52 | + return | |
| 53 | + end | |
| 50 | 54 | |
| 51 | 55 | local files = mputils.readdir(dir, "files") |
| 52 | 56 | if files == nil then |