pls help change autoload.lua to sort by date? #940
-
https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua This lua script can automatically add the current video file's folder as a playlist, it works great. Just I want the files sorted by date instead of filename, and I want the sort in descending order. Never learned lua before, so I used AI and I got several versions of code, some got me wrong files count - it's accumulating when I click next button again and again; some failed to show playlist. Could somebody please give me a hand? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The script won't work with smplayer. smplayer and mpv use different playlists. |
Beta Was this translation helpful? Give feedback.
The script won't work with smplayer. smplayer and mpv use different playlists.