[vlc-commits] [Git][videolan/vlc][master] 66 commits: macosx: Add basic VLCLibraryRepresentedItem

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Nov 9 10:40:18 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
49390f2a by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Add basic VLCLibraryRepresentedItem

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

- - - - -
98fd6edb by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Lazily calculate itemIndexInParent in VLCLibraryRepresentedItem

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

- - - - -
ddb41b2a by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Implement iterateMediaItemsWithBlock in VLCLibraryAllAudioGroupsMediaLibraryItem

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

- - - - -
8c849425 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Make VLCRepresentedItem a read-only data class

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

- - - - -
e154d49b by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Keep track of parent type in VLCLibraryRepresentedItem

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

- - - - -
04c2b96e by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Lazily fetch parent item in VLCLibraryRepresentedItem

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

- - - - -
ca06b807 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Make currentParentType a public readonly property of VLCLibraryAudioDataSource

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

- - - - -
c16b39b8 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Keep track of parent type in VLCLibraryAudioGroupDataSource

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

- - - - -
011f63e6 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Switch over to VLCLibraryRepresentedItem in VLCLibraryCollectionViewItem

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

- - - - -
62544318 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Switch over to VLCLibraryRepresentedItem in VLCLibraryCollectionViewMediaItemSupplementaryDetailView

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

- - - - -
1a13bb34 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Switch to VLCLibraryRepresentedItem in VLCLibraryHeroView

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

- - - - -
32afed22 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Use translatable strings for unknown type in VLCLibraryAudioGroupHeaderView

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

- - - - -
e942d54c by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Switch to VLCLibraryRepresentedItem in VLCLibraryAudioGroupDataSource

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

- - - - -
e0033c18 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Convert all supplementary views to use VLCLibraryRepresentedItem

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

- - - - -
3bf1594b by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Switch main table view cells over to VLCLibraryRepresentedItem

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

- - - - -
9ba52e83 by Claudio Cambra at 2023-11-09T09:25:54+00:00
Switch to VLCLibraryRepresentedItem in VLCLibraryAlbumTableCellView

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

- - - - -
35da8f64 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Add method to play the represented item within VLCLibraryRepresentedItem

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

- - - - -
56d3842c by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Add play and queue methods to VLCLibraryRepresentedItem

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

- - - - -
5fd9c291 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Use representedItem play/queue methods in VLCLibraryCollectionViewItem

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

- - - - -
b8a66a85 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Use representedItem's play/queue methods in VLCLibraryCollectionViewMediaItemSupplementaryDetailView

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

- - - - -
0a67502c by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Use representedItem's play method in VLCLibraryHeroView

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

- - - - -
dae70077 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Expose current parent type in VLCLibraryAudioGroupDataSource

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

- - - - -
7035a940 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Add currentParentType property to VLCLibraryTableViewDataSource protocol and conformants

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

- - - - -
75ce0dc3 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Use VLCLibraryRepresentedItem in VLCLibraryMenuController

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

- - - - -
fb78e845 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Fix parent type in VLCLibraryTableViewDelegate call to representedItem

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

- - - - -
d1051427 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Use VLCLibraryRepresentedItem's play/queue methods in VLCLibraryMenuController

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

- - - - -
1da52a55 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Use VLCLibraryRepresentedItem's play method in VLCLibraryTableCellView

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

- - - - -
b107567d by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Use VLCLibraryRepresentedItem's play/queue methods in VLCLibraryAudioGroupHeaderView

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

- - - - -
52191dea by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Use VLCLibraryRepresentedItem's play/queue methods in VLCLibraryCollectionViewAlbumSupplementaryDetailView

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

- - - - -
6e2165d7 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Use VLCLibraryRepresentedItem's play method in VLCLibrarySongTableCellView

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

- - - - -
8ee3a909 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Use VLCLibraryRepresentedItem's play method in VLCLibraryAlbumTableCellView

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

- - - - -
437ef382 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Use VLCLbraryRepresentedItem play/queue methods in VLCLibraryAudioDataSource

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

- - - - -
3197bb84 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Use VLCLibraryRepresentedItem play method in VLCLibraryAlbumTableCellView

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

- - - - -
aa52e761 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Implement moveToTrash and revealInFinder in VLCLibraryRepresentedItem

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

- - - - -
f9bc0f39 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Add mediaItems property to VLCMediaLibraryItemProtocol, supersede tracksAsMediaItems in derivatives

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

- - - - -
c98d8d52 by Claudio Cambra at 2023-11-09T09:25:54+00:00
Track media type within VLCLibraryRepresentedItem

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

- - - - -
868a9c02 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Set index in parent based from all library items if parent type is unknown in VLCLibraryRepresentedItem

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

- - - - -
17343e5f by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Dynamically add parent item media items in front of subject item to playlist when played

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

- - - - -
67153572 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Fix retain related crash in VLCLibrarySongTableCellView

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

- - - - -
a3fa96d4 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Make VLCLibraryRepresentedItem parentItem property functionally atomic

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

- - - - -
9a7bc8d7 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Fix indexing of represented item within parent item's media items

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

- - - - -
92cf5671 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Actually properly set internal _parentItem within VLCLibraryRepresentedItem

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

