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 Online
Team-XBMC Developer
Posts: 24,569
Joined: Oct 2003
Reputation: 138
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,133
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 Online
Team-XBMC Developer
Posts: 24,569
Joined: Oct 2003
Reputation: 138
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,133
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,133
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
Post Reply