NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 13 14 15 16 17 … 93 Next »
Skins. Grrr. Argh.

 
  • 0 Vote(s) - 0 Average
Skins. Grrr. Argh.
Northpole
Offline

Senior Member

Posts: 333
Threads: 34
Joined: Aug 2007
#11
2011-08-09, 06:09 PM
This also works but it doesn't have that cool sliding action between video files.

Code:
<VideosPlus type="Icon" name="Movie Details View"/>

  <Element name="IconView" location="0,0" size="1,1" alpha="255" rows="1" columns="1"/>

  <Element name="IconItem" location="0,0" size="100,100" alpha="255" alphaFade="true">

    <Image source="@previewImage" location="0,0" size="38.3,100" fixedAspectRatio="true" />
        <Rect location="38.3,0" size="61.7,100" fillColor="DimGray"/>

        <RoundedRect location="38.3,10" size="61.7,20" fillColor="Transparent" borderColor="White" radius="0.1" borderWidth="2px"/>
    <Text text="MetaData Here blah blah" location="38.3,10" size="61.7,20" font="DefaultSmall" wrap="true"/>

        <RoundedRect location="38.3,30" size="61.7,30" fillColor="Transparent" borderColor="White" radius="0.1" borderWidth="2px"/>
    <Text text="MetaData Here Again blah blah" location="38.3,30" size="61.7,30" font="DefaultSmall" wrap="true"/>

        <RoundedRect location="38.3,60" size="61.7,40" fillColor="Transparent" borderColor="White" radius="0.1" borderWidth="2px"/>
    <Text text="More MetaData Here blah blah" location="38.3,60" size="61.7,40" font="DefaultSmall" wrap="true"/>
  </Element>

  <Element name="IconSelectionMetaData" location="0,87.44" size="100,4.64" alpha="255" alphaFade="true">
    <Rect location="-2,0" size="104,100" fillColor="BaseColor2"/>
    <Text text="@name" location="0,0" size="100,100" font="Title1" align="Center" valign="Center"/>
    <Text text="File:" location="85.36,0" size="10,100" font="Title2Small" align="Left" valign="Center"/>
    <Text text="@positionInfo" location="0,0" size="95.36,100" font="Title3Minimum" align="Right" valign="Center"/>
  </Element>
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#12
2011-08-09, 07:07 PM
I'm glad at least one of us is having fun with these Big Grin

I wasn't sure at first if you could put metadata into the other elements (rather than just IconSelectionMetaData) but it all seems to get picked up ok (with an @name test). I haven't really been concentrating on this stuff yet (still flighting with mounting ISOs), but I'll try to get it reading more of the metadata so that we can see what it might actually look like.

Regarding the images, it shouldn't be too much of a problem to have the plugin scale, or stretch-to-fit them, or whatever.

One other thing; at the moment, the fanart element is defined globally rather than in each view, however there are some views where it doesn't really look so good (too messy). I'm not sure if I should therefore make it a per-view setting, a per-folder setting (eg, view and fanart on/off), or something else entirely?

Iain
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#13
2011-08-09, 07:11 PM
Here's some more nice examples of layout styles, all of which should be possible with the list types we have: http://code.google.com/p/moving-pictures/

Iain
Northpole
Offline

Senior Member

Posts: 333
Threads: 34
Joined: Aug 2007
#14
2011-08-09, 07:59 PM
imilne Wrote:Here's some more nice examples of layout styles, all of which should be possible with the list types we have: http://code.google.com/p/moving-pictures/

Iain

Thanks, I'm always looking for new ideas.
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#15
2011-08-15, 09:23 PM
I'll throw this question in here as it's another skin one...

If I want to define a new font, but use it in multiple places - for example my main screen, and in a popup - is there a way to do that without having to redefine the font in each xml file? NPVR itself seems to use Globals.xml for this sort of stuff, but is there a way to get a plugin to do something similar?

Iain
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,705
Threads: 767
Joined: Nov 2003
#16
2011-08-15, 09:34 PM
Unfortunately no, I dont think so.
smajor
Offline

