Skip to main content

Mopidy Mixcloud extension

Project description


Mopidy-Mixcloud


Installation

If you already have mopidy installed <https://docs.mopidy.com/en/latest/installation/>_ and running, you can install just by running on a command line: :: sudo pip install Mopidy-Mixcloud

If not, maybe you could have a look at Radio Rough HTML <https://github.com/unusualcomputers/unusualcomputers/blob/master/code/mopidy/mopidyradioroughhtml/README.rst>_ or Radio Rough <https://github.com/unusualcomputers/unusualcomputers/blob/master/code/mopidy/mopidyradiorough/README.rst>_ :)

Use

Once installed the addin behaves much like the rest of mopidy addins, with a couple of special tweaks. In the browsing section there are directories for Categories, Users and Tags. User directory is used for browsing users' cloudcasts, playlists, favorites etc. By default it is populated from the config file (see below). Tags directory is used for exploring mixcloud tags, this is like "discover" groups on Mixcloud website. Like users, this is by default populated from the config file (see below).

Searching for users can be done by adding 'user:' in front of a search string (without quotes), for example: user:factionmix. Once the search is completed the users's cloudcasts will be listed as abums. Additional user information for all dicovered users wil lbe automatically added to User section in the browsing screen.

Similarly you can search for tags (for example tag:jazz) or cities (city:budapest). The results of these searches will also appear under Tags top menu.

To clear this search for string 'refresh:'. This will also clear internal caches so you will be able to get updated data from mixcloud. Caches are cleared automatically about every 10 minutes.

Configuration

Once installed it will work, you can disable it by setting enabled=false in [mixcloud] section of mopidy.conf <https://docs.mopidy.com/en/latest/config/>_. You can also list your favorite users (including yourself) in a comma separated list under users setting in [mixcloud] section. These users will then appear in Mixcloud/Users section in Mopidy and you will be able to browse their cloudcasts, playlists, followers etc

Similarly, you can add your favorite tags under tags setting, this also works with cities, so you can have something like tags=city:budapest,jazz and in your Tags section you will have two entries, *city:budapest" and jazz.

Sometimes (often) Mixcloud serches return many, many, many results and this is slow to load and displaybut also not really relevant for the most of it. So the plugin limits the number of results it displays. Default is 20, but this can be changed in configuration file, under serch_max.

The plugin caches all of its results, then refreshes the cache about every 10 minutes. This makes it feel faster :) The refresh period can be configured with setting refresh_period.

It is, sadly, impossible to play "select exclusive" mixcloud tracks outside their website, even if you are subscribed to them. To reduce the clutter these are ignored and not displayed by the plugin. You can switch that back on and see them, though still not play them, by setting ignore_exclusive to False.

Project resources

  • Source code <https://github.com/unusualcomputers/unusualcomputers/tree/master/code/mopidy/mopidymixcloud>_

Credits

  • Original author: unusual computers <http://unusualcomputerscollective.org>__ (also on github <https://github.com/unusualcomputers/unusualcomputers/blob/master/README.md#unusual-computers-collective>__)

I have learned a lot from jackyNIX's <https://github.com/jackyNIX/xbmc-mixcloud-plugin>__ code for kodi MixCloud plugin.

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-Mixcloud-3.14.15.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

Mopidy_Mixcloud-3.14.15-py2.py3-none-any.whl (15.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file Mopidy-Mixcloud-3.14.15.tar.gz.

File metadata

  • Download URL: Mopidy-Mixcloud-3.14.15.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/2.7.16

File hashes

Hashes for Mopidy-Mixcloud-3.14.15.tar.gz
Algorithm Hash digest
SHA256 eaf0d4291fc402f6427484ed2b1c6f3208170123bff1fe1d03c6ec5ffa5fe4af
MD5 bfc76c47855f13a051f710c77d179b1d
BLAKE2b-256 f5f673dfa309c8c23cb841d89a740c1993b1eeedbe933a7bb6faa31619f67cd3

See more details on using hashes here.

File details

Details for the file Mopidy_Mixcloud-3.14.15-py2.py3-none-any.whl.

File metadata

  • Download URL: Mopidy_Mixcloud-3.14.15-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/2.7.16

File hashes

Hashes for Mopidy_Mixcloud-3.14.15-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6e36c8c011a073dbba9e4fc22ea1cdcd98c7d2e0035bbd31a87100ebcd2f9bd4
MD5 36ca136427ea141ce70e329825824fd5
BLAKE2b-256 aa3e2ff919a45bf851fd3736c96f5ed07206c8fd83983ad3fca01a71b0b50a7f

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