summaryrefslogtreecommitdiffstats
path: root/app
AgeCommit message (Collapse)AuthorFilesLines
2022-03-08Add start call to QMLmarlin_12.93.0marlin/12.93.012.93.0Scott Murray1-0/+5
Tweak the app QML to call into the new start call in the libqtappfw Mediaplayer object that replaces the previous WebSocket onConnected hook. This is driven by the need to hold off triggering events from the underlying libqtappfw Bluetooth object until the QML engine is running, otherwise it misses events driven by bluez-glib initialization querying BlueZ state. Bug-AGL: SPEC-4231 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia4c98a19c73aaf778d4133ef77d93bfdacdf7974
2022-02-14Update for app framework removalScott Murray3-42/+12
Changes: - Remove the autobuild scripts and config.xml used by the app framework widget build. - Update the qmake files to just build a "settings" binary and install it into /usr/bin by default. - Remove the code in main.cpp that handled reading the WebSocket command-line arguments and passing them to binding related code. - Add initial .desktop file and icon copied from the launcher source tree, and updated .pro files to install them. Bug-AGL: SPEC-4182 Change-Id: I7e519aa963f6f22a37d083b2743ad5d42ead9684 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2021-01-07Remove libhomescreen dependencymarlin_12.92.0marlin_12.91.0marlin_12.90.1marlin_12.90.0marlin/12.92.0marlin/12.91.0marlin/12.90.1marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.0koi_10.93.0koi_10.92.0koi/10.93.0koi/10.92.012.92.012.91.012.90.112.90.011.92.011.91.010.93.010.92.0Scott Murray3-13/+1
libhomescreen was still a dependency in the qmake files, remove it. Bug-AGL: SPEC-3757 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4ed491e7c14956c601d17997c70497559e54c0cc
2020-07-03Revert "app/MediaPlayer.qml: Adjust the playlist size so it arranged correctly"koi_10.91.0koi/10.91.0jellyfish_9.99.4jellyfish_9.99.3jellyfish_9.99.2jellyfish/9.99.4jellyfish/9.99.3jellyfish/9.99.29.99.49.99.39.99.210.91.0Marius Vlad1-1/+1
This reverts commit 8a7865f1e9152b5098e1f1183310e90a10a58de1. Putting the player in the middle would actually screw up displaying other parts. Bug-AGL: SPEC-3348 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: If9680b04a85d91eb7488b4d18db6b31bdf24f82a
2020-06-24app/MediaPlayer.qml: Adjust the playlist size so it arranged correctlyjellyfish_9.99.1jellyfish/9.99.19.99.1Marius Vlad1-1/+1
on the middle Bug-AGL: SPEC-3379 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ib3b1f5ccb98a39787c569ed3606cd6f5b2c4051f
2020-06-24app/MediaPlayer.qml: Use Window width and heightMarius Vlad1-4/+3
Bug-AGL: SPEC-3379 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ie0b77df34c29591157069e0a92287acb5e53b958
2020-06-24app: Remove libhomescreen and windowmanger callbacksMarius Vlad3-43/+2
Bug-AGL: SPEC-3447 Removes also depedencies from config. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I1e455a81a06f5d7d712d09621de585459122edd7
2020-06-24app/MediaPlayer: Do not hard-code the window sizeMarius Vlad1-3/+7
Bug-AGL: SPEC-3447 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Id7cc10901a26e1344a9f2bed522821b220168c62
2020-06-10Update autobuild scriptsScott Murray1-0/+4
Update autobuild scripts with reworked version that fixes building outside of the source tree. As well, the project files have been tweaked to strip the release build binaries and add "-debug" in the name of the debug widget file. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If2071acc4bc5414d860740c6f5d7f96315504c8f
2020-06-08replace qtappfw with qtappfw-mediaplayer packageRaquel Medina1-1/+1
Bug-AGL: SPEC-3390 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: Ia62a13868888b93afcbcbbfeb81890ff6716371b
2020-02-15mediaplayer: qml: quiet assignment failure on track.durationMatt Ranostay1-1/+3
Not all events have duration yet due to gstreamer rolling event maybe delayed. Bug-AGL: SPEC-3140 Change-Id: Ib9443f13acf0c7d93b3bfbb97afa1f60ecbac3e7 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-09mediaplayer: qml: update QML widget imports for Qt 5.11icefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.18.99.58.99.48.99.38.99.28.99.1Matt Ranostay1-3/+3
Update the imports of QML widgets to the latest version used by AGL which is 5.11 Bug-AGL: SPEC-2774 Change-Id: I22d34d6a15f4f729682eae1aee37a5021d4313fc Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-09-05mediaplayer: qml: quiet qml assignment warningsMatt Ranostay1-0/+2
Album art data is sent in its own event so check for it and don't try to set the other metadata options in the UI. Bug-AGL: SPEC-2774 Change-Id: I4795b2f0d35c651a7739734d5c930ad978adb498 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-07-02mediaplayer: qml: add hour digits to time2str functionhalibut_8.0.1halibut_8.0.0halibut_7.99.3halibut/8.0.1halibut/8.0.0halibut/7.99.38.0.18.0.07.99.3Matt Ranostay1-1/+1
Bug-AGL: SPEC-2595 Change-Id: I6c8b9b9af0a1b900f447551ebde90b57413721d0 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-04-03mediaplayer: qml: remove undefined reference warning for AlbumArtMatt Ranostay1-0/+1
Since AlbumArt isn't always available for first track or available on initial startup it should be blanked first Change-Id: I0b626fcf0fbe09f302f5b35d179d4214ac0a0f7d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-02-26mediaplayer: qml: switch to loop playlist by defaultMatt Ranostay1-1/+1
Bug-AGL: SPEC-2181 Change-Id: Ic7f58837f76c4c366a2a05efe33f3eaedb4685ce Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-12-20mediaplayer: qml: change album art to libqtappfwhalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy/6.99.4guppy/6.99.37.90.06.99.46.99.3Matt Ranostay2-9/+1
libqtappfw will set the album art via metadata events Change-Id: I86f56a8e870657053065f806c5edb09ec3fc2c33 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-12-19Use Event_ShowWindow instead of Event_TapShortcutwang_zhiqiang1-3/+3
The interface of homescreen service will be changed then, use Event_ShowWindow instead of Event_TapShortcut. Related changes: agl-service-homescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17929/ libhomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17931/ libqthomescreen: https://gerrit.automotivelinux.org/gerrit/#/c/17933/ BUG-AGL: SPEC-1931 Change-Id: If2296c46a60920143050cb74cd3be1840e9ed494 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-12-17mediaplayer: fix UI handover between A2DP/AVRCP to local mediaMatt Ranostay1-7/+7
Bug-AGL: SPEC-1630 Change-Id: Ic9ad044a4bb0eba73d4db49ea3cf6752be1114f7 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-12-13mediaplayer: qml: fix libqtappfw method callsMatt Ranostay1-3/+2
* typo .connected() should be .connect() * fix incorrect logic check of checked field * enable state changes to ToggleButton Bug-AGL: SPEC-1630 Change-Id: I7495aa4aaa784383510b803cf88b177b7222b181 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-29mediaplayer: readd connect/disconnect from avrcp + a2dp profilesguppy_6.99.2guppy/6.99.26.99.2Matt Ranostay1-0/+6
Support connect/disconnect to a2dp + avrcp profiles with in Mediaplayer UI Bug-AGL: SPEC-1630 Change-Id: I1095c4abc29dd5241ed98241a745dd2de2fc293a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-22mediaplayer: update qml to match new agl-service-mediaplayer interfaceguppy_6.99.1guppy/6.99.16.99.1Matt Ranostay2-163/+41
Update to using the new agl-service-mediaplayer via libqtappfw which includes dropping direct bluetooth binding access. Bug-AGL: SPEC-1630 Change-Id: Id3629f5762db7ee1b441007b4a6a746e4ea49ddc Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-11-15Modify graphics roleKazumasa Mitsunari1-8/+8
Window Manager set role name as lower_case, and HomeScreen has fixed application name problem, then change role as lower_case. Bug-AGL: SPEC-1754 Change-Id: I5e1da25a00182ff67c726d38f7cfe90585626973 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-10-30delete application_name check in tap_shortcut eventwang_zhiqiang1-10/+2
because of now homescreen-service emit event to one application, delete the applciation_name check. Bug-AGL: SPEC-1764 Change-Id: I0d1dba589a391ff30c56c58a09be0380f71ff59d Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
2018-08-24Revert "Use appid between homescreen-service and apps"guppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder/5.99.6flounder/5.99.5flounder/5.99.46.90.05.99.65.99.55.99.4Tadao Tanikawa1-2/+10
This reverts commit 47dfb73f5b84fe5baa7db557b57c274eed298081. Bug-AGL: SPEC-1685 Change-Id: Ia15f8650fd7a67726d5a7d519b1744694c796c2b Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-08-06Use appid between homescreen-service and appsflounder_5.99.3flounder/5.99.35.99.3zheng_wenlong1-10/+2
Use appid between hss and apps, and check event destination in libhomescreen. So these is no need compare code when recived Event_TapShortcut Event. BUG-AGL: SPEC-1645 Change-Id: I0485b9fe0d1fa2fee7c283f93057802d23165bb6 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
2018-08-02Improve output of multiple screen resolutionTadao Tanikawa2-0/+13
To improve output on various monitor with various resolution, use scale_factor from WM to fit various screen resolution. Bug-AGL: SPEC-1568, SPEC-1569, SPEC-1611 Change-Id: Ifb0391e7acf9546778dd0993e8e0d3f9b66c5dc9 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-06-29mediaplayer: qml: switch to libqtappfw Qt model generationflounder_5.99.2flounder/5.99.25.99.2Matt Ranostay2-21/+3
Remove playlist creation logic out of QML and use a Qt model generated from libqtappfw Bug-AGL: SPEC-1430 Change-Id: I716de188fce85d824c0bf519964e0b58b9ed8f3f Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-06-14mediaplayer: fix race condition with local media and bluetooth a2dpflounder_5.99.1flounder/5.99.15.99.1Matt Ranostay1-13/+22
If media from storage is played and a bluetooth stream starts the play/pause button will enter an always playing state from the UI when the bluetooth connection ends. This patchset fixes this within the MediaPlayer.qml to show the expected UI results. Bug-AGL: SPEC-1496 Change-Id: I6ee0dfa2a46d7cf294b2dbf23d2aa54857fb8ffc Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-06-06mediaplayer: workaround race condition with agl-service-mediaplayer serviceMatt Ranostay1-0/+5
On some startups the agl-service-mediaplayer triggers an event during QML + UI load which causes it to be dropped. Delaying for 300 milliseconds seems to workaround this issue, but needs to be replaced with a proper method in the future. Bug-AGL: SPEC-1496 Change-Id: Iefd825f79b19c422a153b3d77b4d3a472c13c372 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-05-23mediaplayer: qml: pause agl-service-mediaplayer on A2DP streamMatt Ranostay1-0/+3
When A2DP/AVRCP profiles are connected pause agl-service-mediaplayer playback. Change-Id: Ic9a2832834e89b65559161d9f391cf98df7119b1 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-05-17mediaplayer: qml: remove QtMultimediaMatt Ranostay1-1/+0
Change-Id: Iaf0d42f6468d13b18095f2e15afafd67e19ad595 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-05-07mediaplayer: qml: fix clear() being called on wrong objectMatt Ranostay1-1/+1
ListModel object should get the clear() call and not the passed playlist data in onPlaylistChanged event. Change-Id: I406d98701bdc725fe90846d238ec90c9f5aa5b20 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-21libqtappfw: bluetooth: switch from qml websockets to libqtappfwMatt Ranostay4-194/+91
Switch agl-service-bluetooth access from QML websockets to proper libqtappfw middleware. Bug-AGL: SPEC-1385 Change-Id: I3b1bdc06ed9b7c07d69135c44d8f5c3440d7c056 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-20libqtappfw: mediaplayer: switch from qml websockets to libqtappfwMatt Ranostay5-220/+75
Switch agl-service-mediaplayer access from QML websockets to proper libqtappfw middleware. Bug-AGL: SPEC-1375 Change-Id: I8ee638f11b2d63c42657545f501260da9dc94356 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-19mediaplayer: bluetooth: update discovery_result response to new formatMatt Ranostay1-3/+3
Response is switched to map with "list" member to be more consistent with other binding APIs, and to make libqtappfw access easier Bug-AGL: SPEC-1385 Change-Id: I10c315827ce6c1c47be5123e95a3f88e06ea4515 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-12-20Update to new color schemeTadao Tanikawa18-1479/+630
The color scheme has been changed to new one. Bug-AGL: SPEC-673 Change-Id: I473d7928ad548d144c003af36224222c8ce4338c Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-12-04mediaplayer: qml: fix issue with bluetooth iconMatt Ranostay2-1/+4
Bluetooth icon wasn't visible on connections that were started before Mediaplayer application UI was loaded. Bug-AGL: SPEC-1158 Change-Id: Iafd890968300cc5cf8ee779513a572314c189a2a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-14mediaplayer: remove unneeded dbus permissioneel_4.99.3eel/4.99.34.99.3Matt Ranostay1-5/+0
Remove dbus permission request, and dependency since this is now handled by agl-service-mediascanner binding Bug-AGL: SPEC-1094 Change-Id: I942b04a69b32ff398a270cbec4b6646e0277d25a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-14Porting to new HMI FrameworkScott Murray2-13/+45
Changes following guidelines given in "Kickstart: New HMI Framework" document at: https://wiki.automotivelinux.org/_media/kickstart_apps_migration_guide.pdf Change-Id: I749a892cf12dfd80968b309e76d35976a773c0b1 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2017-11-10mediaplayer: qmake: remove sqlite + lightmediascanner checkMatt Ranostay1-4/+0
Remove checks for sqlite3 and lightmediascanner since media scanning and playback is handled with bindings now Bug-AGL: SPEC-1082 Change-Id: Iec097bfbb90ba9341bb73ee73e10f0b32139d2dd Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-10mediaplayer: qml: disable more websocket debug outputMatt Ranostay1-1/+1
Websocket debug output was spamming journal log, and thus should be disabled unless needed Bug-AGL: SPEC-1035 Change-Id: Ibac679f484eb1e572a5cdcbc5502684f2a663b39 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-06mediaplayer: qml: get initial metadata from playlist on startupMatt Ranostay1-0/+4
Get initial metadata from first item on playlist on application startup Bug-AGL: SPEC-1052 Change-Id: I4bc32da682005808955dc3fad5568dd03bd84331 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-11-05mediaplayer: qml: disable websocket debug outputMatt Ranostay1-1/+1
Websocket debug output was spamming journal log, and thus should be disabled unless needed Bug-AGL: SPEC-1035 Change-Id: I41a59263843b977abbfdadc222a626eae41a5d4c Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-29mediaplayer: qml: remove shuffle option temporarilyeel_4.99.2eel/4.99.24.99.2Matt Ranostay1-6/+6
Till agl-service-mediaplayer has a shuffle feature disable the shuffle in the qml definition. Bug-AGL: SPEC-999 Change-Id: If0573647cc9d40327952052f4db9ac7162734409 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-29mediaplayer: playlistwithmetadata: remove unused playlist codeMatt Ranostay5-293/+2
Metadata is now received from the agl-service-mediaplayer via the agl-service-mediascanner binding, and thus playlistwithmediadata functionality is no longer needed. Bug-AGL: SPEC-999 Change-Id: Ife14aa0698e87e3c3c3164a58591bdd89ebcdabc Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-29binding: mediaplayer: switch to mediaplayer backend bindingMatt Ranostay4-158/+219
Stop using the QTMultimedia plugin and switch to the agl-service-mediaplayer binding for media playback. Bug-AGL: SPEC-999 Change-Id: I5b380dc3cc908ed7bb2aa610c819f9f76f442829 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-03qml: lightmediascanner: update getting media patheel_4.99.1eel/4.99.14.99.1sandbox/kmitsunari/hmi-frameworkMatt Ranostay1-1/+1
Due to mediascanner binding API changes exposing metadata update the qml access the media file path Bug-AGL: SPEC-924 Change-Id: Ia414ecc6a14e9c30f09c9c99565903ad4729ba93 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-09-25qmake: avoid linking to unused librariesMatt Ranostay1-0/+1
Add options to QMAKE_LFLAGS to avoid linking to unused libraries Bug-AGL: SPEC-907 Change-Id: If5dbc77cfc2bcc5471a4e6392f21c0fae7daef68 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-09-06binding: media: remove binding from source treeMatt Ranostay1-3/+3
Media binding has been moved to it own repo, and the code is no longer needed within the MediaPlayer application Bug-AGL: SPEC-848 Change-Id: I6de0e556b7143e200a5976e9139b1824f43e739a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>