{"id":297,"date":"2013-11-10T15:17:00","date_gmt":"2013-11-10T15:17:00","guid":{"rendered":"http:\/\/thomas.w-p.me.uk\/blog\/2013\/11\/notes-on-rpizebox-display\/"},"modified":"2013-11-16T21:42:54","modified_gmt":"2013-11-16T21:42:54","slug":"notes-on-rpizebox-display","status":"publish","type":"post","link":"https:\/\/thomas.w-p.me.uk\/blog\/2013\/11\/notes-on-rpizebox-display\/","title":{"rendered":"Notes on RPizeBox Display"},"content":{"rendered":"<p>I&#8217;ve got a nice scrolling script and had to hack pylms to get it to cope with accents.<\/p>\n<p>This meant uninstalling the pylms module and referencing it instead with<\/p>\n<p><span>sys.path.append(&#8216;\/home\/pi\/PyLMS\/&#8217;)<br \/>from pylms.server import Server # to talk to LMS server<br \/>from pylms.player import Player # to talk to LMS player<\/span><\/p>\n<p>That meant I could hack away at the code and it would still work.<\/p>\n<p>I kept trying to find a way to intialise the display on boot.\u00a0 I had little success.\u00a0 I even made a start\/stop script at <b><span>\/etc\/init.d\/lms-display<\/span><\/b> in the hope it would get the display restarting on boot, but no dice.\u00a0 In the end I found that<\/p>\n<p><span>@reboot root \/etc\/init.d\/lms-display start<\/span><br \/><b><span><br \/><\/span><\/b><span><span>in crontab did the job.<\/span><\/span><b><span><br \/><\/span><\/b><\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve got a nice scrolling script and had to hack pylms to get it to cope with accents. This meant uninstalling the pylms module and referencing it instead with sys.path.append(&#8216;\/home\/pi\/PyLMS\/&#8217;)from pylms.server import Server # to talk to LMS serverfrom pylms.player import Player # to talk to LMS player That meant I could hack away at &hellip; <a href=\"https:\/\/thomas.w-p.me.uk\/blog\/2013\/11\/notes-on-rpizebox-display\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Notes on RPizeBox Display<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[39,33,34],"class_list":["post-297","post","type-post","status-publish","format-standard","hentry","category-geekiness","tag-python","tag-raspberry-pi","tag-squeezebox"],"_links":{"self":[{"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/posts\/297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/comments?post=297"}],"version-history":[{"count":1,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/posts\/297\/revisions"}],"predecessor-version":[{"id":439,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/posts\/297\/revisions\/439"}],"wp:attachment":[{"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/media?parent=297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/categories?post=297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thomas.w-p.me.uk\/blog\/wp-json\/wp\/v2\/tags?post=297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}