{"action":"opened","number":472,"pull_request":{"url":"https://api.github.com/repos/mps-youtube/mps-youtube/pulls/472","id":65909548,"html_url":"https://github.com/mps-youtube/mps-youtube/pull/472","diff_url":"https://github.com/mps-youtube/mps-youtube/pull/472.diff","patch_url":"https://github.com/mps-youtube/mps-youtube/pull/472.patch","issue_url":"https://api.github.com/repos/mps-youtube/mps-youtube/issues/472","number":472,"state":"open","locked":false,"title":"Add a history of played songs","user":{"login":"kraetzin","id":2158974,"avatar_url":"https://avatars.githubusercontent.com/u/2158974?v=3","gravatar_id":"","url":"https://api.github.com/users/kraetzin","html_url":"https://github.com/kraetzin","followers_url":"https://api.github.com/users/kraetzin/followers","following_url":"https://api.github.com/users/kraetzin/following{/other_user}","gists_url":"https://api.github.com/users/kraetzin/gists{/gist_id}","starred_url":"https://api.github.com/users/kraetzin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraetzin/subscriptions","organizations_url":"https://api.github.com/users/kraetzin/orgs","repos_url":"https://api.github.com/users/kraetzin/repos","events_url":"https://api.github.com/users/kraetzin/events{/privacy}","received_events_url":"https://api.github.com/users/kraetzin/received_events","type":"User","site_admin":false},"body":" Initial implementation. Referencing issue #344.\r\n\r\nI implemented a function `history_add(song)` which is called each time `playsong()` is successfully called. It adds the song to a history playlist which is implemented separately from the main playlist file via the functions `open_hist_from_file()` and `save_to_hist()`. The history file is `play_history`. This can be viewed with the `history` command. I also implemented `history clear` to clear the history. I'm holding off on adding a more rigorous history implementation due to this being my first contribution","created_at":"2016-04-10T12:50:07Z","updated_at":"2016-04-10T12:50:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mps-youtube/mps-youtube/pulls/472/commits","review_comments_url":"https://api.github.com/repos/mps-youtube/mps-youtube/pulls/472/comments","review_comment_url":"https://api.github.com/repos/mps-youtube/mps-youtube/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mps-youtube/mps-youtube/issues/472/comments","statuses_url":"https://api.github.com/repos/mps-youtube/mps-youtube/statuses/3851b483a5d7d51573051cad382638c64ae250f3","head":{"label":"kraetzin:develop","ref":"develop","sha":"3851b483a5d7d51573051cad382638c64ae250f3","user":{"login":"kraetzin","id":2158974,"avatar_url":"https://avatars.githubusercontent.com/u/2158974?v=3","gravatar_id":"","url":"https://api.github.com/users/kraetzin","html_url":"https://github.com/kraetzin","followers_url":"https://api.github.com/users/kraetzin/followers","following_url":"https://api.github.com/users/kraetzin/following{/other_user}","gists_url":"https://api.github.com/users/kraetzin/gists{/gist_id}","starred_url":"https://api.github.com/users/kraetzin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraetzin/subscriptions","organizations_url":"https://api.github.com/users/kraetzin/orgs","repos_url":"https://api.github.com/users/kraetzin/repos","events_url":"https://api.github.com/users/kraetzin/events{/privacy}","received_events_url":"https://api.github.com/users/kraetzin/received_events","type":"User","site_admin":false},"repo":{"id":55893953,"name":"mps-youtube","full_name":"kraetzin/mps-youtube","owner":{"login":"kraetzin","id":2158974,"avatar_url":"https://avatars.githubusercontent.com/u/2158974?v=3","gravatar_id":"","url":"https://api.github.com/users/kraetzin","html_url":"https://github.com/kraetzin","followers_url":"https://api.github.com/users/kraetzin/followers","following_url":"https://api.github.com/users/kraetzin/following{/other_user}","gists_url":"https://api.github.com/users/kraetzin/gists{/gist_id}","starred_url":"https://api.github.com/users/kraetzin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraetzin/subscriptions","organizations_url":"https://api.github.com/users/kraetzin/orgs","repos_url":"https://api.github.com/users/kraetzin/repos","events_url":"https://api.github.com/users/kraetzin/events{/privacy}","received_events_url":"https://api.github.com/users/kraetzin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kraetzin/mps-youtube","description":"Terminal based YouTube player and downloader","fork":true,"url":"https://api.github.com/repos/kraetzin/mps-youtube","forks_url":"https://api.github.com/repos/kraetzin/mps-youtube/forks","keys_url":"https://api.github.com/repos/kraetzin/mps-youtube/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kraetzin/mps-youtube/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kraetzin/mps-youtube/teams","hooks_url":"https://api.github.com/repos/kraetzin/mps-youtube/hooks","issue_events_url":"https://api.github.com/repos/kraetzin/mps-youtube/issues/events{/number}","events_url":"https://api.github.com/repos/kraetzin/mps-youtube/events","assignees_url":"https://api.github.com/repos/kraetzin/mps-youtube/assignees{/user}","branches_url":"https://api.github.com/repos/kraetzin/mps-youtube/branches{/branch}","tags_url":"https://api.github.com/repos/kraetzin/mps-youtube/tags","blobs_url":"https://api.github.com/repos/kraetzin/mps-youtube/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kraetzin/mps-youtube/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kraetzin/mps-youtube/git/refs{/sha}","trees_url":"https://api.github.com/repos/kraetzin/mps-youtube/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kraetzin/mps-youtube/statuses/{sha}","languages_url":"https://api.github.com/repos/kraetzin/mps-youtube/languages","stargazers_url":"https://api.github.com/repos/kraetzin/mps-youtube/stargazers","contributors_url":"https://api.github.com/repos/kraetzin/mps-youtube/contributors","subscribers_url":"https://api.github.com/repos/kraetzin/mps-youtube/subscribers","subscription_url":"https://api.github.com/repos/kraetzin/mps-youtube/subscription","commits_url":"https://api.github.com/repos/kraetzin/mps-youtube/commits{/sha}","git_commits_url":"https://api.github.com/repos/kraetzin/mps-youtube/git/commits{/sha}","comments_url":"https://api.github.com/repos/kraetzin/mps-youtube/comments{/number}","issue_comment_url":"https://api.github.com/repos/kraetzin/mps-youtube/issues/comments{/number}","contents_url":"https://api.github.com/repos/kraetzin/mps-youtube/contents/{+path}","compare_url":"https://api.github.com/repos/kraetzin/mps-youtube/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kraetzin/mps-youtube/merges","archive_url":"https://api.github.com/repos/kraetzin/mps-youtube/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kraetzin/mps-youtube/downloads","issues_url":"https://api.github.com/repos/kraetzin/mps-youtube/issues{/number}","pulls_url":"https://api.github.com/repos/kraetzin/mps-youtube/pulls{/number}","milestones_url":"https://api.github.com/repos/kraetzin/mps-youtube/milestones{/number}","notifications_url":"https://api.github.com/repos/kraetzin/mps-youtube/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kraetzin/mps-youtube/labels{/name}","releases_url":"https://api.github.com/repos/kraetzin/mps-youtube/releases{/id}","deployments_url":"https://api.github.com/repos/kraetzin/mps-youtube/deployments","created_at":"2016-04-10T10:56:43Z","updated_at":"2016-04-10T10:56:44Z","pushed_at":"2016-04-10T12:27:59Z","git_url":"git://github.com/kraetzin/mps-youtube.git","ssh_url":"git@github.com:kraetzin/mps-youtube.git","clone_url":"https://github.com/kraetzin/mps-youtube.git","svn_url":"https://github.com/kraetzin/mps-youtube","homepage":"","size":1725,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"mps-youtube:develop","ref":"develop","sha":"ff72165e9d1c0ab3322f1057b33cfd91069417aa","user":{"login":"mps-youtube","id":12987682,"avatar_url":"https://avatars.githubusercontent.com/u/12987682?v=3","gravatar_id":"","url":"https://api.github.com/users/mps-youtube","html_url":"https://github.com/mps-youtube","followers_url":"https://api.github.com/users/mps-youtube/followers","following_url":"https://api.github.com/users/mps-youtube/following{/other_user}","gists_url":"https://api.github.com/users/mps-youtube/gists{/gist_id}","starred_url":"https://api.github.com/users/mps-youtube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mps-youtube/subscriptions","organizations_url":"https://api.github.com/users/mps-youtube/orgs","repos_url":"https://api.github.com/users/mps-youtube/repos","events_url":"https://api.github.com/users/mps-youtube/events{/privacy}","received_events_url":"https://api.github.com/users/mps-youtube/received_events","type":"Organization","site_admin":false},"repo":{"id":16469697,"name":"mps-youtube","full_name":"mps-youtube/mps-youtube","owner":{"login":"mps-youtube","id":12987682,"avatar_url":"https://avatars.githubusercontent.com/u/12987682?v=3","gravatar_id":"","url":"https://api.github.com/users/mps-youtube","html_url":"https://github.com/mps-youtube","followers_url":"https://api.github.com/users/mps-youtube/followers","following_url":"https://api.github.com/users/mps-youtube/following{/other_user}","gists_url":"https://api.github.com/users/mps-youtube/gists{/gist_id}","starred_url":"https://api.github.com/users/mps-youtube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mps-youtube/subscriptions","organizations_url":"https://api.github.com/users/mps-youtube/orgs","repos_url":"https://api.github.com/users/mps-youtube/repos","events_url":"https://api.github.com/users/mps-youtube/events{/privacy}","received_events_url":"https://api.github.com/users/mps-youtube/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mps-youtube/mps-youtube","description":"Terminal based YouTube player and downloader","fork":false,"url":"https://api.github.com/repos/mps-youtube/mps-youtube","forks_url":"https://api.github.com/repos/mps-youtube/mps-youtube/forks","keys_url":"https://api.github.com/repos/mps-youtube/mps-youtube/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mps-youtube/mps-youtube/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mps-youtube/mps-youtube/teams","hooks_url":"https://api.github.com/repos/mps-youtube/mps-youtube/hooks","issue_events_url":"https://api.github.com/repos/mps-youtube/mps-youtube/issues/events{/number}","events_url":"https://api.github.com/repos/mps-youtube/mps-youtube/events","assignees_url":"https://api.github.com/repos/mps-youtube/mps-youtube/assignees{/user}","branches_url":"https://api.github.com/repos/mps-youtube/mps-youtube/branches{/branch}","tags_url":"https://api.github.com/repos/mps-youtube/mps-youtube/tags","blobs_url":"https://api.github.com/repos/mps-youtube/mps-youtube/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mps-youtube/mps-youtube/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mps-youtube/mps-youtube/git/refs{/sha}","trees_url":"https://api.github.com/repos/mps-youtube/mps-youtube/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mps-youtube/mps-youtube/statuses/{sha}","languages_url":"https://api.github.com/repos/mps-youtube/mps-youtube/languages","stargazers_url":"https://api.github.com/repos/mps-youtube/mps-youtube/stargazers","contributors_url":"https://api.github.com/repos/mps-youtube/mps-youtube/contributors","subscribers_url":"https://api.github.com/repos/mps-youtube/mps-youtube/subscribers","subscription_url":"https://api.github.com/repos/mps-youtube/mps-youtube/subscription","commits_url":"https://api.github.com/repos/mps-youtube/mps-youtube/commits{/sha}","git_commits_url":"https://api.github.com/repos/mps-youtube/mps-youtube/git/commits{/sha}","comments_url":"https://api.github.com/repos/mps-youtube/mps-youtube/comments{/number}","issue_comment_url":"https://api.github.com/repos/mps-youtube/mps-youtube/issues/comments{/number}","contents_url":"https://api.github.com/repos/mps-youtube/mps-youtube/contents/{+path}","compare_url":"https://api.github.com/repos/mps-youtube/mps-youtube/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mps-youtube/mps-youtube/merges","archive_url":"https://api.github.com/repos/mps-youtube/mps-youtube/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mps-youtube/mps-youtube/downloads","issues_url":"https://api.github.com/repos/mps-youtube/mps-youtube/issues{/number}","pulls_url":"https://api.github.com/repos/mps-youtube/mps-youtube/pulls{/number}","milestones_url":"https://api.github.com/repos/mps-youtube/mps-youtube/milestones{/number}","notifications_url":"https://api.github.com/repos/mps-youtube/mps-youtube/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mps-youtube/mps-youtube/labels{/name}","releases_url":"https://api.github.com/repos/mps-youtube/mps-youtube/releases{/id}","deployments_url":"https://api.github.com/repos/mps-youtube/mps-youtube/deployments","created_at":"2014-02-03T04:17:46Z","updated_at":"2016-04-08T20:56:11Z","pushed_at":"2016-03-31T17:17:44Z","git_url":"git://github.com/mps-youtube/mps-youtube.git","ssh_url":"git@github.com:mps-youtube/mps-youtube.git","clone_url":"https://github.com/mps-youtube/mps-youtube.git","svn_url":"https://github.com/mps-youtube/mps-youtube","homepage":"","size":2430,"stargazers_count":1618,"watchers_count":1618,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":168,"mirror_url":null,"open_issues_count":93,"forks":168,"open_issues":93,"watchers":1618,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/mps-youtube/mps-youtube/pulls/472"},"html":{"href":"https://github.com/mps-youtube/mps-youtube/pull/472"},"issue":{"href":"https://api.github.com/repos/mps-youtube/mps-youtube/issues/472"},"comments":{"href":"https://api.github.com/repos/mps-youtube/mps-youtube/issues/472/comments"},"review_comments":{"href":"https://api.github.com/repos/mps-youtube/mps-youtube/pulls/472/comments"},"review_comment":{"href":"https://api.github.com/repos/mps-youtube/mps-youtube/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mps-youtube/mps-youtube/pulls/472/commits"},"statuses":{"href":"https://api.github.com/repos/mps-youtube/mps-youtube/statuses/3851b483a5d7d51573051cad382638c64ae250f3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":16,"additions":70,"deletions":0,"changed_files":3}}