apps/mediaplayer.git
2 years agoAdd gitreview file for Lucky Lamprey branch lamprey 11.93.0 12.0.0 12.0.1 12.1.0 12.1.1 12.1.10 12.1.11 12.1.12 12.1.13 12.1.14 12.1.15 12.1.16 12.1.17 12.1.18 12.1.19 12.1.2 12.1.3 12.1.4 12.1.5 12.1.6 12.1.7 12.1.8 12.1.9 lamprey/11.93.0 lamprey/12.0.0 lamprey/12.0.1 lamprey/12.1.0 lamprey/12.1.1 lamprey/12.1.10 lamprey/12.1.11 lamprey/12.1.12 lamprey/12.1.13 lamprey/12.1.14 lamprey/12.1.15 lamprey/12.1.16 lamprey/12.1.17 lamprey/12.1.18 lamprey/12.1.19 lamprey/12.1.2 lamprey/12.1.3 lamprey/12.1.4 lamprey/12.1.5 lamprey/12.1.6 lamprey/12.1.7 lamprey/12.1.8 lamprey/12.1.9 lamprey_11.93.0 lamprey_12.0.0 lamprey_12.0.1 lamprey_12.1.0 lamprey_12.1.1 lamprey_12.1.10 lamprey_12.1.11 lamprey_12.1.12 lamprey_12.1.13 lamprey_12.1.14 lamprey_12.1.15 lamprey_12.1.16 lamprey_12.1.17 lamprey_12.1.18 lamprey_12.1.19 lamprey_12.1.2 lamprey_12.1.3 lamprey_12.1.4 lamprey_12.1.5 lamprey_12.1.6 lamprey_12.1.7 lamprey_12.1.8 lamprey_12.1.9
Jan-Simon Möller [Wed, 30 Jun 2021 20:44:52 +0000 (22:44 +0200)]
Add gitreview file for Lucky Lamprey branch

Update the .gitreview file.

Change-Id: Iebd52608c60b8461ebe647e12f071eb217a62008
Bug-AGL: SPEC-4006
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
3 years agoRemove libhomescreen dependency 73/25873/1 10.92.0 10.93.0 11.91.0 11.92.0 12.90.0 12.90.1 12.91.0 12.92.0 koi/10.92.0 koi/10.93.0 koi_10.92.0 koi_10.93.0 lamprey/11.91.0 lamprey/11.92.0 lamprey_11.91.0 lamprey_11.92.0 marlin/12.90.0 marlin/12.90.1 marlin/12.91.0 marlin/12.92.0 marlin_12.90.0 marlin_12.90.1 marlin_12.91.0 marlin_12.92.0
Scott Murray [Thu, 7 Jan 2021 20:57:50 +0000 (15:57 -0500)]
Remove libhomescreen dependency

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

3 years agoRevert "app/MediaPlayer.qml: Adjust the playlist size so it arranged correctly" 30/24930/1 10.91.0 9.99.2 9.99.3 9.99.4 jellyfish/9.99.2 jellyfish/9.99.3 jellyfish/9.99.4 jellyfish_9.99.2 jellyfish_9.99.3 jellyfish_9.99.4 koi/10.91.0 koi_10.91.0
Marius Vlad [Thu, 2 Jul 2020 14:30:29 +0000 (17:30 +0300)]
Revert "app/MediaPlayer.qml: Adjust the playlist size so it arranged correctly"

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

3 years agoapp/MediaPlayer.qml: Adjust the playlist size so it arranged correctly 29/24829/2 9.99.1 jellyfish/9.99.1 jellyfish_9.99.1
Marius Vlad [Fri, 29 May 2020 11:25:46 +0000 (14:25 +0300)]
app/MediaPlayer.qml: Adjust the playlist size so it arranged correctly
on the middle

Bug-AGL: SPEC-3379

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ib3b1f5ccb98a39787c569ed3606cd6f5b2c4051f

3 years agoapp/MediaPlayer.qml: Use Window width and height 28/24828/2
Marius Vlad [Fri, 29 May 2020 10:43:36 +0000 (13:43 +0300)]
app/MediaPlayer.qml: Use Window width and height

Bug-AGL: SPEC-3379

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie0b77df34c29591157069e0a92287acb5e53b958

3 years agoapp: Remove libhomescreen and windowmanger callbacks 27/24827/2
Marius Vlad [Wed, 22 Jan 2020 18:30:28 +0000 (20:30 +0200)]
app: Remove libhomescreen and windowmanger callbacks

