{"action":"closed","number":39,"pull_request":{"url":"https://api.github.com/repos/Fornoth/spotify-connect-web/pulls/39","id":61019195,"html_url":"https://github.com/Fornoth/spotify-connect-web/pull/39","diff_url":"https://github.com/Fornoth/spotify-connect-web/pull/39.diff","patch_url":"https://github.com/Fornoth/spotify-connect-web/pull/39.patch","issue_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/issues/39","number":39,"state":"closed","locked":false,"title":"Do not force usage of username&password (credentials can be saved)","user":{"login":"Alex131089","id":1735067,"avatar_url":"https://avatars.githubusercontent.com/u/1735067?v=3","gravatar_id":"","url":"https://api.github.com/users/Alex131089","html_url":"https://github.com/Alex131089","followers_url":"https://api.github.com/users/Alex131089/followers","following_url":"https://api.github.com/users/Alex131089/following{/other_user}","gists_url":"https://api.github.com/users/Alex131089/gists{/gist_id}","starred_url":"https://api.github.com/users/Alex131089/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alex131089/subscriptions","organizations_url":"https://api.github.com/users/Alex131089/orgs","repos_url":"https://api.github.com/users/Alex131089/repos","events_url":"https://api.github.com/users/Alex131089/events{/privacy}","received_events_url":"https://api.github.com/users/Alex131089/received_events","type":"User","site_admin":false},"body":"Allow usage of the \"connect mode\" when you already saved your credentials by using username & password once.\r\n\r\nAlso, I modified spotify-connect-web.sh this way : \r\n```\r\n#!/bin/bash\r\nset -e\r\n\r\nDIR=~/spotify-connect-web-chroot\r\nMAIN=main.py\r\nif [ \"$USER\" == \"root\" ]; then\r\n        SUDO=\r\nelse\r\n        SUDO=sudo\r\nfi\r\n\r\nif [ \"$1\" == \"install\" ]; then\r\n        mkdir -p $DIR\r\n        cd $DIR\r\n        curl http://spotify-connect-web.s3-website.eu-central-1.amazonaws.com/spotify-connect-web.tar.gz | $SUDO tar xz\r\nelse\r\n        if [ \"$1\" == \"connect\" ]; then\r\n                MAIN=connect.py\r\n                shift\r\n        fi\r\n        trap \"$SUDO umount $DIR/dev $DIR/proc\" EXIT\r\n        $SUDO mount --bind /dev $DIR/dev\r\n        $SUDO mount -t proc proc $DIR/proc/\r\n        $SUDO cp /etc/resolv.conf $DIR/etc/\r\n        $SUDO chroot $DIR /bin/bash -c \"cd /usr/src/app && python $MAIN $*\"\r\nfi\r\n```\r\n\r\nSo it can be launched this way without web browser & it don't use sudo if already root : \r\n`./spotify-connect-web.sh connect --name MyConnect`\r\nIf you want to take it :)\r\n\r\nThanks for this project !","created_at":"2016-02-29T02:12:03Z","updated_at":"2016-07-03T06:17:52Z","closed_at":"2016-07-03T06:17:52Z","merged_at":null,"merge_commit_sha":"207f571dabf75d4b4d5495a1751ac7ece43f653b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/pulls/39/commits","review_comments_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/pulls/39/comments","review_comment_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/issues/39/comments","statuses_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/statuses/2eac5716de4c71c4a319647f4bda445141434db9","head":{"label":"Alex131089:master","ref":"master","sha":"2eac5716de4c71c4a319647f4bda445141434db9","user":{"login":"Alex131089","id":1735067,"avatar_url":"https://avatars.githubusercontent.com/u/1735067?v=3","gravatar_id":"","url":"https://api.github.com/users/Alex131089","html_url":"https://github.com/Alex131089","followers_url":"https://api.github.com/users/Alex131089/followers","following_url":"https://api.github.com/users/Alex131089/following{/other_user}","gists_url":"https://api.github.com/users/Alex131089/gists{/gist_id}","starred_url":"https://api.github.com/users/Alex131089/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alex131089/subscriptions","organizations_url":"https://api.github.com/users/Alex131089/orgs","repos_url":"https://api.github.com/users/Alex131089/repos","events_url":"https://api.github.com/users/Alex131089/events{/privacy}","received_events_url":"https://api.github.com/users/Alex131089/received_events","type":"User","site_admin":false},"repo":{"id":52755956,"name":"spotify-connect-web","full_name":"Alex131089/spotify-connect-web","owner":{"login":"Alex131089","id":1735067,"avatar_url":"https://avatars.githubusercontent.com/u/1735067?v=3","gravatar_id":"","url":"https://api.github.com/users/Alex131089","html_url":"https://github.com/Alex131089","followers_url":"https://api.github.com/users/Alex131089/followers","following_url":"https://api.github.com/users/Alex131089/following{/other_user}","gists_url":"https://api.github.com/users/Alex131089/gists{/gist_id}","starred_url":"https://api.github.com/users/Alex131089/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alex131089/subscriptions","organizations_url":"https://api.github.com/users/Alex131089/orgs","repos_url":"https://api.github.com/users/Alex131089/repos","events_url":"https://api.github.com/users/Alex131089/events{/privacy}","received_events_url":"https://api.github.com/users/Alex131089/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Alex131089/spotify-connect-web","description":"","fork":true,"url":"https://api.github.com/repos/Alex131089/spotify-connect-web","forks_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/forks","keys_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/teams","hooks_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/hooks","issue_events_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/issues/events{/number}","events_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/events","assignees_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/assignees{/user}","branches_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/branches{/branch}","tags_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/tags","blobs_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/statuses/{sha}","languages_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/languages","stargazers_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/stargazers","contributors_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/contributors","subscribers_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/subscribers","subscription_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/subscription","commits_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/contents/{+path}","compare_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/merges","archive_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/downloads","issues_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/issues{/number}","pulls_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/pulls{/number}","milestones_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/milestones{/number}","notifications_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/labels{/name}","releases_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/releases{/id}","deployments_url":"https://api.github.com/repos/Alex131089/spotify-connect-web/deployments","created_at":"2016-02-29T01:49:05Z","updated_at":"2016-02-29T01:49:06Z","pushed_at":"2016-02-29T19:03:51Z","git_url":"git://github.com/Alex131089/spotify-connect-web.git","ssh_url":"git@github.com:Alex131089/spotify-connect-web.git","clone_url":"https://github.com/Alex131089/spotify-connect-web.git","svn_url":"https://github.com/Alex131089/spotify-connect-web","homepage":null,"size":74,"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":"master"}},"base":{"label":"Fornoth:master","ref":"master","sha":"f2293f75ba709afef749723340f83fff1b8f1b57","user":{"login":"Fornoth","id":11301718,"avatar_url":"https://avatars.githubusercontent.com/u/11301718?v=3","gravatar_id":"","url":"https://api.github.com/users/Fornoth","html_url":"https://github.com/Fornoth","followers_url":"https://api.github.com/users/Fornoth/followers","following_url":"https://api.github.com/users/Fornoth/following{/other_user}","gists_url":"https://api.github.com/users/Fornoth/gists{/gist_id}","starred_url":"https://api.github.com/users/Fornoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fornoth/subscriptions","organizations_url":"https://api.github.com/users/Fornoth/orgs","repos_url":"https://api.github.com/users/Fornoth/repos","events_url":"https://api.github.com/users/Fornoth/events{/privacy}","received_events_url":"https://api.github.com/users/Fornoth/received_events","type":"User","site_admin":false},"repo":{"id":32625517,"name":"spotify-connect-web","full_name":"Fornoth/spotify-connect-web","owner":{"login":"Fornoth","id":11301718,"avatar_url":"https://avatars.githubusercontent.com/u/11301718?v=3","gravatar_id":"","url":"https://api.github.com/users/Fornoth","html_url":"https://github.com/Fornoth","followers_url":"https://api.github.com/users/Fornoth/followers","following_url":"https://api.github.com/users/Fornoth/following{/other_user}","gists_url":"https://api.github.com/users/Fornoth/gists{/gist_id}","starred_url":"https://api.github.com/users/Fornoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fornoth/subscriptions","organizations_url":"https://api.github.com/users/Fornoth/orgs","repos_url":"https://api.github.com/users/Fornoth/repos","events_url":"https://api.github.com/users/Fornoth/events{/privacy}","received_events_url":"https://api.github.com/users/Fornoth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Fornoth/spotify-connect-web","description":"","fork":false,"url":"https://api.github.com/repos/Fornoth/spotify-connect-web","forks_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/forks","keys_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/teams","hooks_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/hooks","issue_events_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/issues/events{/number}","events_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/events","assignees_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/assignees{/user}","branches_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/branches{/branch}","tags_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/tags","blobs_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/statuses/{sha}","languages_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/languages","stargazers_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/stargazers","contributors_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/contributors","subscribers_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/subscribers","subscription_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/subscription","commits_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/contents/{+path}","compare_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/merges","archive_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/downloads","issues_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/issues{/number}","pulls_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/pulls{/number}","milestones_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/milestones{/number}","notifications_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/labels{/name}","releases_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/releases{/id}","deployments_url":"https://api.github.com/repos/Fornoth/spotify-connect-web/deployments","created_at":"2015-03-21T08:36:24Z","updated_at":"2016-07-02T16:13:50Z","pushed_at":"2016-07-03T06:16:56Z","git_url":"git://github.com/Fornoth/spotify-connect-web.git","ssh_url":"git@github.com:Fornoth/spotify-connect-web.git","clone_url":"https://github.com/Fornoth/spotify-connect-web.git","svn_url":"https://github.com/Fornoth/spotify-connect-web","homepage":null,"size":101,"stargazers_count":141,"watchers_count":141,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":20,"forks":25,"open_issues":20,"watchers":141,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Fornoth/spotify-connect-web/pulls/39"},"html":{"href":"https://github.com/Fornoth/spotify-connect-web/pull/39"},"issue":{"href":"https://api.github.com/repos/Fornoth/spotify-connect-web/issues/39"},"comments":{"href":"https://api.github.com/repos/Fornoth/spotify-connect-web/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/Fornoth/spotify-connect-web/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/Fornoth/spotify-connect-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Fornoth/spotify-connect-web/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/Fornoth/spotify-connect-web/statuses/2eac5716de4c71c4a319647f4bda445141434db9"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":0,"commits":9,"additions":30,"deletions":9,"changed_files":3}}
{"actor":{"display_login":"Fornoth"}}