apps/mediaplayer.git
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>
7 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