summaryrefslogtreecommitdiffstats
path: root/app/MediaPlayer.qml
AgeCommit message (Collapse)AuthorFilesLines
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 Ranostay1-10/+89
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 Ranostay1-14/+71
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>
2017-12-20Update to new color schemeTadao Tanikawa1-2/+2
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 Ranostay1-1/+0
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-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 Ranostay1-1/+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-10-29binding: mediaplayer: switch to mediaplayer backend bindingMatt Ranostay1-41/+19
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-07-07bluetooth: fix some QML logic bugsMatt Ranostay1-1/+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 Ranostay1-73/+32
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-02binding: remove non-binding lightmediascanner detectionMatt Ranostay1-19/+0
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/+6
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-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-20dbus: monitor for udisks media removal eventsMatt Ranostay1-0/+7
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: add a2dp metadata and avrcp controlsMatt Ranostay1-18/+102
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-3/+35
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-04-12metadata: switch from author to contributingArtistMatt Ranostay1-1/+1
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>
2016-12-20Resize coverart area to 1080x1080Tasuku Suzuki1-3/+2
Change-Id: If03cd924bbed08b2a81da0993b64377e47c8614c Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-17move MediaPlayer from CES2017Tasuku Suzuki1-0/+241
Change-Id: I302350f213b63d8f07e7020d95795d941228c86d Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>