aboutsummaryrefslogtreecommitdiffstats
path: root/binding/afm-mediaplayer-binding.c
AgeCommit message (Collapse)AuthorFilesLines
2017-10-25binding: mediaplayer: assume play after seek commandeel_4.99.2eel/4.99.24.99.2Matt Ranostay1-2/+3
Assume to enter playing state when next/previous track commands, and this allows loading of metadata via gstreamer Bug-AGL: SPEC-931 Change-Id: Id7eeb1e354d3c2e7ad63a166b8dbd64afb453332 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-25binding: mediaplayer: fixup double conversion for volumeMatt Ranostay1-3/+3
Fix compiler warning of incorrect 'long int' to double conversions that for volume settings Bug-AGL: SPEC-931 Change-Id: I6645506f5636adb589256f101763b5433fc66603 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-25binding: mediaplayer: signaling of selected track during updateMatt Ranostay1-10/+21
Notify subscribers of the current playing selection on a playlist update. This is used to keep the UI selection of media in a playlist correct. Bug-AGL: SPEC-931 Change-Id: I8888bb6c1882695ba8ffd4a8aed2914ad0441388 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-23binding: mediaplayer: add stop verb for playbackMatt Ranostay1-0/+3
Add stop verb mostly for resetting playback on media removal Bug-AGL: SPEC-931 Change-Id: Ic564d2329aab300bbff0bb8afcf47a65dc73103b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-23binding: mediaplayer: ending of playlist needs to send an eventMatt Ranostay1-1/+18
When ending a playlist an event needs to be sent to notify the UI Bug-AGL: SPEC-931 Change-Id: Ib96ee49775a90d9ca969031443cb9e9e2ec4610e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-23binding: mediaplayer: add looping of playlistMatt Ranostay1-1/+11
Allow playlist to be looped when it reachs the end of it. Bug-AGL: SPEC-931 Change-Id: I482c51d12234a5e70f76fbb981249a643b6b78fc Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-23binding: mediaplayer: fix index/volume selectionMatt Ranostay1-2/+2
First track or volume of 0% couldn't ever be selected due to a invalid logic condition Bug-AGL: SPEC-931 Change-Id: I6bc7d9026eac24eef66ab1ec13b1a8766da7d586 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-19binding: mediaplayer: previous command on first track rewinds to beginningMatt Ranostay1-25/+30
If on first track on playlist and get previous track commands just rewind to beginning of that track. Bug-AGL: SPEC-931 Change-Id: Ie3decb70bd0826ad5199bdc9641befcc52cfd40a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-19binding: mediaplayer: add base64 album art reportingMatt Ranostay1-0/+62
Report the album art if any via the metadata verb in base64 data URI format. Bug-AGL: SPEC-931 Change-Id: Ifa9f5d799161a2b6a5a163e35b53a182f29fbd4b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-17binding: mediaplayer: fix segfault possiblityMatt Ranostay1-1/+6
If there is no playlist the seek track commands will segfault Bug-AGL: SPEC-931 Change-Id: I877ca12f9adbb17bfd7959b21e3478b2d0260fc2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-16binding: mediaplayer: add playing status reportMatt Ranostay1-1/+6
Report playing status back in the response of the control verb. Bug-AGL: SPEC-931 Change-Id: Iabaa162b01e1c29c1eb8b973b1a005ef433c2c92 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-16binding: mediaplayer: rename gstreamer event to metadataMatt Ranostay1-7/+7
Since gstreamer name doesn't make sense with the binding rename change it to metadata_event. Bug-AGL: SPEC-931 Change-Id: I94b8fc3de1aaae47ec8191ead06e4db994971025 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-13binding: mediaplayer: publish playlist updatesMatt Ranostay1-23/+61
Allow publishing playlist updates for access from mediaplayer applications. Bug-AGL: SPEC-931 Change-Id: I745ff4b84d0f7e7b88239a1e95288de64ac92da9 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-13binding: mediaplayer: save volume settingMatt Ranostay1-0/+2
Volume setting wasn't saved before this patchset fixes this Bug-AGL: SPEC-931 Change-Id: Ib810135bd9d0617bfb3ccc99de66f46e025f94fd Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-10-13binding: mediaplayer: rename binding from gstreamer to mediaplayerMatt Ranostay1-0/+620
Bug-AGL: SPEC-931 Change-Id: If6e4ebbb60213ff82f630cea3e06df49c0d808a0 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>