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