[vlc-commits] [Git][videolan/vlc][master] 10 commits: macosx: Add a recently added media model cache

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Thu Nov 5 17:29:01 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
c59d3b87 by Claudio Cambra at 2026-11-05T17:48:26+01:00
macosx: Add a recently added media model cache

Expose the latest 20 library additions using descending insertion-date
sorting, independently of the selected library sort and with the
current search filter.

Maintain the snapshot through the normal addition reset and shared
media-cache mutation and pending-query reconciliation paths. Remove
deleted items immediately and query again to refill the bounded list.
Keep thumbnail notifications on their existing path without list queries.

Cover mixed-media ordering, filtering, presence changes, isolated cache
updates, deletion backfill, notification delivery and overlapping media
events with native fixtures.

- - - - -
45abf2b5 by Claudio Cambra at 2026-11-05T17:48:26+01:00
macosx: Support recently added media in Home data sources

Load recently added snapshots through the existing Home collection data
source and refresh them after model resets or cache drops. Resolve the
mixed parent list for audio and video playback in the displayed order.

Cover mixed-media item and action context, snapshot refreshes, empty
results, and reconnecting after changes while disconnected.



- - - - -
a9986ba0 by Claudio Cambra at 2026-11-05T17:48:26+01:00
macosx: Support non-navigable Home section headings

Render non-navigable headings as static text using the same font and
color as navigable headings, with no caret or button interaction.
Cover truncation and native static-text accessibility.


- - - - -
51859deb by Claudio Cambra at 2026-11-05T17:48:26+01:00
macosx: Add a Recently added carousel view

Reuse the shared Home carousel for the mixed recently added snapshot.
Use a static heading and hide the component when its snapshot is empty.
Expose the base hooks needed by the subclass and register the view in
the GUI and test builds.


- - - - -
a0cc3194 by Claudio Cambra at 2026-11-05T17:48:26+01:00
macosx: Add a Recently added section to Home

Place the Recently added carousel after playback recents and before
Browse. Rename Home's playback-history headings to Recently watched
and Recently listened to.

Cover dynamic row placement, mixed and empty snapshots, reconnecting
after library changes, and the updated heading text.


- - - - -
77b88351 by Claudio Cambra at 2026-11-05T17:48:26+01:00
macosx: Split recently added caches by media type

Query the latest 20 videos and audio items independently, using descending
insertion date and the current search filter. Maintain both snapshots
through the shared media-cache mutation and pending-query mechanisms,
including immediate deletion and list backfill.

Adapt Home's data source, group descriptors and playback context to the
typed lists. The existing carousel uses the video list while the music
container is added separately.

Cover typed ordering, independent limits, search and presence changes,
cache isolation, notifications and overlapping queries with native fixtures.

- - - - -
7636bc8d by Claudio Cambra at 2026-11-05T17:48:26+01:00
macosx: Parameterize recently added carousel containers

Allow the shared Recently Added carousel to select a video or music group,
using its corresponding model snapshot and heading. Keep the static heading
and independent empty-state visibility for each instance.

- - - - -
944eda71 by Claudio Cambra at 2026-11-05T17:48:26+01:00
macosx: Show recently added videos and music on Home

Replace Home's single Recently Added row with separate video and music
carousels, after playback recents and before Browse. Require an explicit
group when constructing each Recently Added container.

Cover row placement as playback recents appear and disappear, independent
visibility and counts, and refreshing both rows after reconnecting.

- - - - -
f43646ef by Claudio Cambra at 2026-11-05T17:48:26+01:00
macosx: Use widescreen cards for recently added videos

Use the existing 16:9 video carousel width and aspect ratio for Home's
Recently Added videos row. Music retains the shared square card sizing.

- - - - -
7d3df881 by Claudio Cambra at 2026-11-05T17:48:26+01:00
macosx: Give shared Home media sources neutral names

Rename the shared Home data source and collection group descriptor to
reflect their use by both video and music rows. Move the descriptor from
video-library into the shared library directory.

Update the initializer, notification, callers, tests, build registrations,
Xcode file references and translation paths without changing behavior.

- - - - -


38 changed files:

- extras/package/macosx/VLC.xcodeproj/project.pbxproj
- modules/gui/macosx/Makefile.am
- modules/gui/macosx/library/VLCLibraryDataTypes.h
- modules/gui/macosx/library/video-library/VLCLibraryVideoGroupDescriptor.h → modules/gui/macosx/library/VLCLibraryMediaGroupDescriptor.h
- modules/gui/macosx/library/video-library/VLCLibraryVideoGroupDescriptor.m → modules/gui/macosx/library/VLCLibraryMediaGroupDescriptor.m
- modules/gui/macosx/library/VLCLibraryModel.h
- modules/gui/macosx/library/VLCLibraryModel.m
- modules/gui/macosx/library/VLCLibraryRepresentedItem.m
- modules/gui/macosx/library/VLCLibraryTableCellView.m
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewAudioCarouselContainerView.m
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewBaseCarouselContainerView.h
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewContainerView.h
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewController.m
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewVideoContainerViewDataSource.h → modules/gui/macosx/library/home-library/VLCLibraryHomeViewMediaContainerViewDataSource.h
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewVideoContainerViewDataSource.m → modules/gui/macosx/library/home-library/VLCLibraryHomeViewMediaContainerViewDataSource.m
- + modules/gui/macosx/library/home-library/VLCLibraryHomeViewRecentlyAddedCarouselContainerView.h
- + modules/gui/macosx/library/home-library/VLCLibraryHomeViewRecentlyAddedCarouselContainerView.m
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewSectionHeaderView.h
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewSectionHeaderView.m
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewStackViewController.h
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewStackViewController.m
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewVideoCarouselContainerView.m
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewVideoContainerView.h
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewVideoGridContainerView.h
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewVideoGridContainerView.m
- modules/gui/macosx/library/video-library/VLCLibraryVideoDataSource.m
- modules/gui/macosx/library/video-library/VLCLibraryVideoViewController.m
- modules/gui/macosx/tests/Makefile.am
- modules/gui/macosx/tests/VLCLibraryDataTypesIntegrationTestSupport.h
- modules/gui/macosx/tests/VLCLibraryDataTypesIntegrationTestSupport.m
- + modules/gui/macosx/tests/VLCLibraryHomeMediaDataSourceTest.m
- modules/gui/macosx/tests/VLCLibraryHomeTestSupport.m
- modules/gui/macosx/tests/VLCLibraryHomeViewSectionHeaderViewTest.m
- + modules/gui/macosx/tests/VLCLibraryHomeViewStackViewControllerTest.m
- modules/gui/macosx/tests/VLCLibraryModelConcurrencyTest.m
- modules/gui/macosx/tests/VLCLibraryModelTestSupport.h
- modules/gui/macosx/tests/VLCLibraryModelTestSupport.m
- po/POTFILES.in


The diff was not included because it is too large.


View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/b35060be5eef3caa126e370a6817bc59bfc3e3c4...7d3df88186df45a164f5b158d1a05c59fc51d03d

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/b35060be5eef3caa126e370a6817bc59bfc3e3c4...7d3df88186df45a164f5b158d1a05c59fc51d03d
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list