Skip to content

Conversation

@brachna
Copy link
Contributor

@brachna brachna commented Jan 11, 2017

This PR adds support for musicbed.com.
This is done using new process_musicbed() function.

It also adds 2 new arguments to SoundScrape:
-L or --login sets login text.
-P or --password sets password text.
process_musicbed() requires login and password information in order to
download full songs from the site.
It will notify user if he/she forgot to set their login and/or password.
Of course these arguments can be also used in different plugins if they
would need them.

Also download_file() function is modified in order to OPTIONALLY download using
Session object and/or params. These changes were required for
process_musicbed() to do it's job. No other plugins should be affected by
this change.

At last test.py was updated with musicbed test.

I made several tests, fixed errors I could find, so far it seems to be
stable.

This PR adds support for musicbed.com.
This is done using new process_musicbed() function.

It also adds 2 new arguments to SoundScrape:
-L or --login sets login text.
-P or --password sets password text.
process_musicbed() requires login and password information in order to
download full songs from the site.
It will notify user if he/she forgot to set their login and/or password.
Of course these arguments can be also used in different plugins if they
would need them.

Also download_file() function is modified in order to OPTIONALLY download using
Session object and/or params. These changes were required for
process_musicbed() to do it's job. No other plugins should be affected by
this change.

At last test.py was updated with musicbed test.

I made several tests, fixed errors I could find, so far it seems to be
stable.
@brachna
Copy link
Contributor Author

brachna commented Jan 11, 2017

Every test passes on my machine when ran locally. I have no idea what travis doesn't like.

@Miserlou
Copy link
Owner

Miserlou commented Jan 11, 2017 via email

@brachna
Copy link
Contributor Author

brachna commented Jan 12, 2017

Ok, looking at travis logs - it's MixCloud test that's failing, not MusicBed.
Maybe it's an IP thing.

So what do you think of this PR? Any changes?

@Miserlou Miserlou merged commit b63f6a7 into Miserlou:master Jan 16, 2017
@Miserlou
Copy link
Owner

I don't know why we're adding this, but hey, it's a great PR.

@brachna brachna deleted the dev branch January 16, 2017 20:20
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.

2 participants