Git Product home page Git Product logo

wall-e's Introduction

wall-E

                                     _   _
                                   /u@) (@\\
                               nn      Y
                               'Y  ____H____
                                \V |- ["] -|___,,
                                 \\|T 'T' T|___nn
                                 | ||  |  ||   UU
                                /` `\\wall.E`\\
                               /  /A \\  /  A \\
                               L______J L_____J

small python based soundcloud downloader

Requirements

  • Python 3
  • pip
  • Soundcloud account
  • soundcloud playlist with title '//TODO'
  • Gmail account for mail reporting

Installation

pip install --upgrade -r requirements.txt

Setup

Run the script once to create the following basic config stub which will be saved as 'walle.ini'

[CREDENTIALS]
client_id = XXXXX
client_secret = XXXXX
soundcloud_user = soundcloud_email
soundcloud_pw = soundcloud_password
reporting_mail = sender_email
reporting_pw = sender_password
notification_mail = report_receiver_mail

[PLAYLISTS]

[PATH]
pathtomusic = where/to/save/tracks/

Fill in the credentials as shown, to get the client_id and client_secret visit https://auth0.com/docs/connections/social/soundcloud

For mail reporting fill in the credentials of the mail adress reports should be sent from, current version of wall-E only supports gmail accounts, notification mail can be from any provider. To disable mail reporting just delete the reporting and notification mail information from the config stub.

After that rerun the script to continue setting up the config. It is of fundamental importance to have a playlist titled '//TODO', otherwise wall-E will not know which tracks to download ๐Ÿ˜ž

The script will now fill the PLAYLIST section of the config file as shown

[PLAYLISTS]
todolistid = 1234567890
sets = {
        '0123456789' : 'playlist1',
        '9012345678' : 'playlist2',
        '8901234567' : 'playlist3',
        }

Last step is to ajdust the found playlist names to corresponding directory names in which the tracks will be saved if they are contained in the according playlist, otherwise the downloaded tracks will be saved in the root directory set in the config file. Now wall-E is ready for his tasks, regardless of wether triggered manually or as cronjob.

Troubleshooting

Remove walle.ini and rerun setup!

wall-e's People

Contributors

simokutlin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.