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

macosx: display only information on the currently playing item instead of the...

macosx: display only information on the currently playing item instead of the item selected in the playlist
parent 721218c5
...@@ -1511,6 +1511,11 @@ static void * manage_cleanup( void * args ) ...@@ -1511,6 +1511,11 @@ static void * manage_cleanup( void * args )
b_buffering = YES; b_buffering = YES;
} }
/* update our info-panel to reflect the new item */
[[[VLCMain sharedInstance] getInfo]
updatePanelWithItem:
playlist_CurrentPlayingItem( p_playlist )->p_input];
/* seekable streams */ /* seekable streams */
b_seekable = var_GetBool( p_input, "can-seek" ); b_seekable = var_GetBool( p_input, "can-seek" );
......
...@@ -525,9 +525,6 @@ ...@@ -525,9 +525,6 @@
if( p_item ) if( p_item )
{ {
/* update our info-panel to reflect the new item */
[[[VLCMain sharedInstance] getInfo] updatePanelWithItem:p_item->p_input];
/* update the state of our Reveal-in-Finder menu items */ /* update the state of our Reveal-in-Finder menu items */
NSMutableString *o_mrl; NSMutableString *o_mrl;
char *psz_uri = input_item_GetURI( p_item->p_input ); char *psz_uri = input_item_GetURI( p_item->p_input );
...@@ -1334,10 +1331,10 @@ ...@@ -1334,10 +1331,10 @@
return( o_ctx_menu ); return( o_ctx_menu );
} }
- (void)outlineView: (NSTableView*)o_tv - (void)outlineView: (NSTableView *)o_tv
didClickTableColumn:(NSTableColumn *)o_tc didClickTableColumn:(NSTableColumn *)o_tc
{ {
int i_mode = 0, i_type; int i_mode, i_type = 0;
intf_thread_t *p_intf = VLCIntf; intf_thread_t *p_intf = VLCIntf;
playlist_t *p_playlist = pl_Hold( p_intf ); playlist_t *p_playlist = pl_Hold( p_intf );
......
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