mopidy issueshttps://dev.funkwhale.audio/funkwhale/mopidy/-/issues2022-06-14T10:27:55Zhttps://dev.funkwhale.audio/funkwhale/mopidy/-/issues/21Release 1.12022-06-14T10:27:55ZGeorg KrauseRelease 1.1Hi everyone!
This project was a little inactive the last year, it was pretty busy. Thanks to community contributions we have some updates anyway, so we should prepare another release.
I fixed an OAuth-Bug which forced me to login agai...Hi everyone!
This project was a little inactive the last year, it was pretty busy. Thanks to community contributions we have some updates anyway, so we should prepare another release.
I fixed an OAuth-Bug which forced me to login again and again. Also I removed the legacy auth, since its not available in Funkwhale 1.2 anyway. In our other Funkwhale project we use towncrier to keep track of the changes made which needs to be mentioned in the Changelog. I implemented this here, too, and created changelog snippets for all changes since 1.0 (Please review and give feedback).
For your interest, we have the plan to build a python library wrapping the Funkwhale API. Since Mopidy-Funkwhale has the most complete implementation, I will use this as a base. Before I jump into this, I am interest releasing the latest changes, before we break everything again.
CC @covertneko @Grom1.1Georg KrauseGeorg Krausehttps://dev.funkwhale.audio/funkwhale/mopidy/-/issues/20Getting playlists from funkwhale2022-01-18T04:03:32ZToke Høiland-JørgensenGetting playlists from funkwhaleWould it be possible to also show playlists from funkwhale? This was mentioned in #15, but looks like it was dropped from there?Would it be possible to also show playlists from funkwhale? This was mentioned in #15, but looks like it was dropped from there?https://dev.funkwhale.audio/funkwhale/mopidy/-/issues/19Browsing albums in Iris doesn't work2022-02-14T13:36:10ZErinBrowsing albums in Iris doesn't workBrowsing to a funkwhale album in Iris displays a page like this:
<details><summary>Click to expand</summary>
![image](/uploads/41802fa58b776a6be13509eca1b2a45f/image.png)
</details>
[Mopidy's documentation for `library.browse`](https:/...Browsing to a funkwhale album in Iris displays a page like this:
<details><summary>Click to expand</summary>
![image](/uploads/41802fa58b776a6be13509eca1b2a45f/image.png)
</details>
[Mopidy's documentation for `library.browse`](https://docs.mopidy.com/en/latest/api/core/#mopidy.core.LibraryController.browse) indicates that browsing should only return directory and/or track refs. I've confirmed that other extensions such as Mopidy-Local ~~and Mopidy-Spotify~~ do this. The current behaviour here is to return album refs when browsing albums, artist refs when browsing artists, etc. This appears to mostly work, but I've run into some flakiness when using Mopidy-Iris to browse my funkwhale library and albums won't display tracks properly unless I open them via search results. **(NOTE: [see below](https://dev.funkwhale.audio/funkwhale/mopidy/-/issues/19#note_24622))**
<details><summary>When I view <code>funkwhale:directory:albums:by-name</code>, this happens</summary>
<pre>
ERROR 2021-08-15 20:17:57,965 [45168:Core-7] mopidy.core.library
FunkwhaleBackend backend returned bad data: Expected a list of Track, not [Ref(name='...', type='album', uri='funkwhale:directory:albums:by-name:5'), Ref(name='...', type='album', uri='funkwhale:directory:albums:by-name:6'), ...]
</pre>
</details>
Also I hope I'm not causing too many notifications here. I haven't really contributed to any public projects before so I'm trying to keep things small. I've been slowly getting this extension to work better with Iris locally. I'd like to try to share my work as I get it cleaned up, but I'm just tackling problems as I find them so I'm not sure what the best way to keep everything organized is.https://dev.funkwhale.audio/funkwhale/mopidy/-/issues/18library.get_images only works for tracks, not albums or artists2021-08-14T04:03:18ZErinlibrary.get_images only works for tracks, not albums or artists`library.get_images` returns images based on the track matching the requested id, even if the URI refers to a different type of resource. This makes viewing albums and artists in a client that supports images for them pretty confusing, w...`library.get_images` returns images based on the track matching the requested id, even if the URI refers to a different type of resource. This makes viewing albums and artists in a client that supports images for them pretty confusing, with seemingly random thumbnails.
<details><summary>Mopidy logs showing said behaviour</summary>
<pre>
DEBUG:mopidy.http.handlers:Received WebSocket message from 10.0.1.28: '{"method":"core.library.get_images","params":{"uris":["funkwhale:directory:albums:by-name:5"]},"jsonrpc":"2.0","id":14}'
DEBUG:mopidy_funkwhale.library:Handling get images: ['funkwhale:directory:albums:by-name:5']
DEBUG:requests_oauthlib.oauth2_session: ...
DEBUG:urllib3.connectionpool:https://funkwhale:443 "GET /api/v1/tracks/5/ HTTP/1.1" 200 2782
DEBUG:mopidy.http.handlers:Sent WebSocket message to 10.0.1.28: '{"jsonrpc": "2.0", "id": 14, "result": {"funkwhale:directory:albums:by-name:5": [{"__model__": "Image", "uri": "https://funkwhale/media/attachments/8d/6e/4d/attachment_cover-86d86086-1ddb-4092-be19-5e00974f8ef1.png"}, {"__model__": "Image", "uri": "https://funkwhale/media/__sized__/attachments/8d/6e/4d/attachment_cover-86d86086-1ddb-4092-be19-5e00974f8ef1-crop-c0-5__0-5-200x200.png", "width": 200, "height": 200}, {"__model__": "Image", "uri": "https://funkwhale/media/__sized__/attachments/8d/6e/4d/attachment_cover-86d86086-1ddb-4092-be19-5e00974f8ef1-crop-c0-5__0-5-600x600.png", "width": 600, "height": 600}]}}'
</pre>
</details>https://dev.funkwhale.audio/funkwhale/mopidy/-/issues/17library.parse_uri can't handle browse URIs2022-02-14T13:32:58ZErinlibrary.parse_uri can't handle browse URIs`library.parse_uri` will raise an exception when it tries to parse the second element of any URI that doesn't have an integer at that index, for example:
<details><summary><code>funkwhale:directory:artists:by-name</code></summary>
<pre>
...`library.parse_uri` will raise an exception when it tries to parse the second element of any URI that doesn't have an integer at that index, for example:
<details><summary><code>funkwhale:directory:artists:by-name</code></summary>
<pre>
ERROR 2021-08-11 23:16:55,713 [18375:Core-6] mopidy.core.library
FunkwhaleBackend backend caused an exception.
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/mopidy/core/library.py", line 17, in _backend_error_handling
yield
File "/usr/lib/python3.9/site-packages/mopidy/core/library.py", line 217, in lookup
result = future.get()
File "/home/erin/virtualenvs/mopidy/lib/python3.9/site-packages/pykka/_threading.py", line 55, in get
raise exc_value
File "/home/erin/virtualenvs/mopidy/lib/python3.9/site-packages/pykka/_actor.py", line 186, in _actor_loop
response = self._handle_receive(envelope.message)
File "/home/erin/virtualenvs/mopidy/lib/python3.9/site-packages/pykka/_actor.py", line 286, in _handle_receive
return callee(*message.args, **message.kwargs)
File "/home/erin/mopidy-funkwhale/mopidy_funkwhale/library.py", line 378, in lookup
type, id = parse_uri(uri)
File "/home/erin/mopidy-funkwhale/mopidy_funkwhale/library.py", line 387, in parse_uri
id = int(parts[1])
ValueError: invalid literal for int() with base 10: 'artists'
</pre>
</details>
The similar error mentioned in #16 is likely a result of viewing the browse root directory, which has the uri `funkwhale:directory`, which is shorter than expected.
`library.browse` returns working URIs like `funkwhale:albums:123` when a directory actually has contents, but frontends such as Iris call `library.lookup` when browsing any directory URI. While this doesn't appear to actually break anything in Iris it results in a lot of log spam.
For what it's worth, [mopidy-spotify rejects these sort of lookups as well, just with a nicer single line error message](https://github.com/mopidy/mopidy-spotify/blob/66d40fc2ebc5f33a58ede3db4c9e1087ea81ac1a/mopidy_spotify/lookup.py#L19)
I've fixed this locally and will be creating a merge request soon.1.1https://dev.funkwhale.audio/funkwhale/mopidy/-/issues/16Mopidy-funkwhale in iris-docker only works with legacy auth, not oauth2022-05-10T04:48:29ZAlexander DunkelMopidy-funkwhale in iris-docker only works with legacy auth, not oauthWhen I use `client_id` and `secret` in `mopidy.conf`, the plugin raises an exception.
If I use the legacy api to connect, it works fine.
```
[funkwhale]
enabled = true
# URL of your funkwhale instance
url = https://funk.local.mytld.com
...When I use `client_id` and `secret` in `mopidy.conf`, the plugin raises an exception.
If I use the legacy api to connect, it works fine.
```
[funkwhale]
enabled = true
# URL of your funkwhale instance
url = https://funk.local.mytld.com
# this raises the exception:
client_id = myid
client_secret = mysecret
# This works
# username = alex
# password = my-pw
```
I can connect to funkwhale from iris and play tracks with legacy auth, but not with oauth. In oauth, using (e.g.) search, I get (despite having successfully used `mopidy funkwhale login`):
<details><summary>Click</summary>
```
dunkel-mopidy | INFO 2021-06-09 16:48:31,048 [8:FunkwhaleBackend-9] mopidy_funkwhale.library
dunkel-mopidy | Searching Funkwhale for: rolling stones
dunkel-mopidy | ERROR 2021-06-09 16:48:31,055 [8:Core-14] mopidy.core.library
dunkel-mopidy | FunkwhaleBackend backend caused an exception.
dunkel-mopidy | Traceback (most recent call last):
dunkel-mopidy | File "/usr/local/lib/python3.7/dist-packages/Mopidy-3.1.1-py3.7.egg/mopidy/core/library.py", line 17, in _backend_error_handling
dunkel-mopidy | yield
dunkel-mopidy | File "/usr/local/lib/python3.7/dist-packages/Mopidy-3.1.1-py3.7.egg/mopidy/core/library.py", line 316, in search
dunkel-mopidy | result = future.get()
dunkel-mopidy | File "/usr/local/lib/python3.7/dist-packages/pykka-3.0.1-py3.7.egg/pykka/_threading.py", line 55, in get
dunkel-mopidy | raise exc_value
dunkel-mopidy | File "/usr/local/lib/python3.7/dist-packages/pykka-3.0.1-py3.7.egg/pykka/_actor.py", line 186, in _actor_loop
dunkel-mopidy | response = self._handle_receive(envelope.message)
dunkel-mopidy | File "/usr/local/lib/python3.7/dist-packages/pykka-3.0.1-py3.7.egg/pykka/_actor.py", line 286, in _handle_receive
dunkel-mopidy | return callee(*message.args, **message.kwargs)
dunkel-mopidy | File "/usr/local/lib/python3.7/dist-packages/mopidy_funkwhale/library.py", line 349, in search
dunkel-mopidy | raw_results = self.backend.client.search(search_query)
dunkel-mopidy | File "/usr/local/lib/python3.7/dist-packages/mopidy_funkwhale/client.py", line 121, in search
dunkel-mopidy | response.raise_for_status()
dunkel-mopidy | File "/usr/local/lib/python3.7/dist-packages/requests-2.25.1-py3.7.egg/requests/models.py", line 943, in raise_for_status
dunkel-mopidy | raise HTTPError(http_error_msg, response=self)
dunkel-mopidy | requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://funk.local.mytld.com/api/v1/search?query=rolling+stones
```
## Context
I use Mopidy from the [Iris-Mopidy Docker Container](https://github.com/jaedb/Iris), where I added the mopidy-funkwhale extension, based on the readme here, in the Dockerfile.
</details>
I will pull this into a dev environment and test myself. Just asking here to see if someone from the maintainers has an idea for the origin of the problem.https://dev.funkwhale.audio/funkwhale/mopidy/-/issues/15implement Playlists and Album Artists2022-02-14T13:32:57ZOliimplement Playlists and Album ArtistsHello Funkwhale Team,
scolling through my library via mopidy is very exhausting. The Artist view is very "full" because there is no way to view only album artists. When I play an album mopidy doesn't plays it in the correct order. A wor...Hello Funkwhale Team,
scolling through my library via mopidy is very exhausting. The Artist view is very "full" because there is no way to view only album artists. When I play an album mopidy doesn't plays it in the correct order. A workaround would be to create playlists in funkwhale and play in mopidy. Is it possible for the future to play funkwhale playlists in mopidy?
thanks in advance
Oli1.1https://dev.funkwhale.audio/funkwhale/mopidy/-/issues/14Improve setup guide in readme2021-03-10T19:49:56ZGeorg KrauseImprove setup guide in readmeThere are different ways to setup mopidy itself. We should make clear which steps are required to setup the plugin in a specific setup.There are different ways to setup mopidy itself. We should make clear which steps are required to setup the plugin in a specific setup.backloghttps://dev.funkwhale.audio/funkwhale/mopidy/-/issues/13Make a release2020-11-27T10:15:13ZGeorg KrauseMake a releaseWe should fix a state and tag a release.We should fix a state and tag a release.1.0.0https://dev.funkwhale.audio/funkwhale/mopidy/-/issues/12Provide packages over pypi2020-08-20T09:34:50ZGeorg KrauseProvide packages over pypiI think we should just do a proper release and provide the package over pypi, so its easier to install.I think we should just do a proper release and provide the package over pypi, so its easier to install.https://dev.funkwhale.audio/funkwhale/mopidy/-/issues/11Implement funkwhale scrobbling2021-06-02T04:03:57ZGeorg KrauseImplement funkwhale scrobblingFunkwhale provide API endpoints which allow the player to report which song was played. We should bring this to the mopidy-plugin.
I want to work on this, but I do have some questions.
1. I am not sure, when to report the song was play...Funkwhale provide API endpoints which allow the player to report which song was played. We should bring this to the mopidy-plugin.
I want to work on this, but I do have some questions.
1. I am not sure, when to report the song was played. After playback starts? Or after the hole song is played? Or simply when it stops?
1. It seems we need to inherit from `mopidy.core.CoreListener`. Is it save to do this in the `FunkwhaleBackend` or should we implement an additional `FunkwhaleFrontend` for this?
There is already an scrobbler for last fm: https://github.com/mopidy/mopidy-scrobbler/blob/master/mopidy_scrobbler/frontend.py
Otter uses `/api/v1/history/listenings/` for this, which does not seem to be documented somehow.backloghttps://dev.funkwhale.audio/funkwhale/mopidy/-/issues/10Implement scope=me2020-06-19T11:27:43ZGeorg KrauseImplement scope=meIt would be a nice option to optionally fetch only the music which belongs to the users libraries, instead of all playable tracks.It would be a nice option to optionally fetch only the music which belongs to the users libraries, instead of all playable tracks.https://dev.funkwhale.audio/funkwhale/mopidy/-/issues/9Allow pagination2021-02-26T11:15:41ZGeorg KrauseAllow paginationWhen fetching artists from funkwhale it takes ages if its a huge list. It would be better to use pagination to fetch only some artists.When fetching artists from funkwhale it takes ages if its a huge list. It would be better to use pagination to fetch only some artists.https://dev.funkwhale.audio/funkwhale/mopidy/-/issues/8Crash with expired access token2020-11-26T13:50:40ZGeorg KrauseCrash with expired access token```
2020-06-15 05:44:24,961 INFO [678:FunkwhaleBackend-3] pykka: Exception returned from FunkwhaleBackend (urn:uuid:5194a25a-00e8-40a6-99c3-f1016af20db1) to caller:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist...```
2020-06-15 05:44:24,961 INFO [678:FunkwhaleBackend-3] pykka: Exception returned from FunkwhaleBackend (urn:uuid:5194a25a-00e8-40a6-99c3-f1016af20db1) to caller:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/requests_oauthlib/oauth2_session.py", line 478, in request
url, http_method=method, body=data, headers=headers
File "/usr/local/lib/python3.7/dist-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 198, in add_token
raise TokenExpiredError()
oauthlib.oauth2.rfc6749.errors.TokenExpiredError: (token_expired)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pykka/_actor.py", line 193, in _actor_loop
response = self._handle_receive(envelope.message)
File "/usr/lib/python3/dist-packages/pykka/_actor.py", line 299, in _handle_receive
return callee(*message.args, **message.kwargs)
File "/usr/local/lib/python3.7/dist-packages/mopidy_funkwhale/library.py", line 96, in browse
result, cache = handler(remaining)
File "/usr/local/lib/python3.7/dist-packages/mopidy_funkwhale/library.py", line 201, in browse_artists
{"ordering": "name", "page_size": 50, "playable": "true"}
File "/usr/local/lib/python3.7/dist-packages/mopidy_funkwhale/client.py", line 135, in list_artists
response = self.session.get("artists/", params=filters)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/mopidy_funkwhale/client.py", line 33, in request
return super(SessionWithUrlBase, self).request(method, modified_url, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/requests_oauthlib/oauth2_session.py", line 497, in request
self.auto_refresh_url, auth=auth, **kwargs
File "/usr/local/lib/python3.7/dist-packages/requests_oauthlib/oauth2_session.py", line 446, in refresh_token
self.token = self._client.parse_request_body_response(r.text, scope=self.scope)
File "/usr/local/lib/python3.7/dist-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 421, in parse_request_body_response
self.token = parse_token_response(body, scope=scope)
File "/usr/local/lib/python3.7/dist-packages/oauthlib/oauth2/rfc6749/parameters.py", line 431, in parse_token_response
validate_token_parameters(params)
File "/usr/local/lib/python3.7/dist-packages/oauthlib/oauth2/rfc6749/parameters.py", line 438, in validate_token_parameters
raise_from_error(params.get('error'), params)
File "/usr/local/lib/python3.7/dist-packages/oauthlib/oauth2/rfc6749/errors.py", line 405, in raise_from_error
raise cls(**kwargs)
oauthlib.oauth2.rfc6749.errors.InvalidGrantError: (invalid_grant)
2020-06-15 05:44:25,007 ERROR [678:Core-8] mopidy.core.library: FunkwhaleBackend backend caused an exception.
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/requests_oauthlib/oauth2_session.py", line 478, in request
url, http_method=method, body=data, headers=headers
File "/usr/local/lib/python3.7/dist-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 198, in add_token
raise TokenExpiredError()
oauthlib.oauth2.rfc6749.errors.TokenExpiredError: (token_expired)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mopidy/core/library.py", line 17, in _backend_error_handling
yield
File "/usr/lib/python3/dist-packages/mopidy/core/library.py", line 114, in _browse
result = backend.library.browse(uri).get()
File "/usr/lib/python3/dist-packages/pykka/_threading.py", line 45, in get
_compat.reraise(*self._data['exc_info'])
File "/usr/lib/python3/dist-packages/pykka/_compat/__init__.py", line 29, in reraise
raise value
File "/usr/lib/python3/dist-packages/pykka/_actor.py", line 193, in _actor_loop
response = self._handle_receive(envelope.message)
File "/usr/lib/python3/dist-packages/pykka/_actor.py", line 299, in _handle_receive
return callee(*message.args, **message.kwargs)
File "/usr/local/lib/python3.7/dist-packages/mopidy_funkwhale/library.py", line 96, in browse
result, cache = handler(remaining)
File "/usr/local/lib/python3.7/dist-packages/mopidy_funkwhale/library.py", line 201, in browse_artists
{"ordering": "name", "page_size": 50, "playable": "true"}
File "/usr/local/lib/python3.7/dist-packages/mopidy_funkwhale/client.py", line 135, in list_artists
response = self.session.get("artists/", params=filters)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/mopidy_funkwhale/client.py", line 33, in request
return super(SessionWithUrlBase, self).request(method, modified_url, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/requests_oauthlib/oauth2_session.py", line 497, in request
self.auto_refresh_url, auth=auth, **kwargs
File "/usr/local/lib/python3.7/dist-packages/requests_oauthlib/oauth2_session.py", line 446, in refresh_token
self.token = self._client.parse_request_body_response(r.text, scope=self.scope)
File "/usr/local/lib/python3.7/dist-packages/oauthlib/oauth2/rfc6749/clients/base.py", line 421, in parse_request_body_response
self.token = parse_token_response(body, scope=scope)
File "/usr/local/lib/python3.7/dist-packages/oauthlib/oauth2/rfc6749/parameters.py", line 431, in parse_token_response
validate_token_parameters(params)
File "/usr/local/lib/python3.7/dist-packages/oauthlib/oauth2/rfc6749/parameters.py", line 438, in validate_token_parameters
raise_from_error(params.get('error'), params)
File "/usr/local/lib/python3.7/dist-packages/oauthlib/oauth2/rfc6749/errors.py", line 405, in raise_from_error
raise cls(**kwargs)
oauthlib.oauth2.rfc6749.errors.InvalidGrantError: (invalid_grant)
```1.0.0Georg KrauseGeorg Krausehttps://dev.funkwhale.audio/funkwhale/mopidy/-/issues/7Albums not listed2020-09-25T07:14:07ZChristian WiwieAlbums not listedWhen using any MPD client to connect to the funkwhale-mopidy extension, only "Artists" and "Favorites" are shown, but not albums.
When reading the Features of this project's description I got the impression, that albums should also be s...When using any MPD client to connect to the funkwhale-mopidy extension, only "Artists" and "Favorites" are shown, but not albums.
When reading the Features of this project's description I got the impression, that albums should also be shown ("Browse all artists and albums"). It is possible that I misunderstand that bullet point, in which case this issue should be considered a feature request, otherwise a bug.https://dev.funkwhale.audio/funkwhale/mopidy/-/issues/6Not compatible with mopidy v32020-05-11T14:13:48ZresisterNot compatible with mopidy v3`compat` as well as other things were removed with v3 of mopidy. v3 is not compatible with python 2.
https://dev.funkwhale.audio/funkwhale/mopidy/-/blob/master/mopidy_funkwhale/commands.py#L1
A workaround is to install mopidy v2.2.3 w...`compat` as well as other things were removed with v3 of mopidy. v3 is not compatible with python 2.
https://dev.funkwhale.audio/funkwhale/mopidy/-/blob/master/mopidy_funkwhale/commands.py#L1
A workaround is to install mopidy v2.2.3 with python 2
`sudo -H pip2.7 install git+https://github.com/mopidy/mopidy.git@v2.2.3`
https://dev.funkwhale.audio/funkwhale/mopidy/-/issues/5README : Mopidy version on pip is now >= 2.3.32020-08-20T09:20:08ZEleosREADME : Mopidy version on pip is now >= 2.3.3As written in the title, the Mopidy version on pip is now >= 2.3.3
> Because of `a bug in recent mopidy versions <https://github.com/mopidy/mopidy/issues/1528>`_, if you face any playback issues, you should use at least Mopidy 2.2.3 w...As written in the title, the Mopidy version on pip is now >= 2.3.3
> Because of `a bug in recent mopidy versions <https://github.com/mopidy/mopidy/issues/1528>`_, if you face any playback issues, you should use at least Mopidy 2.2.3 which is currently unreleased, or install the development version with ``pip install --user git+https://github.com/mopidy/mopidy.git``.
This line seeems now unnecessary (I haven't check on debian apt based installation)backloghttps://dev.funkwhale.audio/funkwhale/mopidy/-/issues/4Funkwhale library isn't visible on mopidy2019-12-16T09:51:06ZTimur YaroshFunkwhale library isn't visible on mopidyHey guys, I've added an extension and logged in to my Funkwhale instance successfully, but nothing changed in my library. It was empty before enabling mopidy extension and it's still empty when mopidy extension is enabled. I am browsing ...Hey guys, I've added an extension and logged in to my Funkwhale instance successfully, but nothing changed in my library. It was empty before enabling mopidy extension and it's still empty when mopidy extension is enabled. I am browsing mopidy library using Iris.
Mopidy version is 2.2.3.https://dev.funkwhale.audio/funkwhale/mopidy/-/issues/3Can't login to funkwhale2019-12-16T09:50:41ZTimur YaroshCan't login to funkwhaleI've replaced url, client_id and client_secret with values from my funkwhale server and restarted mopidy, however, calling mopidy funkwhale login leads to following output:
```
Missing client_id or client_secret! To connect to your Funkw...I've replaced url, client_id and client_secret with values from my funkwhale server and restarted mopidy, however, calling mopidy funkwhale login leads to following output:
```
Missing client_id or client_secret! To connect to your Funkwhale account:
1. Create an app by visiting https://demo.funkwhale.audio/settings/applications/new?scopes=read%3Alibraries+read%3Afavorites+read%3Aplaylists&redirect_uris=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&name=Mopidy-Funkwhale
2. Ensure the created app has 'urn:ietf:wg:oauth:2.0:oob' as redirect URI, and the following scopes: read:libraries, read:favorites, read:playlists
3. Update the client_id and client_secret values in the [funkwhale] section of your mopidy configuration, to match the values of the created application
4. Relaunch this command
```
Seems like it's not reading variables from /etc/mopidy/mopidy.conf.
Config section:
```
[funkwhale]
enabled = true
# URL of your funkwhale instance
url = MY_URL_HERE
# 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 = MY_ID_HERE
client_secret = MY_SECRET_HERE
# If for some reason, you want to use the legacy password-based auth,
# uncomment the variables below
# username = demo
# password = demo
```
username and password parameters are ignored as well.
Funkwhale: 0.20.1
I don't know how to get version of mopidy extension, but it's latest on 15th December 2019.
Is there anything I can do to use this extension?https://dev.funkwhale.audio/funkwhale/mopidy/-/issues/2Integrate Oauth method2020-08-20T09:20:42ZgordonIntegrate Oauth methodSince the Funkwhale server will be integrating Oauth method (funkwhale/funkwhale#752), all clients should move to this auth method instead of storing login+password.Since the Funkwhale server will be integrating Oauth method (funkwhale/funkwhale#752), all clients should move to this auth method instead of storing login+password.backlog