Replace org.nemomobile.folderlistmodel with mediascanner

Bug #1229123 reported by David Planella
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Music App
Fix Released
Critical
Victor Thompson

Bug Description

After migration to mediascanner, we need to remove the usage of the FolderList model.

MusicAlbums.qml: import org.nemomobile.folderlistmodel 1.0: we're no longer using nemomobile and we should be using mediascanner instead (under the Grilo bindings where needed).

This prevents the app from running under confinement.

Tags: mediascanner

Related branches

Revision history for this message
David Planella (dpm) wrote :

Victor, I'm assigning you to this bug as you're the most experienced with both FolderModel and mediascanner migration. Thanks!

tags: added: mediascanner
Changed in music-app:
status: New → Triaged
importance: Undecided → Critical
description: updated
Changed in music-app:
assignee: nobody → Victor Thompson (vthompson)
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Here's a music app that's been created for click
https://jenkins.qa.ubuntu.com/job/music-app-click/lastSuccessfulBuild/artifact/com.ubuntu.music_0.6_armhf.click

It's armhf specific now since the foldellist plugin is being packaged into it

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

What is causing Jenkins to build it with the folderlistmodel? Is it smart enough to know that we no longer have an installation dependency but we are still importing the plugin in a QML file? If so, I just submitted a branch that fixes that. If not, please let me know what else we need to do to remove this click package building dependency. Thanks!

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:music-app at revision 121, scheduled for release in music-app, milestone Unknown

Changed in music-app:
status: Triaged → Fix Committed
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

I don't know how jenkins is setup, might be that you have a preinstalled env with this dep installed already. Thanks for the quick fix

Revision history for this message
David Planella (dpm) wrote :

Yeah, I was wondering the same as Victor. I have no idea how Jenkins ever merged this, as even running unconfined the app won't start without org.nemomobile.folderlistmodel installed.

Sergio: note that even after this fix the Music app click package will be armhf, as we need the qtgrilo C++ plugin with QML bindings to access mediascanner. The mediascanner support landed very recently, but the required dependencies should be listed in debian/control already.

David Planella (dpm)
Changed in music-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.