[vlc-commits] [Git][videolan/vlc][master] 70 commits: macosx: Add a playlist entry to main library window sidebar

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Aug 8 05:35:17 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
5e177309 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Add a playlist entry to main library window sidebar

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
d7f14de2 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Add started VLCLibraryPlaylistViewController

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
eb31c6cf by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Add initWithLibraryWindow to VLCLibraryPlaylistViewController

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
1c70d7f9 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Add convenience class method to create flow layout with default settings

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
bb88355b by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Use VLCLibraryCollectionViewFlowLayout.standardLayout where possible

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
64edf84b by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Setup collection view within VLCLibraryPlaylistViewController

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
c3f4a6ba by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Setup placeholder view for playlist view

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
3adfb075 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Do not keep unnecessary reference to librarytargetview in playlist view controller

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
1c052b88 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Implement presentation procedure of playlist view placeholder view

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
d9371de4 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Ensure video and audio library view controllers handle placeholder image view constraints set by playlist library view controller

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
78b74cc0 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Add VLCMediaLibraryPlaylist data type

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
d928db8c by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Add basic implementation for presenting playlists library collection view

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
1d922960 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Add playlist retrievel capability to VLCLibraryModel

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
af1c50d9 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Properly report playlist count on app launch

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
89ca656a by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Handle playlist added event in VLCLibraryModel

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
e07c6f8c by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Granularly handle playlist deleted event in library model

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
328aa14c by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Add method to acquire media library playlist with ID

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
b8929a7c by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Handle update event for playlists in library model

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
29934e43 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Create playlist library view controller in library window

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
94d6beb8 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Add public method to present right playlist library view in playlist library view controller

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
e58860ba by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Handle playlist segment selection in library window

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
7f17c288 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Handle playlist segment view modes in library window persistent preferences

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
358f49a5 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Store and retrieve playlsit view mode correctly from persistent preferences in library window

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
914f075d by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Add starter VLCLibraryPlaylistDataSource

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
795e27a2 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Add playlists to playlists data source

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
a544029d by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: reload views upon reloading playlists

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
93cad9c3 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Add convenience method to find playlist by id in data source playlists

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
1e226a3e by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Add ability for playlists data source to reload data granularly

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
ac505399 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Handle VLCLibraryModelPlaylistListUpdated in VLCLibraryPlaylistDataSource

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
4428a748 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Handle VLCLibraryModelPlaylistUpdated in VLCLibraryPlaylistDataSource

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
44fbc8c8 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Add ability to delete items too from playlists cache in VLCLibraryPlaylistDataSource

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
5b10eee8 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Handle playlist deletion notification in VLCLibraryPlaylistDataSource

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
4ba6c1b4 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Also reload views when performing cache action

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
7e9510d7 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Also add ability to reload view granularly based on update or deletion

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
39c36e44 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Assert false when reached bad branch for cache action

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
91ea43ab by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Implement basic collection view methods in VLCLibraryPlaylistDataSource

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
86bfd7bf by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Setup collection views upon being set to collectionviews property in VLCLibraryPlaylistDataSource

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
7bb9e17d by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Implement libraryItemAtIndexPath for VLCLibraryPlaylistDataSource

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
ae76c4d8 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Initialise and setup playlist data source in playlist library view controller

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
2315fc3c by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Add a header view for the playlist collection view

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
3d527ad4 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Implement file handling methods of VLCMediaLibraryItemProtocol in VLCMediaLibraryPlaylist

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
d7b3f216 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Add media items property to VLCMediaLibraryPlaylist as lazily-loaded media item list

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
851e2100 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Implement media item-related VLCMediaLibraryItemProtocl-related methods for VLCMediaLibraryPlaylist

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
b49438db by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Update playlist view if necessary in controller depending on model update

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
c7adab23 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Fall back to non-library playlist queueing mode when parentType is unknown in represented item

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
c68d7903 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Implement support for VLCLibraryRepresentedItem in playlist items

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
43fc7786 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Implement indexPathForLibraryItem in playlist data source

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
a8fc8345 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Implement representedItemsAtIndexPaths in playlist data source

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
de102d86 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Conform to protocol by implementing reloadData

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
a2759555 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Reset layouts when reloading collection views

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
b84fde93 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Handle playlists segment in toolbar delegate

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
88a0586c by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Extract collection view private properties into public header

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
00969e54 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Rename album supplementary detail view in preparation to be more generic

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
26c5a4b7 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Make album tracks data source more generic

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
d8acbd1b by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Make media item list supplementary detail view library item type agnostic

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
4d5dae67 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Remove unused import of album table cell view

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
a6d36d2a by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Provide supplementary detail view in playlist data source

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
de849db6 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Implement protocol supplementaryDetailViewKind in playlist data source

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
364050bb by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Register supplementary detail view nib when setting up collection views in playlist data source

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
db1bc999 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Fix crash when itemArtworkMrl is nil in information window controller

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
09aa6cc5 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Simplify thumbnail generation for compound thumbnails by directly comparing the constituent images

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
5f603454 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Provide compound thumbnails for more than just audiogroups

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
1b6ced59 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Handle non-mediaitem type represented items in collection view item update

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
99a973f2 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Implement tableview related methods in playlist data source

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
e476ddb3 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Make playlist data source conform to master detail view table view data source protocol

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
5a646e39 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Reload table views when reloading data in playlist data source

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
7dccc9fe by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Setup and configure list view-related views in playlist view controller

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
41b1bc34 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Present list view when that is the preference in playlistviewcontroller

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
33a937d6 by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Handle all relevant (i.e. group type) model item update notifications in media item list supplementary detail view

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -
38772c1e by Claudio Cambra at 2024-08-08T05:20:11+00:00
macosx: Fix default width of master view in playlist view controller

