{"action":"created","issue":{"url":"https://api.github.com/repos/AlexxEG/YouTube-Downloader/issues/18","repository_url":"https://api.github.com/repos/AlexxEG/YouTube-Downloader","labels_url":"https://api.github.com/repos/AlexxEG/YouTube-Downloader/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/AlexxEG/YouTube-Downloader/issues/18/comments","events_url":"https://api.github.com/repos/AlexxEG/YouTube-Downloader/issues/18/events","html_url":"https://github.com/AlexxEG/YouTube-Downloader/issues/18","id":182462477,"number":18,"title":"New idea","user":{"login":"ObaidGH","id":14979775,"avatar_url":"https://avatars.githubusercontent.com/u/14979775?v=3","gravatar_id":"","url":"https://api.github.com/users/ObaidGH","html_url":"https://github.com/ObaidGH","followers_url":"https://api.github.com/users/ObaidGH/followers","following_url":"https://api.github.com/users/ObaidGH/following{/other_user}","gists_url":"https://api.github.com/users/ObaidGH/gists{/gist_id}","starred_url":"https://api.github.com/users/ObaidGH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ObaidGH/subscriptions","organizations_url":"https://api.github.com/users/ObaidGH/orgs","repos_url":"https://api.github.com/users/ObaidGH/repos","events_url":"https://api.github.com/users/ObaidGH/events{/privacy}","received_events_url":"https://api.github.com/users/ObaidGH/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AlexxEG/YouTube-Downloader/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"AlexxEG","id":803291,"avatar_url":"https://avatars.githubusercontent.com/u/803291?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexxEG","html_url":"https://github.com/AlexxEG","followers_url":"https://api.github.com/users/AlexxEG/followers","following_url":"https://api.github.com/users/AlexxEG/following{/other_user}","gists_url":"https://api.github.com/users/AlexxEG/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexxEG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexxEG/subscriptions","organizations_url":"https://api.github.com/users/AlexxEG/orgs","repos_url":"https://api.github.com/users/AlexxEG/repos","events_url":"https://api.github.com/users/AlexxEG/events{/privacy}","received_events_url":"https://api.github.com/users/AlexxEG/received_events","type":"User","site_admin":false},"assignees":[{"login":"AlexxEG","id":803291,"avatar_url":"https://avatars.githubusercontent.com/u/803291?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexxEG","html_url":"https://github.com/AlexxEG","followers_url":"https://api.github.com/users/AlexxEG/followers","following_url":"https://api.github.com/users/AlexxEG/following{/other_user}","gists_url":"https://api.github.com/users/AlexxEG/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexxEG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexxEG/subscriptions","organizations_url":"https://api.github.com/users/AlexxEG/orgs","repos_url":"https://api.github.com/users/AlexxEG/repos","events_url":"https://api.github.com/users/AlexxEG/events{/privacy}","received_events_url":"https://api.github.com/users/AlexxEG/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-10-12T08:16:23Z","updated_at":"2016-10-14T06:06:12Z","closed_at":null,"body":"@AlexxEG i have come up with new idea in queues tab."},"comment":{"url":"https://api.github.com/repos/AlexxEG/YouTube-Downloader/issues/comments/253717311","html_url":"https://github.com/AlexxEG/YouTube-Downloader/issues/18#issuecomment-253717311","issue_url":"https://api.github.com/repos/AlexxEG/YouTube-Downloader/issues/18","id":253717311,"user":{"login":"ObaidGH","id":14979775,"avatar_url":"https://avatars.githubusercontent.com/u/14979775?v=3","gravatar_id":"","url":"https://api.github.com/users/ObaidGH","html_url":"https://github.com/ObaidGH","followers_url":"https://api.github.com/users/ObaidGH/followers","following_url":"https://api.github.com/users/ObaidGH/following{/other_user}","gists_url":"https://api.github.com/users/ObaidGH/gists{/gist_id}","starred_url":"https://api.github.com/users/ObaidGH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ObaidGH/subscriptions","organizations_url":"https://api.github.com/users/ObaidGH/orgs","repos_url":"https://api.github.com/users/ObaidGH/repos","events_url":"https://api.github.com/users/ObaidGH/events{/privacy}","received_events_url":"https://api.github.com/users/ObaidGH/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T06:06:12Z","updated_at":"2016-10-14T06:06:12Z","body":"#### I have come up with some newer ideas, take a look\r\nI added a filter to playlist\r\n\r\n![filter](https://cloud.githubusercontent.com/assets/14979775/19377105/0ac5805c-9201-11e6-832b-205b4ad27d7c.PNG)\r\n\r\n1. Removing Items\r\n```c#\r\nprivate void btnRemoveItem_Click(object sender, EventArgs e)\r\n        {\r\n            string[] deletefiles = lvControl.txtFilter.Text.Split(';');\r\n            foreach (string s in deletefiles)\r\n            {\r\n                IEnumerable<ListViewItem> lvg = lvPlaylistVideos.CheckedItems.Cast<ListViewItem>().Where(i => i.Text.Contains(s));\r\n                foreach (ListViewItem lii in lvg)\r\n                {\r\n                    lvPlaylistVideos.Items.Remove(lii);\r\n                }\r\n            }\r\n        }\r\n```\r\n2. Checking & Unchecking Items\r\n```c#\r\nprivate void btnCheckUncheckItem_Click(object sender, EventArgs e)\r\n        {\r\n            IEnumerable<ListViewItem> lv = lvPlaylistVideos.CheckedItems.Cast<ListViewItem>().Where(i => i.Text.Contains(lvControl.txtFilter.Text));\r\n            foreach (ListViewItem items in lv)\r\n            {\r\n                if (items.Checked)\r\n                {\r\n                    items.Checked = false;\r\n                }\r\n                else\r\n                {\r\n                    items.Checked = true;\r\n                }\r\n            }\r\n        }\r\n```\r\n3. Searching Items\r\n```c#\r\nprivate void btnSearch_Click(object sender, EventArgs e)\r\n        {\r\n            string[] deletefiles = lvControl.txtFilter.Text.Split(';');\r\n            foreach (string s in deletefiles)\r\n            {\r\n                IEnumerable<ListViewItem> lvg = lvPlaylistVideos.CheckedItems.Cast<ListViewItem>().Where(i => i.Text.Contains(s));\r\n                foreach (ListViewItem lii in lvg)\r\n                {\r\n                    lii.BackColor = Color.LightGray;\r\n                }\r\n            }\r\n        }\r\n```"}}
{"actor":{"display_login":"ObaidGH"}}