{"action":"opened","number":1340,"pull_request":{"url":"https://api.github.com/repos/sampsyo/beets/pulls/1340","id":30225606,"html_url":"https://github.com/sampsyo/beets/pull/1340","diff_url":"https://github.com/sampsyo/beets/pull/1340.diff","patch_url":"https://github.com/sampsyo/beets/pull/1340.patch","issue_url":"https://api.github.com/repos/sampsyo/beets/issues/1340","number":1340,"state":"open","locked":false,"title":"Added support for bs1770gain, a loudness-scanner","user":{"login":"jmwatte","id":768112,"avatar_url":"https://avatars.githubusercontent.com/u/768112?v=3","gravatar_id":"","url":"https://api.github.com/users/jmwatte","html_url":"https://github.com/jmwatte","followers_url":"https://api.github.com/users/jmwatte/followers","following_url":"https://api.github.com/users/jmwatte/following{/other_user}","gists_url":"https://api.github.com/users/jmwatte/gists{/gist_id}","starred_url":"https://api.github.com/users/jmwatte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmwatte/subscriptions","organizations_url":"https://api.github.com/users/jmwatte/orgs","repos_url":"https://api.github.com/users/jmwatte/repos","events_url":"https://api.github.com/users/jmwatte/events{/privacy}","received_events_url":"https://api.github.com/users/jmwatte/received_events","type":"User","site_admin":false},"body":"New to this... \r\nI have added support  for bs1770gain (http://bs1770gain.sourceforge.net). \r\nJust download it (   ex. http://download2.polytechnic.edu.na/pub/sourceforge/b/bs/bs1770gain/bs1770gain/0.4.1/\r\n ) and put it in your $PATH. \r\nIn beets.config under replaygain: I put\r\nbackend: bs1770gain\r\nmethod: --replaygain\r\n\r\nI am running it for a few days,  it works. \r\nInstead of --replaygain you can use... \r\n --ebu:  calculate replay gain according to EBU R128\r\n   (-23.0 LUFS, default)\r\n --atsc:  calculate replay gain according to ATSC A/85\r\n   (-24.0 LUFS)\r\n --replaygain:  calculate replay gain according to\r\n   ReplayGain 2.0 (-18.0 LUFS)\r\n\r\nIf you wonder what loudness is all about... https://auphonic.com/blog/2012/08/02/loudness-measurement-and-normalization-ebu-r128-calm-act/\r\n\r\nI was wondering if I should put a reference level tag with it.  Might come in very handy for searching and re-replaygaining your library.  The ref level is what's between the brackets (ex. -18.0 LUFS) and is dependent on the chosen method... but I wonder what would be an easy way to implement that. Now it has just this album gain/track gain standard...\r\nAny help/ suggestions/remarks.... They are all appreciated... ","created_at":"2015-02-28T15:17:37Z","updated_at":"2015-02-28T15:17:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sampsyo/beets/pulls/1340/commits","review_comments_url":"https://api.github.com/repos/sampsyo/beets/pulls/1340/comments","review_comment_url":"https://api.github.com/repos/sampsyo/beets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sampsyo/beets/issues/1340/comments","statuses_url":"https://api.github.com/repos/sampsyo/beets/statuses/1385ce11cab8f7fc5c98ad313f0515ea1f660bfb","head":{"label":"jmwatte:master","ref":"master","sha":"1385ce11cab8f7fc5c98ad313f0515ea1f660bfb","user":{"login":"jmwatte","id":768112,"avatar_url":"https://avatars.githubusercontent.com/u/768112?v=3","gravatar_id":"","url":"https://api.github.com/users/jmwatte","html_url":"https://github.com/jmwatte","followers_url":"https://api.github.com/users/jmwatte/followers","following_url":"https://api.github.com/users/jmwatte/following{/other_user}","gists_url":"https://api.github.com/users/jmwatte/gists{/gist_id}","starred_url":"https://api.github.com/users/jmwatte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmwatte/subscriptions","organizations_url":"https://api.github.com/users/jmwatte/orgs","repos_url":"https://api.github.com/users/jmwatte/repos","events_url":"https://api.github.com/users/jmwatte/events{/privacy}","received_events_url":"https://api.github.com/users/jmwatte/received_events","type":"User","site_admin":false},"repo":{"id":31464613,"name":"beets","full_name":"jmwatte/beets","owner":{"login":"jmwatte","id":768112,"avatar_url":"https://avatars.githubusercontent.com/u/768112?v=3","gravatar_id":"","url":"https://api.github.com/users/jmwatte","html_url":"https://github.com/jmwatte","followers_url":"https://api.github.com/users/jmwatte/followers","following_url":"https://api.github.com/users/jmwatte/following{/other_user}","gists_url":"https://api.github.com/users/jmwatte/gists{/gist_id}","starred_url":"https://api.github.com/users/jmwatte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmwatte/subscriptions","organizations_url":"https://api.github.com/users/jmwatte/orgs","repos_url":"https://api.github.com/users/jmwatte/repos","events_url":"https://api.github.com/users/jmwatte/events{/privacy}","received_events_url":"https://api.github.com/users/jmwatte/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmwatte/beets","description":"music library manager and MusicBrainz tagger","fork":true,"url":"https://api.github.com/repos/jmwatte/beets","forks_url":"https://api.github.com/repos/jmwatte/beets/forks","keys_url":"https://api.github.com/repos/jmwatte/beets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmwatte/beets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmwatte/beets/teams","hooks_url":"https://api.github.com/repos/jmwatte/beets/hooks","issue_events_url":"https://api.github.com/repos/jmwatte/beets/issues/events{/number}","events_url":"https://api.github.com/repos/jmwatte/beets/events","assignees_url":"https://api.github.com/repos/jmwatte/beets/assignees{/user}","branches_url":"https://api.github.com/repos/jmwatte/beets/branches{/branch}","tags_url":"https://api.github.com/repos/jmwatte/beets/tags","blobs_url":"https://api.github.com/repos/jmwatte/beets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmwatte/beets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmwatte/beets/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmwatte/beets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmwatte/beets/statuses/{sha}","languages_url":"https://api.github.com/repos/jmwatte/beets/languages","stargazers_url":"https://api.github.com/repos/jmwatte/beets/stargazers","contributors_url":"https://api.github.com/repos/jmwatte/beets/contributors","subscribers_url":"https://api.github.com/repos/jmwatte/beets/subscribers","subscription_url":"https://api.github.com/repos/jmwatte/beets/subscription","commits_url":"https://api.github.com/repos/jmwatte/beets/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmwatte/beets/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmwatte/beets/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmwatte/beets/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmwatte/beets/contents/{+path}","compare_url":"https://api.github.com/repos/jmwatte/beets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmwatte/beets/merges","archive_url":"https://api.github.com/repos/jmwatte/beets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmwatte/beets/downloads","issues_url":"https://api.github.com/repos/jmwatte/beets/issues{/number}","pulls_url":"https://api.github.com/repos/jmwatte/beets/pulls{/number}","milestones_url":"https://api.github.com/repos/jmwatte/beets/milestones{/number}","notifications_url":"https://api.github.com/repos/jmwatte/beets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmwatte/beets/labels{/name}","releases_url":"https://api.github.com/repos/jmwatte/beets/releases{/id}","created_at":"2015-02-28T14:17:29Z","updated_at":"2015-02-28T14:37:41Z","pushed_at":"2015-02-28T14:37:41Z","git_url":"git://github.com/jmwatte/beets.git","ssh_url":"git@github.com:jmwatte/beets.git","clone_url":"https://github.com/jmwatte/beets.git","svn_url":"https://github.com/jmwatte/beets","homepage":"http://beets.radbox.org/","size":23958,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sampsyo:master","ref":"master","sha":"ccbe9079718160a89a60a70fe6153028bba7b176","user":{"login":"sampsyo","id":188033,"avatar_url":"https://avatars.githubusercontent.com/u/188033?v=3","gravatar_id":"","url":"https://api.github.com/users/sampsyo","html_url":"https://github.com/sampsyo","followers_url":"https://api.github.com/users/sampsyo/followers","following_url":"https://api.github.com/users/sampsyo/following{/other_user}","gists_url":"https://api.github.com/users/sampsyo/gists{/gist_id}","starred_url":"https://api.github.com/users/sampsyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampsyo/subscriptions","organizations_url":"https://api.github.com/users/sampsyo/orgs","repos_url":"https://api.github.com/users/sampsyo/repos","events_url":"https://api.github.com/users/sampsyo/events{/privacy}","received_events_url":"https://api.github.com/users/sampsyo/received_events","type":"User","site_admin":false},"repo":{"id":827590,"name":"beets","full_name":"sampsyo/beets","owner":{"login":"sampsyo","id":188033,"avatar_url":"https://avatars.githubusercontent.com/u/188033?v=3","gravatar_id":"","url":"https://api.github.com/users/sampsyo","html_url":"https://github.com/sampsyo","followers_url":"https://api.github.com/users/sampsyo/followers","following_url":"https://api.github.com/users/sampsyo/following{/other_user}","gists_url":"https://api.github.com/users/sampsyo/gists{/gist_id}","starred_url":"https://api.github.com/users/sampsyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampsyo/subscriptions","organizations_url":"https://api.github.com/users/sampsyo/orgs","repos_url":"https://api.github.com/users/sampsyo/repos","events_url":"https://api.github.com/users/sampsyo/events{/privacy}","received_events_url":"https://api.github.com/users/sampsyo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sampsyo/beets","description":"music library manager and MusicBrainz tagger","fork":false,"url":"https://api.github.com/repos/sampsyo/beets","forks_url":"https://api.github.com/repos/sampsyo/beets/forks","keys_url":"https://api.github.com/repos/sampsyo/beets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sampsyo/beets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sampsyo/beets/teams","hooks_url":"https://api.github.com/repos/sampsyo/beets/hooks","issue_events_url":"https://api.github.com/repos/sampsyo/beets/issues/events{/number}","events_url":"https://api.github.com/repos/sampsyo/beets/events","assignees_url":"https://api.github.com/repos/sampsyo/beets/assignees{/user}","branches_url":"https://api.github.com/repos/sampsyo/beets/branches{/branch}","tags_url":"https://api.github.com/repos/sampsyo/beets/tags","blobs_url":"https://api.github.com/repos/sampsyo/beets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sampsyo/beets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sampsyo/beets/git/refs{/sha}","trees_url":"https://api.github.com/repos/sampsyo/beets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sampsyo/beets/statuses/{sha}","languages_url":"https://api.github.com/repos/sampsyo/beets/languages","stargazers_url":"https://api.github.com/repos/sampsyo/beets/stargazers","contributors_url":"https://api.github.com/repos/sampsyo/beets/contributors","subscribers_url":"https://api.github.com/repos/sampsyo/beets/subscribers","subscription_url":"https://api.github.com/repos/sampsyo/beets/subscription","commits_url":"https://api.github.com/repos/sampsyo/beets/commits{/sha}","git_commits_url":"https://api.github.com/repos/sampsyo/beets/git/commits{/sha}","comments_url":"https://api.github.com/repos/sampsyo/beets/comments{/number}","issue_comment_url":"https://api.github.com/repos/sampsyo/beets/issues/comments{/number}","contents_url":"https://api.github.com/repos/sampsyo/beets/contents/{+path}","compare_url":"https://api.github.com/repos/sampsyo/beets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sampsyo/beets/merges","archive_url":"https://api.github.com/repos/sampsyo/beets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sampsyo/beets/downloads","issues_url":"https://api.github.com/repos/sampsyo/beets/issues{/number}","pulls_url":"https://api.github.com/repos/sampsyo/beets/pulls{/number}","milestones_url":"https://api.github.com/repos/sampsyo/beets/milestones{/number}","notifications_url":"https://api.github.com/repos/sampsyo/beets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sampsyo/beets/labels{/name}","releases_url":"https://api.github.com/repos/sampsyo/beets/releases{/id}","created_at":"2010-08-09T23:17:20Z","updated_at":"2015-02-28T14:31:28Z","pushed_at":"2015-02-25T06:18:21Z","git_url":"git://github.com/sampsyo/beets.git","ssh_url":"git@github.com:sampsyo/beets.git","clone_url":"https://github.com/sampsyo/beets.git","svn_url":"https://github.com/sampsyo/beets","homepage":"http://beets.radbox.org/","size":23958,"stargazers_count":3688,"watchers_count":3688,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":566,"mirror_url":null,"open_issues_count":276,"forks":566,"open_issues":276,"watchers":3688,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sampsyo/beets/pulls/1340"},"html":{"href":"https://github.com/sampsyo/beets/pull/1340"},"issue":{"href":"https://api.github.com/repos/sampsyo/beets/issues/1340"},"comments":{"href":"https://api.github.com/repos/sampsyo/beets/issues/1340/comments"},"review_comments":{"href":"https://api.github.com/repos/sampsyo/beets/pulls/1340/comments"},"review_comment":{"href":"https://api.github.com/repos/sampsyo/beets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sampsyo/beets/pulls/1340/commits"},"statuses":{"href":"https://api.github.com/repos/sampsyo/beets/statuses/1385ce11cab8f7fc5c98ad313f0515ea1f660bfb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":109,"deletions":2,"changed_files":1}}