PDA

View Full Version : GAC+ Beginners guide please



nurowolf
June 8th, 2007, 07:26 AM
Hi Guys,

Is there a beginners guide to GAC+ - because I am really stuck.

To Start with, all I want to do is create a Jukebox style screen showing a scrolling list of Albums across the page from which I can select the album to play.

I have tried this

......show 5 items from a response, the easiest way to create a custom interface with the
items it to create a frame with the name of <LOOP,5,1,0,0>, and then a child frame with the name of
MP.GACName_<LoopIndex> (for GAC) or MP.GAC.Items[<LoopIndex>].Name (for GAC+).

But that only displayed the first album.

I tried disecting the New Style Falt CCF - but just could not work out how to create my display array of ALbums covers.

Are there some idiot guides somewhere here - cause right now I feel like an idiot.

theguywiththefunnyhair
June 8th, 2007, 07:59 PM
If you post the .ccf you are working on i can help you get it working. GAC is not so hard once you get your head around it.

nurowolf
June 8th, 2007, 08:04 PM
OK - I finally worked it out. I wasn't setting the container frame correctly.

Once I went to the properties and played with the Child Loop settings. It started working.

nurowolf
June 8th, 2007, 08:10 PM
I am trying to design a jukebox style screen.

SO far I have
- a looped Button Containing the Album Image
- a looped frame containing the ALbum Name {MP.GACL.Items<LoopIndex>.Name}

I now want to have another looped frame containing the Album ARtist. Note that this is not related to the Currently Played Track.

So I have the following set up in my LUA file.

mygacl = GAC:new{var='GACL',includeSubItemCount=1,imageSize ='S', fields='Album,Album Artist (auto)',count=10, useGP=1, };

I try to access the ALbum Artist Information with the following


{MP.GACL.Items<IndexLoop>.Album Artist (auto)}

But that doesn't work. ANybody got any ideas????

theguywiththefunnyhair
June 8th, 2007, 09:57 PM
{MP.GACL.Items<IndexLoop>.Album Artist (auto)}

<IndexLoop> should be <LoopIndex>.

And also do you actually have a variable with that name (Album Artist (auto))? If it doesn't work try putting {MP.GACL.Items<LoopIndex>.Name} on the button to see if your on the right track then check NRD's NetRemote Variable inspector to see what your variable options are.

Dan

nurowolf
June 9th, 2007, 07:29 AM
Yep tried what you said.

{MP.GACL.Items<LoopIndex>.Name}

Works fine - so not sure what to try next

theguywiththefunnyhair
June 9th, 2007, 04:09 PM
give
{MP.GACL.Items[<LoopIndex>].Artist} a shot.
;).

nurowolf
June 11th, 2007, 09:41 AM
Does that mean that I will need to have that in the Fields to retrieve as part of my quesry?

Will give this a go on the Weekend when I return home. Thanks

Ben S
June 11th, 2007, 02:55 PM
Also, did you happen to see the "guide" here: http://www.promixis.com/downloads.php?mode=list&prodName=NetRemote&lucCode=SUPPORTDOC

It's a little out of date, but is a pretty good starting place.