PDA

View Full Version : Generic Folder Icons & Menu Editing of the xTV skin?


Equusz
2008-05-24, 22:49
Hiyas:

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

http://farm3.static.flickr.com/2070/2518593803_27d5b1e778.jpg

http://farm3.static.flickr.com/2342/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

Equusz
2008-05-26, 20:50
Hmmm...no answer, so I guess it's not possible. Although I thought I saw different icons on the demo...

maccabbi
2008-05-26, 23:00
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, 23:48
You can change the icons just by adding icons with the appropriate name to the skin's media folder. They are:


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, 11:13
ooh! that should be in the Wiki! I wish I'd known you could do that!!

ChoccyHobNob
2008-05-31, 00:53
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

http://idisk.mac.com/choccyhobnob-Public/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 ???

sho
2008-06-29, 19:08
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, 08:44
Fixed in SVN.

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

Cheers,
Jonathan

sho
2008-06-30, 13:25
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-07-01, 00:56
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, 01:31
The icon now sticks - not as elegant as I would have liked, but it works.

rwparris2
2008-07-01, 09:08
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, 07:20
Those are great looking folder Icons, did you make them yourself?

stogiesam88
2008-11-27, 11:09
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, 12:29
Better late than never I guess, all I can think of is the capitalization of the PNG suffix, try png.

Rand Al Thor
2009-03-02, 20:08
Is there any way to get icons for specific genres using a scheme similar to this? For example DefaultGenreAction.png or something like that? This question has been mulled around considerably in this thread (http://xbmc.org/forum/showthread.php?t=45361) and it would be nice to get to the bottom of it ;) Cheers.

asphinx
2009-03-03, 13:17
according to another thread (link (http://xbmc.org/forum/showthread.php?t=46177)) these are the only ones that you can modify link (http://xbmc.org/wiki/?title=Thumbnails#Custom_Icons_for_Library_Nodes) but thinking about wouldn't it be awesome if one could have a DefaultGenreFamily.png and then of course if you had nfo's with a genre called Family it would use that thumbnail. How does one sumbit a trac?

sho
2009-03-03, 13:30
Login using your forum credentials (case senstive) at
http://xbmc.org/trac/

Here is a little tut Blittan did for language patches:
http://xbmc.org/forum/showpost.php?p=284395&postcount=6

asphinx
2009-03-03, 14:06
http://xbmc.org/trac/ticket/6011

trac submitted, hopefully in an understandable way. (my first ticket) :)