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
Support
Skins and Plugins Installer (MPEI)
How To Publish Your Plugin - A short summary for new plugin developers
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="huha" data-source="post: 801474" data-attributes="member: 63847"><p>As I was struggling with this for a long time i have summarized a simple howto based on the help of Dadeo and ltfearme. This howto is focusing on using the MP repository for storing at one single place the plugin and update information for the mpei installer, which combines the advantages of the MP respository for plugins/skins and the easy installation options for the user from the mpei installer. But in general you can store the files anywhere.</p><p></p><p></p><p><strong>A) First Time Publishing of a New Plugin</strong></p><p></p><p>1) Open the mpei Maker and create a new project. This will automativcally assign to the project a unique identifier, so that you can change later the name of the project, but never touch or copy the project number to a new project.</p><p></p><p>2) Work through the MPEI Maker steps, but keep the fields for all online url locations empty.</p><p></p><p>3) Built the .mpe1 file</p><p></p><p>4) Create a new plugin/skin at the MP repository page from <a href="https://www.team-mediaportal.com/extensions" target="_blank">MP Extensions</a></p><p>Select your category and click "Add your extension here"</p><p></p><p>5) Fill the form and upload your mpe1 file from 3) and upload all your pictures and online icons. In the field for the update.xml you have to update a dummy file e.g. update.xml.</p><p></p><p>6) Submit your plugin/skin and wait until it is published</p><p></p><p>7) Once it is published you must copy the links for </p><p> - the .mpe1 file</p><p> - the dummy update.xml file</p><p> - all pictures and online icons</p><p></p><p>8) Open the .xmp2 file in the mpei maker and fill in all the fields containing online information for the mpe1 file, the update.xml file and all your pictures and online icons from step 7.</p><p></p><p>9) Generate the xml file by clicking the button an name the file e.g. TvWishList.update.xml. The file name must not contain the version number and the name must not be changed for future upgrades. Before you click the "Generate xml" button you must delete any old file with the same name at the target folder. Save your .xmp2 project.</p><p></p><p>10) Goto the MP repository, click edit after you logged on and upload this update.xml file into your update.xml file. Click submit next.</p><p></p><p>11) Open your xmp2 project file and click publish once. You have to click publish only once for a project.</p><p></p><p>If your plugin is supporting MP1.1.x and MP1.2.x with your own installer file you have to make the version control optional. For that open the .xmp2 file in a editor after step2 and search for "<WarnOnly>false</WarnOnly>" and change it to "<WarnOnly>true</WarnOnly>" save the file and include some text for warning like "in MP1.1.x this warning can be ignored".</p><p></p><p><strong>B) Updating a new plugin version</strong></p><p></p><p>1) copy your original .xmp2 project file. Do not create a new project for an update. </p><p></p><p>2) open the project and update </p><p> - the version number</p><p> - the change history</p><p> - the project files and paths</p><p> - the release date</p><p></p><p>3) built a new .mpei file (e.g. TvWishList.Ver1.2.0.15.mpe1)</p><p></p><p>4) delete any old update.xml files in the target folder</p><p></p><p>5) generate a new update.xml file with the same name as the original one (e.g. TvWishList.update.xml). This file must not contain the version number.</p><p></p><p>6) Open your plugin/skin at the MP repository web page, enter the changes and uplod your new .mpei1 file and your newly generated update.xml file and click submit</p><p></p><p>That´s it. If you want to add or change pictures you must upload them before step 1) to the Mp repository and copy the links of the pictures first in order to add/update them in step 2 in the .xmp2 file with the mpei maker.</p><p>If you have your .mpei file and your update.xml file stored at different locations you just have to enter the corresponding URLs into the .xmp2 file via the mpei maker. Just make sure you have only one version of your update .xml file. If you want to give the user a choice of installing older versions, you must not delete the older update.xml file in the target folder before generating a new one. However, this implies that each mpe2 version file has its own download url link (not working in the Mp repository). In the MP repository you can use the link files for archived files (find them by first uploading a dummy file) and then manipulate the .xml file in an editor manually for the differnet links.</p><p></p><p><strong>C) Removing the plugin from the mpei installer list</strong></p><p><strong></strong></p><p>If for some reason you want to remove the plugin from the mpei installer you have to remove the update.xml file from the published place. (There may be a better way, but this is the only one i know).</p><p></p><p>I have attached one of my .xmp2 files as an example, but it would be nice if a few more plugin developers could publish their .xmp2 file as an example (especially one for a skin and one for a simple plugin without using a separate installer).</p></blockquote><p></p>
[QUOTE="huha, post: 801474, member: 63847"] As I was struggling with this for a long time i have summarized a simple howto based on the help of Dadeo and ltfearme. This howto is focusing on using the MP repository for storing at one single place the plugin and update information for the mpei installer, which combines the advantages of the MP respository for plugins/skins and the easy installation options for the user from the mpei installer. But in general you can store the files anywhere. [B]A) First Time Publishing of a New Plugin[/B] 1) Open the mpei Maker and create a new project. This will automativcally assign to the project a unique identifier, so that you can change later the name of the project, but never touch or copy the project number to a new project. 2) Work through the MPEI Maker steps, but keep the fields for all online url locations empty. 3) Built the .mpe1 file 4) Create a new plugin/skin at the MP repository page from [url=https://www.team-mediaportal.com/extensions]MP Extensions[/url] Select your category and click "Add your extension here" 5) Fill the form and upload your mpe1 file from 3) and upload all your pictures and online icons. In the field for the update.xml you have to update a dummy file e.g. update.xml. 6) Submit your plugin/skin and wait until it is published 7) Once it is published you must copy the links for - the .mpe1 file - the dummy update.xml file - all pictures and online icons 8) Open the .xmp2 file in the mpei maker and fill in all the fields containing online information for the mpe1 file, the update.xml file and all your pictures and online icons from step 7. 9) Generate the xml file by clicking the button an name the file e.g. TvWishList.update.xml. The file name must not contain the version number and the name must not be changed for future upgrades. Before you click the "Generate xml" button you must delete any old file with the same name at the target folder. Save your .xmp2 project. 10) Goto the MP repository, click edit after you logged on and upload this update.xml file into your update.xml file. Click submit next. 11) Open your xmp2 project file and click publish once. You have to click publish only once for a project. If your plugin is supporting MP1.1.x and MP1.2.x with your own installer file you have to make the version control optional. For that open the .xmp2 file in a editor after step2 and search for "<WarnOnly>false</WarnOnly>" and change it to "<WarnOnly>true</WarnOnly>" save the file and include some text for warning like "in MP1.1.x this warning can be ignored". [B]B) Updating a new plugin version[/B] 1) copy your original .xmp2 project file. Do not create a new project for an update. 2) open the project and update - the version number - the change history - the project files and paths - the release date 3) built a new .mpei file (e.g. TvWishList.Ver1.2.0.15.mpe1) 4) delete any old update.xml files in the target folder 5) generate a new update.xml file with the same name as the original one (e.g. TvWishList.update.xml). This file must not contain the version number. 6) Open your plugin/skin at the MP repository web page, enter the changes and uplod your new .mpei1 file and your newly generated update.xml file and click submit That´s it. If you want to add or change pictures you must upload them before step 1) to the Mp repository and copy the links of the pictures first in order to add/update them in step 2 in the .xmp2 file with the mpei maker. If you have your .mpei file and your update.xml file stored at different locations you just have to enter the corresponding URLs into the .xmp2 file via the mpei maker. Just make sure you have only one version of your update .xml file. If you want to give the user a choice of installing older versions, you must not delete the older update.xml file in the target folder before generating a new one. However, this implies that each mpe2 version file has its own download url link (not working in the Mp repository). In the MP repository you can use the link files for archived files (find them by first uploading a dummy file) and then manipulate the .xml file in an editor manually for the differnet links. [B]C) Removing the plugin from the mpei installer list [/B] If for some reason you want to remove the plugin from the mpei installer you have to remove the update.xml file from the published place. (There may be a better way, but this is the only one i know). I have attached one of my .xmp2 files as an example, but it would be nice if a few more plugin developers could publish their .xmp2 file as an example (especially one for a skin and one for a simple plugin without using a separate installer). [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Skins and Plugins Installer (MPEI)
How To Publish Your Plugin - A short summary for new plugin developers
Contact us
RSS
Top
Bottom