Just to add if you use an external scraper like ember you can choose to leave fields out when scraping like rating etc then if you change skin you don't need to edit the xml's again
BTW the skinning wiki is pretty good way to start understanding how skins are put together
>>X<<
Alaska Group Joined: Jun 2009 Location: On a farm trying to catch a fox |
2010-09-16 18:39
Post: #11
|
| find quote |
Knolly
Junior Member Posts: 8 Joined: Mar 2010 Reputation: 0 |
2011-01-31 16:25
Post: #12
Just out of curiosity, since the ratings are something that bug me too, is there a way to enable displaying years ONLY in movies but not in TV shows, or vice versa?
I really like the look of the years in Movies but then in TV Shows it looks a bit silly next to every episode. |
| find quote |
nmat
Senior Member Posts: 133 Joined: Jan 2011 Reputation: 0 Location: Lisbon, Portugal |
2011-03-01 20:29
Post: #13
I would like to replace the rating with the year on the Apple TV 2, but this method doesn't seem to work... I am replacing Label2 by Year on the file /Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/skin.confluence/720p/ViewsVideoLibrary.xml on lines 807 and 866.
|
| find quote |
nmat
Senior Member Posts: 133 Joined: Jan 2011 Reputation: 0 Location: Lisbon, Portugal |
2011-03-14 21:42
Post: #14
I resolved this issue and I'm going to post what I found out. Most of you already know this (and some of the info is on the wiki), but I'll leave it here for someone that doesn't know anything about xbmc and just wants to hide the ratings.
First of all, this is not a very elegant solution. If you use an external program to control the details of your media (ex: ember), you can easily achieve this by removing the ratings from the .nfo. If you want to keep the info but hide the ratings on the right side, then some hacking is required. The ViewsVideoLibrary.xml and ViewsFileMode.xml control details about your library views. The first file is related to all views that include plot descriptions and other details (such as Mediainfo). The other file is related to simpler views (such as list). The item that shows the rating is Label2 so you're looking for something like: [HTML] <control type="label"> .... <label>$INFO[ListItem.Label2]</label>. </control> [/HTML] In my case, I use the Media Info view, so I must edit the ViewsVideoLibrary.xml and search for the beggining of the block that identifies this view which is around line 1323: [HTML]<include name="MediaListView2">[/HTML] Inside this block there are two places where Label2 is referred. These correspond to highlighted/not highlighted items and are around lines 1370 and 1431. I want to hide them both so I add: [HTML] <control type="label"> .... <visible>no</visible> <label>$INFO[ListItem.Label2]</label>. </control>[/HTML] If you use other view you must make these changes inside its block. To change it to the year, just replace Label2 with year. You may also want to add a fall back to "Not available": [HTML]<label fallback="416">$INFO[listitem.Year]</label>[/HTML] For more info about skins, check the wiki
(This post was last modified: 2011-03-14 21:51 by nmat.)
|
| find quote |
markjones99
Junior Member Posts: 30 Joined: Oct 2011 Reputation: 0 |
2011-10-20 23:04
Post: #15
Hi - I tried to do this but the file is a system file and read only?
Any help you can offer pls? |
| find quote |
mad-max
Posting Freak Joined: Jul 2010 Reputation: 52 Location: Germany |
2011-10-21 00:32
Post: #16
What os? It Linux you might gedit with sudo in order to be root...if Windows7 then save to desktop and copy with file explorer...
|
| find quote |
markjones99
Junior Member Posts: 30 Joined: Oct 2011 Reputation: 0 |
2011-10-21 09:45
Post: #17
OpenElec so Linux.
|
| find quote |
mad-max
Posting Freak Joined: Jul 2010 Reputation: 52 Location: Germany |
2011-10-21 11:04
Post: #18
markjones99 Wrote:OpenElec so Linux. Ok then you have to be root...try sudo |
| find quote |
markjones99
Junior Member Posts: 30 Joined: Oct 2011 Reputation: 0 |
2011-10-22 17:27
Post: #19
Guys i've having some trouble with this - i really want to get rid of the TVDB ratings within library view - is there a step by step somewhere?
Thanks. |
| find quote |
vendril
Junior Member Posts: 22 Joined: Oct 2009 Reputation: 0 |
2011-11-04 05:09
Post: #20
markjones99 Wrote:Guys i've having some trouble with this - i really want to get rid of the TVDB ratings within library view - is there a step by step somewhere? Here is how I did it. Depending on which skin you are using it might be a different pathname but you want to find the ViewsFileMode.xml which has the info on the skin. For Confluence skin "Label2" is the placeholder for IMDB ratings info. I'm running that latest xbmc nightly on win7 x64. ViewsFileMode.xml for me is in the C:\Program Files (x86)\XBMC\addons\skin.confluence\720p folder. I opened it up with my handy text editor (I think http://www.sublimetext.com/ is :cool2 ![]() Do a simple Find and Replace. Find "Label2", Replace with "Year". Save the file. Open XBMC and have a look! If you want to remove them completely just Replace it with an space and nothing will show up. There are (as of writing this only 10 instances of Label2 so I find it an easy fix) Enjoy. |
| find quote |

![[Image: obi3o55x.jpg]](http://s14.directupload.net/images/120514/obi3o55x.jpg)
![[Image: 7c8w3bu8.png]](http://mad-max.bplaced.net/guest_upload/7c8w3bu8.png)
Search
Help