Music App update – June 19th.

closeDetta inlägg skrevs för 6 år 5 månader 21 dagar sedan, och om det är av karaktären åsikt, så reserverar jag mig för att jag mycket sannolikt kan ha ändrat den sedan dess. Är det en guide så kan det också vara så att det inte längre är applicerbart eller fungerar. Dock vill jag inte ta bort, eller orkar sortera, gamla inlägg och därför är det kvar.

This is the first update of the Music app in the Ubuntu Core apps project – the official Music application of Ubuntu Touch.

At the time it’s been me (Daniel Holm) and Victor Thompson that’s been developing the application for a couple of weeks now.

Victor has put in some really good work to populate the library of meta data of each track in the users music directory, and then show the results in the app. This had to be done, due to that it’s hard to extract meta data of each and every track on each start up. Instead the music directory is scanned on first run and each tracks meta data is saved in a database, which is used later to create each of the tabs now used:

  • Music – Contains each seperate track in music dir.
  • Artists – Not done yet, but will show each artist.
  • Albums – Shows coverart (those who have) of each album in music dir.
  • Playlist – not done yet. More on that later.

The function to populate the library was quite hard to do in a QML way. We made a move to Nemo.FolderListModel(), which Victor sumbitted some changes upstream to.
Victor also has worked out the shuffle function so that works. Also the Now Playing dialog together with the ability to swipe for next/previous track.

This past week I’ve been working on integrating some of Lucas’ ideas about the UI, together with integrating scrobble support and support for Playlists:

  • We now use tabs (might switch to a nother way later on)
  • Some inital code to support scrobble support to Last.fm (not yet complete, so it doesn’t yet scrobble).
  • Tab, functions and database for playlists. Will include import playlist files, that the user already has.

 

Lucas yesterday submitted a demo of his thoughts of how the Music app should work:

 

Music 0.3 just landed in trunk and the package should be in the Core Apps PPA later tonight. Altough Victor’s upstream changes has not yet landed in Nemo.FolderListModel(), which unfortunately makes it unable to run before you got the latest changes. But a PPA package for that is under way.