mopidy-funkwhale/README.rst

70 lines
1.8 KiB
ReStructuredText
Raw Permalink Normal View History

2018-10-03 18:34:45 +02:00
================
mopidy-funkwhale
================
2018-10-03 22:40:14 +02:00
A small `Mopidy`_ backend extension to stream music from a Funkwhale server.
2018-10-03 18:34:45 +02:00
2018-10-03 22:40:14 +02:00
Features
--------
2018-10-03 18:34:45 +02:00
2018-10-03 22:40:14 +02:00
* Searching for tracks, albums and artists available in your Funkwhale instance
2020-11-26 14:55:29 +01:00
* Browse all libraries, artists and albums
2018-10-05 00:06:09 +02:00
* Browse your favorites
2018-10-03 22:40:14 +02:00
* Simple configuration
2018-10-03 18:34:45 +02:00
2018-10-03 22:40:14 +02:00
Installation
------------
2018-10-03 18:34:45 +02:00
2020-05-11 16:13:45 +02:00
We assume you have a Mopidy server available (version 3 or greater required).
2018-10-03 18:34:45 +02:00
2018-10-03 22:40:14 +02:00
.. code-block:: shell
2018-10-03 18:34:45 +02:00
apt-get install libcairo2-dev libgirepository1.0-dev python3-dev
2020-09-08 21:34:27 +02:00
sudo python3 -m pip install mopidy-funkwhale
2020-09-08 19:04:36 +02:00
2018-10-03 18:34:45 +02:00
2018-10-03 22:40:14 +02:00
.. note::
Depending on your setup, you may want to run this comand with ``sudo`` or ``--user``
Configuration
-------------
To enable the extension, add the following to your ``mopidy.conf`` file::
[funkwhale]
enabled = true
# URL of your funkwhale instance
url = https://demo.funkwhale.audio
2019-05-03 12:41:46 +02:00
# Application credentials (leave empty fo anonymous access)
# If you don't now what to put here, just run `mopidy funkwhale login` for
# the instructions
client_id =
client_secret =
# If for some reason, you want to use the legacy password-based auth,
# uncomment the variables below
# username = demo
# password = demo
2018-10-05 00:06:09 +02:00
# duration of cache entries before they are removed, in seconds
# 0 to cache forever, empty to disable cache
cache_duration = 600
2018-10-03 22:40:14 +02:00
Of course, replace the demo values with your actual info (but you can
try using the demo server).
2018-10-03 18:34:45 +02:00
2018-10-03 22:40:14 +02:00
After that, reload your mopidy daemon, and you should be good!
2018-10-05 00:06:09 +02:00
2019-05-03 12:41:46 +02:00
Authorization
-------------
This plugin support the OAuth authorization workflow that is included in Funkwhale 0.19.
Run ``mopidy funkwhale login`` to perform authorization.
2018-10-03 22:40:14 +02:00
.. _Mopidy: https://www.mopidy.com/
.. _ncmpcpp: https://wiki.archlinux.org/index.php/ncmpcpp
.. _iris: https://github.com/jaedb/iris