From: kaliko Date: Tue, 19 Mar 2019 14:20:45 +0000 (+0100) Subject: Fixed mopidy compatibility implementation (Closes #21) X-Git-Tag: 0.15.1^0 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;h=a46c7dcaa94bad3ecfabfc16ec6dc5d04ed86d5f;p=mpd-sima.git Fixed mopidy compatibility implementation (Closes #21) --- diff --git a/data/man/info.xml b/data/man/info.xml index 61b84c4..a67755b 100644 --- a/data/man/info.xml +++ b/data/man/info.xml @@ -5,7 +5,7 @@ - + diff --git a/data/man/mpd-sima.1 b/data/man/mpd-sima.1 index 549dbcf..e5a9e28 100644 --- a/data/man/mpd-sima.1 +++ b/data/man/mpd-sima.1 @@ -3,11 +3,11 @@ .\" Author: Jack Kaliko .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 03/19/2019 -.\" Manual: mpd-sima 0.15.0 User Manual +.\" Manual: mpd-sima 0.15.1 User Manual .\" Source: mpd-sima .\" Language: English .\" -.TH "MPD\-SIMA" "1" "03/19/2019" "mpd-sima" "mpd-sima 0.15.0 User Manual" +.TH "MPD\-SIMA" "1" "03/19/2019" "mpd-sima" "mpd-sima 0.15.1 User Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/data/man/mpd_sima.cfg.5 b/data/man/mpd_sima.cfg.5 index 2294468..6096153 100644 --- a/data/man/mpd_sima.cfg.5 +++ b/data/man/mpd_sima.cfg.5 @@ -3,11 +3,11 @@ .\" Author: Jack Kaliko .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 03/19/2019 -.\" Manual: mpd-sima 0.15.0 User Manual +.\" Manual: mpd-sima 0.15.1 User Manual .\" Source: mpd-sima .\" Language: English .\" -.TH "MPD_SIMA\&.CFG" "5" "03/19/2019" "mpd-sima" "mpd-sima 0.15.0 User Manual" +.TH "MPD_SIMA\&.CFG" "5" "03/19/2019" "mpd-sima" "mpd-sima 0.15.1 User Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/data/man/mpd_sima.cfg.5.html b/data/man/mpd_sima.cfg.5.html index 5956e65..b1d40d0 100644 --- a/data/man/mpd_sima.cfg.5.html +++ b/data/man/mpd_sima.cfg.5.html @@ -27,7 +27,7 @@ consume=30 Bene: inline comment are possible using '#').

The default values are used in the options lists below.

MPD section

This section is meant to configure MPD access, MPD host address / port and password if necessary.

[MPD]
host=localhost

Set MPD host. Use IP or FQDN.

port=6600

Set host port to access MPD to.

password=s3cr3t

Set MPD password to use. Do not use this option if you don't have enabled password protected access - on your MPD server.

log section

Configure logging.

[log]

logfile=

File to log to, usually in dæmon mode.
Defaut + on your MPD server.

log section

Configure logging.

[log]

logfile=

File to log to, usually in dæmon mode.
Default (empty or unset) is to log to stdin/stdout.

verbosity=info

Logging verbosity among debug, info, @@ -77,7 +77,7 @@ consume=30

LastFm section

LastFM plugin's configuration.

[lastfm]
queue_mode=track

Queue mode to use among track, top and - album (see the section called “QUEUE MODES” for info about queue modes).

max_art=10

Number of similar artist to retrieve from local + album (see the section called “QUEUE MODES” for info about queue modes).

max_art=10

Maximum number of similar artist to retrieve from local media library.
When set to something superior to zero, it tries to get as much similar artists from media library.

depth=1

How many artists to base on similar artists @@ -89,7 +89,11 @@ consume=30 (it often happens with OST).
Only relevant in "track" queue mode.

track_to_add=1

How many track(s) to add. Only relevant in top and track - queue modes.

album_to_add=1

How many album(s) to add. Only relevant in + queue modes. This is actually an upper limit, + min(max_art, + track_to_add) will be used, and + max_art might be inferior lower + than value set in config.

album_to_add=1

How many album(s) to add. Only relevant in album queue modes.

cache=True

Whether or not to use on-disk persistent http cache.
When set to "true", sima will use a persistent cache for its http client. The cache is diff --git a/data/man/simadb_cli.1 b/data/man/simadb_cli.1 index 46d5fda..5432841 100644 --- a/data/man/simadb_cli.1 +++ b/data/man/simadb_cli.1 @@ -3,11 +3,11 @@ .\" Author: Jack Kaliko .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 03/19/2019 -.\" Manual: mpd-sima 0.15.0 User Manual +.\" Manual: mpd-sima 0.15.1 User Manual .\" Source: mpd-sima .\" Language: English .\" -.TH "SIMADB_CLI" "1" "03/19/2019" "mpd-sima" "mpd-sima 0.15.0 User Manual" +.TH "SIMADB_CLI" "1" "03/19/2019" "mpd-sima" "mpd-sima 0.15.1 User Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- diff --git a/doc/Changelog b/doc/Changelog index 383a70c..4da7084 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,9 @@ +MPD_sima v0.15.1 + + * Fixed mopidy compatibility implementation + +-- kaliko jack Tue, 19 Mar 2019 15:14:48 +0100 + MPD_sima v0.15.0 * Remove EchoNest support (Closes #10) diff --git a/sima/info.py b/sima/info.py index 64bf392..44ed82f 100644 --- a/sima/info.py +++ b/sima/info.py @@ -12,7 +12,7 @@ short. """ -__version__ = '0.15.0' +__version__ = '0.15.1' __author__ = 'kaliko jack' __email__ = 'kaliko@azylum.org' __url__ = 'git://git.kaliko.me/sima.git' diff --git a/sima/utils/config.py b/sima/utils/config.py index 182059b..b21b1f9 100644 --- a/sima/utils/config.py +++ b/sima/utils/config.py @@ -55,6 +55,7 @@ DEFAULT_CONF = { 'musicbrainzid': "true", 'repeat_disable_queue': "true", 'single_disable_queue': "true", + 'mopidy_compat': "false", }, 'daemon':{ 'daemon': False,