← Back to team overview

ubuntu-phone team mailing list archive

Re: Music app.

 

Hi,

FWIW, I ran PlayMee through a Qt5 enabled compiler and replaced the MeeGo 
components with Ubuntu ones.

Because Ubuntu doesn't have a backed for the QDocumentGallery (yet?) I 
disabled the DocumentGallerySource and re-enabled the SimpleFileSource. That 
one lets you just browse through ~/Music/ and does not support parsing ID3 
tags, Albumart etc.

Anyways, It plays music and looks somewhat Ubuntu Touch'ish. The cool 
CoverCube works, but is a bit off with coordinates. The UI is of course subject 
to change as its really just copied over from MeeGo.

If you want to give it a shot, do this:

git clone git://gitorious.org/playmee/playmee.git
cd playmee
git checkout ubuntu

then you can open the .pro file with QtCreator and compile and run it. Make 
sure ~/Music exists and has some subfolders with albums in it.

Would be happy to get some feedback. Of course more regarding the general 
structure and the source "plugin" API than the UI.

Cheers,
Michael

On Monday 04 March 2013 17:23:38 Michael Zanetti wrote:
> Hi,
> 
> I'm in. I already wrote my own Music player for the N9 [1] because the
> integrated one didn't satisfy my needs (and was closed source so I couldn't
> contribute in fixing them). I would be happy if we could reuse some bits and
> pieces, and if its only ideas or learnings on what not to do.
> 
> Its pure Qt but features a plugin-like interface for sources. There are
> currently 2 sources implemented: a simple file system browser and one that
> uses the QDocumentGallery (which represented the internal's player database
> on MeeGo). However, the interface has been made keeping in mind that it
> should be able to support other sources too (like, spotify, radio stations
> etc). I think it should be quite straight forward to implement a source
> which represents data from qtubuntu-media.
> 
> If you guys are interested, I will start porting the existing code to use
> the Ubuntu.Components instead of the MeeGo ones. How does that sound?
> 
> Cheers,
> Michael
> 
> [1] http://notyetthere.org/?page_id=25
> 
> On Monday 04 March 2013 10:44:04 Jim Hodapp wrote:
> > Daniel,
> > 
> > I would be greatly interested in collaborating with you on this if you
> > are interested. Are you trying to create a music player, or the music
> > player that ships with Ubuntu Touch by default? If you want to produce
> > the default app, let's collaborate since I'm tasked with helping lead
> > that implementation effort within Canonical.
> > 
> > If you simply want to create a music app, I'd recommend checking out
> > the current media player lp:mediaplayer-app as well as
> > lp:qtubuntu-media to see how it utilizes the backend that I wrote.
> > There's still big plans for future enhancements to this, and I'd
> > welcome community interest and help. Please feel free to ask me any
> > questions about what currently exists, and I can lend you a hand if
> > you require it.
> > 
> > Regards,
> > 
> > Jim
> > 
> > On 03/04/2013 10:36 AM, Daniel Holm wrote:
> > > Hi all,
> > > 
> > > I'm thinking about creating a music application. I'm in an early
> > > stage of learning to code for QML to begin with, but I have some
> > > concerns for the future.
> > > 
> > > I'm thinking about creating an application that really uses
> > > Rhythmbox as an backend, but using $ rhythmbox-client. Since its
> > > Ubuntus default music player, I mean. So just a easy UI with
> > > buttons for previous, next track, play/pause, stop, playlist and so
> > > on. Press a button and a flag to rhythmbox-client is sent.
> > > 
> > > What are you guys' thoughts on this? Is it possible to have
> > > rhythmbox running in the background instead of writing a completely
> > > new music player?
> > 
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.11 (GNU/Linux)
> > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> > 
> > iQEcBAEBAgAGBQJRNMFEAAoJENCYE0OpVkFTECQIAKU/++qIRQeBx3zht12M0+GM
> > pvedIlDO1+H54znFvXQij8pckBsWLypd3EeByvZ6uP26ey+ErzqUYdDBG7HzQ98u
> > 7BAVN1ZDafA+Jvx3m3ai0+96hK9EvMSw4PNaDgy0j8iCg8IBMiugw4z0LtEzYNZu
> > A1PEtBsaPGBCRsbLHwVr6DRTGEMA1WFucDenJdaviPuvDpZ+w74T54EdzzORlpZj
> > Fs+r5P0/61JotwbfgwCRnaUOu+h2Nc/I6zFtet0nFtlEVVpayI6aZPCTbdWsO7J8
> > 8bBII71zttN8sIyduE83at2pu8a8BXgLVYEhXK7JldIFQOWhfiBFntHI4asZUzw=
> > =qmIn
> > -----END PGP SIGNATURE-----


Follow ups

References