Kodi Community Forum
Generic Folder Icons & Menu Editing of the xTV skin? - 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: AppTV (https://forum.kodi.tv/forumdisplay.php?fid=76)
+---- Thread: Generic Folder Icons & Menu Editing of the xTV skin? (/showthread.php?tid=33510)

Pages: 1 2


Generic Folder Icons & Menu Editing of the xTV skin? - Equusz - 2008-05-24

Hiyas:

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

Image

Image

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


- Equusz - 2008-05-26

Hmmm...no answer, so I guess it's not possible. Although I thought I saw different icons on the demo...


Yes you can - maccabbi - 2008-05-26

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


- jmarshall - 2008-05-26

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.


- ChoccyHobNob - 2008-05-27

ooh! that should be in the Wiki! I wish I'd known you could do that!!


- ChoccyHobNob - 2008-05-30

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

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 Huh


- sho - 2008-06-29

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.


- jmarshall - 2008-06-30

Fixed in SVN.

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

Cheers,
Jonathan


- sho - 2008-06-30

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?


- sho - 2008-06-30

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).


- jmarshall - 2008-07-01

The icon now sticks - not as elegant as I would have liked, but it works.


- rwparris2 - 2008-07-01

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.


- homesnake - 2008-11-10

Those are great looking folder Icons, did you make them yourself?


- stogiesam88 - 2008-11-27

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.


- sho - 2009-02-10

Better late than never I guess, all I can think of is the capitalization of the PNG suffix, try png.