ExternalDisplay.xml (1 Viewer)

knutinh

Portal Pro
September 4, 2005
558
2
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:
https://forum.team-mediaportal.com/showthread.php?p=71232&highlight=TextProgressBar#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:
https://forum.team-mediaportal.com/showthread.php?p=54487&highlight=performancecounter#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:
https://forum.team-mediaportal.com/showthread.php?t=1709&page=69
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

Portal Pro
September 4, 2005
558
2
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
 

Dirk23

Portal Pro
May 28, 2006
86
0
Fulda
Home Country
Germany Germany
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

Portal Pro
May 28, 2006
86
0
Fulda
Home Country
Germany Germany
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

Portal Pro
May 28, 2006
86
0
Fulda
Home Country
Germany Germany
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
 

darksoul666

Portal Member
December 29, 2006
22
0
42
Home Country
Sweden Sweden
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 ...
 

CHli

Portal Pro
July 5, 2005
1,251
14
Switzerland
Home Country
Switzerland Switzerland
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 ;)
 

Users who are viewing this thread

Top Bottom