Posting Freak

Posts: 840
Threads: 115
Joined: Feb 2006
#17
2011-08-15, 10:19 PM
Just gonna toss this out, and maybe you've already thought of it...

If the plugin is used for TV series, and one has metadata from a source like http://thetvdb.com/ the images for each episodes aren't "covers" but screen caps from the particular episode. There are two sizes there too, HD and Standard aspect ratios.

I hope to use this plugin someday so, thought I'd mention that. Smile
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#18
2011-08-16, 06:41 AM
sub Wrote:Unfortunately no, I dont think so.

Ok, not to worry.

I'll try to roll my own solution by merging anything found in a global.xml with the actual skin requested, and then dump it all into a single SkinHelper object.

Iain
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#19
2011-08-16, 06:57 AM
smajor Wrote:Just gonna toss this out, and maybe you've already thought of it...

If the plugin is used for TV series, and one has metadata from a source like http://thetvdb.com/ the images for each episodes aren't "covers" but screen caps from the particular episode. There are two sizes there too, HD and Standard aspect ratios.

I hope to use this plugin someday so, thought I'd mention that. Smile

I do plan to support TV, yes, but I've not looked into it in much detail yet, other than being aware that the landscape shaped banners seem to be used rather than portrait posters. I wasn't aware of the HD/SD screen caps though; I guess because the few shows I'd looked at were all recent and in HD. Time to break out my old boxsets of The A-Team and Knight Rider Big Grin

Each folder will be able to have a different view. So if you're using the normal list to browse through a bunch of stuff, and then you get to a folder full of TV shows, you can change its view to one more appropriate (eg, one designed to cope with banners and screen caps). When you go into a sub folder from there (that you've never visited before), it'll inherit the view of its parent (the TV view in this case) unless you override it again. Then as you go back up the levels you'll find yourself back at the original list view. I preferred this method to having to explicitly define - in advance - what each folder contained.

Designing the views is a nightmare though (for me). It took ages last night to do the following, and it's just a basic mirror of the default list with the elements shifted downwards a little. It's not that I don't know what I want, I just can't work out the positioning and coordinates in my head very well. Once the plugin is a bit more solid, I'll open it up to others to chip in if they'd like.

[ATTACH=CONFIG]31351[/ATTACH]

So many of the "description" elements are really long too, and I don't know how I'm going to deal with ones that extend off the screen vs the really short ones that barely use any space.

Iain
Northpole
Offline

Senior Member

Posts: 333
Threads: 34
Joined: Aug 2007
#20
2011-08-16, 03:09 PM
imilne Wrote:Time to break out my old boxsets of The A-Team and Knight Rider

Now thats some quality content!


BTW, just wondering where you're getting your fanart from?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): « Previous 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Skins - sizes of fonts and UI objects etc? bgowland 4 2,059 2011-08-12, 04:05 AM
Last Post: sub
  New to skins development dspdrew 1 1,334 2010-10-24, 11:22 AM
Last Post: sub
  Positioning of elements in skins (...and some other questions) ShiningDragon 13 4,315 2010-07-22, 06:42 PM
Last Post: ShiningDragon
  Plugins and skins mvallevand 6 2,397 2010-01-21, 02:09 AM
Last Post: mvallevand
  Trying to understand skins mkenyon2 1 1,339 2009-01-05, 10:03 PM
Last Post: psycik
  Transparency in skins Kevl 4 2,050 2007-10-30, 01:07 AM
Last Post: Kevl
  xrecord ME style skins? chrisw 20 6,138 2007-01-14, 04:33 PM
Last Post: _Dude_
  Common Images Plugins Skins & Community Skin Project MixMan 98 21,130 2006-08-24, 01:51 PM
Last Post: MixMan
  Date formatting in skins dinki 4 2,019 2006-03-29, 08:55 PM
Last Post: Jeff
  Drawimage in skins McBainUK 8 2,555 2005-10-12, 09:14 PM
Last Post: McBainUK

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode