[vlc-commits] macosx: ask for the 'album-art' fetcher option on first run (refs #9318)
Felix Paul Kühne
git at videolan.org
Mon Apr 28 10:37:50 CEST 2014
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Apr 28 10:37:45 2014 +0200| [6c2f54a9192f5b8e8cddd47845d7c8672ca70cef] | committer: Felix Paul Kühne
macosx: ask for the 'album-art' fetcher option on first run (refs #9318)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6c2f54a9192f5b8e8cddd47845d7c8672ca70cef
---
modules/gui/macosx/MainWindow.m | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 77bed60..6ed2f84 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -338,6 +338,10 @@ static VLCMainWindow *_o_sharedInstance = nil;
[o_sidebar_view expandItem: [o_sidebaritems objectAtIndex:x] expandChildren: YES];
[o_fspanel center];
+
+ NSAlert *albumArtAlert = [NSAlert alertWithMessageText:_NS("Check for album art and metadata?") defaultButton:_NS("Enable Metadata Retrieval") alternateButton:_NS("No, Thanks") otherButton:nil informativeTextWithFormat:_NS("VLC can check online for album art and metadata to enrich your playback experience, e.g. by providing track information when playing Audio CDs. To provide this functionality, VLC will send information about your contents to trusted services in an anonymized form.")];
+ NSInteger returnValue = [albumArtAlert runModal];
+ config_PutInt(VLCIntf, "album-art", returnValue == 1 ? ALBUM_ART_ALL : ALBUM_ART_WHEN_ASKED);
}
// select playlist item by default
More information about the vlc-commits
mailing list