Author Topic: Pebble MPD Client  (Read 9053 times)

0 Members and 1 Guest are viewing this topic.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Pebble MPD Client
« 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:

Source code
App Store

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Pebble MPD Client
« Reply #1 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 does?
/e

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Pebble MPD Client
« Reply #2 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

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Pebble MPD Client
« Reply #3 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.
/e

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Pebble MPD Client
« Reply #4 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 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

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Pebble MPD Client
« Reply #5 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 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
/e

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Pebble MPD Client
« Reply #6 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....)

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline SpiroH

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 729
  • Rating: +153/-23
    • View Profile
Re: Pebble MPD Client
« Reply #7 on: November 22, 2016, 08:40:42 am »
But but... Do you really manage to hide that stuff (toy) in the classroom? :blah: