diff options
author | wm4 <wm4@nowhere> | 2013-06-28 22:16:29 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-29 22:58:12 +0200 |
commit | a6a1f4b8336c0d18c0588922da6b786b6408209f (patch) | |
tree | 1fd7bae3a83c98a090601c824ff35a933603c3ef /core/mp_core.h | |
parent | fd7dd83e287c96f8be026cdec2c1ec74aaaa823b (diff) | |
download | mpv-a6a1f4b8336c0d18c0588922da6b786b6408209f.tar.bz2 mpv-a6a1f4b8336c0d18c0588922da6b786b6408209f.tar.xz |
command: add properties for playlist position
playlist-pos can set/get the current playlist index. playlist-count
returns the number of entries in the playlist.
Diffstat (limited to 'core/mp_core.h')
-rw-r--r-- | core/mp_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/mp_core.h b/core/mp_core.h index 0bd6ecda15..08f84dd817 100644 --- a/core/mp_core.h +++ b/core/mp_core.h @@ -317,6 +317,7 @@ bool mp_remove_track(struct MPContext *mpctx, struct track *track); struct playlist_entry *mp_next_file(struct MPContext *mpctx, int direction); int mp_get_cache_percent(struct MPContext *mpctx); void mp_write_watch_later_conf(struct MPContext *mpctx); +void mp_set_playlist_entry(struct MPContext *mpctx, struct playlist_entry *e); void mp_print_version(int always); |