- - - - -
2c71d733 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Correctly play items that have the same type of parent item

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

- - - - -
d21e15b9 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Split index retrieval and index property getter into separate methods for VLCLibraryRepresentedItem

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

- - - - -
e4c3c16d by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Clean up parentItem getter in VLCLibraryRepresentedItem

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

- - - - -
0e8b64a3 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Add a matchingParentType property to audio group types

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

- - - - -
6729fdda by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Add method to get list of library items based on parent type in polymorphic manner in VLCLibraryModel

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

- - - - -
fc264211 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Add method to get VLCMediaLibraryMediaItems from VLCLibraryModel based on a parent type

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

- - - - -
ceeeb9b0 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Add method to init VLCLibraryAllAudioGroupsMediaLibraryItem based on parentType

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

- - - - -
b878f94a by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Split acquisition of parent item id from parent item in VLCLibraryRepresentedItem

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

- - - - -
bd3644ad by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Provide parent item with correctly ordered VLCMediaLibraryMediaItems for audio groups in VLCLibraryRepresentedItem

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

- - - - -
2da39232 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Simplify handling of parent type for menu controller in VLCLibraryTableView

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

- - - - -
843478aa by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Add optional play individually mode to VLCLibraryRepresentedItem

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

- - - - -
75f3918c by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Do not redundantly set parentItem in VLCLibraryRepresentedItem's parentItemForItem

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

- - - - -
52a76f1a by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Keep track of parent's media items rather than parent item itself for VLCLibraryRepresentedItem

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

- - - - -
c5a469a5 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Replace use of vlc_ml_parent_type with expanded VLCMediaLibraryParentGroupType

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

- - - - -
4d17ff0d by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Convert use of VLCLibraryVideoGroup in video library components to VLCMediaLibraryParentGroupType

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

- - - - -
7a8fc153 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Provide a more representative parent group type in hero view

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

- - - - -
2eec6c4f by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Properly set parent type for represented item in VLCLibraryVideoCollectionViewContainerView

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

- - - - -
1ba45383 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Properly handle video media library items in VLCLibraryRepresentedItem

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

- - - - -
27119c64 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Properly adapt VLCLibraryAudioDataSource to VLCMediaLibraryParentGroupType

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

- - - - -
5a7209e4 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Constify and access by self wherever possible in VLCLibraryAudioDataSource

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

- - - - -
f1d35ebd by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Add libraryPlaylistMode property to playlist controller

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

- - - - -
bb8d42ef by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Add a menu item to playback menu to enable/disable library playlist mode

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

- - - - -
bc71962d by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Respect playlist controller library playlist mode setting in VLCLibraryRepresentedItem

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

- - - - -
6cef23c3 by Claudio Cambra at 2023-11-09T09:25:54+00:00
macosx: Queue entire parent item child item collection when playlist controller is in repeat mode, appending beginning items to end

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/MainMenu.xib
- modules/gui/macosx/library/VLCLibraryCollectionViewItem.h
- modules/gui/macosx/library/VLCLibraryCollectionViewItem.m
- modules/gui/macosx/library/VLCLibraryCollectionViewMediaItemSupplementaryDetailView.h
- modules/gui/macosx/library/VLCLibraryCollectionViewMediaItemSupplementaryDetailView.m
- modules/gui/macosx/library/VLCLibraryCollectionViewSupplementaryDetailView.h
- modules/gui/macosx/library/VLCLibraryCollectionViewSupplementaryDetailView.m
- modules/gui/macosx/library/VLCLibraryDataTypes.h
- modules/gui/macosx/library/VLCLibraryDataTypes.m
- modules/gui/macosx/library/VLCLibraryHeroView.h
- modules/gui/macosx/library/VLCLibraryHeroView.m
- modules/gui/macosx/library/VLCLibraryMenuController.h
- modules/gui/macosx/library/VLCLibraryMenuController.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/VLCLibraryTableCellView.h
- modules/gui/macosx/library/VLCLibraryTableCellView.m
- modules/gui/macosx/library/VLCLibraryTableCellViewProtocol.h
- modules/gui/macosx/library/VLCLibraryTableView.h
- modules/gui/macosx/library/VLCLibraryTableView.m
- modules/gui/macosx/library/VLCLibraryTableViewDelegate.m
- modules/gui/macosx/library/audio-library/VLCLibraryAlbumTableCellView.h
- modules/gui/macosx/library/audio-library/VLCLibraryAlbumTableCellView.m
- modules/gui/macosx/library/audio-library/VLCLibraryAlbumTracksDataSource.m
- modules/gui/macosx/library/audio-library/VLCLibraryAllAudioGroupsMediaLibraryItem.h
- modules/gui/macosx/library/audio-library/VLCLibraryAllAudioGroupsMediaLibraryItem.m


The diff was not included because it is too large.


View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/8f5e39e3f1eab184e6b159c587047032e3ebb1b6...6cef23c3400c683e1ac225575a72a1606124fad6

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/8f5e39e3f1eab184e6b159c587047032e3ebb1b6...6cef23c3400c683e1ac225575a72a1606124fad6
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