Skip to main content

Backend for listening to bandcamp

Project description

Latest PyPI version Latest GitHub release Latest GitHub Commits Code Coverage

Mopidy extension for playing music from Bandcamp.

This backend this allows searching bandcamp and playing the free 128kbps MP3 streams.

Unfortunately, it does not support authentication and listening to high quality streams in your collection. I’d love to support that if someone wants to reverse-engineer the X-Bandcamp-DM and X-Bandcamp-PoW headers.

Installation

Install by running:

sudo pip install Mopidy-Bandcamp

Configuration

Before starting Mopidy, you must enable Mopidy-Bandcamp in the Mopidy configuration file:

[bandcamp]
enabled = true

Other Configuration Options

  • discover_tags - List of tags to discover. You’ll really want to change this to any tags that interest you. Example: discover_tags = French House, Brit Pop, Tokyo, New Wave, Industrial

  • discover_genres - List of bandcamp’s genres to discover. You’ll only want to edit this to remove unwanted genres.

  • discover_pages - Number of pages to load in the browse discover sections. Default: 1

  • art_url_as_comment - a hack to set the album art url as the track comment. Default: false

  • image_sizes - a list of ids for image sizes to return to mopidy for album art. Default: 10, 5, 2 (1200x1200, 700x700, 350x350)

Bandcamp image size ids:

ID

Width

Height

Aspect

1

Original (usually big)

10

1200

1200

Square

20

1024

1024

Square

5

700

700

Square

13

380

380

Square

14

368

368

Square

2

350

350

Square

4

300

300

Square

9

210

210

Square

44

200

200

Square

11

172

172

Square

7

150

150

Square

50

140

140

Square

12

138

138

Square

15

135

135

Square

8

124

124

Square

21

120

120

Square

3

100

100

Square

42

50

50

Square

22

25

25

Square

26

800

600

4:3

36

400

300

4:3

32

380

285

4:3

33

368

276

4:3

37

168

126

4:3

38

144

108

4:3

29

100

75

4:3

28

768

432

16:9

27

715

402

16:9

Project resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Mopidy-Bandcamp-1.0.0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

Mopidy_Bandcamp-1.0.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file Mopidy-Bandcamp-1.0.0.tar.gz.

File metadata

  • Download URL: Mopidy-Bandcamp-1.0.0.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for Mopidy-Bandcamp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4a2fd0d763ad61554e8fa2563553883fb1f8e45e88b0e93b542b076e3bb55256
MD5 962908b10f85b73faddea13dfc685cb5
BLAKE2b-256 0e1bd04b58bd927ee23872ecaeabfe93e7156eb150f848bb69d4857cad311097

See more details on using hashes here.

File details

Details for the file Mopidy_Bandcamp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: Mopidy_Bandcamp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for Mopidy_Bandcamp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a51badd88c383b922983bec429b015969818fb75d651d887d7c8924058e3b022
MD5 6228cfcf068652a230786f71a375cc8f
BLAKE2b-256 879469d2770c4596f3e8e20b9db2094b8c1d1b8a63665b2f0f3666331cc6a2a3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page