What software is used to control iTunes??
It is functional?
--
Deiby Rojas Montero
Moncortec S.A.
Tel: 2263.6052
Cel: 8374.5853
-- 2010/7/20 Shad <deg01004@gmail.com>
Hey,
I haven't replicated very much at all.
So far i have it set up to play/plause, go to the next and previous
songs, control volume (yes it seems smooth) and display the song name
and album that is currently playing.
No album art or search at this time. I believe it is possible.
The other thing controlling this is a small .php file with osascript
commands on a apache webserver that allows itunes to be controlled
through a web browser, thus the need for http requests.
I think someone that knows applescript, php/apache could replicate the
apple remote very well with command fusion but i barely know what i'm
talking about at this point. My knowledge is very limited on this.
This is the best/only way i found through searching web. Let me know
if you know of something that might work better/have more
functionality.
Shad
On Jul 20, 11:34 am, Nahshon Williams <spc...@gmail.com> wrote:
> Shad few questions. . .
>
> Which features have you replicated compared to the apple remote app
> Can you see Album art?
> Search?
> Is the volume control smooth?
> Are you using just command fusion to do this?
>
> On 20/07/2010 18:30, Shad wrote:
>
> > Thanks for the added information.
>
> > I was able to change the regex to use a single feedback item.
>
> > Itunes control is working great along with the feedback.
>
> > Shad
>
> > On Jul 19, 11:41 pm, Jarrod Bell<jar...@guilink.com> wrote:
>
> >> The HTTP will be from the response headers. Behind the scenes there is
> >> a lot more data coming back than you can see (even view source does
> >> not show it all).
> >> I suggest you read up on HTTP Requests and how they work.
>
> >> You should use an EOM in your HTTP system definition to split incoming
> >> data at a certain point, such as at</body> (which should be in the
> >> source, you didnt mention it though).
>
> >> You should use a single feedback item where possible to reduce
> >> processing required for parsing feedback. Something like:
> >> <body>(.*)<br />(.*)</body>
>
> >> Remember to set the capture index to 1 and 2 for the two capture
> >> groups (one for each set of capturing brackets).
>
> >> "data type" refers to the incoming data type, whilst "target type"
> >> defines what join or object you are setting the value/token on. You
> >> can for instance capture an analog data type and assign the output to
> >> a serial target.
>
> >> Jarrod
>
> >> On Jul 20, 8:44 am, Shad<deg01...@gmail.com> wrote:
>
> >>> Thanks that helped a ton.
>
> >>> From the page source the contents are:
>
> >>> <body>
> >>> Jimmy Eat World<br />A Praise Chorus
>
> >>> using that i made two regex one for the artist name and the other for
> >>> the album:
> >>> (.*)<br />
> >>> and
> >>> <br />(.*)HTTP
>
> >>> They both work and display what I want to see. Not sure where the HTTP
> >>> came from but it shows up in the text box of iviewer if it is not
> >>> added on the end.
>
> >>> Thanks for the help. I really do appreciate it. Any other suggestions
> >>> are welcome.
> >>> Shad
>
> >>> On Jul 19, 4:31 pm, Fiasco<dgvoll...@gmail.com> wrote:
>
> >>>> your data type is serial, not digital
>
> >>>> You need to go to the the URL with your browser and then click View...
> >>>> Source (internet explorer) because that is what is actually getting
> >>>> sent to CommandFusion. Paste the contents of the source here.
>
> >>>> For now, try a regex of (?ims)(.*)
>
> >>>> On Jul 19, 5:14 pm, Shad<deg01...@gmail.com> wrote:
>
> >>>>> After trying a couple more things I switched my regex to only (.*)
> >>>>> which in the regex tester shows what i want.
> >>>>> In the text field that i created when the button is pushed it shows
> >>>>> <body>. I don't know if this is coming from my .php file or command
> >>>>> fusion it does look like the name of the song flashed across the
> >>>>> screen really fast.
> >>>>> I'm thinking that the problem i am having is due to the regex that i
> >>>>> am using.
>
> >>>>> Any help with regex would be great
>
> >>>>> Shad
>
> >>>>> On Jul 19, 3:48 pm, Shad<deg01...@gmail.com> wrote:
>
> >>>>>> Thanks for the reply,
>
> >>>>>> I am still trying to get it to work i'm new at this.
>
> >>>>>> So first i created two text boxes with the Text Tool and assigned the
> >>>>>> first one to a serial join 15 and the second to serial join 16 and
> >>>>>> used the text theme "white".
>
> >>>>>> I then made sure that the maintain connection is checked.
>
> >>>>>> Next i used the add feedback option in the system manager, chose to
> >>>>>> skip the wizard. The system is the same as the one that the command is
> >>>>>> sent to. I called the feedback name trial and used the regex (?ims)
> >>>>>> (.*?)\x0A(.*?)\x0A
>
> >>>>>> Then in the feedback processing order i added two groups named them
> >>>>>> "song name" and "songalbum"
>
> >>>>>> for songname
> >>>>>> i left the capture index at 1
> >>>>>> i left the data type at digital
> >>>>>> i changed the target type to serial
> >>>>>> i changed the serial number to 15 ( this is the same as the text box i
> >>>>>> created
> >>>>>> and left the token type at Value
>
> >>>>>> I did the same for the songalbum but changed it to a serial join of 16
>
> >>>>>> I then uploaded the file to my ipod touch but nothing appears to show
> >>>>>> up in the text fields
>
> >>>>>> any suggestions?
>
> >>>>>> You help is very much appreciated.
>
> >>>>>> Shad
>
> >>>>>> On Jul 19, 2:07 pm, Fiasco<dgvoll...@gmail.com> wrote:
>
> >>>>>>> Create two text fields w/ serial joins 1 and 2 (join numbers are an
> >>>>>>> example)
>
> >>>>>>> In GUIDesigner, under the system you created to make the HTTP GET
> >>>>>>> request make sure that "maintain connection" is selected.
>
> >>>>>>> Create a feedback for this system with a regex something like (?ims)
> >>>>>>> (.*?)\x0A(.*?)\x0A
> >>>>>>> Create two capture groups and assign the capture values to the two
> >>>>>>> serial joins of the text fields you created.
>
> >>>>>>> On Jul 19, 11:38 am, Shad<deg01...@gmail.com> wrote:
>
> >>>>>>>> I'm looking to display text from feedback that i am receiving. If i
> >>>>>>>> send this command:
>
> >>>>>>>>http://192.x.x.x/degiulio%20itunes%20remote.php?q=status
>
> >>>>>>>> or the request for command fusion
>
> >>>>>>>> GET /degiulio%20itunes%20remote.php?q=status HTTP/1.1\x0D\x0AHOST:
> >>>>>>>> 192.x.x.x\x0D\x0A\x0D\x0A
>
> >>>>>>>> It will display the text of the artist name and album on any
> >>>>>>>> webbrowser connected to my network. i assume that command fusion
> >>>>>>>> receives this same data and i just need to make it display in command
> >>>>>>>> fusion somehow.
>
> >>>>>>>> Example of reply from internet explorer.
>
> >>>>>>>> Plumb
> >>>>>>>> In My Arms
>
> >>>>>>>> all my commands to itunes via http requests work perfectly such as
> >>>>>>>> louder, quieter, playpause... just ran into a snag with displaying the
> >>>>>>>> received data.
>
> >>>>>>>> Shad- Hide quoted text -
>
> >>>>> - Show quoted text -
--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.
--
Deiby Rojas Montero
Moncortec S.A.
Tel: 2263.6052
Cel: 8374.5853
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.


Comments
0 comments to "Re: Displaying feedback in text form"
Post a Comment