NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) Community Skin v
1 2 3 4 5 … 10 Next »
TV Guide layout, display 2 lines of Title & Subtitle

 
  • 0 Vote(s) - 0 Average
TV Guide layout, display 2 lines of Title & Subtitle
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#1
2010-04-25, 06:59 AM (This post was last modified: 2010-04-25, 07:07 AM by johnsonx42.)
I finally got around to fixing something that has been bugging me for awhile. In the SelectedShowDetails box in the TV Guide, it only allocates one line for the Title and Subtitle (ie, the @showTitleSubtitle text element). Many shows far exceed this allowance, which was particularly annoying with shows were the Title filled the whole line, but what I really needed to see was the Episode title (ie, the Subtitle). I first toyed around with displaying the Title on the first line and the Subtitle on a second line, using the @showTitle and @showSubtitle elements sub added at my request awhile back, but then found some shows where the Title alone overran the allotted space, yet had no subtitle. I ended up keeping the Title & Subtitle together, and simply expanding the allotted space. I also decided I liked the show time in the smaller GeneralTextStyle instead of the Header style, which also allowed a little more room for the TitleSubtitle box.

Here's the code for for your consideration, changes in red. That's for the SD TV Guide skin.xml. I don't have a good way to mess with the WS skin, but the adjustments should be similar.

Code:
<CompositeImage name="SelectedShowDetails" size="96,22">
      <DrawCommonImage name="TextBackground" />
      <!-- icon and name -->
      <DrawText text="@showTitleSubtitle" loc="2,2" size="[color=red]75[/color],[color=red]43[/color]" textStyle="GeneralTextHeaderStyle" align="Left" />
      <DrawText text="@duration" loc="53,[color=red]4[/color]" size="45,25" textStyle="[color=red]GeneralTextStyle[/color]" align="Right" />
      <DrawText text="@showDescription" loc="2,[color=red]45[/color]" size="96,70" textStyle="GeneralTextStyle" align="Left" />
    </CompositeImage>

edit: I guess I should have changed the vertical size of the @showDescription element; starting at 2,45 and sized at 96,70 means it will run off the bottom of the box. It probably doesn't matter, PVRX2 won't complain, but I guess it should be 50 or maybe 53.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#2
2010-04-25, 07:33 PM (This post was last modified: 2010-04-25, 08:24 PM by Fatman_do.)
The WS version is a little more forgiving since there is more screen length to help fit the two together. If I remember, I'll roll the change into the installer (sigh, I have alot of these little things i need to get off my duff and publish).

Oh, and the SD and WS version share the same code, so I changed it and will be set for the next release.....
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Overlay guide font size fuzzweed 2 5,808 2010-01-11, 06:30 PM
Last Post: fuzzweed
  Menu Sub Folder Display steeb 10 10,174 2010-01-04, 09:19 PM
Last Post: Jaggy
  [DEV] TV Guide Rows change johnsonx42 7 3,913 2009-06-05, 01:04 PM
Last Post: Fatman_do
  CS4 TV Guide font size RattyDAVE 28 13,143 2009-05-29, 12:27 PM
Last Post: Hairy
  partial extra line on 8-channel guide johnsonx42 2 2,392 2009-05-03, 11:17 PM
Last Post: johnsonx42
  [DEV] Resources: Layout folder Hairy 15 5,732 2009-03-01, 10:48 AM
Last Post: Hairy
  More lines in TVGuide mmatheny 4 2,338 2008-12-11, 03:41 PM
Last Post: mmatheny
  Text color in TV Guide? 4zm4r3d02 5 2,970 2008-12-03, 04:14 PM
Last Post: Hairy
  Tweaked the layout of the 3 default plugins: opinions please Hairy 15 5,158 2008-12-01, 11:41 PM
Last Post: Fatman_do
  alternative tv guide view - no channel icon or numbers Etacovda 7 4,060 2008-09-07, 01:02 AM
Last Post: ilovejedd

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

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

Linear Mode
Threaded Mode