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 Plugins
Popular Plugins
Moving Pictures
Skin Properties
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="CyberSimian" data-source="post: 1295236" data-attributes="member: 141969"><p>When I was writing my "Clarity" skin, I wanted a list of all available built-in skin variables, so I scanned the entire MP source looking for certain strings. Some points:</p><p></p><p>(1) I downloaded the MP source zip file from GitHub, but it includes only the main product plus those plugins that are included in the main distribution (so no "Moving Pictures").</p><p></p><p>(2) I used Windows "findstr.exe" to search the source folder tree and output the hits to a file. But the hits need further processing to extract the names of (possible) skin variables.</p><p></p><p>(3) The strings that I searched for were:</p><p style="margin-left: 20px"><strong>"#</strong></p> <p style="margin-left: 20px"><strong>GUIPropertyManager.SetProperty(</strong></p><p>This creates two different files with different selections of possible skin variables.</p><p></p><p>(4) Neither string provides a complete and correct list. The lists include some strings that are not skin variables, while the lists will be missing other strings that are skin variables. The resulting list of skin variables still needs some manual editing to remove strings that are obviously not skin variables.</p><p></p><p>(5) To be able to repeat this scan in the future, I wrote two batch scripts: one to perform the scan, and another to extract the names of the skin variables. Unfortunately, these scripts are written in the obscure Rexx scripting language, and you would need to install a Rexx interpreter in order to be able to run them. However there is a very good interpreter called "Open Object Rexx" that you can download from SourceForge.</p><p></p><p>Let me know if you want to experiment with my Rexx scripts.</p><p></p><p>-- from CyberSimian in the UK</p></blockquote><p></p>
[QUOTE="CyberSimian, post: 1295236, member: 141969"] When I was writing my "Clarity" skin, I wanted a list of all available built-in skin variables, so I scanned the entire MP source looking for certain strings. Some points: (1) I downloaded the MP source zip file from GitHub, but it includes only the main product plus those plugins that are included in the main distribution (so no "Moving Pictures"). (2) I used Windows "findstr.exe" to search the source folder tree and output the hits to a file. But the hits need further processing to extract the names of (possible) skin variables. (3) The strings that I searched for were: [INDENT][b]"#[/b][/INDENT] [INDENT][b]GUIPropertyManager.SetProperty([/b][/INDENT] This creates two different files with different selections of possible skin variables. (4) Neither string provides a complete and correct list. The lists include some strings that are not skin variables, while the lists will be missing other strings that are skin variables. The resulting list of skin variables still needs some manual editing to remove strings that are obviously not skin variables. (5) To be able to repeat this scan in the future, I wrote two batch scripts: one to perform the scan, and another to extract the names of the skin variables. Unfortunately, these scripts are written in the obscure Rexx scripting language, and you would need to install a Rexx interpreter in order to be able to run them. However there is a very good interpreter called "Open Object Rexx" that you can download from SourceForge. Let me know if you want to experiment with my Rexx scripts. -- from CyberSimian in the UK [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Skin Properties
Contact us
RSS
Top
Bottom