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
« Previous 1 2 3 4 5 … 10 Next »
[DEV] available text elements

 
  • 0 Vote(s) - 0 Average
[DEV] available text elements
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#1
2009-06-04, 07:27 PM
Is there a list somewhere of the available text elements? Maybe elements isn't the word I want... like this (from the tv guide skin):

Code:
<DrawText text="[color=Red]@showTitleSubtitle[/color]" loc="2,2" size="60,25" textStyle="GeneralTextHeaderStyle" align="Left" />

The bit in red... that text element includes the Title and the Subtitle of the show. What I'm looking for is the title alone and the subtitle alone. I tried the obvious such as @showTitle and @showSubtitle to no avail.

So, a) is what I want available, and b) more generally is there a list somewhere of those various @ elements?
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
2009-06-04, 10:43 PM
Many times there are no variations, the plugins are written to display that variable, which is something the plugin author provides. Only sub would know if there are other variable accessible in the tvguide. There is no list of other variables, since those can vary depending on plugin author. Usually the 'blue" skin xml's from various authors list optional variables, and that is what I go off of.
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]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#3
2009-06-05, 12:22 AM
For that particular graphic, @showTitleSubtitle, @showDescription and @duration were the only parameters available.

Just now I've added @showTitle and @showSubtitle for the next build.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#4
2009-06-05, 02:44 AM
wow, very nice. thanks sub!
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
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#5
2009-06-10, 10:10 PM
sub Wrote:For that particular graphic, @showTitleSubtitle, @showDescription and @duration were the only parameters available.

Just now I've added @showTitle and @showSubtitle for the next build.

Sub,

Any chance of adding @subtitle & @Description as well as the default @subtitleDescription to the ShowDetailsPopup.xml? I would like to be able to display the subtitle in a contrasting colour to the description.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#6
2009-06-11, 01:07 AM
Jaggy Wrote:Sub,

Any chance of adding @subtitle & @Description as well as the default @subtitleDescription to the ShowDetailsPopup.xml? I would like to be able to display the subtitle in a contrasting colour to the description.
I just checked, and this popup already supports these. Names on this popup's composite image are:

@channelName
@channelNumber
@channelIcon@title
@airingTime
@subtitle
@description
@rating
@genreRating
@genre
@subtitleDescription
@subtitleDescriptionGenreRating
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#7
2009-06-11, 02:29 AM
Thanks sub, I didn't realise it supported all those formats in that popup & I must have never tried it out & just assumed it wouldn't work...you live & learn all the time :o
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#8
2009-06-11, 10:31 PM
sub,

I got some time to have a play with the ShowDetailsPopup while I was waiting for the Boss to do whatever it is women do when they are getting ready to go out, I tested all the formats you listed & found out that most work fine apart from :

"@channelNumber" stops the popup displaying at all & pressing "OK" again on the remote starts the recording playing
"@subtitle" returns "title" not "subtitle"

I can't test "@rating" as none of my recordings have ratings.

I also realised I have been relying on the commented out bits you have included in your blue skin to know what formats are available as apart from those I haven't seen anywhere/way we can find out, so maybe you would like to include

<!-- variables that can used include: channelName, channelNumber, channelIcon, title, airingTime, subtitle, description,
rating, genreRating, genre, subtitleDescription, subtitleDescriptionGenreRating -->

in the ShowDetailsPopup for your blue skin?

I am now wondering what other formats I don't know about that are available in other parts of the skin files :confused:
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  CS 405 text clipping in main menu newyankee 29 18,318 2009-12-29, 07:11 PM
Last Post: Fatman_do
  tiny text bug fuzzweed 1 2,119 2009-05-11, 12:52 AM
Last Post: Fatman_do
  text in picture library gbpvriwanna 4 2,826 2009-04-26, 10:04 PM
Last Post: Fatman_do
  Truncated button text bgowland 6 3,484 2009-04-10, 12:28 PM
Last Post: Hairy
  Text wrapping In Video/Music Library CS4 Pre release Bobins 3 2,344 2009-03-27, 11:01 PM
Last Post: Bobins
  [DEV] Plugin: Text Options Hairy 22 7,141 2009-03-06, 04:42 PM
Last Post: Fatman_do
  Text color in TV Guide? 4zm4r3d02 5 2,982 2008-12-03, 04:14 PM
Last Post: Hairy
  Hi-res Icons and text PLEASE! rdvon 6 2,374 2008-11-21, 12:12 PM
Last Post: SFX Group

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

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

Linear Mode
Threaded Mode