Commit dd212bfe authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: respect 'playlist-autostart' (close #7272)

parent 06112acd
......@@ -824,6 +824,13 @@ static VLCMain *_o_sharedMainInstance = nil;
[o_mainwindow updateWindow];
[o_mainwindow updateTimeSlider];
[o_mainwindow updateVolumeSlider];
playlist_t * p_playlist = pl_Get(VLCIntf);
PL_LOCK;
BOOL kidsAround = p_playlist->p_local_category->i_children;
PL_UNLOCK;
if (kidsAround && var_GetBool(p_playlist, "playlist-autostart"))
[[self playlist] playItem:nil];
}
- (void)initStrings
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment