-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
mpv supports playlists like this (.m3u file):
#EXTM3U
#EXTINF:0,This is the title of the item
https://example.com/file.mp4
In this example, search_menu currently can only find "file.mp4", but should use "This is the title of the item" instead.
search_menu should prefer playlist/N/title
, using playlist/N/filename
only as fallback if there's no title.
Suggested fix:
- local filename = mp.get_property("playlist/" .. i .. "/filename")
+ local name = mp.get_property("playlist/" .. i .. "/title")
+ if name == nil then
+ name = mp.get_property("playlist/" .. i .. "/filename")
+ end
Metadata
Metadata
Assignees
Labels
No labels