Hi,
Regards,
Noel Sofley
--
You received this message because you are subscribed to the Google Groups
"CommandFusion" group.
To post to this group, send email to comman...@googlegroups.com.
To unsubscribe from this group, send email to
commandfusio...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/commandfusion?hl=en.
Works for me
Jarrod
I believe it would be a great capability for other apps to be able to be
integrated reasonably into the CommandFusion iViewer. Using SqueezePad as
the example. In my GUI there is a button called Music. Running the iViewer
in multitasking mode gives the following behavior. Touching the music button
switches to the SqueezePad app via the apps URL schema. From that point on
while in Squeezepad a double tap of the power button brings up the task bar
and a single touch of the iViewer app brings back iViewer which is running
in the background. A touch of the music button in the iViewer app now brings
back squeezepad at the state it is in (it is running in the background). A
double tap of the power button in either app brings up the taskbar with a
single tap switching to the app of choice that is running in the background.
I would like to see Squeezepad (and other similar apps) enhanced so that it
had a setting to control what happened on a double tap of the power button:
Either brings up the task bar as it does now (default) or switches directly
to the declared app without the task bar step. While the current situation
is pretty good and works with any app (better if the app has a URL schema),
the enhancement mentioned would truly give the model of apps as launched
apps with ability to easily move back and forth between them and iViewer.
Having said all of the above: The prontoscript code is always delivered as
source and I really have no issue giving you a copy at no charge to play
with. I assume if you do that either it will be given away for free after
the port, or we will have some sharing (royalty) arrangement if you intend
to sell it. The code is not well written as at the time I was (1) Learning
Javascript, (2) learning the Squeezeserver interface which was not well
documented at the time (3) learning how to code for the Pronto Pro
environment (their equivalent of iViewer). The code is written in a style
where there is very little code at the button level, just calls to the
Prontoscript (javascript + Pronto environment classes) functions which do
all the lifting. It was also written for easy maintenance (less efficient)
but better when dealing in the environment I was (Programming is like Ice
skating, it is better if things are Frozen)
Contact me at my eMail if you still want a copy.
-----Original Message-----
From: comman...@googlegroups.com [mailto:comman...@googlegroups.com]
On Behalf Of Jarrod Bell
Sent: Wednesday, August 10, 2011 1:03 AM
To: comman...@googlegroups.com
Subject: Re: Squeeze box server & Javascript
Apple will never allow you to change what the home button does, and
every app developer for all the AV apps out there will not add a way
back to iViewer.
I'd love to take a look at the prontoscript if nothing more to see how
they compare to our API for porting of other prontoscript files in
future as well.
Jarrod
I am not a proponent of open source having worked in software development my
entire life, but I do take advantage of it as I am financially astute. I
still believe that Commandfusion as an "Integrating app" should be able to
seamlessly integrate third party apps.
Too bad Apple does not allow control over the double tap on the power (or is
it called the "home" ?) button.
To reinforce your point of view I did write my own weather handler for
CommandFusion that uses the rss feed from yahoo weather. I did cheat a
little since my auxiliary system (the PAL which runs on a PC 24/7) already
had the RSS feed pull and structure into an array so I used it. It would be
trivial IMHO to have CF get the RSS Feed directly and stuff it into an
array. If you are interested I can send you a screen shot of the page if
someone tells me how to do that on the iPAd. I think I did it once but have
forgotten how (getting old sucks, but the alternative is much worse)
I will send you the Prontoscript Squeezeserver control code on one condition
- No Laughing!
I have been thinking about an automatic system to give a real leg up in
porting Prontoscript to CommandFusion. I already have programs that parse
the Pronto xcf format files into seperate JS objects and break apart all of
the button/page actions. Maybe if I get some time. . .
S
In my theater I do something a little different. (first of all the entire
theater is controlled by a small inexpensive PC running 24/7, normally it is
in state s3 (sleeping)). The iPad talks to this PC when dealing with the
theater.
Using the xAP plugin for the Squeezeserver I have the Theater PC controlling
the Theaters audio system as it sees the Squeeze Transporter changing
things. It knows when (via the xAP messages) the transporter turns on or
off, and when the volume changes and to what degree. It adjusts the A/V
processor appropriately so the Squeezepad app doesn't have to worry about
it. I play a lot of multichannel encoded music so I cannot use the
squeezeserver for volume control as you cannot adjust volume on an encoded
audio stream.
Lastly Stefan, the Squeezepad author, indicated a new ios capablity that
might help, the 4-finger swipe. I think it may be in ios 5 which is not yet
released. He stated that a 4 fingered swipe may be used to switch apps I
assume without using the task bar.
Hope that helps
Jarrod
I wrote one several years ago for the Pronto family of remotes which were Javascript based. It is quite q complex undertaking. One of the issues is the feature set. For example just transport control and displaying the play list with cover art is not too bad, but if you want to include all of the other capabilities of LMS then it is a serious undertaking. I personally use sqqueezebox.
From: comman...@googlegroups.com
[mailto:comman...@googlegroups.com] On Behalf Of Sorna Devadas
Sent: Sunday, March 09, 2014 9:14 PM
To: comman...@googlegroups.com
Subject: Re: Squeeze box server & Javascript
hi,
--
You received this message because you are subscribed to the Google Groups
"CommandFusion Software" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to commandfusio...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Slightly OT
Interesting. When I wrote the app for the ProntoPAL they were not yet using JSONRPC, so I did everything via the CLI, which at the time was well documented. Logitech had not yet bought Slim (the server portion was originally called SlimServer) so the entire server (it may still be) was open source with world class support and help from a very active community. They had the best bug tracking system I ever came across.
It is still the music system for my house. I have 2 receivers, 1 player, 1 BoomBox and one Transporter. The BoomBox is my favorite as it is fully self contained, just needs wi-fi access and a place to plug in for power. The Transporter was a gift and is overkill for me as I feed out the optical to my AVP which handles the decoding, but it is so pretty! IIRC the optical out of every player is the same being the file as received from the server.
There is another interesting approach to building a control system. If the XAP plugin is installed in the server then there will be XAP messages for every change that occurs. For example if a player is turned on a message is sent over XAP that states which player has just turned on (or off). As music is playing messages come out regarding state. I use this to keep the PC in my theater up to date. I am not sure you can control LMS using XAP.
For those who never heard of XAP it is a protocol riding over UDP. It is supported by a community of developers/users and is reasonably well documented. There is no reason that XAP couldn't run under iViewer.
From: comman...@googlegroups.com
[mailto:comman...@googlegroups.com] On Behalf Of JohanJ
Sent: Monday, March 10, 2014 4:01 AM
To: comman...@googlegroups.com
Subject: Re: Squeeze box server & Javascript
Hi
--
I have also been waiting for Squeeze Server integration but in the end I gave up waiting and created my own interface exactly as JohanJ did (JSON/HTTP for database requests and CLI for subscriptions). I am not bothered with trying to replicate what SqueezePad or iPeng have done with reading menu structures etc...I just wanted to be able to browse my music, generate MusicIP mixes and control the players. I can even wake them up, all within CF. It's not that hard as it looks and using JSON simplifies things quite a bit.