summaryrefslogtreecommitdiffstats
path: root/app
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-08-08binding: bluetooth: update subscription to eventsMatt Ranostay1-4/+2
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>
2017-08-07binding: media: scan local users Media directoryMatt Ranostay1-28/+0
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>
2017-07-20media: binding: improve media removal supportMatt Ranostay1-3/+21
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>
2017-07-07bluetooth: fix some QML logic bugsMatt Ranostay2-3/+1
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>
2017-07-05qml: bluetooth: don't display icon unless connectionMatt Ranostay1-1/+1
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>
2017-06-28binding: bluetooth: switch from dbus calls to system bindingMatt Ranostay7-377/+216
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>
2017-06-15mediaplayer: initial BT connection iconMatt Ranostay1-6/+7
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>
2017-06-10mediaplayer: remove reference to non existant headerMatt Ranostay1-2/+0
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>
2017-06-02binding: remove non-binding lightmediascanner detectionMatt Ranostay8-212/+34
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>
2017-06-02binding: add initial media bindingMatt Ranostay4-0/+114
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>
2017-05-29playlistwithmediadata: allow removal of elementsMatt Ranostay1-0/+19
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>
2017-05-09Merge "qml: QML wouldn't load if there isn't DBUS support builtin"dab_3.99.1dab/3.99.13.99.1Jan-Simon Moeller1-0/+3
2017-05-04qml: QML wouldn't load if there isn't DBUS support builtinMatt Ranostay1-0/+3
Change-Id: Iec4df57949854d1b5a6bd07d4dd407fe4e1a44d2 Bug-AGL: SPEC-577 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-26bluetooth: fix avrcp previous play position offsetMatt Ranostay1-1/+5
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>
2017-04-21lightmediascanner: correctly disconnect database connectionMatt Ranostay2-0/+7
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>
2017-04-20dbus: monitor for udisks media removal eventsMatt Ranostay3-1/+25
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>
2017-04-18bluetooth: populate data for existing avrcp/a2dp connectionMatt Ranostay3-1/+95
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>
2017-04-18bluetooth: add a2dp metadata and avrcp controlsMatt Ranostay4-19/+237
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>
2017-04-17dbus: check if lms library can be linkedMatt Ranostay1-0/+6
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>