← Back to team overview

ubuntu-phone team mailing list archive

Re: Music app.

 

Hi again,

Then QtMultimedia, it is! I want this app to be native and integrated. Not by taking the shortest way there.

Also I will  have a look at the code for the media player, thanks.

Vänlig hälsning / Yours sincerely,
  Daniel Holm
  IT Consultant
  Web Developer
  Student
  d.holmen@xxxxxxxxx
  http://www.danielholm.se

2013-03-07 18:10, Jim Hodapp skrev:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel,

On 03/07/2013 12:02 PM, Daniel Holm wrote:
Hi everyone,

Veritatem, agreed. A standalone client using mpd, with some of our
own plugins and stuff, would be a good solution.

Akash, what do you mean by global control? I'm thinking the same
kind of global media buttons as in the sound indicator, is that
what you mean?

Jouni, I'd love to see your designs!

Michael, thank you for your concerns - I greately appreciate them!
However this code is not suppose to be the final deal. I started of
my creating the UI that I imagined in my head, for you guys to see,
as i wrote earlier. And yes, I did it without knowing the backend.
But basically I figured that I wanted to create code that later on
could be used by any backend. Basically by adding a button, lets
say the play button, press it and a command is sent. That command
could be any command, but in this app it starts a track using mpd,
Rhythmbox, or whatever we would like.
I would just like to add that I highly recommend that if you want a
specific backend, that you work to integrate it into a QtMultimedia
plugin. Ubuntu Touch is very much trying to follow the structure that
Qt5 has setup, and so for your mpd or rhythmbox backends, they'll be
the most useful if they can simply plugin to QtMultimedia [1].

I haven't put that much time into it and re-writing it is part of
the process - escpecially since this that I've written is more of a
demo. Also a way for me to learn how to do things.

About the scaling - I do need help with that and I figured this
would be just one of all things we would help each other with.
However, I see this app to be one of the smaller ones on the right,
and not a full screen app (then running on Tablet, of course).
Take a look at the current media player app for a great example of how
to write a QML UI that can scale, as well as rotate when a user
physically rotates their device: lp:mediaplayer-app

Also, I did reply. Perhaps not with the most clear message, but I
did reply that I would love for this to be one of the default apps
in Ubuntu Touch. And with that said, I would very much like to work
with others. But. I do have a limited amount of time to put on this
so I wouldn't be a good idea to make my the primary developer, so
helping you guys is probably the best solution.

I too want this to evolvoe, and I would love for more users to
contribute, and support each other by feedback and code.

What do you guys propose? Set up a developer team and let people
join, and take it from there?
I'm working to get a mailing list created for all things media and
possibly a separate freenode IRC channel as well. We can go from there
with more specific discussions. I'll post here when these things are
created and then we can more fully dive in.

Vänlig hälsning / Yours sincerely, Daniel Holm IT Consultant Web
Developer Student d.holmen@xxxxxxxxx http://www.danielholm.se
Regards,

Jim

[1] http://qt-project.org/doc/qt-5.0/qtmultimedia/qtmultimedia-module.html

2013-03-07 14:38, Michael Zanetti skrev:
Hey,

great to see you're motivated. However, I'm not sure if the
taken approach is really taking us somewhere for different
reasons:

You started off with a QML file without thinking on how the
actual player should work, which features do you want to support,
and how this will be hooked up to a backend. Most likely you end
up rewriting the whole code when you realize this doesn't fit
with the backend you choose. Also, your code does not scale with
different screen sizes or form factors.

When Jim Hodapp and I replied to some of your original music app
emails, we never heard back from you. Are you interested in
working with the people inside of Canonical on the music app that
will ship with Ubuntu Touch by default, or do you rather want to
experiment and come up with your own thing? Note that both is
fine for us, but if you want to contribute to the default music
app, then we've got to work together.

It'd be great if you could let us know how you see this efforts
evolving over time.

Br, Michael


On Thursday 07 March 2013 02:53:21 Daniel Holm wrote:
Hi,

Lovely!

The code is up, and its quite simple - though it doesn't really
do what I want it to yet..

