[vlc-commits] [Git][videolan/vlc][master] 25 commits: qt: add mrl, type, favorite, lastPlayedDate data members in MLMedia
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sun Apr 27 06:30:38 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
1b13f509 by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qt: add mrl, type, favorite, lastPlayedDate data members in MLMedia
- Added mrl, type, favorite, lastPlayedDate information in the MLMedia
data type class.
- The getter for mrl can be 'getMRL()' or 'mrl()', so it's
better to take the mrl and not the pointer as the param to
extract the parent url (in mlhelper).
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
5ef33820 by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qt: derive MLAlbumTrack from MLMedia
Used the MLMedia class as the 1st level base class for MLAlbumTrack
class.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
13ed91fb by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qt: rename MLAlbumTrack to MLAudio
Renamed the MLAlbumTrack class to MLAudio.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
6c8380c6 by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qt: rename MLAlbumTrackModel to MLAudioModel
Renamed the MLAlbumTrackModel data model class to MLAudioModel.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
7a81e9ad by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qt: migrate getVariantList() to mlhelper
Migrated the trivial generic function getVariantList() from
MLVideoModel class to mlhelper.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
5cadefb5 by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qt: introduce the MLMediaModel data model
Introduced the MLMediaModel data model class that implements
mixing of media (video + audio).
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
b83277e6 by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qt: derive MLRecentsModel from MLMediaModel
Used the MLMediaModel class as the 1st level base class
for the MLRecentsModel data model class.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
bd78ecfb by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qt: rename MLRecentsModel to MLRecentMediaModel
The MLRecentsModel lists only the recent media (video + audio)
and not other recents. Thus, it's better to call it
MLRecentMediaModel.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
7731e2cc by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qt: rename MLRecentsVideoModel to MLRecentVideoModel
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
2a8fe90c by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qt: derive MLVideoModel from MLMediaModel
Used the MLMediaModel class as the 1st level base class
for the MLVideoModel data model class.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
02feeb58 by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qt: derive MLAudioModel from MLMediaModel
Used MLMediaModel data model class as the 1st level base class
for MLAudioModel data model class.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
0d71e14c by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qt: introduce 'favoriteOnly' Q_PROPERTY in MLBaseModel
Introduced the 'favoriteOnly' Q_PROPERTY in the MLBaseModel
allow fetching only favorite marked media.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
6ecc717f by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qml: add 'fillMode' property in TableColumns
Added 'fillMode' property in TableColumns and adjusted the
MediaCover background color.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
0412aa13 by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qml: expose ExpandGridView 'interactive' and 'displayMarginBeginning'
Exposed the 'interactive' property of the inner flickable, and
displayMarginBeginning in ExapndGridView.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
ae5436af by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qml: expose TableViewExt 'reuseItems' and 'displayMarginBeginning'
Exposed the 'reuseItems' and 'displayMarginBeginning' property of
the inner list view in TableViewExt.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
090f117a by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qml: introduce the 'MediaView' component
Added the MediaView.qml component to display mixed media
(video + audio).
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
90c86399 by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qml: redesign the 'NoMedialibHome' qml component
Implemented the new design of NoMedialibHome with VLC Cone and Open Buttons.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
cfd27e8f by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qt: signal interface window device pixel ratio change
Signed-off by: Fatih Uzunoglu <fuzun54 at outlook.com>
- - - - -
335a8eca by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qml: update cone source size on DPR change in NoMedialibHome.qml
Signed-off by: Fatih Uzunoglu <fuzun54 at outlook.com>
- - - - -
12a7f2b2 by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qml: add and remove minor changes in VideoAll
* Removed the setCurrentItemFocus() property override
so that view gets activeFocus before header.
* Removed the _onNavigationUp() private function and
implemented direct Navigation.upItem in list and grid.
* Added seeAllButtonClicked() signal.
* Added interactive, reuseItems, rowHeight, enableBeginningFade
displayMarginBeginning, displayMarginEnd properties.
* Added getItemY function.
* Use Widgets.TableViewExt instead of MainTableView.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
e9361c5b by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qt: make sure focus reason is adjusted
Signed-off by: Fatih Uzunoglu <fuzun54 at outlook.com>
- - - - -
411e7e27 by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qml: make sure "See All" button has the same focus reason
Signed-off by: Fatih Uzunoglu <fuzun54 at outlook.com>
- - - - -
ecfea30c by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qml: introduce the 'HomePage' component
Added the HomePage.qml component that acts as the Home View
when MainCtx has MediaLibrary available.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
e7f14dfd by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qml: introduce the 'HomeDisplay' component
Added the HomeDisplay.qml component to display the 'HomePage.qml'
component as well as the 'MediaView.qml' 'See All' component
for the respective rows of 'HomePage.qml'.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
25108b48 by Ashutosh Verma at 2025-04-27T05:44:56+00:00
qml: remove 'Continue Watching' row from Video / All
Removed the recent videos row from the All sub-view of the Video
view. 'Continue Watching' row is now present in Home view.
Signed-off by: Ash <ashutoshv191 at gmail.com>
- - - - -
30 changed files:
- modules/gui/qt/Makefile.am
- modules/gui/qt/dialogs/preferences/simple_preferences.cpp
- modules/gui/qt/maininterface/interface_window_handler.cpp
- modules/gui/qt/maininterface/mainctx.hpp
- modules/gui/qt/maininterface/mainui.cpp
- modules/gui/qt/maininterface/qml/MainDisplay.qml
- modules/gui/qt/maininterface/qml/MainInterface.qml
- modules/gui/qt/maininterface/qml/NoMedialibHome.qml
- modules/gui/qt/medialibrary/mlalbumtrack.cpp → modules/gui/qt/medialibrary/mlaudio.cpp
- modules/gui/qt/medialibrary/mlalbumtrack.hpp → modules/gui/qt/medialibrary/mlaudio.hpp
- modules/gui/qt/medialibrary/mlalbumtrackmodel.cpp → modules/gui/qt/medialibrary/mlaudiomodel.cpp
- modules/gui/qt/medialibrary/mlalbumtrackmodel.hpp → modules/gui/qt/medialibrary/mlaudiomodel.hpp
- modules/gui/qt/medialibrary/mlbasemodel.cpp
- modules/gui/qt/medialibrary/mlbasemodel.hpp
- modules/gui/qt/medialibrary/mlhelper.cpp
- modules/gui/qt/medialibrary/mlhelper.hpp
- modules/gui/qt/medialibrary/mlmedia.hpp
- + modules/gui/qt/medialibrary/mlmediamodel.cpp
- + modules/gui/qt/medialibrary/mlmediamodel.hpp
- modules/gui/qt/medialibrary/mlplaylistmedia.cpp
- modules/gui/qt/medialibrary/mlplaylistmedia.hpp
- modules/gui/qt/medialibrary/mlplaylistmodel.cpp
- modules/gui/qt/medialibrary/mlrecentsmodel.cpp → modules/gui/qt/medialibrary/mlrecentmediamodel.cpp
- modules/gui/qt/medialibrary/mlrecentsmodel.hpp → modules/gui/qt/medialibrary/mlrecentmediamodel.hpp
- modules/gui/qt/medialibrary/mlrecentsvideomodel.cpp → modules/gui/qt/medialibrary/mlrecentvideomodel.cpp
- modules/gui/qt/medialibrary/mlrecentsvideomodel.hpp → modules/gui/qt/medialibrary/mlrecentvideomodel.hpp
- modules/gui/qt/medialibrary/mlvideo.cpp
- modules/gui/qt/medialibrary/mlvideo.hpp
- modules/gui/qt/medialibrary/mlvideogroupsmodel.cpp
- modules/gui/qt/medialibrary/mlvideogroupsmodel.hpp
The diff was not included because it is too large.
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/6ac95c00183ff8f7a8172f216d306a0d56d14b2b...25108b481d3ec7106fb5029ee4eed85c2f4e9039
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/6ac95c00183ff8f7a8172f216d306a0d56d14b2b...25108b481d3ec7106fb5029ee4eed85c2f4e9039
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