{"id":539,"date":"2017-09-13T12:34:45","date_gmt":"2017-09-13T16:34:45","guid":{"rendered":"http:\/\/markwheeler.com\/wordpress\/?p=539"},"modified":"2017-09-13T12:34:45","modified_gmt":"2017-09-13T16:34:45","slug":"mpd-client-for-2-8-pitft","status":"publish","type":"post","link":"https:\/\/www.markwheeler.com\/?p=539","title":{"rendered":"Raspberry PI MPD Client for 2.8 PiTFT"},"content":{"rendered":"<p>I modified the <a href=\"https:\/\/github.com\/notandy\/ympd\">YMPD Web GUI<\/a> to create an interface suitable for a 2.8 PiTFT screen.<br \/>\nIn my scenario, I am connecting to another Raspberry Pi running as a MPD server.<\/p>\n<p><a href=\"http:\/\/54.159.73.21\/wp-content\/uploads\/2017\/09\/mini_ympd_client.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/markwheeler.com\/wordpress\/wp-content\/uploads\/2017\/09\/mini_ympd_client-300x179.jpg\" alt=\"\" width=\"300\" height=\"179\" class=\"alignnone size-medium wp-image-541\" \/><\/a><\/p>\n<p>I compiled <a href=\"http:\/\/54.159.73.21\/wp-content\/uploads\/2017\/09\/htdocs.zip\">these files<\/a> into a new build.<br \/>\nFrom there I simply launch the Chromium browser in Kiosk mode.<\/p>\n<pre>\n#!\/bin\/bash  \necho \"Start Kiosk\"\nchromium-browser --start-fullscreen --kiosk --window-position=0,0 --window-size=320,240 http:\/\/localhost:8080 &\ncd ympd\/build\necho \"Launch YMPD\"\n.\/ympd --webport 8080 --host 192.168.1.92 --port 6600\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I modified the YMPD Web GUI to create an interface suitable for a 2.8 PiTFT screen. In my scenario, I am connecting to another Raspberry Pi running as a MPD server. I compiled these files into a new build. From there I simply launch the Chromium browser in Kiosk mode. [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[9],"tags":[69,81],"class_list":["post-539","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi","tag-mpd","tag-pitft-2-8"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=\/wp\/v2\/posts\/539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=539"}],"version-history":[{"count":0,"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=\/wp\/v2\/posts\/539\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.markwheeler.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}