Bug-AGL: SPEC-3447

Removes also depedencies from config.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I1e455a81a06f5d7d712d09621de585459122edd7

3 years agoapp/MediaPlayer: Do not hard-code the window size 26/24826/2
Marius Vlad [Wed, 22 Jan 2020 18:29:13 +0000 (20:29 +0200)]
app/MediaPlayer: Do not hard-code the window size

Bug-AGL: SPEC-3447

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Id7cc10901a26e1344a9f2bed522821b220168c62

3 years agoUpdate autobuild scripts 36/24736/2
Scott Murray [Wed, 10 Jun 2020 02:05:31 +0000 (22:05 -0400)]
Update autobuild scripts

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

3 years agoMerge "replace qtappfw with qtappfw-mediaplayer package"
Scott Murray [Wed, 10 Jun 2020 22:30:07 +0000 (22:30 +0000)]
Merge "replace qtappfw with qtappfw-mediaplayer package"

3 years agoreplace qtappfw with qtappfw-mediaplayer package 19/24619/2
Raquel Medina [Tue, 2 Jun 2020 14:30:12 +0000 (16:30 +0200)]
replace qtappfw with qtappfw-mediaplayer package

Bug-AGL: SPEC-3390
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: Ia62a13868888b93afcbcbbfeb81890ff6716371b

4 years agoupdate autobuild scripts 67/24267/1
Raquel Medina [Fri, 20 Mar 2020 19:27:30 +0000 (20:27 +0100)]
update autobuild scripts

Modify autobuild scripts:
- to fix warnings on yocto build
- to fix linux/autobuild syntax errors
- to add new standard targets

Bug-AGL: SPEC-2049
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
Change-Id: I69c423ba8d17a34cef9a933a99d86cfd55d1e257

4 years agomediaplayer: qml: quiet assignment failure on track.duration 63/23963/1
Matt Ranostay [Sat, 15 Feb 2020 05:34:08 +0000 (21:34 -0800)]
mediaplayer: qml: quiet assignment failure on track.duration

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>
4 years agomediaplayer: qml: update QML widget imports for Qt 5.11 43/22343/2 8.99.1 8.99.2 8.99.3 8.99.4 8.99.5 icefish/8.99.1 icefish/8.99.2 icefish/8.99.3 icefish/8.99.4 icefish/8.99.5 icefish_8.99.1 icefish_8.99.2 icefish_8.99.3 icefish_8.99.4 icefish_8.99.5
Matt Ranostay [Fri, 6 Sep 2019 09:22:54 +0000 (02:22 -0700)]
mediaplayer: qml: update QML widget imports for Qt 5.11

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>
4 years agomediaplayer: qml: quiet qml assignment warnings 25/22325/2
Matt Ranostay [Thu, 5 Sep 2019 04:23:16 +0000 (21:23 -0700)]
mediaplayer: qml: quiet qml assignment warnings

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>
4 years agomediaplayer: qml: add missing dbus permission in config.xml 24/22324/1
Matt Ranostay [Thu, 5 Sep 2019 00:59:54 +0000 (17:59 -0700)]
mediaplayer: qml: add missing dbus permission in config.xml

To avoid cynara access messages like the following request
dbus permissions. This oddly caused the QML thread to lock up
rendering the Image component with the respective album art.

cynara[334]: User::App::mediaplayer;1001;http://tizen.org/privilege/internal/dbus => DENY
cynara[334]: User::App::mediaplayer;1001;http://tizen.org/privilege/internal/dbus => DENY

Bug-AGL: SPEC-2774
Change-Id: If1e9ff139c91ca2912402a6c2a709df9fdf4aeff
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
4 years agomediaplayer: qml: add hour digits to time2str function 05/21805/1 7.99.3 8.0.0 8.0.1 halibut/7.99.3 halibut/8.0.0 halibut/8.0.1 halibut_7.99.3 halibut_8.0.0 halibut_8.0.1
Matt Ranostay [Tue, 2 Jul 2019 23:06:45 +0000 (16:06 -0700)]
mediaplayer: qml: add hour digits to time2str function

