{"action":"created","issue":{"url":"https://api.github.com/repos/atarijookie/ce-atari/issues/183","repository_url":"https://api.github.com/repos/atarijookie/ce-atari","labels_url":"https://api.github.com/repos/atarijookie/ce-atari/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/atarijookie/ce-atari/issues/183/comments","events_url":"https://api.github.com/repos/atarijookie/ce-atari/issues/183/events","html_url":"https://github.com/atarijookie/ce-atari/issues/183","id":374273880,"node_id":"MDU6SXNzdWUzNzQyNzM4ODA=","number":183,"title":"Floppy images download and insert from CE_FDD.PRG remake","user":{"login":"atarijookie","id":18427437,"node_id":"MDQ6VXNlcjE4NDI3NDM3","avatar_url":"https://avatars2.githubusercontent.com/u/18427437?v=4","gravatar_id":"","url":"https://api.github.com/users/atarijookie","html_url":"https://github.com/atarijookie","followers_url":"https://api.github.com/users/atarijookie/followers","following_url":"https://api.github.com/users/atarijookie/following{/other_user}","gists_url":"https://api.github.com/users/atarijookie/gists{/gist_id}","starred_url":"https://api.github.com/users/atarijookie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atarijookie/subscriptions","organizations_url":"https://api.github.com/users/atarijookie/orgs","repos_url":"https://api.github.com/users/atarijookie/repos","events_url":"https://api.github.com/users/atarijookie/events{/privacy}","received_events_url":"https://api.github.com/users/atarijookie/received_events","type":"User","site_admin":false},"labels":[{"id":1102946444,"node_id":"MDU6TGFiZWwxMTAyOTQ2NDQ0","url":"https://api.github.com/repos/atarijookie/ce-atari/labels/FLOPPY","name":"FLOPPY","color":"cebb12","default":false},{"id":357038352,"node_id":"MDU6TGFiZWwzNTcwMzgzNTI=","url":"https://api.github.com/repos/atarijookie/ce-atari/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"atarijookie","id":18427437,"node_id":"MDQ6VXNlcjE4NDI3NDM3","avatar_url":"https://avatars2.githubusercontent.com/u/18427437?v=4","gravatar_id":"","url":"https://api.github.com/users/atarijookie","html_url":"https://github.com/atarijookie","followers_url":"https://api.github.com/users/atarijookie/followers","following_url":"https://api.github.com/users/atarijookie/following{/other_user}","gists_url":"https://api.github.com/users/atarijookie/gists{/gist_id}","starred_url":"https://api.github.com/users/atarijookie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atarijookie/subscriptions","organizations_url":"https://api.github.com/users/atarijookie/orgs","repos_url":"https://api.github.com/users/atarijookie/repos","events_url":"https://api.github.com/users/atarijookie/events{/privacy}","received_events_url":"https://api.github.com/users/atarijookie/received_events","type":"User","site_admin":false},"assignees":[{"login":"atarijookie","id":18427437,"node_id":"MDQ6VXNlcjE4NDI3NDM3","avatar_url":"https://avatars2.githubusercontent.com/u/18427437?v=4","gravatar_id":"","url":"https://api.github.com/users/atarijookie","html_url":"https://github.com/atarijookie","followers_url":"https://api.github.com/users/atarijookie/followers","following_url":"https://api.github.com/users/atarijookie/following{/other_user}","gists_url":"https://api.github.com/users/atarijookie/gists{/gist_id}","starred_url":"https://api.github.com/users/atarijookie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atarijookie/subscriptions","organizations_url":"https://api.github.com/users/atarijookie/orgs","repos_url":"https://api.github.com/users/atarijookie/repos","events_url":"https://api.github.com/users/atarijookie/events{/privacy}","received_events_url":"https://api.github.com/users/atarijookie/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-10-26T08:13:49Z","updated_at":"2018-10-31T12:47:26Z","closed_at":null,"author_association":"OWNER","body":"As I've mentioned this in #157, after working on #181 I relized that even in CE_FDD.PRG it would be more convenient to do it like it's done in the browser (#181), so the CE_FDD.PRG should be remade like this:\r\n\r\n**1)** get rid of this state machine, which downloads images one by one (waiting for one to finish before adding another to download queue)\r\n\r\n**2)** don't allow downloading to native drive - force users to download to translated drive (USB drive or shared drive) (user can still copy the image from translated to native drive in desktop, so he didn't loose the access to the images, he just won't be doing it through this app)\r\n\r\n**3)** instead of MARK - DOWNLOAD - WAIT we can then just do immediate background download to translated drive when user presses MARK (F1) (just use Downloader::add(tdr); at that time)\r\n\r\n**4)** add check for image being already downloaded (exists on disk) or image currently being downloaded (in downloader queue), so we won't download the image multiple times when only once is needed\r\n\r\n**5)** we can now get rid of the weird state machine in searchDownload()\r\n\r\n**6)** add some endpoint / handler to get current count of floppy images being downloaded, so user can be informed in the CE_FDD.PRG\r\n\r\n**7)** when image is downloaded, allow direct insert into slot by pressing 1/2/3, like in web interface\r\n\r\nMost of the hard work has been done in #181, and also in #182, so for the write support (#156) this remake should be done."},"comment":{"url":"https://api.github.com/repos/atarijookie/ce-atari/issues/comments/434673477","html_url":"https://github.com/atarijookie/ce-atari/issues/183#issuecomment-434673477","issue_url":"https://api.github.com/repos/atarijookie/ce-atari/issues/183","id":434673477,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDY3MzQ3Nw==","user":{"login":"atarijookie","id":18427437,"node_id":"MDQ6VXNlcjE4NDI3NDM3","avatar_url":"https://avatars2.githubusercontent.com/u/18427437?v=4","gravatar_id":"","url":"https://api.github.com/users/atarijookie","html_url":"https://github.com/atarijookie","followers_url":"https://api.github.com/users/atarijookie/followers","following_url":"https://api.github.com/users/atarijookie/following{/other_user}","gists_url":"https://api.github.com/users/atarijookie/gists{/gist_id}","starred_url":"https://api.github.com/users/atarijookie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atarijookie/subscriptions","organizations_url":"https://api.github.com/users/atarijookie/orgs","repos_url":"https://api.github.com/users/atarijookie/repos","events_url":"https://api.github.com/users/atarijookie/events{/privacy}","received_events_url":"https://api.github.com/users/atarijookie/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T12:47:26Z","updated_at":"2018-10-31T12:47:26Z","author_association":"OWNER","body":"- [ ] add refresh of page in CE_FDD after successful download\r\n- [ ] test / fix status line\r\n- [ ] test / fix no storage state + message\r\n- [ ] image list from bruno's page is somehow now showing image names in CE_FDD.PRG\r\n"}}
{"actor":{"display_login":"atarijookie"}}