mpv-player / mpv-player/mpv

autoload.lua: sort by date?

Open
#6,656 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

meta:feature-request scripting:autoload
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Windows 7 x64
mpv 0.29.1 Copyright © 2000-2018 mpv/MPlayer/mplayer2 projects
built on UNKNOWN
ffmpeg library versions:
libavutil 56.19.101
libavcodec 58.30.100
libavformat 58.18.100
libswscale 5.2.100
libavfilter 7.31.100
libswresample 3.2.100
ffmpeg version: 4.1+1209.ge320f9576a

I used this version but included japanese name files will be skipped.
https://github.com/mpv-player/mpv/issues/3547#issuecomment-248024651

Is it possible to sort by date with latest script?
https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/autoload.lua

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with TOOLS/lua/autoload.lua and reproduce the report using the stated mpv 0.29.1 Windows 7 environment if available. Read how the script discovers and orders files, then determine whether date-based ordering and Japanese filenames can both be handled; done means the requested latest-script behavior is implemented and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.