Bug-AGL: SPEC-2595
Change-Id: I6c8b9b9af0a1b900f447551ebde90b57413721d0
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agoAdd permission to use display 74/21174/1 7.99.1 7.99.2 halibut/7.99.1 halibut/7.99.2 halibut_7.99.1 halibut_7.99.2
José Bollo [Fri, 26 Apr 2019 13:52:55 +0000 (15:52 +0200)]
Add permission to use display

Add the permission required to access the display
through the wayland socket.

Change-Id: I845c0438f039b18cfd11a872abceb9850bff01e6
Bug-AGL: SPEC-2357
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
5 years agomediaplayer: qml: remove undefined reference warning for AlbumArt 88/20888/1
Matt Ranostay [Wed, 3 Apr 2019 07:07:17 +0000 (00:07 -0700)]
mediaplayer: qml: remove undefined reference warning for AlbumArt

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>
5 years agoMerge "mediaplayer: qml: switch to loop playlist by default"
Jan-Simon Moeller [Mon, 11 Mar 2019 20:33:26 +0000 (20:33 +0000)]
Merge "mediaplayer: qml: switch to loop playlist by default"

5 years agoautobuild: introduce autobuild scripts 21/20521/1
Raquel Medina [Mon, 11 Mar 2019 10:05:34 +0000 (12:05 +0200)]
autobuild: introduce autobuild scripts

- Add agl autobuild script to silence build
  warnings on yocto.
- Add linux autobuild script to build with
  the sdk

These  2 scripts are based on the latest version
of the autobuild script, but they've been
customized to (i) work with the existing qmake
files and (ii) the 'update' and 'package-test'
targets have been removed.

Bug-AGL: SPEC-2164

Change-Id: I19dfda3cfa19344af06fa010c59f365cd6b4e91b
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
5 years agomediaplayer: qml: switch to loop playlist by default 17/20317/1
Matt Ranostay [Thu, 21 Feb 2019 05:29:45 +0000 (21:29 -0800)]
mediaplayer: qml: switch to loop playlist by default

Bug-AGL: SPEC-2181
Change-Id: Ic7f58837f76c4c366a2a05efe33f3eaedb4685ce
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agomediaplayer: qml: change album art to libqtappfw 01/19301/1 6.99.3 6.99.4 7.90.0 guppy/6.99.3 guppy/6.99.4 guppy_6.99.3 guppy_6.99.4 halibut/7.90.0 halibut_7.90.0
Matt Ranostay [Wed, 19 Dec 2018 22:58:25 +0000 (14:58 -0800)]
mediaplayer: qml: change album art to libqtappfw

libqtappfw will set the album art via metadata events

Change-Id: I86f56a8e870657053065f806c5edb09ec3fc2c33
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agoUse Event_ShowWindow instead of Event_TapShortcut 07/18707/10
wang_zhiqiang [Wed, 12 Dec 2018 02:41:10 +0000 (10:41 +0800)]
Use Event_ShowWindow instead of Event_TapShortcut

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>
5 years agomediaplayer: fix UI handover between A2DP/AVRCP to local media 37/18937/2
Matt Ranostay [Sat, 15 Dec 2018 01:03:11 +0000 (17:03 -0800)]
mediaplayer: fix UI handover between A2DP/AVRCP to local media

Bug-AGL: SPEC-1630
Change-Id: Ic9ad044a4bb0eba73d4db49ea3cf6752be1114f7
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agomediaplayer: qml: fix libqtappfw method calls 79/18879/2
Matt Ranostay [Thu, 13 Dec 2018 19:18:49 +0000 (11:18 -0800)]
mediaplayer: qml: fix libqtappfw method calls

* 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>
5 years agomediaplayer: readd connect/disconnect from avrcp + a2dp profiles 21/18421/1 6.99.2 guppy/6.99.2 guppy_6.99.2
Matt Ranostay [Mon, 26 Nov 2018 02:16:23 +0000 (18:16 -0800)]
mediaplayer: readd connect/disconnect from avrcp + a2dp profiles

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>
5 years agomediaplayer: update qml to match new agl-service-mediaplayer interface 57/18057/2 6.99.1 guppy/6.99.1 guppy_6.99.1
Matt Ranostay [Fri, 16 Nov 2018 02:13:55 +0000 (18:13 -0800)]
mediaplayer: update qml to match new agl-service-mediaplayer interface

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>
5 years agomediaplayer: add project vimrc 55/18055/2
Matt Ranostay [Fri, 16 Nov 2018 04:43:42 +0000 (20:43 -0800)]
mediaplayer: add project vimrc

