Generic Folder Icons & Menu Editing of the xTV skin?

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Equusz Offline
Junior Member
Posts: 43
Joined: Apr 2008
Reputation: 0
Post: #1
Hiyas:

Any way to get rid of the generic folder icons in xTV's Library Menu. For example, these:

[Image: 2518593803_27d5b1e778.jpg]

[Image: 2519412592_19b2b81b5e.jpg]

I'd like to be able to swap those out with some relevant icons.

And, speaking of these menus, is there any way to remove the "Recently Added" and/or "Playlists" folders from the menu? I don't see a need for them and would rather just have "Movies" and "TV Shows".

Thanks!

Eq
find quote
Equusz Offline
Junior Member
Posts: 43
Joined: Apr 2008
Reputation: 0
Post: #2
Hmmm...no answer, so I guess it's not possible. Although I thought I saw different icons on the demo...
find quote
maccabbi Offline
Junior Member
Posts: 15
Joined: May 2008
Reputation: 0
Post: #3
The easiest way to do this is to download the svn tree and use that as your skin instead of the skin files. You can then change any image you want. They are in a folder called media
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,230
Joined: Oct 2003
Reputation: 177
Post: #4
You can change the icons just by adding icons with the appropriate name to the skin's media folder. They are:

Code:
case NODE_TYPE_TITLE_MOVIES:
    if (strDirectory.Equals("videodb://1/2/"))
      return "DefaultMovieTitle.png";
    return "";
  case NODE_TYPE_TITLE_TVSHOWS:
    if (strDirectory.Equals("videodb://2/2/"))
      return "DefaultTvshowTitle.png";
    return "";
  case NODE_TYPE_TITLE_MUSICVIDEOS:
    if (strDirectory.Equals("videodb://3/2/"))
      return "DefaultMusicVideoTitle.png";
    return "";
  case NODE_TYPE_ACTOR: // Actor
    return "DefaultActor.png";
  case NODE_TYPE_GENRE: // Genres
    return "DefaultGenre.png";
  case NODE_TYPE_YEAR: // Year
    return "DefaultYear.png";
  case NODE_TYPE_DIRECTOR: // Director
    return "DefaultDirector.png";
  case NODE_TYPE_MOVIES_OVERVIEW: // Movies
    return "DefaultMovies.png";
  case NODE_TYPE_TVSHOWS_OVERVIEW: // TV Shows
    return "DefaultTvshows.png";
  case NODE_TYPE_RECENTLY_ADDED_MOVIES: // Recently Added Movies
    return "DefaultRecentlyAddedMovies.png";
  case NODE_TYPE_RECENTLY_ADDED_EPISODES: // Recently Added Episodes
    return "DefaultRecentlyAddedEpisodes.png";
  case NODE_TYPE_RECENTLY_ADDED_MUSICVIDEOS: // Recently Added Episodes
    return "DefaultRecentlyAddedMusicVideos.png";
  case NODE_TYPE_STUDIO: // Studios
    return "DefaultStudios.png";
  case NODE_TYPE_MUSICVIDEOS_OVERVIEW: // Music Videos
    return "DefaultMusicVideos.png";

You cannot currently alter the "root view" of the video library without a lot of hackery (essentially you'd "clone" the video window and make a view that looks the same without actually having the full functionality).

In the future, the aim is to have the video library hierachy completely user-specified.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
ChoccyHobNob Offline
Senior Member
Posts: 126
Joined: Apr 2008
Reputation: 0
Post: #5
ooh! that should be in the Wiki! I wish I'd known you could do that!!

I'm a lurker, not a fighter!
find quote
ChoccyHobNob Offline
Senior Member
Posts: 126
Joined: Apr 2008
Reputation: 0
Post: #6
OK I don't know what I'm doing wrong, I created an icon for each of the filenames listed above and added them to the xpr but not all of them show up

[Image: libfolders.jpg]

These don't show up
"DefaultMovieTitle.png"
"DefaultMovies.png"
"DefaultTvshows.png"
"DefaultRecentlyAddedMovies.png"
"DefaultRecentlyAddedEpisodes.png"

These show up ok
"DefaultTvshowTitle.png"
"DefaultActor.png"
"DefaultGenre.png"
"DefaultYear.png"
"DefaultDirector.png"
"DefaultStudios.png"

These I didn't test
"DefaultRecentlyAddedMusicVideos.png"
"DefaultMusicVideoTitle.png"
"DefaultMusicVideos.png"

Any idea what I might be doing wrong? It seems odd that it works for some of them Confused

I'm a lurker, not a fighter!
find quote
sho Offline
Team-XBMC Member
Posts: 4,128
Joined: May 2004
Reputation: 3
Post: #7
This is consistent with my findings from a while back, there definitely is a bug there.
I think that is the main reason I didn't put anything in the wiki at the time. (probably was avaiting feedback from a dev).
Hopefully a dev picks it up and fixes it soon.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,230
Joined: Oct 2003
Reputation: 177
Post: #8
Fixed in SVN.

Note that only the ones in the root view didn't display.

Cheers,
Jonathan

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
sho Offline
Team-XBMC Member
Posts: 4,128
Joined: May 2004
Reputation: 3
Post: #9
Thanks, but I can confirm that "DefaultMovieTitle.png" did not show if it accounts for anything.

Now ChoccyHobNob, where would you suggest we put this in the Wiki?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2008-06-30 12:31 by sho.)
find quote
sho Offline
Team-XBMC Member
Posts: 4,128
Joined: May 2004
Reputation: 3
Post: #10
My bad, JM is correct. DefaultMovieTitle.png works just fine.
It is a little strange though that when flattened the node icons fall back to the title icons, but the name sticks.
IMHO the icon should stick if possible at all (must be possible as well as the name change).

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,230
Joined: Oct 2003
Reputation: 177
Post: #11
The icon now sticks - not as elegant as I would have liked, but it works.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
rwparris2 Offline
Team-XBMC Python Developer
Posts: 1,333
Joined: Jan 2008
Reputation: 2
Location: US
Post: #12
Neat... I was wondering how to do this too... Thanks guys!

As for the wiki, maybe there could be a specific 'Modding Skins' section comprised of this and how to edit the home page items (e.g. changing 'Programs' to 'Plugins' in PMIII) as a lot of people ( I think) would like to know how to do that.

Just a thought.
find quote
homesnake Offline
Junior Member
Posts: 15
Joined: Nov 2008
Reputation: 0
Post: #13
Those are great looking folder Icons, did you make them yourself?
find quote
stogiesam88 Offline
Junior Member
Posts: 20
Joined: Feb 2008
Reputation: 0
Post: #14
Does this also work for PMIII? I am having trouble with this. I created 2 png's, one "DefaultTvshows.PNG" and another, "DefaultMovies.PNG". I then placed these into the media folder. But the icons do not show up in the library view for the "Movies" and "TV Shows" folders. I have googled and scrounged the forums, but just can't find it. What am I doing wrong? Any help is appreciated.
find quote
sho Offline
Team-XBMC Member
Posts: 4,128
Joined: May 2004
Reputation: 3
Post: #15
Better late than never I guess, all I can think of is the capitalization of the PNG suffix, try png.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Post Reply