{"action":"created","issue":{"url":"https://api.github.com/repos/MediaBrowser/Emby/issues/1202","labels_url":"https://api.github.com/repos/MediaBrowser/Emby/issues/1202/labels{/name}","comments_url":"https://api.github.com/repos/MediaBrowser/Emby/issues/1202/comments","events_url":"https://api.github.com/repos/MediaBrowser/Emby/issues/1202/events","html_url":"https://github.com/MediaBrowser/Emby/pull/1202","id":108745967,"number":1202,"title":"Organize Movies","user":{"login":"softworkz","id":4985349,"avatar_url":"https://avatars.githubusercontent.com/u/4985349?v=3","gravatar_id":"","url":"https://api.github.com/users/softworkz","html_url":"https://github.com/softworkz","followers_url":"https://api.github.com/users/softworkz/followers","following_url":"https://api.github.com/users/softworkz/following{/other_user}","gists_url":"https://api.github.com/users/softworkz/gists{/gist_id}","starred_url":"https://api.github.com/users/softworkz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softworkz/subscriptions","organizations_url":"https://api.github.com/users/softworkz/orgs","repos_url":"https://api.github.com/users/softworkz/repos","events_url":"https://api.github.com/users/softworkz/events{/privacy}","received_events_url":"https://api.github.com/users/softworkz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":37,"created_at":"2015-09-28T21:01:39Z","updated_at":"2015-10-26T00:12:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/MediaBrowser/Emby/pulls/1202","html_url":"https://github.com/MediaBrowser/Emby/pull/1202","diff_url":"https://github.com/MediaBrowser/Emby/pull/1202.diff","patch_url":"https://github.com/MediaBrowser/Emby/pull/1202.patch"},"body":"**Working Prototype!!!**\r\n\r\nThis branch adds multiple new features to Emby's Auto-Organize capabilities:\r\n\r\n1. Added an option to remember auto-organize corrections: This is further described in pull request #1192. In addition to the #1192 code, the option is only displayed if a non-empty series name was parsed\r\n\r\n2. Enables manual organization of movies like described in this thread or also here: http://emby.media/community/index.php?/topic/25857-movie-organization/  \r\nThis is successfully implemented now, but I wouldn't claim this to be anything better than just a working prototype!\r\n\r\n3. Enable addition of a new series from within the auto-organize form: You can search for a series, view search results and select an item. The current episode is then organized as a new series. You can select a root folder for the new series from a dropdown containing all of your library TV folders.\r\n\r\n\r\nThis branch also includes the changes from #1209. \r\n\r\nIn the context of #1209 I did some further improvements: When an AJAX request takes longer than 30s, the request fails with status==timeout. \r\nBefore #1209 the failure was not indicated to the user. Instead, the loading spinner graphic (and the dialog, if initiated from it) was shown forever.\r\nAfter #1209 any AJAX failure was presented to the user via Dashboard.alert and so did the timeout message.\r\nBut when organizing a video file manually, which may have a size of several GBs, the process often takes much longer than 30s.\r\nTo improve the user experience in these cases, I \r\n\r\n* added a specific message which is displayed on timeout errors (\"The operation is going to take a little longer. The view will be updated on completion.\")\r\n* added an additional websocket message to inform all clients about updated auto-organize data. Previously the client updated the auto-organize log only when an auto-organize task had finished completion. Now, the client also updates the auto-organize list when an organize-function on the server has completed."},"comment":{"url":"https://api.github.com/repos/MediaBrowser/Emby/issues/comments/150990166","html_url":"https://github.com/MediaBrowser/Emby/pull/1202#issuecomment-150990166","issue_url":"https://api.github.com/repos/MediaBrowser/Emby/issues/1202","id":150990166,"user":{"login":"softworkz","id":4985349,"avatar_url":"https://avatars.githubusercontent.com/u/4985349?v=3","gravatar_id":"","url":"https://api.github.com/users/softworkz","html_url":"https://github.com/softworkz","followers_url":"https://api.github.com/users/softworkz/followers","following_url":"https://api.github.com/users/softworkz/following{/other_user}","gists_url":"https://api.github.com/users/softworkz/gists{/gist_id}","starred_url":"https://api.github.com/users/softworkz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/softworkz/subscriptions","organizations_url":"https://api.github.com/users/softworkz/orgs","repos_url":"https://api.github.com/users/softworkz/repos","events_url":"https://api.github.com/users/softworkz/events{/privacy}","received_events_url":"https://api.github.com/users/softworkz/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T00:12:54Z","updated_at":"2015-10-26T00:12:54Z","body":"AutoOrganize: Instant completion of correction dialog \r\n\r\nWhen the autoorganize correction dialog is submitted, the server service waits just 2s to complete the request.\r\nThese 2s are to wait for an exception that might occur. In this case the exception is forwarded to the client and the web UI will immediately display a message overlay with the error message.\r\nOtherwise the ajax call is returned after 2s and the dialog gets closed in the client UI. The organization progress is then displayed in the autoorganize list (orange text color and spinner animation).\r\n"}}