Skip to content

Configuration: Soundcloud

Oscar Ruckdeschel edited this page Feb 23, 2016 · 2 revisions

Configuration: Soundcloud

entry = extract.get_entry('soundcloud')

soundcloud = {
    'client_id': '<client_id>',
    'client_secret': '<client_secret>',
    'username': '<username>', # or entry.username
    'password': '<password>', # or entry.password
    'max_count': 5, # <maximal count of items>,
    'accepted_types': {
        'track': True,
        'track-repost': True,
        'comment': True,
        'favoriting': True
    },
}

The soundcloud module needs a lot of configuration.

The client_id and the client_secret have to be generated here.

The username and password fields can be filled in directly into the config.py. But Centr also can access your KeePass file. (How to setup and configure this access can be read on https://github.com/ibiBgOR/centr/wiki/Configuration).

The max_count variable let you choose how many items you want to have on your Centr dashboard.

With the accepted_types variable/dict you can configure, which events you want to see. (Currently only track and track-repost can be displayed)

Clone this wiki locally