To keep QML syntax spacing consistent be sure expandtab is set

Change-Id: I36d591059ffb244abfcb4a2a32dcc922df6be696
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agoModify graphics role 87/17987/1
Kazumasa Mitsunari [Thu, 15 Nov 2018 09:37:36 +0000 (18:37 +0900)]
Modify graphics role

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>
5 years agodelete application_name check in tap_shortcut event 91/17491/1
wang_zhiqiang [Tue, 30 Oct 2018 09:08:00 +0000 (17:08 +0800)]
delete application_name check in tap_shortcut event

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>
5 years agoRevert "Use appid between homescreen-service and apps" 01/16301/2 5.99.4 5.99.5 5.99.6 6.90.0 flounder/5.99.4 flounder/5.99.5 flounder/5.99.6 flounder_5.99.4 flounder_5.99.5 flounder_5.99.6 guppy/6.90.0 guppy_6.90.0
Tadao Tanikawa [Fri, 24 Aug 2018 04:46:40 +0000 (04:46 +0000)]
Revert "Use appid between homescreen-service and apps"

This reverts commit 47dfb73f5b84fe5baa7db557b57c274eed298081.

Bug-AGL: SPEC-1685

Change-Id: Ia15f8650fd7a67726d5a7d519b1744694c796c2b
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
5 years agoUse appid between homescreen-service and apps 25/16025/1 5.99.3 flounder/5.99.3 flounder_5.99.3
zheng_wenlong [Mon, 6 Aug 2018 04:33:48 +0000 (13:33 +0900)]
Use appid between homescreen-service and apps

    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>
5 years agoImprove output of multiple screen resolution 47/15947/1
Tadao Tanikawa [Thu, 2 Aug 2018 12:36:27 +0000 (12:36 +0000)]
Improve output of multiple screen resolution

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>
5 years agomediaplayer: qml: switch to libqtappfw Qt model generation 13/14913/1 5.99.2 flounder/5.99.2 flounder_5.99.2
Matt Ranostay [Sat, 30 Jun 2018 02:45:11 +0000 (19:45 -0700)]
mediaplayer: qml: switch to libqtappfw Qt model generation

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>
5 years agomediaplayer: fix race condition with local media and bluetooth a2dp 01/14401/1 5.99.1 flounder/5.99.1 flounder_5.99.1
Matt Ranostay [Thu, 14 Jun 2018 06:12:06 +0000 (23:12 -0700)]
mediaplayer: fix race condition with local media and bluetooth a2dp

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>
5 years agomediaplayer: workaround race condition with agl-service-mediaplayer service 29/14229/1
Matt Ranostay [Thu, 7 Jun 2018 03:25:25 +0000 (20:25 -0700)]
mediaplayer: workaround race condition with agl-service-mediaplayer service

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>
5 years agomediaplayer: qml: pause agl-service-mediaplayer on A2DP stream 77/14077/1
Matt Ranostay [Wed, 23 May 2018 08:38:53 +0000 (01:38 -0700)]
mediaplayer: qml: pause agl-service-mediaplayer on A2DP stream

When A2DP/AVRCP profiles are connected pause agl-service-mediaplayer
playback.

Change-Id: Ic9a2832834e89b65559161d9f391cf98df7119b1
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agomediaplayer: qml: remove QtMultimedia 27/14027/1
Matt Ranostay [Fri, 18 May 2018 05:39:49 +0000 (22:39 -0700)]
mediaplayer: qml: remove QtMultimedia

