MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2006-11-11, 16:06   #1 (permalink)
Portal Member
 
Join Date: Sep 2005
Posts: 555
Thanks: 0
Thanked 1 Time in 1 Post


Default ExternalDisplay.xml

The lcd-plugin thread is getting really long. Id lik to start a thread on how people are using Joe Daltons plugin for best results.

First I am trying to understand the xml tags used:
<Message Status="blabla">
This is the "event" that triggers a given display.
possible:
"Idle"
"Action" -> <Window>
"PlayingMusic"
"PlayingRadio"
"PlayingTV"
"PlayingRecording"
"Timeshifting"
"PlayingDVD"
"PlayingVideo"

By putting code inside the Message tags, you are connecting functionality to the givencondition:
<Message Status="blabla">
</Message>

Then you simply specify the wanted functionality one line at a time:
<Line Alignment="Centered">
<Text Value="Hello World!" />
</Line>
The alignement can be Centered, Left or Right

<Property Value="#TV.View.channel" />
<Parse Value=": #TV.View.title">
<NotNull Value="#TV.View.title" />
</Parse>
<Text Value=": #736">
<IsNull Value="#TV.View.title" />
</Text>

<Window>1</Window> ?

#currentmodule
#time

#TV.View.channel
#TV.View.title
#736

#TV.View.start;
#TV.View.stop
subtract: "-&gt;"
TV Programs on ##TV.Guide.Day

#highlightedbutton
#selecteditem

#Play.Current.Title
#Play.Current.Artist
#Play.Current.Album
#currentplaytime
#duration
(#112) ?
#paused

Text progressbar:
http://forum.team-mediaportal.com/sh...sBar#post71232

example: [#####------]
Code:
  <Line Alignment="Left">
     <TextProgressBar StartChar="[" EndChar="]" ValueChar="#" FillChar="-" Length="16">
        <ValueProperty Value="#currentplaytime" />
        <TargetProperty Value="#duration" />
      </TextProgressBar>
      <Text Value=" (#112)">
        <NotNull Value="#paused" />
      </Text>
PerformanceCounter:
http://forum.team-mediaportal.com/sh...nter#post54487
Code:
      <Parse Value="#time " />
      <PerformanceCounter CategoryName="Processor" CounterName="% Processor Time" InstanceName="_Total" Format="##0"/>
      <Text Value="% CPU"/>

Swap characters (usefull if your lcd does not support all your accented chars:
Code:
  <TranslateFrom>
    <string>©</string>
  </TranslateFrom>
  <TranslateTo>
    <string>(c)</string>
  </TranslateTo>
Define custom characters is even better if your display supports it:
LCD plugin supporting more than 70 display types (now with full graphics support!!!)
Code:
<CustomCharacters>
<CustomCharacter>
<int>0</int>
<int>4</int>
<int>0</int>
<int>14</int>
<int>1</int>
<int>15</int>
<int>17</int>
<int>15</int>
</CustomCharacter>
</CustomCharacters>

<TranslateFrom>
<string>å</string>
</TranslateFrom>
<TranslateTo>
<string>&#x0</string>
</TranslateTo>
knutinh is offline   Reply With Quote
Old 2006-11-20, 12:24   #2 (permalink)
Portal Member
 
Join Date: Sep 2005
Posts: 555
Thanks: 0
Thanked 1 Time in 1 Post


Default

So, I tried to use #currentplaytime and #duration for MyTV program progressbar, but it did not work, at least not when recording was off. Anyone know what variables to use? Something in EPG?

-k
knutinh is offline   Reply With Quote
Old 2007-01-31, 07:58   #3 (permalink)
Portal Member
 
Join Date: May 2006
Location: Fulda
Age: 33
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Send a message via ICQ to Dirk23
Default

I have a Alphacool 240x128 USB GLCD and i would love to have a Progressbar wich is grafic and not Text. Does someone know how to do this?
Dirk23 is offline   Reply With Quote
Old 2007-02-01, 21:16   #4 (permalink)
Portal Member
 
Join Date: Oct 2006
Posts: 105
Thanks: 2
Thanked 3 Times in 3 Posts

Country:


Default

Me too :-)
stanik is offline   Reply With Quote
Old 2007-02-01, 21:39   #5 (permalink)
Portal Member
 
Join Date: May 2006
Location: Fulda
Age: 33
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Send a message via ICQ to Dirk23
Default

Well i changed the line 63 in the externaldisplay.xml. I removed the "#" and "-" for the progressbar and replaced them with "■" and "□". Now i think its a bit nicer.

Here ist the whole line:

<TextProgressBar StartChar="[" EndChar="]" ValueChar="■" FillChar="□" Length="18">


But i still would love to have something with grafic like on a d-boxII

Regards

Dirk
Dirk23 is offline   Reply With Quote
Old 2007-02-02, 17:44   #6 (permalink)
Portal User
 
Tomcat.GER's Avatar
 
Join Date: Jan 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Where can I find the characters you use. With Copy-and-Paste I will only get a great nothing.
__________________
Noob at work
Tomcat.GER is offline   Reply With Quote
Old 2007-02-02, 19:24   #7 (permalink)
Portal Member
 
Join Date: May 2006
Location: Fulda
Age: 33
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Send a message via ICQ to Dirk23
Default

I guess your german? I hope so, because i'm not able to explain correct in english:

Start->Ausführen->charmap.exe

Das öffnet die Zeichentabelle. Dort unter der Schriftart "Arial" gibts die Kästchen. Die kann man dort auswählen und kopieren. Bei mir funzt das einwandfrei, da Arial überall installiert ist.

Sorry, but if anyone can translate that to english...... that would be very nice



Regards

Dirk
Dirk23 is offline   Reply With Quote
Old 2007-02-02, 23:58   #8 (permalink)
Portal Member
 
Join Date: Dec 2006
Age: 26
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

i would mostly just like to know if there is a way to add the tv logo of the current tv channel that im watching to be shown on the LCD ...
darksoul666 is offline   Reply With Quote
Old 2007-02-03, 00:01   #9 (permalink)
Portal Member
 
CHli's Avatar
 
Join Date: Jul 2005
Location: Switzerland
Age: 27
Posts: 1,017
Thanks: 9
Thanked 3 Times in 3 Posts

My System

Default

Quote:
Originally Posted by Dirk23 View Post
Well i changed the line 63 in the externaldisplay.xml. I removed the "#" and "-" for the progressbar and replaced them with "■" and "□". Now i think its a bit nicer.

Here ist the whole line:

<TextProgressBar StartChar="[" EndChar="]" ValueChar="■" FillChar="□" Length="18">


But i still would love to have something with grafic like on a d-boxII

Regards

Dirk
Hehe I did use the same chars Because they are the same width
CHli is offline   Reply With Quote
This User Say Thank You:
Old 2007-02-03, 00:02   #10 (permalink)
Portal Member
 
CHli's Avatar
 
Join Date: Jul 2005
Location: Switzerland
Age: 27
Posts: 1,017
Thanks: 9
Thanked 3 Times in 3 Posts

My System

Default

Quote:
Originally Posted by darksoul666 View Post
i would mostly just like to know if there is a way to add the tv logo of the current tv channel that im watching to be shown on the LCD ...
Yes it is possible but I didn't try it ! You'll have to search in the LCD Plugin thread.
CHli is offline   Reply With Quote
Reply

Bookmarks

Tags
externaldisplayxml

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 08:33.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden