[Pianod] mobile application already working =)

Michael R. Hines michael at hinespot.com
Sun Dec 9 14:58:31 PST 2012


Oh, the app is *very* buggy - it's not your devices, it's the app =). I
wrote in a few hours from scratch with lots of coffee =)

I'm not taking any locks around the networking code, so sometimes
requests to Pianod get overlapped with other requests and things get
confused, so the app stops responding to your commands.

I would be *more* than happy for you to contribute - just start hacking
on it anyway you like, and I'll happily merge things for you.

The first thing would be to add some locks/synchronization around the
various events......

And regarding iOS, yes, the *only* way to install (thank you Apple) is
to have an actual Mac laptop and an IOS developer account to allow you
to deploy apps to your device - unfortunately, it looks like the only
one who has a Mac here is Perrete =).

- Michael

On Sun, 2012-12-09 at 14:10 -0800, Peter Li wrote:

> Nice work!  Basically seems to work on my Droid Inc, although it's 
> pretty finicky with making initial connection and maintaining 
> connection/responsiveness.
> 
> I sometimes have similar responsiveness issues with pianod when running 
> directly from netcat though; after pausing or stopping it can have 
> trouble playing a new station, etc..  Sometimes works to log out and in 
> but often I have to restart the server.  Are you all not having these 
> issues?  This is running pianod on RPi ArchLinuxARM.  I'll try it on 
> Raspbian too and see if it seems more stable.
> 
> Michael, if you want I can try to put together a "mix" tab for the 
> Titanium app?  I can fork and send you a pull request if you like.  
> Would probably separate your logic out into more files first though?  
> Like I said, my free time is pretty spotty so this might not go very far 
> but maybe I'll be able to bang it out or maybe some little bit will 
> still be helpful.
> 
> Not sure how to test on the iPad; my Titanium IDE doesn't give me the 
> option to install an iOS SDK, probably because I'm running on Linux?  
> I'll look at the docs and see if it's worth trying to install the IDE on 
> one of my other OS machines.
> 
> Thanks!
> P
> 
> 
> On 12/09/2012 01:39 PM, pianod-request at lists.deviousfish.com wrote:
> > Date: Sun, 09 Dec 2012 00:41:19 -0500
> > From: "Michael R. Hines" <michael at hinespot.com>
> > To: pianod <pianod at lists.deviousfish.com>
> > Subject: [Pianod] mobile application already working =)
> >
> > In just a few hours, I wrote a fully-fledged android application using
> > Titanium. Titanium is very impressive.
> >
> > Theoretically, it should work fine on IPhone, too.
> >
> > https://github.com/hinesmr/pianod-mobile.git
> >
> > There's a copy of the Android APK file in the github project under
> > "pianod.apk".....
> >
> > Oh course, it's not entirely bug free:
> >
> > If you notice that selecting stations stop responding
> > or clicking buttons stop responding (having no effect),
> > simply back out of the application and re-start it,
> > and it will login to Pianod just fine.
> >
> > I'd welcome either of you to try it out on your devices and report
> > back.....
> >
> > - Michael
> _______________________________________________
> Pianod mailing list
> Pianod at lists.deviousfish.com
> http://lists.deviousfish.com/listinfo.cgi/pianod-deviousfish.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deviousfish.com/pipermail/pianod-deviousfish.com/attachments/20121209/22d249fd/attachment-0003.htm>


More information about the Pianod mailing list