occivink / mpv-gallery-view

Gallery-view scripts for mpv
The Unlicense
189 stars 20 forks source link

preserve (and optionally display) playlist titles #9

Closed jgreco closed 5 years ago

jgreco commented 5 years ago

playlists have an optional 'title' subproperty that is used, for example, by ytdl_hook.lua. This title subproperty of playlists is only populated if present in the playlist file, so to preserve it I've modified restore_playlist_and_select to create an M3U playlist in memory.

I've also added a simple option to display these playlist titles instead of filenames, which creates a nice UX when viewing youtube playlists.

occivink commented 5 years ago

Tested a bunch, works great. You can make show_title on by default

jgreco commented 5 years ago

cool, I've pushed an amend to make show_title=yes by default.