Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bs1770gainsupport #1343

Merged
merged 9 commits into from Mar 3, 2015
Merged

Bs1770gainsupport #1343

merged 9 commits into from Mar 3, 2015

Conversation

jmwatte
Copy link
Collaborator

@jmwatte jmwatte commented Mar 2, 2015

I hope I did it beter with this one... Still learning my way around this git and github thing. I haven't been able to do that test-thing because frankly I've never done it before...
Already thxs for the previous remarks.

@sampsyo
Copy link
Member

sampsyo commented Mar 2, 2015

Thanks for updating this! For posterity: this is a continuation of the work in #1340. For future reference, @jmwatte, it's possible to add commits to an existing pull request. (In fact, you can see that happened automatically at the bottom of #1340.) Just push to the same branch the active PR is on.

@@ -32,12 +33,14 @@
# Utilities.

class ReplayGainError(Exception):

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This extra whitespace is not needed. Can you please delete it again?

@sampsyo
Copy link
Member

sampsyo commented Mar 2, 2015

Overall, this is looking good. Thank you for the contribution; this backend looks like the most versatile one yet. I have just a few suggestions above.

We can add this without tests for now, but this might be a great learning opportunity! It would be awesome to have some code that demonstrates that this works. Can I convince you to look into the existing RG backend tests? They should be easily adaptable to the new backend. We can do this as the next project after merging the core functionality.

@jmwatte
Copy link
Collaborator Author

jmwatte commented Mar 2, 2015

I'll see if I can figure out the test. One question... I have made the suggested changes and pushed them to my git-fork. Does it then come to here automatically or do I have to do something else... You've got to love a noob...

@sampsyo
Copy link
Member

sampsyo commented Mar 2, 2015

Yes! It's that easy. Just push new commits to the same branch and they will appear here.

call([cmd, self.method])
self.command = cmd
except OSError:
pass
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that

except OSError:
    raise FatalReplayGainError('...')

would be terser & more elegant

@sampsyo sampsyo merged commit 5d7d402 into beetbox:master Mar 3, 2015
sampsyo added a commit that referenced this pull request Mar 3, 2015
sampsyo added a commit that referenced this pull request Mar 3, 2015
sampsyo added a commit that referenced this pull request Mar 3, 2015
@sampsyo
Copy link
Member

sampsyo commented Mar 3, 2015

Thank you! And thanks for your astute comments, @brunal. All merged. I look forward to seeing how the tests go—please let me know if I can help with those.

@jmwatte
Copy link
Collaborator Author

jmwatte commented Mar 3, 2015

I just pushed my first try at the tests... But I have no idea if that is what you mean... Just shooting in the dark.  I did install all the dependencies and ran the tests....  Deleted my bs1770gain from my path... The tests were skipped... And passed when I put it back... So.... Let me know...
Sent using CloudMagic
On Tue, Mar 03, 2015 at 7:42 PM, Adrian Sampson notifications@github.com wrote:Thank you! And thanks for your astute comments, @brunal. All merged. I look forward to seeing how the tests go—please let me know if I can help with those.

—Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants