Greetings,
I’m unable to get mopidy to play through the remote TCP pulse sink. It works fine if i run it as my own user, but I’d like to have it functioning as a service, which i’ve been successful with in the past.
System: Manjaro 4.4 kernel
DE: Gnome
I have enabled this line in /etc/pulse/default.pa:
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1
and have restarted pulseaudio-x11
Running Mopidy -v used to say “gst-error-quark: Resource not found (3)” but the logs now just show tons of lines, many in hex so not sure what happened there.
I’ve run the gst audio test and it makes sound through the pulsesink, but of course as my own user.
Below is my config (for the service):
[core]
cache_dir = /var/cache/mopidy
config_dir = /etc/mopidy
data_dir = /var/lib/mopidy
max_tracklist_length = 10000
restore_state = false
[logging]
color = true
console_format = %(levelname)-8s %(message)s
debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n %(message)s
debug_file = /var/log/mopidy/mopidy-debug.log
config_file = /etc/mopidy/logging.conf
[audio]
mixer = software
mixer_volume =
output = pulsesink server=127.0.0.1
buffer_time =
[proxy]
scheme =
hostname =
port =
username =
password =
[mpd]
enabled = true
hostname = 127.0.0.1
port = 6600
password =
max_connections = 20
connection_timeout = 60
zeroconf = Mopidy MPD server on $hostname
command_blacklist =
listall
listallinfo
default_playlist_scheme = m3u
[http]
enabled = true
hostname = 127.0.0.1
port = 6680
static_dir =
zeroconf = Mopidy HTTP server on $hostname
[stream]
enabled = true
protocols =
http
https
mms
rtmp
rtmps
rtsp
metadata_blacklist =
timeout = 5000
[m3u]
enabled = true
base_dir =
default_encoding = latin-1
default_extension = .m3u8
playlists_dir = /var/lib/mopidy/playlists
[softwaremixer]
enabled = true
[file]
enabled = true
media_dirs =
$XDG_MUSIC_DIR|Music
~/|Home
excluded_file_extensions =
.jpg
.jpeg
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000
[local]
enabled = true
library = json
media_dir = /var/lib/mopidy/media
scan_timeout = 1000
scan_flush_threshold = 100
scan_follow_symlinks = false
excluded_file_extensions =
.directory
.html
.jpeg
.jpg
.log
.nfo
.png
.txt
and here’s my deps
Executable: /usr/bin/mopidy
Platform: Linux-4.4.41-1-MANJARO-x86_64-with-glibc2.2.5
Python: CPython 2.7.13 from /usr/lib/python2.7
Mopidy: 2.1.0 from /usr/lib/python2.7/site-packages
Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/site-packages
requests>=2.0: 2.13.0 from /usr/lib/python2.7/site-packages
setuptools: 34.0.2 from /usr/lib/python2.7/site-packages
packaging>=16.8: 16.8 from /usr/lib/python2.7/site-packages
pyparsing: 2.1.10 from /usr/lib/python2.7/site-packages
six: 1.10.0 from /usr/lib/python2.7/site-packages
six>=1.10.0: 1.10.0 from /usr/lib/python2.7/site-packages
appdirs>=1.4.0: 1.4.0 from /usr/lib/python2.7/site-packages
tornado>=3.2: 4.4.2 from /usr/lib/python2.7/site-packages
singledispatch: 3.4.0.3 from /usr/lib/python2.7/site-packages
six: 1.10.0 from /usr/lib/python2.7/site-packages
backports_abc>=0.4: 0.5 from /usr/lib/python2.7/site-packages
Mopidy-Spotify: 3.0.0 from /usr/lib/python2.7/site-packages
Mopidy>=2.0: 2.1.0 from /usr/lib/python2.7/site-packages
Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/site-packages
requests>=2.0: 2.13.0 from /usr/lib/python2.7/site-packages
setuptools: 34.0.2 from /usr/lib/python2.7/site-packages
packaging>=16.8: 16.8 from /usr/lib/python2.7/site-packages
pyparsing: 2.1.10 from /usr/lib/python2.7/site-packages
six: 1.10.0 from /usr/lib/python2.7/site-packages
six>=1.10.0: 1.10.0 from /usr/lib/python2.7/site-packages
appdirs>=1.4.0: 1.4.0 from /usr/lib/python2.7/site-packages
tornado>=3.2: 4.4.2 from /usr/lib/python2.7/site-packages
singledispatch: 3.4.0.3 from /usr/lib/python2.7/site-packages
six: 1.10.0 from /usr/lib/python2.7/site-packages
backports_abc>=0.4: 0.5 from /usr/lib/python2.7/site-packages
Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/site-packages
pyspotify>=2.0.5: 2.0.5 from /usr/lib/python2.7/site-packages
cffi>=1.0.0: 1.9.1 from /usr/lib/python2.7/site-packages
pycparser: 2.17 from /usr/lib/python2.7/site-packages
requests>=2.0: 2.13.0 from /usr/lib/python2.7/site-packages
setuptools: 34.0.2 from /usr/lib/python2.7/site-packages
packaging>=16.8: 16.8 from /usr/lib/python2.7/site-packages
pyparsing: 2.1.10 from /usr/lib/python2.7/site-packages
six: 1.10.0 from /usr/lib/python2.7/site-packages
six>=1.10.0: 1.10.0 from /usr/lib/python2.7/site-packages
appdirs>=1.4.0: 1.4.0 from /usr/lib/python2.7/site-packages
GStreamer: 1.10.2.0 from /usr/lib/python2.7/site-packages/gi
Detailed information:
Python wrapper: python-gi 3.22.0
Relevant elements:
Found:
uridecodebin
souphttpsrc
appsrc
alsasink
osssink
oss4sink
pulsesink
id3demux
id3v2mux
lamemp3enc
mad
mpegaudioparse
mpg123audiodec
vorbisdec
vorbisenc
vorbisparse
oggdemux
oggmux
oggparse
flacdec
flacparse
shout2send
Not found:
flump3dec