Omnimaga

General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: Sorunome on October 13, 2016, 01:12:56 pm

Title: Pebble MPD Client
Post by: Sorunome on October 13, 2016, 01:12:56 pm
So, I got a Pebble Time to my birthday and I couldn't really find an MPD client for it.......so I wrote me one!
It behaves pretty much like the default music app thing except that you can also stop playback by hitting select for a long time and the app auto-quits after a configurable amount of time.
OFC it also works if you use multiple clients that it'll update the info on the watch even if you play/pause on a different client.
Screenshot:
(https://raw.githubusercontent.com/Sorunome/pebble-mpd-client/master/screenshot.png)
Source code (https://github.com/Sorunome/pebble-mpd-client)
App Store (https://apps.getpebble.com/en_US/application/57ff60cf2cde651f0300020d)
Title: Re: Pebble MPD Client
Post by: Eeems on October 13, 2016, 03:40:08 pm
Yay! More pebble users :)

When will it be available on other pebbles? (OG, PTR, P2 etc).

How hard do you think it would be to add in album art like Music Boss (https://apps.getpebble.com/es_ES/application/52c6c88dccc92142e6000050) does?
Title: Re: Pebble MPD Client
Post by: Sorunome on October 13, 2016, 03:45:20 pm
I would maybe start looking into album art if i had an idea how to display it UI-wise :P

As for other pebbles, I'm not really too interested in porting that, however I am positive it should just run on the P2 and if the compiling process auto-converts images to gray it should also work on the pebble 1. I'd be glad if you wanted to help, though :3
Title: Re: Pebble MPD Client
Post by: Eeems on October 13, 2016, 03:50:33 pm
I would maybe start looking into album art if i had an idea how to display it UI-wise :P
I'd suggest borrowing how Music Boss does their UI. It's quite nice IMO.
As for other pebbles, I'm not really too interested in porting that, however I am positive it should just run on the P2 and if the compiling process auto-converts images to gray it should also work on the pebble 1. I'd be glad if you wanted to help, though :3
Right, well as a PTR user I'm unable to try out your app ;)
I could do some help I guess, but only if you do most of the work and then I just do the testing on device ;P
http://cloudpebble.net/ is quite useful.
Title: Re: Pebble MPD Client
Post by: shmibs on October 16, 2016, 03:14:55 am
yay mpd ^_^

Yay! More pebble users :)

When will it be available on other pebbles? (OG, PTR, P2 etc).

How hard do you think it would be to add in album art like Music Boss (https://apps.getpebble.com/es_ES/application/52c6c88dccc92142e6000050) does?

mpd's database / protocol don't provide for album art, so any implementation would have to fetch it from some other service, musicbrainz or amizon or whatever
Title: Re: Pebble MPD Client
Post by: Eeems on October 16, 2016, 07:23:41 am
yay mpd ^_^

Yay! More pebble users :)

When will it be available on other pebbles? (OG, PTR, P2 etc).

How hard do you think it would be to add in album art like Music Boss (https://apps.getpebble.com/es_ES/application/52c6c88dccc92142e6000050) does?

mpd's database / protocol don't provide for album art, so any implementation would have to fetch it from some other service, musicbrainz or amizon or whatever
Seems to also not be recommended http://mpd.wikia.com/wiki/MusicPlayerDaemonAlbumCovers
Title: Re: Pebble MPD Client
Post by: Sorunome on November 20, 2016, 10:57:32 am
Aaaaaand updated to 1.1.0 to support way more watch models and added a proxy server to use optionally if direct connections aren't working with your setup! (as the pebble SDK actually doesn't allow raw socket connections and i do some tricks with http requests and stuff....)
Title: Re: Pebble MPD Client
Post by: SpiroH on November 22, 2016, 08:40:42 am
But but... Do you really manage to hide that stuff (toy) in the classroom? :blah: