Kodi Community Forum
Night Release Thread - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: Night (https://forum.kodi.tv/forumdisplay.php?fid=130)
+----- Thread: Night Release Thread (/showthread.php?tid=73814)



- Oddsodz - 2010-07-04

mcborzu Wrote:It works on Music Fuillscreen playback, general browsing I didn't put it in yet...

Now I see why. Will it be the case in the future? Or do you plan (I Hope) for the "ExtraFanArt" to work when "general browsing"? That would be so COOoooooooooooool


- Only One Haze - 2010-07-04

mcborzu Wrote:Is that one of those things that need to be in the filename like:

TheDarkKnight.dvd.avi

yes it is. My files are named that way but there is no DVD.png in the flags folder...


- mcborzu - 2010-07-04

Only One Haze Wrote:yes it is. My files are named that way but there is no DVD.png in the flags folder...

Good to know, thx...

@Oddsodz

I thought it should be easy to get 'extrafanart' in music general browsing but so far it doesn't seem to like ListItem.Path, thats the code to use for it...


- nickkarstedt - 2010-07-05

I've got a minor issue with the WallPanel. When you press right to get to the scroll bar, there is no way to get back to regular scrolling without getting the view options first (When on the scroll bar, both right and left give you the view options) I think left should bring you back to regular scrolling.

I like what you've done with the skin since I last used it (Tried reFocus for a while, really like it, too). It'd be cool to see some color options later on, like maybe lighter colored backgrounds or different highlight (the cyan color) options.

Lastly, I feel like the plot in landscape view should be a tad larger. It's a bit tricky to read at a distance on my 32" 720p.


- Only One Haze - 2010-07-05

mcborzu Wrote:Good to know, thx...

no problem...any ideas about the v_mpeg2 video codec? should I be able to just duplicate the mpeg2video.png and name it v_mpeg2.png or is there some code to add? appreciate all the help!


- mcborzu - 2010-07-05

If you want to test yourself:

Open up IncludesCodecFlagging.xml, copy this block of code, starting line 58 and put it right below.

Quote:<control type="image">
<description>mpeg2video Codec Image</description>
<width>90</width>
<height>33</height>
<aspectratio>keep</aspectratio>
<texture>flagging/video/mpeg2video.png</texture>
<visible>substring(ListItem.VideoCodec,mpeg2video)</visible>
</control>

Change it to:

Quote:<control type="image">
<description>mpeg2video Codec Image</description>
<width>90</width>
<height>33</height>
<aspectratio>keep</aspectratio>
<texture>flagging/video/v_mpeg2.png</texture>
<visible>substring(ListItem.VideoCodec,v_mpeg2)</visible>
</control>

This assumes the codec is called v_mpeg2, and you put the image v_mpeg2.png in flagging/video/


- Only One Haze - 2010-07-05

mcborzu Wrote:If you want to test yourself:

Open up IncludesCodecFlagging.xml, copy this block of code, starting line 58 and put it right below.

Change it to:

This assumes the codec is called v_mpeg2, and you put the image v_mpeg2.png in flagging/video/

this worked great! but instead of copying the mpeg2video.png and making a v_mpeg2.png i just called the mpeg2video.png when codec returns a value of v_mpeg2, like this:

Code:
<control type="image">
<description>mpeg2video Codec Image</description>
<width>90</width>
<height>33</height>
<aspectratio>keep</aspectratio>
<texture>flagging/video/mpeg2video.png</texture>
<visible>substring(ListItem.VideoCodec,v_mpeg2)</visible>
</control>

so I assume i can do the same with the divx.png when the codec returned is dx50?

the only question i have is I have been keeping up with the git repository, is this addition to the code going to cause trouble with pulling from git? again thanks for all your help, keep up the awesome work!

edit:
i made the mpeg2 section like this for a little less clutter:
Code:
<control type="image">
    <description>mpeg2video Codec Image</description>
    <width>90</width>
    <height>33</height>
    <aspectratio>keep</aspectratio>
    <texture>flagging/video/mpeg2video.png</texture>
    <visible>substring(ListItem.VideoCodec,mpeg2video) | substring(ListItem.VideoCodec,v_mpeg2)</visible>
</control>


and added a dx50 segment to the divx block like this:
Code:
<control type="image">
    <description>Divx Codec Image</description>
    <width>90</width>
    <height>33</height>
    <aspectratio>keep</aspectratio>
    <texture>flagging/video/divx.png</texture>
    <visible>substring(ListItem.VideoCodec,divx) | substring(ListItem.VideoCodec,div3) |substring(ListItem.VideoCodec,div4) | substring(ListItem.VideoCodec,div5) | substring(ListItem.VideoCodec,dx50)</visible>
</control>

and both work great! still just wondering about the git pull thing with these changes made to my file...


- mcborzu - 2010-07-05

It will until I include it, which would be tonight or tommorrow, so the changes should be

Quote:<control type="image">
<description>mpeg2video Codec Image</description>
<width>90</width>
<height>33</height>
<aspectratio>keep</aspectratio>
<texture>flagging/video/mpeg2video.png</texture>
<visible>substring(ListItem.VideoCodec,mpeg2video) | substring(ListItem.VideoCodec,v_mpeg2)</visible>
</control>

and for the divx one:
Quote:<texture>flagging/video/divx.png</texture>
<visible>substring(ListItem.VideoCodec,divx)| substring(ListItem.VideoCodec,dx50) | substring(ListItem.VideoCodec,div3) |substring(ListItem.VideoCodec,div4) | substring(ListItem.VideoCodec,div5)</visible>

And for the DVD image:
Quote:<control type="image">
<description>HDDVD Image</description>
<width>90</width>
<height>33</height>
<aspectratio>keep</aspectratio>
<texture>flagging/video/dvd.png</texture>
<visible>substring(ListItem.filename,dvd)</visible>
</control>

Just point me to a skin that has that dvd.png you want and I'll include it


**EDIT**

Actually I just updated git with those changes let me know if it works, you'll need to put a dvd image in the correct folder though...


- Only One Haze - 2010-07-05

Image

thats the one from legacy dark. its 161x109. will that work with Night? COnfluence also has one but it uses a textures.xpr and im not sure how to get that out. Really appreciate all the help! about to do a git pull.


- Only One Haze - 2010-07-05

just did a git pull and everything works great! thanks for the awesome work mcborzu!

and unless you added a dvd.png yourself it looks like i had already copied that dvd.png from legacy dark into your flagging folder and it works just fine, if you wanted to add it to your repository...


- mcborzu - 2010-07-05

Update 7/4/2010
-Fixed the minor errors with the new sustom Home items
-Now "Landscape" and "3dlandscape" are not visible if using Posters or Banners, still available on Episode level
-The landscape.jpg option is now under Skin Settings
-Redid Filebrowser
-WallPanel option only pressing right of the scrollbar brings up options
-Bigger font in Files view, and smaller thumb (non-library)
-Added support for dvd, v_mpeg2, and dx50 codecs


[b]**both git and regular download up to date[/b]

Remember
Regular Download- Premerge/Pre-10.5
Git - Merge/10.5 Compatible


@Only One Haze
I added that dvd.png and change the size/look to fit with the rest, thx!


- hikaricore - 2010-07-05

Got any screenshots of the files view changes?


- mcborzu - 2010-07-05

Well a couple posts back someone said the comfortaa font wasn't that good looking so I just completely swapped it out, liked the look, but it was too small on Files view. Probaly hard to tell from the picture but it's 4-6 sizes bigger.

Image



Before the files view pic was maybe 20% bigger, way too big:

Image


- hikaricore - 2010-07-05

Thanks. Lookin good. ^_^
Just wanted to see what I was getting into before I updated hehe.


- Only One Haze - 2010-07-05

mcborzu Wrote:Update 7/4/2010
-Added support for dvd, v_mpeg2, and dx50 codecs

@Only One Haze
I added that dvd.png and change the size/look to fit with the rest, thx!

excellent! man u work fast.