Change-Id: Iaf0d42f6468d13b18095f2e15afafd67e19ad595
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
5 years agomediaplayer: qml: fix clear() being called on wrong object 73/13873/1
Matt Ranostay [Tue, 8 May 2018 06:47:42 +0000 (23:47 -0700)]
mediaplayer: qml: fix clear() being called on wrong object

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>
6 years agolibqtappfw: bluetooth: switch from qml websockets to libqtappfw 29/13829/1
Matt Ranostay [Sat, 21 Apr 2018 01:08:16 +0000 (18:08 -0700)]
libqtappfw: bluetooth: switch from qml websockets to libqtappfw

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>
6 years agolibqtappfw: mediaplayer: switch from qml websockets to libqtappfw 49/13749/2
Matt Ranostay [Tue, 3 Apr 2018 23:35:57 +0000 (16:35 -0700)]
libqtappfw: mediaplayer: switch from qml websockets to libqtappfw

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>
6 years agomediaplayer: bluetooth: update discovery_result response to new format 21/13821/1
Matt Ranostay [Fri, 20 Apr 2018 01:54:14 +0000 (18:54 -0700)]
mediaplayer: bluetooth: update discovery_result response to new format

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>
6 years agoUpdate to new color scheme 09/12809/2
Tadao Tanikawa [Wed, 20 Dec 2017 12:21:00 +0000 (21:21 +0900)]
Update to new color scheme

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>
6 years agomediaplayer: qml: fix issue with bluetooth icon 09/12309/1
Matt Ranostay [Mon, 4 Dec 2017 07:15:29 +0000 (23:15 -0800)]
mediaplayer: qml: fix issue with bluetooth icon

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>
6 years agomediaplayer: remove unneeded dbus permission 69/11969/1 4.99.3 eel/4.99.3 eel_4.99.3
Matt Ranostay [Wed, 15 Nov 2017 00:24:03 +0000 (16:24 -0800)]
mediaplayer: remove unneeded dbus permission

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>
6 years agoPorting to new HMI Framework 47/11947/1
Scott Murray [Tue, 14 Nov 2017 13:32:02 +0000 (22:32 +0900)]
Porting to new HMI Framework

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>
6 years agomediaplayer: qmake: remove sqlite + lightmediascanner check 51/11851/1
Matt Ranostay [Sat, 11 Nov 2017 04:29:27 +0000 (20:29 -0800)]
mediaplayer: qmake: remove sqlite + lightmediascanner check

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>
6 years agomediaplayer: qml: disable more websocket debug output 41/11841/1
Matt Ranostay [Fri, 10 Nov 2017 21:19:20 +0000 (13:19 -0800)]
mediaplayer: qml: disable more websocket debug output

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>
6 years agomediaplayer: qml: get initial metadata from playlist on startup 23/11723/1
Matt Ranostay [Tue, 7 Nov 2017 02:29:39 +0000 (18:29 -0800)]
mediaplayer: qml: get initial metadata from playlist on startup

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>
6 years agomediaplayer: qml: disable websocket debug output 97/11697/1
Matt Ranostay [Sun, 5 Nov 2017 22:00:32 +0000 (14:00 -0800)]
mediaplayer: qml: disable websocket debug output

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>
6 years agomediaplayer: qml: remove shuffle option temporarily 07/11607/1 4.99.2 eel/4.99.2 eel_4.99.2
Matt Ranostay [Tue, 24 Oct 2017 01:47:35 +0000 (18:47 -0700)]
mediaplayer: qml: remove shuffle option temporarily

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>
6 years agomediaplayer: playlistwithmetadata: remove unused playlist code 05/11605/1
Matt Ranostay [Tue, 17 Oct 2017 20:48:39 +0000 (13:48 -0700)]
mediaplayer: playlistwithmetadata: remove unused playlist code

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>
6 years agobinding: mediaplayer: switch to mediaplayer backend binding 03/11603/1
Matt Ranostay [Mon, 16 Oct 2017 21:58:28 +0000 (14:58 -0700)]
binding: mediaplayer: switch to mediaplayer backend binding

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>
6 years agoqml: lightmediascanner: update getting media path 15/11115/1 sandbox/kmitsunari/hmi-framework 4.99.1 eel/4.99.1 eel_4.99.1
Matt Ranostay [Mon, 2 Oct 2017 21:16:39 +0000 (14:16 -0700)]
qml: lightmediascanner: update getting media path

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>
6 years agoqmake: avoid linking to unused libraries 27/11027/1
Matt Ranostay [Mon, 25 Sep 2017 21:49:00 +0000 (14:49 -0700)]
qmake: avoid linking to unused libraries

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>
6 years agobinding: media: remove binding from source tree 99/10799/1
Matt Ranostay [Wed, 6 Sep 2017 04:15:30 +0000 (21:15 -0700)]
binding: media: remove binding from source tree

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>
6 years agobinding: media: free sqlite3 prepared query statement 13/10713/1
Matt Ranostay [Tue, 29 Aug 2017 05:31:57 +0000 (22:31 -0700)]
binding: media: free sqlite3 prepared query statement

Run sqlite3_finalize() on sqlite3 prepared query statement
to allow the resources to be freed

