{"action":"opened","issue":{"url":"https://api.github.com/repos/gilestrolab/pySolo-Video/issues/15","labels_url":"https://api.github.com/repos/gilestrolab/pySolo-Video/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/gilestrolab/pySolo-Video/issues/15/comments","events_url":"https://api.github.com/repos/gilestrolab/pySolo-Video/issues/15/events","html_url":"https://github.com/gilestrolab/pySolo-Video/issues/15","id":56018112,"number":15,"title":"Device {log, tmp, result} files location","user":{"login":"qgeissmann","id":1399684,"avatar_url":"https://avatars.githubusercontent.com/u/1399684?v=3","gravatar_id":"","url":"https://api.github.com/users/qgeissmann","html_url":"https://github.com/qgeissmann","followers_url":"https://api.github.com/users/qgeissmann/followers","following_url":"https://api.github.com/users/qgeissmann/following{/other_user}","gists_url":"https://api.github.com/users/qgeissmann/gists{/gist_id}","starred_url":"https://api.github.com/users/qgeissmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgeissmann/subscriptions","organizations_url":"https://api.github.com/users/qgeissmann/orgs","repos_url":"https://api.github.com/users/qgeissmann/repos","events_url":"https://api.github.com/users/qgeissmann/events{/privacy}","received_events_url":"https://api.github.com/users/qgeissmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"qgeissmann","id":1399684,"avatar_url":"https://avatars.githubusercontent.com/u/1399684?v=3","gravatar_id":"","url":"https://api.github.com/users/qgeissmann","html_url":"https://github.com/qgeissmann","followers_url":"https://api.github.com/users/qgeissmann/followers","following_url":"https://api.github.com/users/qgeissmann/following{/other_user}","gists_url":"https://api.github.com/users/qgeissmann/gists{/gist_id}","starred_url":"https://api.github.com/users/qgeissmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgeissmann/subscriptions","organizations_url":"https://api.github.com/users/qgeissmann/orgs","repos_url":"https://api.github.com/users/qgeissmann/repos","events_url":"https://api.github.com/users/qgeissmann/events{/privacy}","received_events_url":"https://api.github.com/users/qgeissmann/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/gilestrolab/pySolo-Video/milestones/1","labels_url":"https://api.github.com/repos/gilestrolab/pySolo-Video/milestones/1/labels","id":958118,"number":1,"title":"psv_package_stable","description":"","creator":{"login":"qgeissmann","id":1399684,"avatar_url":"https://avatars.githubusercontent.com/u/1399684?v=3","gravatar_id":"","url":"https://api.github.com/users/qgeissmann","html_url":"https://github.com/qgeissmann","followers_url":"https://api.github.com/users/qgeissmann/followers","following_url":"https://api.github.com/users/qgeissmann/following{/other_user}","gists_url":"https://api.github.com/users/qgeissmann/gists{/gist_id}","starred_url":"https://api.github.com/users/qgeissmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgeissmann/subscriptions","organizations_url":"https://api.github.com/users/qgeissmann/orgs","repos_url":"https://api.github.com/users/qgeissmann/repos","events_url":"https://api.github.com/users/qgeissmann/events{/privacy}","received_events_url":"https://api.github.com/users/qgeissmann/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2015-01-30T10:19:20Z","updated_at":"2015-01-30T10:37:56Z","due_on":"2015-02-16T00:00:00Z","closed_at":null},"comments":0,"created_at":"2015-01-30T10:37:55Z","updated_at":"2015-01-30T10:37:55Z","closed_at":null,"body":"So far, we are saving log, tmp and result file in `/tmp/...`.\r\nThis mean we will **not** be able to recover any from a device that would have rebooted (e.g. after power outage).\r\n\r\nI suggest we hardcode all file names and store them in a persistent custom dir such as `/var/psv/` instead.\r\n\r\nAlso, this dir should be create/wiped off whenever a new instance of `ControlTread()` is created."}}