what file must be change to accomplish this?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
zwat Offline
Fan
Posts: 730
Joined: Jul 2009
Reputation: 2
Location: Norway
Post: #1
making this general thread where we can ask for what files that needs to be changed to accomplish what we want to do instead of filling up the official night or bugs thread with these questions.

i'll start with one question. i'm changing redd's mod of the posterpluss view to fit the way i would luv to have it. mcborzu have added viewoptions to the poster view where u can toggle flags on or off and show fanart or dark view. on dark view you can toggle posterpluss on or off. what i wanna do is add the posterpluss on or off toggle to the show fanart view. so what file do i need to change to get that happening?

Currently addicted to Night. Watch this teaser and join the forum.
Get and request your ClearLOGOs from the ClearLOGO site and forum
Try my changes to the Night skin if u like how they looks
find quote
mcborzu Offline
Skilled Skinner
Posts: 3,381
Joined: Feb 2009
Reputation: 15
Location: dsf
Post: #2
It's all in Viewtype_Poster.xml. What you need to do is erase !Skin.HasSetting(Poster_Fanart) so it's available. Also needs deleted in MyVideoNav.xml.

Probably easiest way to find what to do is (ctrl+f) the word "slide". The sections that have the slide animation are most likely are the sections that have "PosterPlus"...

[Image: widget]

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
find quote
zwat Offline
Fan
Posts: 730
Joined: Jul 2009
Reputation: 2
Location: Norway
Post: #3
sweet gonna look into it. another coding question.
1. is there a way to set flag visibility only if there is a flag available? having trouble with studio flags leaving a gap if there ain't flags for studios
2. is there a point in having conditions to a animation when the condition is set in visibility condition? or will the animation run out of sight if it ain't there.
example:
Code:
<animation effect="fade"  start="0" end="100" time="400" delay="3000" condition="Skin.HasSetting(PosterPlus) + Container.Content(movies) + !Skin.HasSetting(Poster_Fanart) + ![Container(55).OnNext | Container(55).OnPrevious]">WindowOpen</animation>
<visible>Control.IsVisible(55) + Skin.HasSetting(PosterPlus) + !IsEmpty(ListItem.Title) + Container.Content(movies) + !Skin.HasSetting(Poster_Fanart)</visible>

Currently addicted to Night. Watch this teaser and join the forum.
Get and request your ClearLOGOs from the ClearLOGO site and forum
Try my changes to the Night skin if u like how they looks
find quote
Ram2000 Offline
Fan
Posts: 634
Joined: Jul 2009
Reputation: 6
Post: #4
this thread is a good Idea as long as the guys with the knowledge dont mind sharing last thing I want is to interupt the great work your all ready doing...
that said
mcborzu Wrote:@Ram2000

1. create a new .xml - Viewtype_foo.xml
1a. Change or add a include line at top: <include name="Viewtype_foo">
1b. Make sure it has a unique id for the list <control type="fixedlist" id="597">

2. Added the .xml, Viewtype_foo.xml, to top of Includes.xml
3. Add the Include, usually underneath the fanart coding in MyVideoNav.xml - <include>Viewtype_foo</include>

3. Depends on the skin but you might need to add it to the <views> tag at top of MyVideoNav.xml - <views>50,55,58,597</views>