I'm studying at the University of Gothenburg full time, and
this app is kind of my free time project between books and
papers to hand in, so I haven't had the time to submit any
images - until now:

http://owncloud.danielholm.se/public.php?service=files&t=71d2604924bdad57493



165cb4705b554
http://owncloud.danielholm.se/public.php?service=files&t=a057005a8133302681



0a708842deaed6
The huge icon is just a place holder for a album cover.

Vänlig hälsning / Yours sincerely, Daniel Holm IT Consultant
Web Developer Student d.holmen@xxxxxxxxx
http://www.danielholm.se

2013-03-07 01:43, Akash skrev:
Hey,

I would love to start contributing on the music app too!

But i'm just wondering, before diving into actually coding,
don't you want to design the UI and get an idea from the
community if it follows the guidelines or not? Yes we could
all download the code and try running it ourselves to see the
UI but i'm just wondering because its going to be easier to
put pictures of the app design :)

On Wednesday, March 6, 2013, Daniel Holm wrote: Hi again,
I've started on the UI and just done some small stuff. I
created this in like two hours. I'm still figuring out a lot
of things since I've never coded an app and usually code
web. But it's a lot of fun, so we'll see where it takes. And
perhaps it's better to use mpd, which was said earlier.
We'll have to code a cover downloader, srcobble support and
more, though. Anyways, here is my repo:
https://launchpad.net/musicapp Vänlig hälsning / Yours
sincerely, Daniel Holm IT Consultant Web Developer Student
d.holmen@xxxxxxxxx http://www.danielholm.se Den mån  4 mar
2013 23:39:04 skrev Daniel Holm: Hi again, I've started to
code on this application now. I don't know if I should set up
a separate project on Launchpad, or what? It's just a little
piece of the UI, but hey - it's a start ;) I'd like some
pointers since this is my first application. Vänlig hälsning
/ Yours sincerely, Daniel Holm IT Consultant Web Developer
Student d.holmen@xxxxxxxxx http://www.danielholm.se Den mån
4 mar 2013 20:13:11 skrev Daniel Holm: Hi again, What a
response! Wonderful! I was thinking of Rhythmbox since its
bundled with Ubuntu as default. And you'll have the same
playlists, settings for eg. Last.fm and such things. I'd love
to see this becoming the default music app in Ubuntu Touch,
and I'd gladly share the work with anyone wanting to join.
I'll try to create a UI demo in Qt Creator later this week,
so I can show you how I imagine it. Also I'd happily join
the meeting. Vänlig hälsning / Yours sincerely, Daniel Holm
IT Consultant Web Developer Student d.holmen@xxxxxxxxx
http://www.danielholm.se Den mån  4 mar 2013 19:50:38 skrev
Veritatem Ignotam: What about using MPD as a backend? May be
less resource intensive as a backend, shouldn't have a
problem compiling as is, and possibly simpler to build your
interface from scratch on top of MPD instead of trying to
work with rhythmbox's. V.I. 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?

- -- Software Engineer
Ubuntu | www.ubuntu.com
Canonical, Ltd.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJROMn7AAoJECYXexsCpoSzcE8H/iVsi7nFcp1W4xHeKnGhpU41
XXHmiXwXQNTKy0pyCDYU0QvsueK8NoMYbJe9QCsfnYxreyWg6C2Ld+HYi1jwnF36
CVC73hR6GOwntFFA3CLA/xoBI+ALJ8LA66dJCJWosuD5Lrw+LxmLch9lWLjUm5HA
f3o+Wm1xwAcCdJcQI1Cbg4gPh7pnHQ45rGO8Xi9kA4YOKPt1+J/EZSNbsjdHdhoM
fWiLu/TN4lh0McBnbnBIFpFnOgYCwRL5sT+Ztc+ss2uZYQhOZBaSCXhjWkGSL7Su
yO9SHvvHZNFgu0z+URBLWS3M/Pfmr13HzTAzpBbS9dh967ZCaU26aerE5gxfqE8=
=NDjX
-----END PGP SIGNATURE-----




Follow ups

References