Change-Id: I0dead4c642ab393f0f6145b2e77952952dff38b3
Bug-AGL: SPEC-846
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agobinding: media: fix memory leak with json objects 87/10687/1
Matt Ranostay [Thu, 24 Aug 2017 20:18:52 +0000 (13:18 -0700)]
binding: media: fix memory leak with json objects

In case of empty media insertion the allocated json_object's
weren't used. Run json_object_put to force the freeing of the
objects.

Bug-AGL: SPEC-842
Change-Id: I48fe8cf0824030119140fa581223c282855981d7
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agobinding: bluetooth: update subscription to events 75/10575/1
Matt Ranostay [Wed, 9 Aug 2017 05:39:56 +0000 (22:39 -0700)]
binding: bluetooth: update subscription to events

Update the subscription to bluetooth events to the new
more consistent format

Bug-AGL: SPEC-819
Change-Id: I3a89f2db804794b31321a958a09d9c8a021e8b8e
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agobinding: media: switch to v2 binding format 43/10543/1
Matt Ranostay [Tue, 8 Aug 2017 03:05:22 +0000 (20:05 -0700)]
binding: media: switch to v2 binding format

Update functions and structure to use the new version 2
of the afm binder framework

Change-Id: I052da8c34bd45641325bc889f0234221f382d062
Bug-AGL: SPEC-812
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agobinding: media: scan local users Media directory 39/10539/1
Matt Ranostay [Mon, 7 Aug 2017 22:14:58 +0000 (15:14 -0700)]
binding: media: scan local users Media directory

Scan ~/Music in addition to the mounted physical media.

Bug-AGL: SPEC-810
Change-Id: Ieb76cedc841cf5ea9ae4c260872943b9763ddcb3
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agobinding: media: fix memory leak in linked list 53/10453/1
Matt Ranostay [Thu, 27 Jul 2017 21:55:23 +0000 (14:55 -0700)]
binding: media: fix memory leak in linked list

Linked list wans't be freed with g_list_free_full when it
was no longer needed.

Bug-AGL: SPEC-790
Change-Id: Ib07d24f57e606d979a6158e289d5fdf59d31bcd1
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agomedia: binding: improve media removal support 87/10287/1
Matt Ranostay [Sat, 15 Jul 2017 00:35:50 +0000 (17:35 -0700)]
media: binding: improve media removal support

Use glib's inotify support instead of UDisks to get the actual
path of an unmounted drive. This in turn allows removal of items
on the playlist respective to only that device.

Bug-AGL: SPEC-610 SPEC-757
Change-Id: Iaabb004934367bf1e60dab3f9f3365c2eb0b517d
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agobluetooth: fix some QML logic bugs 21/10121/1
Matt Ranostay [Sat, 8 Jul 2017 01:11:56 +0000 (18:11 -0700)]
bluetooth: fix some QML logic bugs

Some conditions in the QML scripts were incorrect and wasn't
hiding the playlist correctly when AVRCP/A2DP profiles were
connected.

Change-Id: Ia7abe250bb73da74ee93e69adeb91e224f6df744
Bug-AGL: SPEC-610
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agoqml: bluetooth: don't display icon unless connection 51/10051/1
Matt Ranostay [Thu, 6 Jul 2017 05:31:11 +0000 (22:31 -0700)]
qml: bluetooth: don't display icon unless connection

Don't display the bluetooth ToggleButton unless there is a valid
avrcp/a2dp connection.

Bug-AGL: SPEC-730
Change-Id: Ifd68fd1380bef5a471aafb7687c0cefe62b68e6f
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agobinding: bluetooth: switch from dbus calls to system binding 47/9947/1
Matt Ranostay [Tue, 27 Jun 2017 01:34:20 +0000 (18:34 -0700)]
binding: bluetooth: switch from dbus calls to system binding

Use the system wide binding for Bluetooth access to get AVRCP
metadata, and triggers controls.

Bug-AGL: SPEC-610 SPEC-615
Change-Id: Ic894c75d663b797b8a331236ff756b3b94bc13c8
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agomediaplayer: initial BT connection icon 29/9729/2
Matt Ranostay [Tue, 13 Jun 2017 19:45:44 +0000 (12:45 -0700)]
mediaplayer: initial BT connection icon

Before bluetooth connection can be selected with the BT binding
we need an initial state icon.

