Thread Rating:
  • 0 Vote(s) - 0 Average
Simple modification - advice wanted please
#1
Hi,

I'm trying to modify the default (shipped with Camelot) version of Confluence to change the TV Episode listings (in MediaInfo 2 mode) from showing the rating on the right of each ep's listing to showing the duration. Rating, I'm not bothered about; duration is sometimes useful to know.

I've figured out I need to change ListItem.Rating to ListItem.Duration somewhere, but I'm having real trouble pinning down just where and in which file I need to make the change.

Any pointers would be much appreciated. Thanks!
Reply
#2
truant Wrote:Hi,

I'm trying to modify the default (shipped with Camelot) version of Confluence to change the TV Episode listings (in MediaInfo 2 mode) from showing the rating on the right of each ep's listing to showing the duration. Rating, I'm not bothered about; duration is sometimes useful to know.

I've figured out I need to change ListItem.Rating to ListItem.Duration somewhere, but I'm having real trouble pinning down just where and in which file I need to make the change.

Any pointers would be much appreciated. Thanks!
Hi, just an advice... When you know (more or less) what you are searching for : Download and install Notepad++ (GPL software) and open all your /720p/*.xml files simultaneously. Then do a search on all opened documents

Regards,
Reply
#3
I've done quite a lot of grepping (linux command line file searching tool) of xml files in the 720p directory already.

Can't seem to find the bits that look right. Every time ListItem.Rating is used it's either referencing a texture, or it's got the word "Rating" in front of it. Neither makes much sense for being the bit I want to change.

I think I'm going to back up some files and just start changing stuff, see what happens.

Thanks for getting back to me though - you give a good bit of advice, and Notepad++ is a great bit of Windows software.
Reply
#4
It doesn't use ListItem.Rating Confluence uses ListItem.Label2 in all its media lists and lets XBMC decide what to put there
The bit you looking for will be in ViewsVideoLibrary.xml around
Code:
<include name="MediaListView3">
And you going to need to duplicate the control with label2 and add some visible conditions for Container.Content(Episodes)
Reply
#5
Thanks Jezz, that's exactly the kind of pointer I needed to get started.

Much appreciated.
Reply



Simple modification - advice wanted please00