natural-harmonia-gropius / recent-menu

Recently played menu for mpv-player.
MIT License
33 stars 2 forks source link

[Question] `recent-menu.lua` and `SimpleHistory.lua` and feature request #1

Closed WhoMI7 closed 1 year ago

WhoMI7 commented 1 year ago

Can it somehow read the history file created by SimpleHistory.lua? Also if there's an option to change display name from media-title to filename in recent_menu.conf

natural-harmonia-gropius commented 1 year ago

Can it somehow read the history file created by SimpleHistory.lua?

Maybe in future, But SimpleHistory is a 2000+ line giant scripts. Won't do.

Also if there's an option to change display name from media-title to filename in recent_menu.conf

Will do.

dyphire commented 1 year ago

I added similar uosc integration for another history script: recent.lua.

SimpleHistory.lua is extremely rich in functions. Adding similar integration may lose many functions.

natural-harmonia-gropius commented 1 year ago

It shows both of filename and title now. image

natural-harmonia-gropius commented 1 year ago

https://github.com/natural-harmonia-gropius/recent-menu/commit/5e42bdbe432cc82a37696381c3078a3c22f77bfb

dyphire commented 1 year ago

5e42bdb

It can be optimized to display only the file name when the file name and title are the same

natural-harmonia-gropius commented 1 year ago

It can be optimized to display only the file name when the file name and title are the same

https://github.com/natural-harmonia-gropius/recent-menu/commit/c6a201ba47d4c039e15895bd085beca6484e64b3