Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Element explanations?

  1. #1
    Join Date
    Mar 2012
    Location
    BC, Canada
    Posts
    84

    Element explanations?

    I'm just trying to modify the default skin a bit - bigger fonts mostly. I'm playing with the videos list and I've got the bigger fonts and wider listview but I can't seem to figure out how to shrink the cover art viewing area, mostly because I don't know which part of the XML file describes it.

    Is there a faq somewhere that says what the different elements are for? I figured out the three folder/item views for the most part but the rest is evading me.

    Thanks!

  2. #2
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    76,313
    Sorry, there is no documentation that describes each of the elements. Most of it's pretty straight forward though.

    Which cover art are you talking about exactly though? There is a few different places in the app that show it. If you post a screen shot of the cover art you want to change, I'll point you in the right direction.

  3. #3
    Join Date
    Mar 2012
    Location
    BC, Canada
    Posts
    84
    Basically I want to shrink the black preview area to leave more room for the listview entries. I find changing "default" to 20 point makes the list visible from across the room (old folks here 8). At 20 point the text descriptions aren't showing enough so I widened the listview but that overlaps the black preview area. The attachment doesn't have the listview widened, just the larger font set in global.

    Eventually I want to make the listview items taller and wider for readability.

    Normally I just look at existing code and google to figure things out but I'm having a hard time getting started with this.
    Attached Images Attached Images  

  4. #4
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    76,313
    These changes would be in C:\Users\Public\NPVR\Skin\Default\Videos\videos.xm l

    To reduced the size of the box used for displaying metadata and cover art you'd want move the ListSelectionMetaData element further right, and decrease it's width by changing these highlighted values:

    <Element name="ListSelectionMetaData" location="38,15.45" size="61.8,69.1" ....

    To make the list elements wider, you'd want to increase these values:

    <Element name="ListItemNormal" location="0.77,15.45" size="35.89,4.64"
    <Element name="ListItemSelected" location="0.77,15.45" size="35.89,4.64"

    If you wanted to increase the height of each row, you'd need to also increase the 4.64 to something bigger. To do this though, you'd also need to decrease the number of visible rows:

    <Element name="ListView" location="0,12.36" size="100,75.28" alpha="255" alphaFade="true" visibleRows="14">
    Backup whatever changes you make though, because they'll be overwritten next time you upgrade the software.

  5. #5
    Join Date
    Mar 2012
    Location
    BC, Canada
    Posts
    84
    AHA! I was ignoring the metadata lines because I thought that would only have to do with showing the cover image.

    Thanks for the tips! I've got it nice and readable now.

  6. #6
    Join Date
    Feb 2008
    Location
    Scotland, UK
    Posts
    2,126
    What rule does the NPVR installer follow regarding things like modified skin files? Always overwrite? Meaning make sure you have backups of anything locally modified before updating?

    Iain
    NextPVR Plugins: AudioAdjust | AutoRefresh | MediaInfo | MovieTrailers | ReClockOrNot | SubMenu

  7. #7
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    76,313
    Yes, it should overwrite any modified files, so as mentioned above - you'd need to backup these types of changes. The only files that get special treatment are config.xml and npvr.db3.

  8. #8
    Join Date
    Mar 2006
    Location
    Carterton, NZ
    Posts
    2,749
    PatM: it may pay to have a look at this visibility enhanced skin (link below) that I dev'ed a while back even if it's only as a comparison for modifying your own skin

    http://www.gbpvr.com/nwiki/pmwiki.ph...in.BlueRetroVE

  9. #9
    Join Date
    Mar 2012
    Location
    BC, Canada
    Posts
    84
    I grabbed that one already Jaggy. Going to look at it for the TV guide as I can't see how to change the actual TV Show font and reduce the number of hours shown. I would have had at it already but the power was out for several hours - big windstorm here.

  10. #10
    Join Date
    Feb 2008
    Location
    Scotland, UK
    Posts
    2,126
    You can reduce the number of hours shown - up to a point anyway - by using the Settings dialog within NPVR itself.

    Iain
    NextPVR Plugins: AudioAdjust | AutoRefresh | MediaInfo | MovieTrailers | ReClockOrNot | SubMenu

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •