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
Drive Free Space Plugin
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="Larzon" data-source="post: 653122" data-attributes="member: 101335"><p>If you look in wiki and forums you can get a lot of advice editing skins. This is just to get you started.</p><p></p><p>A. It is recommended you get an xml editor. Although you can use a simple text editor like Notepad, this is ill-advised unless you are very familiar with the code. I like <strong>Notepad++</strong> which is a simple code editor (and free <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></p><p>B. You will also find this plugin indispensable for skin editing. MyRefresh: <a href="https://www.team-mediaportal.com/files/Download/Plugins/Utilities/MyRefreshforBuild13639andhigher/" target="_blank">MEDIAPORTAL - free media center - My Refresh for Build 13639 & higher</a></p><p></p><p>MyRefresh allows you to reload xml files while MediaPortal is still running. You just press F5. Say you have MediaPortal open to the Home screen, and at the same time you have the xml file for the Home screen open in an editor. Let's say you are fine-tuning the horizontal position of an item on the Home screen. Here are the basic steps:</p><p></p><p>1. In the xml editor, type in a new value for the X position of the item.</p><p>2. Save the xml file to commit changes to disk (very important). You do <em>not</em> have to close the file.</p><p>3. Use Alt+Tab to switch focus to MedaiPortal.*</p><p>4. Press F5. You will see the result immediately.</p><p>5. If the position of the item isn't to your liking, press Alt+Tab to switch to xml editor and go to step 1.</p><p></p><p>* To allow Alt+Tab switching: In MePo Config make sure to uncheck "Keep MediaPortal always on top."</p><p></p><p></p><p>C. After you get those basic tools for skin editing, be sure to enable and configure the DriveFreeSpace plugin in MePo Config before you proceed.</p><p></p><p></p><p>D. In the folder for the skin you should see a file such as <strong>myhome.xml</strong> which defines the Home screen. (Sorry I don't have black glass skin -- hope the filename is the same.) <em>Make a backup of this file before you open it for editing.</em></p><p><em></em></p><p>When you open the xml file with the editor, look at the section called <strong>Controls</strong>. Examine some of the individual Control items to get a basic feel for how things are structured.</p><p></p><p></p><p>E. See post #1 for Control examples, and <strong>see the documentation included with the download</strong>. Here is an example from my own setup of a Control for showing text output of DriveFreeSpace. (On my system the TV folder resides on the K drive; in MePo Config the DriveFreeSpace Plugin is set to monitor the K drive.)</p><p></p><p>[CODE] <control></p><p> <description>Drive space Data</description></p><p> <type>label</type></p><p> <id>1</id></p><p> <posX>660</posX></p><p> <posY>35</posY></p><p> <label>#DriveFreeSpace.K.AvailableSpace.Data</label></p><p> <align>left</align></p><p> <font>font15</font></p><p> <visible>yes</visible></p><p> <textcolor>ffa9d0f7</textcolor></p><p> <animation effect="fade" time="1500">WindowOpen</animation></p><p> <animation effect="fade" time="150">WindowClose</animation></p><p> </control>[/CODE]</p></blockquote><p></p>
[QUOTE="Larzon, post: 653122, member: 101335"] If you look in wiki and forums you can get a lot of advice editing skins. This is just to get you started. A. It is recommended you get an xml editor. Although you can use a simple text editor like Notepad, this is ill-advised unless you are very familiar with the code. I like [B]Notepad++[/B] which is a simple code editor (and free :) ). B. You will also find this plugin indispensable for skin editing. MyRefresh: [url=https://www.team-mediaportal.com/files/Download/Plugins/Utilities/MyRefreshforBuild13639andhigher/]MEDIAPORTAL - free media center - My Refresh for Build 13639 & higher[/url] MyRefresh allows you to reload xml files while MediaPortal is still running. You just press F5. Say you have MediaPortal open to the Home screen, and at the same time you have the xml file for the Home screen open in an editor. Let's say you are fine-tuning the horizontal position of an item on the Home screen. Here are the basic steps: 1. In the xml editor, type in a new value for the X position of the item. 2. Save the xml file to commit changes to disk (very important). You do [I]not[/I] have to close the file. 3. Use Alt+Tab to switch focus to MedaiPortal.* 4. Press F5. You will see the result immediately. 5. If the position of the item isn't to your liking, press Alt+Tab to switch to xml editor and go to step 1. * To allow Alt+Tab switching: In MePo Config make sure to uncheck "Keep MediaPortal always on top." C. After you get those basic tools for skin editing, be sure to enable and configure the DriveFreeSpace plugin in MePo Config before you proceed. D. In the folder for the skin you should see a file such as [B]myhome.xml[/B] which defines the Home screen. (Sorry I don't have black glass skin -- hope the filename is the same.) [I]Make a backup of this file before you open it for editing. [/I] When you open the xml file with the editor, look at the section called [B]Controls[/B]. Examine some of the individual Control items to get a basic feel for how things are structured. E. See post #1 for Control examples, and [B]see the documentation included with the download[/B]. Here is an example from my own setup of a Control for showing text output of DriveFreeSpace. (On my system the TV folder resides on the K drive; in MePo Config the DriveFreeSpace Plugin is set to monitor the K drive.) [CODE] <control> <description>Drive space Data</description> <type>label</type> <id>1</id> <posX>660</posX> <posY>35</posY> <label>#DriveFreeSpace.K.AvailableSpace.Data</label> <align>left</align> <font>font15</font> <visible>yes</visible> <textcolor>ffa9d0f7</textcolor> <animation effect="fade" time="1500">WindowOpen</animation> <animation effect="fade" time="150">WindowClose</animation> </control>[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Drive Free Space Plugin
Contact us
RSS
Top
Bottom