Merge lp:~vthompson/music-app/remove-qtpowerd into lp:music-app/trusty

Proposed by Victor Thompson
Status: Merged
Approved by: David Planella
Approved revision: 378
Merged at revision: 396
Proposed branch: lp:~vthompson/music-app/remove-qtpowerd
Merge into: lp:music-app/trusty
Diff against target: 52 lines (+0/-14)
3 files modified
debian/control (+0/-1)
music-app.qml (+0/-10)
plugins.json (+0/-3)
To merge this branch: bzr merge lp:~vthompson/music-app/remove-qtpowerd
Reviewer Review Type Date Requested Status
Alan Pope 🍺🐧🐱 πŸ¦„ (community) Approve
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+210944@code.launchpad.net

Commit message

Remove QtPowerd

Description of the change

This is a proposal to remove QtPowerd since it is not needed to keep the music-app alive due to the lifecycle exceptions it currently has (which will be removed soon). This means that the dependency upon QtPowerd could have been removed quite some time ago.

To test, I pushed the updated QML files and plugins.json file to /opt/click.ubuntu.com/com.ubuntu.music/current/ and removed the QtPowerd from the /opt/click.ubuntu.com/com.ubuntu.music/current/lib/ directory.

One thing to note is that currently if the user has Qt5.2 (might be due to other changes in the landing006 PPA) on the device, both before and after this change music will stop when a track ends AND the device's screen is off. If the user's screen is simply turned back on the next song will start playing. I'm not sure what the issue is here--but it is unrelated to this change.

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

I see the same behaviour of the app not moving onto the next track if the screen if off.

I feel this needs investigating before the Qt5.2 images are promoted.

# system-image-cli -i
current build number: 246
device name: mako
channel: ubuntu-touch/devel-proposed
alias: ubuntu-touch/trusty-proposed
last update: 2014-03-19 15:05:46
version version: 246
version ubuntu: 20140319.2
version device: 20140304

Revision history for this message
Victor Thompson (vthompson) wrote :

Agreed, the bug I filed for that (lp:1292306) will be marked critical.

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Tested this on device and it worked fine for me.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2014-03-07 20:49:32 +0000
3+++ debian/control 2014-03-14 00:15:59 +0000
4@@ -18,7 +18,6 @@
5 qtdeclarative5-particles-plugin,
6 qtdeclarative5-qtgrilo0.1,
7 qtdeclarative5-qtmultimedia-plugin,
8- qtdeclarative5-qtpowerd0.1 (>= 0.2~),
9 qtdeclarative5-qtquick2-plugin,
10 qtdeclarative5-ubuntu-ui-toolkit-plugin,
11 qtdeclarative5-usermetrics0.1,
12
13=== modified file 'music-app.qml'
14--- music-app.qml 2014-03-08 22:09:12 +0000
15+++ music-app.qml 2014-03-14 00:15:59 +0000
16@@ -22,7 +22,6 @@
17 import Ubuntu.Components.Popups 0.1
18 import Ubuntu.Components.ListItems 0.1 as ListItem
19 import Ubuntu.Unity.Action 1.0 as UnityActions
20-import QtPowerd 0.1
21 import org.nemomobile.grilo 0.1
22 import QtMultimedia 5.0
23 import QtQuick.LocalStorage 2.0
24@@ -267,15 +266,6 @@
25 }
26 }
27
28- // Connections for powerd
29- Connections {
30- target: player
31- onPlaybackStateChanged: {
32- QtPowerd.keepAlive = player.playbackState === MediaPlayer.PlayingState
33- console.log("QtPowerd.keepAlive=" + QtPowerd.keepAlive)
34- }
35- }
36-
37 // Design stuff
38 Style { id: styleMusic }
39 width: units.gu(100)
40
41=== modified file 'plugins.json'
42--- plugins.json 2013-10-14 22:02:41 +0000
43+++ plugins.json 2014-03-14 00:15:59 +0000
44@@ -1,8 +1,5 @@
45 [
46 {
47- "package": "qtdeclarative5-qtpowerd0.1"
48-},
49-{
50 "package": "qtdeclarative5-qtgrilo0.1"
51 }
52 ]

Subscribers

People subscribed via source and target branches

to status/vote changes: