summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-10 21:22:35 +0200
committerwm4 <wm4@nowhere>2015-07-10 21:22:35 +0200
commit8e82a64f5665dfeec2b0ae34b52f1870720f049e (patch)
tree2d7cc09097e15f260b6a594f72276299f1b25d9f /common
parentc2b61876c4e880f4f95413debb74b5435241f2d1 (diff)
downloadmpv-8e82a64f5665dfeec2b0ae34b52f1870720f049e.tar.bz2
mpv-8e82a64f5665dfeec2b0ae34b52f1870720f049e.tar.xz
player: parse and expose m3u playlist titles
Requested. Closes #2100.
Diffstat (limited to 'common')
-rw-r--r--common/playlist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/playlist.h b/common/playlist.h
index 0e571a0ced..be9fd991e2 100644
--- a/common/playlist.h
+++ b/common/playlist.h
@@ -34,6 +34,8 @@ struct playlist_entry {
struct playlist_param *params;
int num_params;
+ char *title;
+
// Set to true if playback didn't seem to work, or if the file could be
// played only for a very short time. This is used to make playlist
// navigation just work in case the user has unplayable files in the