[iOS] Peapod: better music controls for iPhone

KatharineKatharine Posts: 606Member, Administrator, Moderator admin
edited June 2013 in Pebble Watchapp Directory
We've all seen myriad hacks abusing the music app as a user interface. That's dull; let's write a user interface to replace the music app, instead.

I therefore give you Peapod, an app that lets you control the iPod on your iPhone. It features everything the built in app has, plus:
  • Volume controls
  • Library browsing (by artist, album, composer, genre or playlist)
  • Album art
  • Where-you-are-in-the-track-indicator (I still don't know what those are called).
Some screenshots of the "now playing" display:

image   image   image

And some of the general browsing interface:

image   image   image

You can find the source on GitHub. You can also get a compiled watch app from here; as ever, getting a compiled phone app isn't something I can really help you with (but MacBuildServer generated this).

Usage: browse, pick music. You can toggle between volume controls and track controls by holding the select button briefly on the now playing screen.

Known issues: as usual, only one app at a time. Lists may briefly appear blank (though they shouldn't) if you scroll quickly. Selecting an item immediately after you stop scrolling may do nothing; if so, back out and repeat the selection. It should now work. It can only control the built-in music app from the on-device (or perhaps iTunes Match/iCloud) library. If you alter the playback state other than using the app it may get confused due to limitations on how apps in the background can observe music changes. Leaving and returning to the now playing interface and/or pausing/playing or changing track should probably fix this. If you have more than 1,170 items in a menu, the list will be truncated there due to the pervasive use of 16-bit signed integers in the Pebble UI framework.

Alpha or beta-ish quality, but hey. Let me know what you think!

As an aside, this project is also known as "why would anyone ever need more than 124 bytes?" Additionally, while writing it, I discovered the following:
  • Animations are buggy.
  • Text rendering is buggy.
  • Communication is buggy.
  • You can't have a layer more than 32,768 pixels tall.
  • The PebbleKit SDK on iOS really likes causing the app to receive SIGPIPE and crash.
Post edited by whacko on
Sparkly Code Princesskatharine@getpebble.com. I prefer email to forum PMs.
CloudPebble Online IDE | Pebble Stopwatch | <3
Legacy: httpebble | Peapod
There are two As in my name.
·
«1345678

Comments

  • Nick07Nick07 Posts: 31Member
    a step in the right direction. kudos!
    ·
  • RobgmartinRobgmartin Posts: 115Member
    Just installed and it is freaking amazing. @katharine what are the chances of integrating httpebble with this so that the music controls and the weather watchface (now my default) work at the same time?
    ·
  • RobgmartinRobgmartin Posts: 115Member
    Awesome! Can't wait.
    Katharine said:

    @robgmartin: I plan to.

    ·
  • thightowerthightower Posts: 209Moderator mod
    Katharine said:
    @robgmartin: I plan to.
    NICE ! :D

    Looking forward to it.

    Katharine : I have a folder just for your creations inside my ~/Dropbox/Pebble folder.  
    Forum Moderator | iPhone 5s, iOS 8 b2 | Pebble Black ~ Pebblebits v 2.02 | Pebble Steel ~ latest official

    * Using GadgetWraps for scuff / screen protection. 

    ·
  • thightowerthightower Posts: 209Moderator mod
    edited May 2013
    Hey Katharine

    I am having an issue with it not working. I am gonna restart the phone and watch and see what gives. * No change after restart of both*

    Problem

    No control over volume
    No listing of playlist, artist etc
    Screens just totally blank. *except for your nav bar and icons etc

    Things tried :

    Restart iPhone and Pebble - No Change
    Uninstall and reinstall app
    Phone and watch connected BT
    1 app on the phone removed stopwatch for this. 

    Notes:

    Phone Battery 15%
    Pebble Charged tonight for 2 hours
    iPhone 5 - 6.1.4
    Pebble 1.10.2

    Any other info you need ?


    edit : fix typo
    Post edited by thightower on
    Forum Moderator | iPhone 5s, iOS 8 b2 | Pebble Black ~ Pebblebits v 2.02 | Pebble Steel ~ latest official

    * Using GadgetWraps for scuff / screen protection. 

    ·
  • thightowerthightower Posts: 209Moderator mod
    edited May 2013
    Replicated on 2nd iPhone 5 w/ 2nd Pebble

    ps Tried the back out and select again thing no change :(
    Post edited by thightower on
    Forum Moderator | iPhone 5s, iOS 8 b2 | Pebble Black ~ Pebblebits v 2.02 | Pebble Steel ~ latest official

    * Using GadgetWraps for scuff / screen protection. 

    ·
  • DavidFishmanDavidFishman Posts: 60Member Pebbler
    @Katharine, this is awesome. Working almost perfectly on my iPhone 5 and Pebble.
    ·
  • MiataTrySlide92MiataTrySlide92 Posts: 126Member
    Amazing. Where can i send paypal contributions to?
    ·
  • SandbagSandbag Posts: 196Member Regular
    edited May 2013
    Amazing. Where can i send paypal contributions to?
    Lookr at the bottom of her original post on this thread.
    Post edited by Sandbag on
    ___________________________________________________

    iPhone 5s 64gb, iOS 7.1.2, jailbroken
    ·
  • Jose_LuisJose_Luis Posts: 270Member Regular
    Installed through the macbuilder and working correctly!

    iPhone 5S (iOS 7.0.6 Jailbreak)

    ·
  • RyanLevensonRyanLevenson Posts: 2Member
    No luck with functionality at all.
    iphone 5 Jailbroken
    Black Pebble
    both as updated as possible
    ·
  • dezign999dezign999 Posts: 447Member Regular
    I would gladly have your babies if men could give birth.

    Works a treat.

    I'm a Spotify man myself, but I've synced all my Kraftwerk over to iTunes just for this app.

    <3
    Steam B. Willie watch face
    image
    Rick Astley watch face
    image
    ·
  • RyanLevensonRyanLevenson Posts: 2Member
    Can I ask, has anyone used the compiled watch face successfully? If not is there anyway to directly download the Github files?
    ·
  • dezign999dezign999 Posts: 447Member Regular
    edited May 2013
    Can I ask, has anyone used the compiled watch face successfully? If not is there anyway to directly download the Github files?
    Follow these instructions

    Do this on your iPhone for best results.
    Post edited by dezign999 on
    Steam B. Willie watch face
    image
    Rick Astley watch face
    image
    ·
  • KatharineKatharine Posts: 606Member, Administrator, Moderator admin
    edited May 2013
    @dezign999 – I also generally use Spotify, but you can't control Spotify like this. So iPod it is!

    @thightower, @Ryan – just asking the obvious question: did you install the associated iOS app? It won't do anything without it.

    If yes, it'd be helpful if you have any way of procuring the parts of the iPhone system log generated by pebbleremote.
    Post edited by Katharine on
    Sparkly Code Princesskatharine@getpebble.com. I prefer email to forum PMs.
    CloudPebble Online IDE | Pebble Stopwatch | <3
    Legacy: httpebble | Peapod
    There are two As in my name.
    ·
  • julienjulien Posts: 94Member
    Its great!!!
    ·
  • DesaeverJurgenDesaeverJurgen Posts: 2Member
    :( not working on my phone. 3gs - ios 6,1,4 and latest Pebble OS. Phone to old???
    ·
  • Evilavenger35Evilavenger35 Posts: 4Member
    Very cool!!! I tested in and out of all sub-menus and fast scrolling with no issues whatsoever... only thing keeping me from running full-time is the lack of httpebble, because I think the weather pictures are too neat to go without. I really appreciate all your hard work. Cheers!
    ·
  • cchschmchcchschmch Posts: 2Member
    edited May 2013
    Works for me on iphone 4S no jailbreak - ios 6.1.3 - pebble firmware 1.10.2

    Can't wait the httpebble integration...

    I contribute by Paypal to encourage @katharine  in this work. 
    Post edited by cchschmch on
    ·
  • JustVervaartJustVervaart Posts: 38Member
    edited May 2013
    Looks good KAtrina, Kodus to you! 
    I think the word you are looking for is 'progressbar' or not?

    ps. Who is gonna be the superperson that makes an Android version for Spotify and or Google Play?
    Post edited by JustVervaart on
    ·
  • GDGD Posts: 72Member

    Just installed and it is freaking amazing. @katharine what are the chances of integrating httpebble with this so that the music controls and the weather watchface (now my default) work at the same time?
    Robgmartin, how'd you install?  I've tried 'cloning repo' via macbuildserver and it just stalls.  Did you simply install the pwb file?
    ·
  • RobgmartinRobgmartin Posts: 115Member
    I did the macbuildserver route without issues. Installed that on my iphone and then I installed the pbw in Katherine's first post to the pebble.
    ·
  • GDGD Posts: 72Member
    Ok, I'll keep trying the macbuildserver route and see if I can get the app to install.  Thanks!
    ·
  • eyeiseyeis Posts: 487Member Regular
    edited May 2013
    @Katharine make some money by putting it on AppStore! I am not a developer
    Post edited by eyeis on
    iPhone 5s with iOS 8
    ·
  • KatharineKatharine Posts: 606Member, Administrator, Moderator admin
    There is a link to macbuildserver's output in my original post. I have no idea if it actually works, though.
    Sparkly Code Princesskatharine@getpebble.com. I prefer email to forum PMs.
    CloudPebble Online IDE | Pebble Stopwatch | <3
    Legacy: httpebble | Peapod
    There are two As in my name.
    ·
  • eyeiseyeis Posts: 487Member Regular
    @katharine, do I need to be in apple developer program to get your ios app? If so, If I enrolled right now with no prior knowledge, how would I go about downloading the .ipa and getting it on my iPhone?
    iPhone 5s with iOS 8
    ·
  • KatharineKatharine Posts: 606Member, Administrator, Moderator admin
    If you followed that link on your phone it should install. Or something. I don't really know, to be honest.

    If you previously used it to install httpebble it would install in place of that, since it gives all apps the same bundle identifier (com.macbuildserver.app.hello or something).
    Sparkly Code Princesskatharine@getpebble.com. I prefer email to forum PMs.
    CloudPebble Online IDE | Pebble Stopwatch | <3
    Legacy: httpebble | Peapod
    There are two As in my name.
    ·
  • eyeiseyeis Posts: 487Member Regular
    @katharine I have a non jail broken iPhone. Clicking the link did nothing because the file cannot be opened by any program on iPhone because it is .ipa. I don't have apple developer license but if I were to buy it how would I put the .ipa on my iPhone using apples developer software. How did you get the app on your iPhone? I can't get httpebble because I don't have developer license. Do I need httpebble to download this?
    iPhone 5s with iOS 8
    ·
«1345678
Sign In or Register to comment.