Change-Id: I1ff7a764a15eb06f8bd8e2cd84123d708b46cc7e
Bug-AGL: SPEC-637
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agomediaplayer: remove reference to non existant header 03/9703/2
Matt Ranostay [Sat, 10 Jun 2017 21:53:18 +0000 (14:53 -0700)]
mediaplayer: remove reference to non existant header

lightmediascanner.h was removed recently remove hanging
refernece in dbus.h

Change-Id: I7935fe12289fb2585c95df5f207bd447c8aafd6b
Bug-AGL: SPEC-655 SPEC-657
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agobinding: remove non-binding lightmediascanner detection 51/9551/2
Matt Ranostay [Thu, 25 May 2017 23:52:13 +0000 (16:52 -0700)]
binding: remove non-binding lightmediascanner detection

Switch to binding over raw DBus commands for media detection.

Bug-AGL: SPEC-610
Change-Id: Icf924000d721d92a1056962e55f5c2c75f159ee5
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agobinding: add initial media binding 49/9549/2
Matt Ranostay [Tue, 16 May 2017 20:14:30 +0000 (16:14 -0400)]
binding: add initial media binding

Add initial media binding that populates playlist on
media insertion

Bug-AGL: SPEC-610
Change-Id: I24227f7c718606191ae3de72bd692e747353c919
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agoplaylistwithmediadata: allow removal of elements 39/9539/4
Matt Ranostay [Sun, 28 May 2017 04:27:18 +0000 (21:27 -0700)]
playlistwithmediadata: allow removal of elements

Currently removing elements from the playlist doesn't actually
remove them. This patchset removes them from the underlaying
model.

Change-Id: Idf52f05b25bb236e91633e3e1e6e84b5b7f77665
Bug-AGL: SPEC-630
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agoMerge "qml: QML wouldn't load if there isn't DBUS support builtin" 3.99.1 dab/3.99.1 dab_3.99.1
Jan-Simon Moeller [Tue, 9 May 2017 04:03:17 +0000 (04:03 +0000)]
Merge "qml: QML wouldn't load if there isn't DBUS support builtin"

7 years agoqml: QML wouldn't load if there isn't DBUS support builtin 09/9309/2
Matt Ranostay [Thu, 4 May 2017 18:09:51 +0000 (11:09 -0700)]
qml: QML wouldn't load if there isn't DBUS support builtin

Change-Id: Iec4df57949854d1b5a6bd07d4dd407fe4e1a44d2
Bug-AGL: SPEC-577
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agobluetooth: fix avrcp previous play position offset 71/9271/2
Matt Ranostay [Wed, 26 Apr 2017 05:19:16 +0000 (22:19 -0700)]
bluetooth: fix avrcp previous play position offset

Initially a previous command goes back to the beginning of the
track but most media applications don't reset the position
property. So keep the current position and use that as an offset
for the UI.

Bug-AGL: SPEC-565
Change-Id: If7124537c6d66d328f9c4c918fe917b8fc877ce0
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agolightmediascanner: correctly disconnect database connection 83/9183/1
Matt Ranostay [Sat, 22 Apr 2017 00:23:30 +0000 (17:23 -0700)]
lightmediascanner: correctly disconnect database connection

To avoid the following message, the SQL connection needs to
be probably :

QSqlDatabasePrivate::addDatabase: duplicate connection name 'qt_sql_default_connection', old connection removed.

Bug-AGL: SPEC-483
Change-Id: I8bc82503156c4b8f58ae8ecc9c186388106ddd00
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agodbus: monitor for udisks media removal events 81/9181/1
Matt Ranostay [Fri, 21 Apr 2017 03:26:12 +0000 (20:26 -0700)]
dbus: monitor for udisks media removal events

This makes assumptions that there is only one media device
allowed at a time.

Bug-AGL: SPEC-527
Change-Id: Ide3d760f147551945cc14b7f6b66bd025634a17b
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agobluetooth: populate data for existing avrcp/a2dp connection 21/9121/5
Matt Ranostay [Mon, 17 Apr 2017 01:31:22 +0000 (18:31 -0700)]
bluetooth: populate data for existing avrcp/a2dp connection

Bluetooth connection could exist before mediaplayer application
is started. This patchset detects that and populates the initial
metadata, and track position + status.

AGL-Bug: SPEC-526
Change-Id: Ia0d60972c8eddd8642add708e9a4529c038e931f
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agobluetooth: add a2dp metadata and avrcp controls 77/9077/7
Matt Ranostay [Tue, 4 Apr 2017 05:35:00 +0000 (22:35 -0700)]
bluetooth: add a2dp metadata and avrcp controls

