Can I add custom flags?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jimmylee7706 Offline
Junior Member
Posts: 26
Joined: Sep 2011
Reputation: 0
Location: Leesburg, Florida
Post: #1
I'm been searching and can't seem to find out how to do this, I have several 3D movies in my library and I'd like to add a 3D media flag to those movies, is there a way that if the source is my 3D folder I can display the 3D flag?
find quote
mcborzu Offline
Skilled Skinner
Posts: 3,381
Joined: Feb 2009
Reputation: 15
Location: dsf
Post: #2
Probably best way would be to put it in the file name like people do for bluray tag:

Dark.Knight.bluray.mkv

Then search for it via code to display it:
Quote:<control type="image">
<description>Bluray Image</description>
<width>54</width>
<height>40</height>
<aspectratio>keep</aspectratio>
<texture>flagging/video/custom/bluray.png</texture>
<visible>substring(ListItem.FilenameAndPath,bluray) | substring(ListItem.FilenameAndPath,blu-ray) | substring(ListItem.Filename,brrip) | substring(ListItem.Filename,.m2ts,Right) | substring(ListItem.Filename,.bdmv,Right)</visible>
</control>

[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
jimmylee7706 Offline
Junior Member
Posts: 26
Joined: Sep 2011
Reputation: 0
Location: Leesburg, Florida
Post: #3
Where would I put the custom png file? Or is there a way to add it to the xbt file?
find quote
mcborzu Offline
Skilled Skinner
Posts: 3,381
Joined: Feb 2009
Reputation: 15
Location: dsf
Post: #4
jimmylee7706 Wrote:Where would I put the custom png file? Or is there a way to add it to the xbt file?

<texture>flagging/video/custom/bluray.png</texture>

means it searches for the bluray.png in skin.night/media/flagging/video/custom/

I mean you could put anywhere like:

<texture>jimmylee/bluray.png</texture>

So create a folder in skin.night/media called jimmylee and put your bluray image in there and add corresponding code...

[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
jimmylee7706 Offline
Junior Member
Posts: 26
Joined: Sep 2011
Reputation: 0
Location: Leesburg, Florida
Post: #5
Awesome, thanks....will give it a go!
find quote
Thizizmyname Offline
Junior Member
Posts: 49
Joined: Jan 2010
Reputation: 0
Post: #6
jimmylee7706 Wrote:Where would I put the custom png file? Or is there a way to add it to the xbt file?

I've wanted to do the same thing with my set of Confluense but didn't understand where to put the png-file either.

Now that I know that I could try again but to make it easier for me, since Confluense use the same flags, have you already made a good looking logo that fits Night? If so, could I have it please?
find quote
jimmylee7706 Offline
Junior Member
Posts: 26
Joined: Sep 2011
Reputation: 0
Location: Leesburg, Florida
Post: #7
Thizizmyname Wrote:I've wanted to do the same thing with my set of Confluense but didn't understand where to put the png-file either.

Now that I know that I could try again but to make it easier for me, since Confluense use the same flags, have you already made a good looking logo that fits Night? If so, could I have it please?

I have a couple I'm going to test and see which one fits the best, I'll post them all in a bit for you.
Ok here is a screen of how it looks with my current flag, I'm still trying to get the other ones to look right, but below is the link for the png file.

[Image: 3dExample.jpg]

The PNG file
[Image: 3D.png]
(This post was last modified: 2011-10-07 05:03 by jimmylee7706.)
find quote