Enjoy Melon chart music in Youtube playlist. Hope you have Youtube RED :)
Alfred Workflow that uses melon-chart-api module to fetch Melon Weekly music chart, then populates a new playlist on your Youtube account.
This Alfred Workflow makes good use of Alfy.
npm install -g alfred-melon-youtube
Commands available:
melyou
- create or delete a playlistmelyou-auth
- get this workflow authenticated with your Youtube account via OAuth2
Please get authenticated first with melyou-auth
command.
The authentication step requires you to copy a code from Google and provide it to this workflow.
Once authenticated, the workflow is able to create/delete a playlist.
Notes on playlist actions:
- A playlist with 50 songs takes arounc 25 seconds to complete. This is due the fact that API requests are limited to 2 requests per second.
- Added songs might not be from an official Youtube channel as the code picks the first result from the search.
- Do not expect any notification from the actions - perhaps something to add in the future.
Removing the permission:
- If you wish to remove the permission you've granted to this workflow, head over to Google account and simply remove the permission.
Modules used: