summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-29binding: mediaplayer: switch to mediaplayer backend bindingMatt Ranostay5-159/+220
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 Ranostay13-7339/+6
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-28binding: media: free sqlite3 prepared query statementMatt Ranostay1-0/+2
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>
2017-08-24binding: media: fix memory leak with json objectsMatt Ranostay1-1/+4
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>
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: switch to v2 binding formatMatt Ranostay2-26/+20
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>
2017-08-07binding: media: scan local users Media directoryMatt Ranostay4-32/+26
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-28binding: media: fix memory leak in linked listMatt Ranostay1-0/+2
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>
2017-07-20media: binding: improve media removal supportMatt Ranostay9-10180/+62
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 Ranostay8-377/+217
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 Ranostay19-5/+17570
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>
2017-04-14dbus: add signal support for removable mediaMatt Ranostay7-13/+177
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>
2017-03-11playlistwithmetadata: default to filename with no title mediadataMatt Ranostay1-0/+2
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>
2017-03-11Add initial support for lightmediascannerMatt Ranostay4-0/+103
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-21Merge "Resize coverart area to 1080x1080"Jan-Simon Moeller1-3/+2
2016-12-20Resize coverart area to 1080x1080Tasuku Suzuki1-3/+2
Change-Id: If03cd924bbed08b2a81da0993b64377e47c8614c Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-18Merge "Add LICENSE file"Jan-Simon Moeller1-0/+54
2016-12-18Merge "move MediaPlayer from CES2017"Jan-Simon Moeller48-0/+3690
2016-12-17Add LICENSE fileTasuku Suzuki1-0/+54
Change-Id: I9a00cc943691bccae6e56c623813fc433b6f3a19 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-17move MediaPlayer from CES2017Tasuku Suzuki48-0/+3690
Change-Id: I302350f213b63d8f07e7020d95795d941228c86d Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
2016-12-16add .gitreviewStephane Desneux1-0/+5
Change-Id: I15e91de192b9fd6a90a867c953a28affc1e55502 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-12-06Initial empty repositoryJan-Simon Moeller0-0/+0