I still cant get Night to show my view :-( I am trying to add my own music view
[Image: ibox2.jpg]
I have changed the Viewtype_MusicShowcase.xml to Viewtype_musicibox.xml which is my version.
Ive changed <control type="group" id="666"> in Viewtype_musicibox.xml
Added <include file="Viewtype_musicibox.xml" /> to Includes.xml
and added 666 to views in MyVidoeNav.xml
But I still dont see my view :-(
find quote
zwat Offline
Fan
Posts: 730
Joined: Jul 2009
Reputation: 2
Location: Norway
Post: #5
have you changed everything with (oldgroupid) to (666) in Viewtype_musicibox.xml

<visible>Control.IsVisible(55) --> <visible>Control.IsVisible(666)

except the onup\ondown id.

Currently addicted to Night. Watch this teaser and join the forum.
Get and request your ClearLOGOs from the ClearLOGO site and forum
Try my changes to the Night skin if u like how they looks
find quote
mcborzu Offline
Skilled Skinner
Posts: 3,381
Joined: Feb 2009
Reputation: 15
Location: dsf
Post: #6
Only thing you didn't write that you did was:

Quote:3. Add the Include, usually underneath the fanart coding in MyVideoNav.xml - <include>Viewtype_foo</include>

though it would MyMusicNav.xml for you...

Don't forget to make sure you have a closing tag </include> in Viewtype_musicibox.xml. Sometimes I accidently delete or forget that...

[Image: widget]

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
find quote
Ram2000 Offline
Fan
Posts: 634
Joined: Jul 2009
Reputation: 6
Post: #7
Thanks guys
you where both right I hadnt changed the other Ids in Viewtype_musicibox.xml
and i had added Viewtype_musicibox.xml to MyVideoNav.xml instead of MyMusicNav.xml
I have now done both of these bu still cant see my view :-(
I know the Viewtype_musicibox.xml works as I have it as Viewtype_MusicShowcase.xml as well which works but I dont want to overwrite other views If i can figure it out....
find quote
mcborzu Offline
Skilled Skinner
Posts: 3,381
Joined: Feb 2009
Reputation: 15
Location: dsf
Post: #8
If you haven't got it yet, trust me it's something small you're overlooking. I can't tell you how many times I added a view and it wouldn't show. And it was one of the following I overlooked:

1. deleting or missing </include>
2. Forgot to change id's <control type="fixedlist" id="597">
3. Misspelling - thats the hardest, because your eyes read what you think it should spell


And it shouldn't be:
Quote:and i had added Viewtype_musicibox.xml to MyVideoNav.xml instead of MyMusicNav.xml

It should be:
Quote:<include>Viewtype_Files</include><!-- 50 -->
<include>Viewtype_MusicShowcase</include><!-- 58 -->
<include>Viewtype_3daddon</include><!-- 56 -->
<include>Viewtype_MusicWall</include><!-- 53 -->
<include>Viewtype_Songs</include><!-- 52 -->
<include>Viewtype_Shelf</include><!-- 51 -->
<include>Viewtype_JukeBox</include><!-- 54 -->
<include>Viewtype_musicibox</include><!-- 666 -->

[Image: widget]

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
find quote
zwat Offline
Fan
Posts: 730
Joined: Jul 2009
Reputation: 2
Location: Norway
Post: #9
posterplus movement. on movies this work great. if u go left or right the info disappear before it opens on the new movie in focus. however on tvshows when going from episode to season or from season to tvshow or other way around, after the posterplus info is displayed, the infoscreen hangs until u go left or right again. the info on the infoscreen is correct according to the level u are at. how can u change that this don't happen?

Currently addicted to Night. Watch this teaser and join the forum.
Get and request your ClearLOGOs from the ClearLOGO site and forum
Try my changes to the Night skin if u like how they looks
find quote
pletopia Offline
Posting Freak
Posts: 755
Joined: Jul 2008
Reputation: 1
Post: #10
mcborzu Wrote:3. Misspelling - thats the hardest, because your eyes read what you think it should spell:

ohh yeah .. i spent like 30 mins trying to figure out why my tweaked IncludeCodecFlagging file wasn't working .. in the end it was i forgot a ']' and i complelely misspelled ListItem.FilenameAndPath
find quote
zwat Offline
Fan
Posts: 730
Joined: Jul 2009
Reputation: 2
Location: Norway
Post: #11
could the <description> tag be used instead of the <!-- commenting out tag-->.
the commenting out tag makes it harder to comment out lots of code Sad

Currently addicted to Night. Watch this teaser and join the forum.
Get and request your ClearLOGOs from the ClearLOGO site and forum
Try my changes to the Night skin if u like how they looks
find quote
Ram2000 Offline
Fan
Posts: 634
Joined: Jul 2009
Reputation: 6
Post: #12
Well I am going to start again tonight I am determined to get this working esp since Ive got so much help regarding this thanks again and I will let you know what I did wrong Tongue
find quote
zwat Offline
Fan
Posts: 730
Joined: Jul 2009
Reputation: 2
Location: Norway
Post: #13
so logos won't show if u have
PHP Code:
tvshow
 
-season1
  
-episode1
   
-episode1.avi
 
-season2 
but will show if u have
PHP Code:
tvshow
 
-season1
  
-episode1.avi
 
-season2
or
tvshow
 
-episode1.avi 
my guess that is because of this
Code:
            <control type="image" id="37015">
                <posx>20</posx>
                <posy>0</posy>
                <width>230</width>
                <height>89</height>
                <texture background="true">$INFO[ListItem.path]logo.png</texture>
                <fadetime>100</fadetime>
                <aspectratio scalediffuse="false">stretch</aspectratio>
            </control>
            <control type="image" id="39015">
                <posx>20</posx>
                <posy>0</posy>
                <width>230</width>
                <height>89</height>
                <texture background="true">$INFO[ListItem.path]../logo.png</texture>
                <fadetime>100</fadetime>
                <aspectratio scalediffuse="false">stretch</aspectratio>
            </control>
so why won't this work
Code:
            <control type="image" id="49015">
                <posx>20</posx>
                <posy>0</posy>
                <width>230</width>
                <height>89</height>
                <texture background="true">$INFO[ListItem.path]../../logo.png</texture>
                <fadetime>100</fadetime>
                <aspectratio scalediffuse="false">stretch</aspectratio>
            </control>

Currently addicted to Night. Watch this teaser and join the forum.
Get and request your ClearLOGOs from the ClearLOGO site and forum
Try my changes to the Night skin if u like how they looks
find quote
Ram2000 Offline
Fan
Posts: 634
Joined: Jul 2009
Reputation: 6
Post: #14
Why would you have each episode in its own folder ?

Another question if I want the logo centered I can change
Quote:<posx>20</posx>
<posy>0</posy>

but if there different sizes this wont work i can see <aligny>center</aligny> on the wiki
does this only work in labels and not in this image format ?

thanks yet again for any help.
find quote
mcborzu Offline
Skilled Skinner
Posts: 3,381
Joined: Feb 2009
Reputation: 15
Location: dsf
Post: #15
@zwat
Supporting 2 ways of storing shows is enough, I think it's a small minority that have the episodes in folders. Some torrents due this, I just take them out of the folder when they're done....


@Ram2000
this is how you align images
Quote:<aspectratio align="center" aligny="center">keep</aspectratio>
usually used on ratio="keep" images

[Image: widget]

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
find quote
Post Reply