Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mopidy3/Python3 Compatibility #7

Open
djmattyg007 opened this issue Jan 8, 2021 · 3 comments
Open

Mopidy3/Python3 Compatibility #7

djmattyg007 opened this issue Jan 8, 2021 · 3 comments

Comments

@djmattyg007
Copy link

Is there any interest in upgrading this extension to support Mopidy 3?

@aawsome
Copy link
Owner

aawsome commented Jan 8, 2021

Thanks for asking! In fact, I lost a bit track of the Mopidy development... I think that Python 3 should not be an issue and I'll have a look at Mopidy 3

@wvangulik
Copy link

Hi @aawsome ,

I just tried out and I have some debugging output that might help : (sorry if I'm not posting that to the right place, I'm not that git-fluent ;) )

Jan 22 11:37:21 localhost mopidy[11538]: ERROR    [MainThread] mopidy.__main__ Extension snapcast failed during setup. This might have left the registry in a bad state.
Jan 22 11:37:21 localhost mopidy[11538]: Traceback (most recent call last):
Jan 22 11:37:21 localhost mopidy[11538]:   File "/usr/lib/python3/dist-packages/mopidy/__main__.py", line 129, in main
Jan 22 11:37:21 localhost mopidy[11538]:     extension.setup(registry)
Jan 22 11:37:21 localhost mopidy[11538]:   File "/usr/local/lib/python3.7/dist-packages/mopidy_snapcast/__init__.py", line 28, in setup
Jan 22 11:37:21 localhost mopidy[11538]:     from .mixer import SnapcastMixer
Jan 22 11:37:21 localhost mopidy[11538]:   File "/usr/local/lib/python3.7/dist-packages/mopidy_snapcast/mixer.py", line 60
Jan 22 11:37:21 localhost mopidy[11538]:     self.trigger_volume_changed(self.get_volume())
Jan 22 11:37:21 localhost mopidy[11538]:                                                  ^
Jan 22 11:37:21 localhost mopidy[11538]: TabError: inconsistent use of tabs and spaces in indentation
Jan 22 11:37:21 localhost mopidy[11538]: INFO     [MainThread] mopidy_mowecl VERSION 0.4.0
Jan 22 11:37:21 localhost mopidy[11538]: ERROR    [MainThread] mopidy.commands Did not find unique mixer "snapcast". Alternatives are: software, none

@chris-aeviator
Copy link

@wvangulik after fixing the identation bugs (replace tabs with spaces) I will see another error

Apr 27 19:39:19 raspberrypi mopidy[2375]:   File "/usr/local/lib/python3.7/dist-packages/mopidy_snapcast/mixer.py", line 9, in <module>
Apr 27 19:39:19 raspberrypi mopidy[2375]:     from snapcast_socket import snapcast
Apr 27 19:39:19 raspberrypi mopidy[2375]: ModuleNotFoundError: No module named 'snapcast_socket'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants