[vlc-devel] [PATCH 0/7] qml: improve network browsing
Pierre Lamot
pierre at videolabs.io
Mon Oct 21 18:08:52 CEST 2019
this patch serie aims to:
* attach the subtitles to the media when they are reported by
the media tree
* split the device model and the media tree model because the logic
was already quite different for the two use cases
* provide a busy indicator while performing long loads rather than showing
an empty screen with no way to diferentiate loading and actually empty.
Pierre Lamot (7):
input: also copy input slaves in input_item_Copy
media_tree: send notification when preparse is complete
qt: split MLNetwork model in MLNetworkDeviceModel and
MLNetworkMediaModel.
qt: play media using input item rather than the mrl when browsing
networks.
qt: expose parsing completion in network model
qml: extend BusyIndicator
qml: show a busy indicator while listing network directory
include/vlc_media_source.h | 13 +
modules/gui/qt/Makefile.am | 12 +-
.../mediacenter/mlnetworkdevicemodel.cpp | 293 ++++++++++++++++++
.../mediacenter/mlnetworkdevicemodel.hpp | 128 ++++++++
...tworkmodel.cpp => mlnetworkmediamodel.cpp} | 279 ++++++-----------
...tworkmodel.hpp => mlnetworkmediamodel.hpp} | 104 +++----
.../mediacenter/mlnetworksourcelistener.cpp | 58 ++++
.../mediacenter/mlnetworksourcelistener.hpp | 83 +++++
modules/gui/qt/main_interface.cpp | 6 +-
.../mediacenter/MCNetworkBrowseDisplay.qml | 21 +-
.../qml/mediacenter/MCNetworkHomeDisplay.qml | 10 +-
.../MCNetworksSectionSelectableDM.qml | 25 +-
.../qt/qml/mediacenter/NetworkGridItem.qml | 10 +-
.../qt/qml/mediacenter/NetworkListItem.qml | 12 +-
modules/gui/qt/qml/utils/BusyIndicatorExt.qml | 46 +++
modules/gui/qt/vlc.qrc | 1 +
src/input/item.c | 16 +
src/media_source/media_tree.c | 22 ++
18 files changed, 853 insertions(+), 286 deletions(-)
create mode 100644 modules/gui/qt/components/mediacenter/mlnetworkdevicemodel.cpp
create mode 100644 modules/gui/qt/components/mediacenter/mlnetworkdevicemodel.hpp
rename modules/gui/qt/components/mediacenter/{mlnetworkmodel.cpp => mlnetworkmediamodel.cpp} (50%)
rename modules/gui/qt/components/mediacenter/{mlnetworkmodel.hpp => mlnetworkmediamodel.hpp} (62%)
create mode 100644 modules/gui/qt/components/mediacenter/mlnetworksourcelistener.cpp
create mode 100644 modules/gui/qt/components/mediacenter/mlnetworksourcelistener.hpp
create mode 100644 modules/gui/qt/qml/utils/BusyIndicatorExt.qml
--
2.17.1
More information about the vlc-devel
mailing list