{"id":38163,"date":"2018-09-28T12:20:09","date_gmt":"2018-09-28T10:20:09","guid":{"rendered":"https:\/\/www.max2play.com\/?post_type=kbe_knowledgebase&#038;p=38163"},"modified":"2018-09-28T12:20:09","modified_gmt":"2018-09-28T10:20:09","slug":"create-desktop-shortcut-for-max2play-commands","status":"publish","type":"kbe_knowledgebase","link":"https:\/\/www.max2play.com\/en\/wiki\/create-desktop-shortcut-for-max2play-commands\/","title":{"rendered":"Create Desktop Shortcut for Max2Play Commands"},"content":{"rendered":"<p>With the API-Examples Plugin, it&#8217;s possible to create shortcuts on your Desktop PC for easy service control. You can make shortcuts for actions like play, pause, shutdown or reboot. This example shows how to create a shortcut on your desktop (Windows) and link it to a Squeezebox URL like &#8222;start playing&#8220;.<\/p>\n<h2>Step 1<\/h2>\n<p>Copy the URL from our API-Examples plugin site (mark the line, execute CTRL+C).<\/p>\n<p><a href=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_0-1.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-38164\" src=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_0-1-300x169.jpg\" alt=\"\" width=\"600\" height=\"338\" srcset=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_0-1-300x169.jpg 300w, https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_0-1-768x432.jpg 768w, https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_0-1-1024x576.jpg 1024w, https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_0-1-1280x720.jpg 1280w, https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_0-1.jpg 1920w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>Step 2<\/h2>\n<p>Right-click on your Desktop to open the menu.\u00a0Hover over &#8222;New&#8220; and choose &#8222;Shortcut&#8220;.<\/p>\n<p><a href=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_1-1.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-38165\" src=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_1-1-300x169.jpg\" alt=\"\" width=\"600\" height=\"338\" srcset=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_1-1-300x169.jpg 300w, https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_1-1-768x432.jpg 768w, https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_1-1.jpg 1024w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>Step 3<\/h2>\n<p>Paste the URL in the input box and confirm.<\/p>\n<p><a href=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_2-1.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-38166\" src=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_2-1-300x169.jpg\" alt=\"\" width=\"600\" height=\"338\" srcset=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_2-1-300x169.jpg 300w, https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_2-1-768x432.jpg 768w, https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_2-1.jpg 1024w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>Step 4<\/h2>\n<p>Name the shortcut e.g. &#8222;Play&#8220; or &#8222;Pause&#8220;.<\/p>\n<p><a href=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_3-1.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-38167\" src=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_3-1-300x169.jpg\" alt=\"\" width=\"600\" height=\"338\" srcset=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_3-1-300x169.jpg 300w, https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_3-1-768x432.jpg 768w, https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_3-1.jpg 1024w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h2>Step 5<\/h2>\n<p>At this point you&#8217;re already able to execute the commands from your Desktop. If you want to, you can now change the look of the icon and add a keyboard shortcut by right-clicking the shortcut. There you may select &#8222;Properties&#8220;.<\/p>\n<p><a href=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_4-1.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-38168\" src=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_4-1-300x169.jpg\" alt=\"\" width=\"600\" height=\"338\" srcset=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_4-1-300x169.jpg 300w, https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_4-1-768x432.jpg 768w, https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_4-1.jpg 1024w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_5-1.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-38169\" src=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_5-1-300x169.jpg\" alt=\"\" width=\"600\" height=\"338\" srcset=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_5-1-300x169.jpg 300w, https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_5-1-768x432.jpg 768w, https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_5-1.jpg 1024w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>Step 6<\/h2>\n<p>If you doubleclick the desktop shortcut, the linked command gets executed and your default browser will open a new tab, in this case a minimized webinterface of the squeezebox server. Here you&#8217;re able to execute the basic commands of your music player.<\/p>\n<h2><a href=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_6-1.jpg\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-38170\" src=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_6-1-300x169.jpg\" alt=\"\" width=\"600\" height=\"338\" srcset=\"https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_6-1-300x169.jpg 300w, https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_6-1-768x432.jpg 768w, https:\/\/www.max2play.com\/wp-content\/uploads\/2018\/09\/Schritt_6-1.jpg 1024w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/h2>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the API-Examples Plugin, it&#8217;s possible to create shortcuts on your Desktop PC for easy service control. You can make shortcuts for actions like play, pause, shutdown or reboot. This example shows how to create a shortcut on your desktop (Windows) and link it to a Squeezebox URL like &#8222;start playing&#8220;. Step 1 Copy the URL from our API-Examples plugin [&hellip;]<\/p>\n","protected":false},"author":13459,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","kbe_taxonomy":[899],"kbe_tags":[2493,2496,1094],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/kbe_knowledgebase\/38163"}],"collection":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/kbe_knowledgebase"}],"about":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/types\/kbe_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/users\/13459"}],"replies":[{"embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/comments?post=38163"}],"version-history":[{"count":6,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/kbe_knowledgebase\/38163\/revisions"}],"predecessor-version":[{"id":38207,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/kbe_knowledgebase\/38163\/revisions\/38207"}],"wp:attachment":[{"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/media?parent=38163"}],"wp:term":[{"taxonomy":"kbe_taxonomy","embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/kbe_taxonomy?post=38163"},{"taxonomy":"kbe_tags","embeddable":true,"href":"https:\/\/www.max2play.com\/en\/wp-json\/wp\/v2\/kbe_tags?post=38163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}