home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Skins
Need to load text from file, any ideas?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Pawwlik" data-source="post: 553053" data-attributes="member: 12885"><p>Hello guys, I've searched through the forums, found nothing. So I guess that's not possible. But maybe you find out something.</p><p></p><p>Question 1: like we can load any image file during execution MP into the image control (for example load a dvd thumbnail from image path, exported by MP to variable #selectedthumb, to the image control), I need to load a text string from a file (txt or xml or whatever) during execution of MP into a let's say label control. For example to load a video plot from a text file depending on selected video in myvideos and display it on the screen. </p><p></p><p>I tried to use an <import> tag in the myvideos xml to load xml file with label, but it seems, that it's not dynamic, it's probably loaded when starting MP, so using a construction like <import>#variable_pointing_to_current_file</import> does not work dynamically during execution, it is probably imported only once during MP start <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /> and will not work loading file depending on selected items in the list.</p><p></p><p>I hope I described my problem clearly <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>Question 2: is somewhere a list of MP exported varibles (like the mentioned #selectedthumb) with description, we can use in the skins?</p><p></p><p>Thanks P.</p></blockquote><p></p>
[QUOTE="Pawwlik, post: 553053, member: 12885"] Hello guys, I've searched through the forums, found nothing. So I guess that's not possible. But maybe you find out something. Question 1: like we can load any image file during execution MP into the image control (for example load a dvd thumbnail from image path, exported by MP to variable #selectedthumb, to the image control), I need to load a text string from a file (txt or xml or whatever) during execution of MP into a let's say label control. For example to load a video plot from a text file depending on selected video in myvideos and display it on the screen. I tried to use an <import> tag in the myvideos xml to load xml file with label, but it seems, that it's not dynamic, it's probably loaded when starting MP, so using a construction like <import>#variable_pointing_to_current_file</import> does not work dynamically during execution, it is probably imported only once during MP start :( and will not work loading file depending on selected items in the list. I hope I described my problem clearly :) Question 2: is somewhere a list of MP exported varibles (like the mentioned #selectedthumb) with description, we can use in the skins? Thanks P. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Need to load text from file, any ideas?
Contact us
RSS
Top
Bottom