Signed-off-by: Claudio Cambra <developer at claudiocambra.com>

- - - - -


30 changed files:

- extras/package/macosx/VLC.xcodeproj/project.pbxproj
- modules/gui/macosx/Makefile.am
- modules/gui/macosx/UI/VLCLibraryCollectionViewAlbumSupplementaryDetailView.xib → modules/gui/macosx/UI/VLCLibraryCollectionViewMediaItemListSupplementaryDetailView.xib
- modules/gui/macosx/library/VLCLibraryCollectionViewFlowLayout.h
- modules/gui/macosx/library/VLCLibraryCollectionViewFlowLayout.m
- modules/gui/macosx/library/VLCLibraryCollectionViewItem.m
- modules/gui/macosx/library/audio-library/VLCLibraryCollectionViewAlbumSupplementaryDetailView.h → modules/gui/macosx/library/VLCLibraryCollectionViewMediaItemListSupplementaryDetailView.h
- modules/gui/macosx/library/audio-library/VLCLibraryCollectionViewAlbumSupplementaryDetailView.m → modules/gui/macosx/library/VLCLibraryCollectionViewMediaItemListSupplementaryDetailView.m
- modules/gui/macosx/library/VLCLibraryDataTypes.h
- modules/gui/macosx/library/VLCLibraryDataTypes.m
- modules/gui/macosx/library/VLCLibraryImageCache.m
- modules/gui/macosx/library/audio-library/VLCLibraryAlbumTracksDataSource.h → modules/gui/macosx/library/VLCLibraryItemInternalMediaItemsDataSource.h
- modules/gui/macosx/library/audio-library/VLCLibraryAlbumTracksDataSource.m → modules/gui/macosx/library/VLCLibraryItemInternalMediaItemsDataSource.m
- modules/gui/macosx/library/VLCLibraryModel.h
- modules/gui/macosx/library/VLCLibraryModel.m
- modules/gui/macosx/library/VLCLibraryRepresentedItem.h
- modules/gui/macosx/library/VLCLibraryRepresentedItem.m
- modules/gui/macosx/library/VLCLibrarySegment.h
- modules/gui/macosx/library/VLCLibrarySegment.m
- modules/gui/macosx/library/VLCLibraryWindow.h
- modules/gui/macosx/library/VLCLibraryWindow.m
- modules/gui/macosx/library/VLCLibraryWindowPersistentPreferences.h
- modules/gui/macosx/library/VLCLibraryWindowPersistentPreferences.m
- modules/gui/macosx/library/VLCLibraryWindowToolbarDelegate.m
- modules/gui/macosx/library/audio-library/VLCLibraryAlbumTableCellView.m
- modules/gui/macosx/library/audio-library/VLCLibraryAudioDataSource.m
- modules/gui/macosx/library/audio-library/VLCLibraryAudioGroupDataSource.m
- modules/gui/macosx/library/audio-library/VLCLibraryAudioViewController.m
- modules/gui/macosx/library/audio-library/VLCLibrarySongTableCellView.m
- modules/gui/macosx/library/home-library/VLCLibraryHomeViewVideoGridContainerView.m


The diff was not included because it is too large.


View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/26bea87053e447d9e4a8f89ebbadb9513bae4edf...38772c1e242e5568b4e925b877e03594be3eebe3

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/26bea87053e447d9e4a8f89ebbadb9513bae4edf...38772c1e242e5568b4e925b877e03594be3eebe3
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list