Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC
Commits:
28faf65c by Claudio Cambra at 2022-07-28T13:39:19+00:00
macosx: Fix artists in VLCLibraryModel
- - - - -
1 changed file:
- modules/gui/macosx/library/VLCLibraryModel.m
Changes:
=====================================
modules/gui/macosx/library/VLCLibraryModel.m
=====================================
@@ -240,7 +240,7 @@ static void libraryCallback(void *p_data, const
vlc_ml_event_t *p_event)
- (void)updateCachedListOfArtists
{
dispatch_async(dispatch_get_global_queue(QOS_CLASS_USER_INTERACTIVE, 0), ^{
- const vlc_ml_query_params_t queryParams = { .psz_pattern =
[self->_filterString UTF8String], .i_sort = self->_sortCriteria, .b_desc =
self->_sortDescending };
+ const vlc_ml_query_params_t queryParams = [self queryParams];
vlc_ml_artist_list_t *p_artist_list =
vlc_ml_list_artists(self->_p_mediaLibrary, &queryParams, NO);
NSMutableArray *mutableArray = [[NSMutableArray alloc]
initWithCapacity:p_artist_list->i_nb_items];
for (size_t x = 0; x < p_artist_list->i_nb_items; x++) {
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/28faf65cf32fa3c7341207887c490c2775db530d
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/28faf65cf32fa3c7341207887c490c2775db530d
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits