Commit 75fe831c authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: update metadata in info panel if metadata changes

parent 46704c11
......@@ -1345,6 +1345,9 @@ static bool f_appExit = false;
- (void)plItemUpdated
{
[o_mainwindow updateName];
if (o_info != NULL)
[o_info updateMetadata];
}
- (void)updateMainMenu
......
......@@ -113,6 +113,7 @@
- (void)initMediaPanelStats;
- (void)updatePanelWithItem:(input_item_t *)_p_item;
- (void)setMeta: (char *)meta forLabel: (id)theItem;
- (void)updateMetadata;
- (void)updateStatistics;
+ (VLCInfo *)sharedInstance;
......
......@@ -179,6 +179,14 @@ static VLCInfo *_o_sharedInstance = nil;
}
- (void)updateMetadata
{
if (!p_item)
return;
[self updatePanelWithItem:p_item];
}
- (void)updatePanelWithItem:(input_item_t *)_p_item;
{
NSAutoreleasePool *o_pool = [[NSAutoreleasePool alloc] init];
......
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