I pass the instance of my config class through to the plugin loader
(Basically the line thats there when you open a fresh template), How
do I then get a reference to it in the mcml? I see there a property
called 'ThemeConfig' being passed around on the default theme. But
when I try the same thing I get errors saying that the ThemeConfig
object is null when I use it.
thanks all.
Craig
<
app:Config Name="ThemeConfig" />
--
You received this message because you are subscribed to the Google Groups "VideoBrowser Devs" group.
To post to this group, send email to videobro...@googlegroups.com.
To unsubscribe from this group, send email to videobrowser-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/videobrowser-devs?hl=en.
This is what my studio images look like.
<Binding Target="[StudioRepeater.Source]"
Source="[Folder.SelectedChild.StudioItems]"></Binding>
<Repeater Name="StudioRepeater"
Source="[Folder.SelectedChild.StudioItems]">
<Layout>
<FlowLayout Orientation="Horizontal"
ItemAlignment="Center" Spacing="0,0"/>
</Layout>
<Content>
<vs:Studio
StudioItem="[RepeatedItem!lib:StudioItemWrapper]" Name="StudioLogo"/>
</Content>
</Repeater>
Jas Manghera wrote:
> Have you tried:
>
> <
>
> app:Config Name="ThemeConfig" />
> where app is a reference to your plugin assembly.
>
>
>
> On a totally unrelated note, I'm having one of those moments, how the
> heck does studio images work? I swear I've put everything in the right
> place. Actors are loading fine, just no studios whatsoever.
>
>
> On Wed, Jan 27, 2010 at 12:39 PM, Craig <crai...@gmail.com
> <mailto:crai...@gmail.com>> wrote:
>
> Hey guys.
>
> I pass the instance of my config class through to the plugin loader
> (Basically the line thats there when you open a fresh template), How
> do I then get a reference to it in the mcml? I see there a property
> called 'ThemeConfig' being passed around on the default theme. But
> when I try the same thing I get errors saying that the ThemeConfig
> object is null when I use it.
>
> thanks all.
> Craig
>
> --
> You received this message because you are subscribed to the Google
> Groups "VideoBrowser Devs" group.
> To post to this group, send email to
> videobro...@googlegroups.com
> <mailto:videobro...@googlegroups.com>.
> To unsubscribe from this group, send email to
> videobrowser-d...@googlegroups.com
> <mailto:videobrowser-devs%2Bunsu...@googlegroups.com>.
I have tried cor:Object even and it keep retruning null. As a test I
tried just setting a labels content to ThemeConfig.ToString but it
always just says ThemeConfic is null
Jas Manghera wrote:
> As in SHIFT-DEL: Are you sure you sure you wish to delete media
> browser cache
>
>
> YES!!!!! I AM %#$@^$ <mailto:%#$@%5E$> SURE!!!!!!!!!!!!!!!!!11111
<
UI Name="Something"><
Properties></
Properties><
Rules><Binding Source="[SourceText]" Target="[TargetText]" >
<Conditions>
<Equality Source="[ThemeConfig.InfoOption]" ConditionOp="Equals" Value="true" />
</Conditions>
</Binding>
</Rules>
.
.
To which pages does mediabrowser pass the instance?
Page, moviedetails and your config panel?
> <mailto:videobro...@googlegroups.com>.
> To unsubscribe from this group, send email to
> videobrowser-d...@googlegroups.com
> <mailto:videobrowser-devs%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/videobrowser-devs?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "VideoBrowser Devs" group.
> To post to this group, send email to
> videobro...@googlegroups.com
> <mailto:videobro...@googlegroups.com>.
> To unsubscribe from this group, send email to
> videobrowser-d...@googlegroups.com
> <mailto:videobrowser-devs%2Bunsu...@googlegroups.com>.
This whole thing doesn't work exactly like I think it should. I don't know
if it's a bug or a design deficiency or what but I can't get it to pass the
actual object reference around properly. So, if you just declare it as a
local or declare it as a non-required property, you should get a fresh
instance of your config object. This should work in most instances but,
sometimes, changes to the options won't be seen until you re-start MB.
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.730 / Virus Database: 271.1.1/2647 - Release Date: 01/26/10
14:36:00
Still doesn't work. I have implemented another system for the settings,
so at least I can continue till I have time to figure out whats up.