Add initial support for Bluetooth A2DP streams, and
AVRCP player controls, and metadata.

Bug-AGL: SPEC-486 SPEC-524 SPEC-525
Change-Id: Iac3095c517f07d7e65bf0bd5639d85bab2de7451
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agodbus: check if lms library can be linked 23/9123/5
Matt Ranostay [Mon, 17 Apr 2017 17:16:50 +0000 (10:16 -0700)]
dbus: check if lms library can be linked

dbus support doesn't require lightmediascanner so confirm
HAVE_LIGHTMEDIASCANNER is set before referencing any lms
functions in dbus.cpp

Bug-AGL: SPEC-483
Change-Id: I41258f06e4c6701db84979403ac91256d2c3c420
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agodbus: add signal support for removable media 51/9051/5
Matt Ranostay [Thu, 30 Mar 2017 22:05:03 +0000 (15:05 -0700)]
dbus: add signal support for removable media

Detect media insertation and removal from lightmediascanner
and update the playlist accordingly. This makes some assumptions
that only one media device will available at a time.

Bug-AGL: SPEC-484
Change-Id: I8300abce3ac09c9cd0327c9d90892e3c5171d8d2
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agometadata: switch from author to contributingArtist 67/9067/2
Matt Ranostay [Sun, 9 Apr 2017 23:04:27 +0000 (16:04 -0700)]
metadata: switch from author to contributingArtist

contributingArtist actually contains the artist data, and author is
just the publisher generally.

Bug-AGL: SPEC-535
Change-Id: Icd92fcc1df6c301e1f8f0faf5f09b0ddeaf728fd
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agoplaylistwithmetadata: default to filename with no title mediadata 17/8717/2
Matt Ranostay [Fri, 10 Mar 2017 19:49:11 +0000 (11:49 -0800)]
playlistwithmetadata: default to filename with no title mediadata

Some multimedia files do not have title metadata so default to
the short filename of the media.

Change-Id: I45949085c038eddb648e483942fd7aa21b64eae4
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agoAdd initial support for lightmediascanner 15/8715/2
Matt Ranostay [Fri, 10 Mar 2017 04:47:33 +0000 (20:47 -0800)]
Add initial support for lightmediascanner

Initial support only checks that paths in lms database
are valid and adds to playlist.

Change-Id: I840414c51964122ee485c2c168fbe5bb81e48652
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agoMerge "Resize coverart area to 1080x1080"
Jan-Simon Moeller [Wed, 21 Dec 2016 12:18:34 +0000 (12:18 +0000)]
Merge "Resize coverart area to 1080x1080"

7 years agoResize coverart area to 1080x1080 93/7693/1
Tasuku Suzuki [Tue, 20 Dec 2016 07:38:39 +0000 (16:38 +0900)]
Resize coverart area to 1080x1080

Change-Id: If03cd924bbed08b2a81da0993b64377e47c8614c
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoMerge "Add LICENSE file"
Jan-Simon Moeller [Sun, 18 Dec 2016 12:05:40 +0000 (12:05 +0000)]
Merge "Add LICENSE file"

7 years agoMerge "move MediaPlayer from CES2017"
Jan-Simon Moeller [Sun, 18 Dec 2016 12:05:31 +0000 (12:05 +0000)]
Merge "move MediaPlayer from CES2017"

7 years agoAdd LICENSE file 63/7663/2
Tasuku Suzuki [Fri, 16 Dec 2016 09:26:16 +0000 (18:26 +0900)]
Add LICENSE file

Change-Id: I9a00cc943691bccae6e56c623813fc433b6f3a19
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agomove MediaPlayer from CES2017 47/7647/2
Tasuku Suzuki [Thu, 15 Dec 2016 10:44:31 +0000 (19:44 +0900)]
move MediaPlayer from CES2017

Change-Id: I302350f213b63d8f07e7020d95795d941228c86d
Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
7 years agoadd .gitreview 67/7667/1
Stephane Desneux [Fri, 16 Dec 2016 10:42:41 +0000 (10:42 +0000)]
add .gitreview

Change-Id: I15e91de192b9fd6a90a867c953a28affc1e55502
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoInitial empty repository
Jan-Simon Moeller [Tue, 6 Dec 2016 14:47:04 +0000 (14:47 +0000)]
Initial empty repository