summaryrefslogtreecommitdiffstats
path: root/app/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2018-06-07mediaplayer: 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-14libqtappfw: bluetooth: switch from qml websockets to libqtappfweel_5.0.3eel/5.0.35.0.3Matt Ranostay1-0/+2
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-05-14libqtappfw: mediaplayer: switch from qml websockets to libqtappfwMatt Ranostay1-0/+2
Switch agl-service-mediaplayer access from QML websockets to proper libqtappfw middleware. Bug-AGL: SPEC-1375 Change-Id: I406d98701bdc725fe90846d238ec90c9f5aa5b20 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-12-28Rename of mediaplayer to 'Music'eel_5.0.2eel_5.0.1eel_5.0.0eel/5.0.2eel/5.0.1eel/5.0.05.0.25.0.15.0.0Tadao Tanikawa1-1/+1
apps/mediaplayer can play music only and video player is coming for CES2018 DEMO. So we reorganize the names for music/video player. For compatibility, application id should not be changed, therefore 'mediaplayer' continue to be used. Change-Id: Icd2af4de3dc60754de7608cc084239c384310612 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-11-14Porting to new HMI FrameworkScott Murray1-13/+42
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-10-29mediaplayer: playlistwithmetadata: remove unused playlist codeMatt Ranostay1-4/+0
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-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-06-28binding: bluetooth: switch from dbus calls to system bindingMatt Ranostay1-14/+0
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-02binding: remove non-binding lightmediascanner detectionMatt Ranostay1-17/+6
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 Ranostay1-0/+25
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-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-18bluetooth: populate data for existing avrcp/a2dp connectionMatt Ranostay1-1/+2
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 Ranostay1-1/+5
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-14dbus: add signal support for removable mediaMatt Ranostay1-10/+14
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>
2017-03-11Add initial support for lightmediascannerMatt Ranostay1-0/+19
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>
2016-12-17move MediaPlayer from CES2017Tasuku Suzuki1-0/+76
Change-Id: I302350f213b63d8f07e7020d95795d941228c86d Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>