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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: Mopidy-Mixcloud-3.141.59.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.141.59.tar.gz
Algorithm Hash digest
SHA256 ce71e9784530954d5589527602aa69ede76a72f8e2df378b74e6803646ce760b
MD5 b0825bc7ee415dc791d4f13aa886ece3
BLAKE2b-256 f8ee04ff033f1f455a0a2fe434d00d4cdd18267119c95e1d02357db6b52df0e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Mopidy_Mixcloud-3.141.59-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.141.59-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3957a24caf73aa955ae671f0dfd2a303b690bdc5e8205a8d4dd0916a22af66c7
MD5 3294fd6e1e118db3042a43d70555d406
BLAKE2b-256 b3ddb92e6ddcb9c9f51eddb9e3fc3559563775d11247ef3c8a0f5c7f0c7b6a6a

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