{"id":14000,"date":"2015-03-18T17:33:59","date_gmt":"2015-03-18T15:33:59","guid":{"rendered":"http:\/\/www.max2play.com\/?page_id=14000"},"modified":"2023-04-28T14:32:51","modified_gmt":"2023-04-28T12:32:51","slug":"developers-corner","status":"publish","type":"page","link":"https:\/\/www.max2play.com\/en\/developers-corner\/","title":{"rendered":"Developers Corner"},"content":{"rendered":"[spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p>Max2Play offers the perfect base for customisation. The Open Source Framework to design a browser interface in combination with the OS Debian Stretch offers a versatile playground. Build your own web interface with some easy steps and use Max2Play functions to share your development.<\/p>\n[\/spb_text_block] [spb_icon_box title=&#8220;For Developers&#8220; box_type=&#8220;standard&#8220; image=&#8220;fa-user-md&#8220; color=&#8220;standard&#8220; target=&#8220;_self&#8220; animation=&#8220;none&#8220; animation_delay=&#8220;0&#8243; width=&#8220;1\/2&#8243; el_position=&#8220;first&#8220;]\n<p>Max2Play&#8217;s web interface is multilingual and based on the foundation of plugins. Those plugins implement the functions of a service class. Within a plugin is a folder structure in place to divide business logic, presentation and translation files. <span style=\"color: #444444;\">Using the provided framework and plugins, it is possible to install, operate and fully utilize compatible applications of ones choosing. Furthermore, console commands can be readily accessed via the web interface which is also accessible on a smartphone.<\/span><\/p>\n[\/spb_icon_box] [spb_icon_box title=&#8220;Github&#8220; box_type=&#8220;standard&#8220; image=&#8220;fab fa-github&#8220; color=&#8220;standard&#8220; target=&#8220;_self&#8220; animation=&#8220;none&#8220; animation_delay=&#8220;0&#8243; width=&#8220;1\/2&#8243; el_position=&#8220;last&#8220;]\n<p>Max2Play in its most current state is available at GitHub as source code. The documentation shows the implementation on a linux system and the possibilities for customisation.<\/p>\n<p><a class=\"sf-button standard accent standard \" href=\"https:\/\/github.com\/max2play\/webinterface\" target=\"_blank\" rel=\"noopener\"><span class=\"text\">Max2Play at GitHub<\/span><\/a><\/p>\n[\/spb_icon_box] [spb_text_block title=&#8220;Create custom Plugins with the Pluginbuilder&#8220; pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/2&#8243; el_position=&#8220;first&#8220;]\n<p>The Max2Play Addon <a href=\"https:\/\/www.max2play.com\/en\/portfolio\/plugin-pluginbuilder\/\">Pluginbuilder<\/a> can be used, to create and edit custom Plugins within the Max2Play web interface. Therefore it is very easy to create and share your own Plugins.<\/p>\n<p>The Pluginbuilder can be installed on the settings page of the web interface like any other Plugin. The link for installation is:<\/p>\n<p><a href=\"http:\/\/shop.max2play.com\/media\/downloadable\/beta\/pluginbuilder.tar\">http:\/\/shop.max2play.com\/media\/downloadable\/beta\/pluginbuilder.tar<\/a><\/p>\n[\/spb_text_block] [spb_video title=&#8220;Tutorial: How to create your own Max2Play Plugin?&#8220; link=&#8220;https:\/\/www.youtube.com\/watch?edit=vd&amp;v=gWwQ0A1HoWY&#8220; size=&#8220;420&#215;315&#8243; full_width=&#8220;no&#8220; width=&#8220;1\/2&#8243; el_position=&#8220;last&#8220;] [spb_text_block title=&#8220;Create a new plugin&#8220; pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<h3><\/h3>\n[\/spb_text_block] [spb_icon_box title=&#8220;Setup for own plugins&#8220; box_type=&#8220;left-icon-alt&#8220; image=&#8220;fa-chevron-right&#8220; color=&#8220;standard&#8220; target=&#8220;_self&#8220; animation=&#8220;none&#8220; animation_delay=&#8220;0&#8243; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p>To create a new plugin, use the script \/opt\/max2play\/createplugin.sh which, with input parameters, creates the folder structure for Controller, View and locale in addition to a sample class &#8222;Setup&#8220; in the controller and the corresponding &#8222;View&#8220;.<\/p>\n[\/spb_icon_box] [blank_spacer height=&#8220;15px&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_icon_box title=&#8220;Folder for created plugins&#8220; box_type=&#8220;left-icon-alt&#8220; image=&#8220;fa-chevron-right&#8220; color=&#8220;standard&#8220; target=&#8220;_self&#8220; animation=&#8220;none&#8220; animation_delay=&#8220;0&#8243; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p>All created files can be found at \/var\/www\/max2play\/application\/plugins\/[PLUGINNAME]<\/p>\n[\/spb_icon_box] [blank_spacer height=&#8220;15px&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_icon_box title=&#8220;Activate new plugins&#8220; box_type=&#8220;left-icon-alt&#8220; image=&#8220;fa-chevron-right&#8220; color=&#8220;standard&#8220; target=&#8220;_self&#8220; animation=&#8220;none&#8220; animation_delay=&#8220;0&#8243; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p>The created example plugin can be activated through the web interface (tab settings) and the content of plugin files can be updated using the editor.<\/p>\n[\/spb_icon_box] [blank_spacer height=&#8220;15px&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_icon_box title=&#8220;Mulitlingual plugins possible&#8220; box_type=&#8220;left-icon-alt&#8220; image=&#8220;fa-chevron-right&#8220; color=&#8220;standard&#8220; target=&#8220;_self&#8220; animation=&#8220;none&#8220; animation_delay=&#8220;0&#8243; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p>For the edit of translation files, POEdit or a similar editor can be used for PO files.<\/p>\n[\/spb_icon_box] [blank_spacer height=&#8220;30px&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_single_image image=&#8220;45572&#8243; image_size=&#8220;full&#8220; frame=&#8220;noframe&#8220; intro_animation=&#8220;none&#8220; full_width=&#8220;no&#8220; lightbox=&#8220;yes&#8220; link_target=&#8220;_self&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] [spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;]\n<p>Learn how to use the Systemd-script to autostart your scripts with this <a href=\"https:\/\/www.max2play.com\/en\/wiki\/pluginbuilder-script-autostart-on-boot-with-systemd\/\" target=\"_blank\" rel=\"noopener\">wiki article<\/a>.<\/p>\n[\/spb_text_block] [spb_video title=&#8220;Max2Play &#8211; Create your own Plugin&#8220; link=&#8220;https:\/\/www.youtube.com\/watch?v=1YKpW2SbNqM&#8220; size=&#8220;420&#215;315&#8243; full_width=&#8220;no&#8220; width=&#8220;3\/4&#8243; el_position=&#8220;first last&#8220;]\n","protected":false},"excerpt":{"rendered":"<p>[spb_text_block pb_margin_bottom=&#8220;no&#8220; pb_border_bottom=&#8220;no&#8220; width=&#8220;1\/1&#8243; el_position=&#8220;first last&#8220;] Max2Play offers the perfect base for customisation. The Open Source Framework to design a browser interface in combination with the OS Debian Stretch offers a versatile playground. Build your own web interface with some easy steps and use Max2Play functions to share your development. [\/spb_text_block] [spb_icon_box title=&#8220;For Developers&#8220; box_type=&#8220;standard&#8220; image=&#8220;fa-user-md&#8220; color=&#8220;standard&#8220; target=&#8220;_self&#8220; animation=&#8220;none&#8220; animation_delay=&#8220;0&#8243; [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/pages\/14000"}],"collection":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/comments?post=14000"}],"version-history":[{"count":27,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/pages\/14000\/revisions"}],"predecessor-version":[{"id":52811,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/pages\/14000\/revisions\/52811"}],"wp:attachment":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/media?parent=14000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}