mopidy-TuneIn not playing TuneIn Radio

Hi
I installed mopidy-Tunein on my rasp pi (“Raspbian GNU/Linux 10 (buster)”)
I cant get any tune in station to play
I use mpc and run :

$ mpc add tunein:station:s47350
I get:
error adding tunein:station:s47350: No such directory

when i load a m3u file with tunein stations only http stations are loading and running.

MY DEPS ARE:

$ sudo mopidyctl deps
Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf deps” as user mopidy
/usr/lib/python2.7/dist-packages/mopidy/ext.py:202: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
extension_class = entry_point.load(require=False)
Executable: /usr/bin/mopidy
Platform: Linux-4.19.97-v7±armv7l-with-debian-10.3
Python: CPython 2.7.16 from /usr/lib/python2.7
Mopidy: 2.2.2 from /usr/lib/python2.7/dist-packages
Mopidy-TuneIn: 0.4.1 from /usr/local/lib/python2.7/dist-packages
setuptools: 40.8.0 from /usr/lib/python2.7/dist-packages
requests>=2.0.0: 2.21.0 from /usr/lib/python2.7/dist-packages
Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/dist-packages
Mopidy>=1.1: 2.2.2 from /usr/lib/python2.7/dist-packages
GStreamer: 1.14.4.0 from /usr/lib/python2.7/dist-packages/gi
Detailed information:
Python wrapper: python-gi 3.30.4
Relevant elements:
Found:
uridecodebin
souphttpsrc
appsrc
alsasink
osssink
oss4sink
pulsesink
id3demux
id3v2mux
lamemp3enc
mpegaudioparse
mpg123audiodec
vorbisdec
vorbisenc
vorbisparse
oggdemux
oggmux
oggparse
flacdec
flacparse
shout2send
Not found:
flump3dec
mad
can you help ?

Thanks

MY mopidy.conf

sudo mopidyctl config
Running “/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config” as user mopidy
/usr/lib/python2.7/dist-packages/mopidy/ext.py:202: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately.
extension_class = entry_point.load(require=False)
[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 = autoaudiosink
buffer_time =

[proxy]
scheme =
hostname =
port =
username =
password =

[tunein]
enabled = true
timeout = 5000

[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
allowed_origins =
csrf_protection = true

[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


Thanks for moving your issue here. Your version Mopidy: 2.2.2 is very old. First thing would be to upgrade to the latest version.

I can load that station OK with Mopidy 3. Could it be region specific?

Hi
thanks for helping.
this station is local and runs fine in raspi MusicBox on my other pi
Can you suggest how to upgrade my mopidy?
I have 2 config files one for mopidy and one for mpd.
my m3U file loads from the location stated in my mpd.conf
so i suspect that the thre is a problem here ???

If you install Mopidy from Apt as we describe in the documentation you’ll be able to upgrade it like any other package.

I don’t follow what you mean. Mopidy has one config file. It has nothing to do with mpd.conf and doesn’t use it. The configuration section of our docs says how to configure Mopidy (including Mopidy-M3u).

I mean that the location for playlist to be loaded is in mpd.conf and not mopidy.conf
I will try to reinstall mopidy .

I just upgraded my mopidy .
my Deps are :
mopidy deps
Executable: /home/pi/.local/bin/mopidy
Platform: Linux-4.19.97-v7±armv7l-with-debian-10.3
Python: CPython 3.7.3 from /usr/lib/python3.7
Mopidy: 3.0.1 from /home/pi/.local/lib/python3.7/site-packages
requests: 2.21.0 from /usr/lib/python3/dist-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
Pykka: 2.0.2 from /home/pi/.local/lib/python3.7/site-packages
tornado: 5.1.1 from /usr/lib/python3/dist-packages
Mopidy-TuneIn: 1.0.0 from /home/pi/.local/lib/python3.7/site-packages
requests: 2.21.0 from /usr/lib/python3/dist-packages
Mopidy: 3.0.1 from /home/pi/.local/lib/python3.7/site-packages
setuptools: 40.8.0 from /usr/lib/python3/dist-packages
Pykka: 2.0.2 from /home/pi/.local/lib/python3.7/site-packages
GStreamer: 1.14.4.0 from /usr/lib/python3/dist-packages/gi
Detailed information:
Python wrapper: python-gi 3.30.4
Relevant elements:
Found:
uridecodebin
souphttpsrc
appsrc
alsasink
osssink
oss4sink
pulsesink
id3demux
id3v2mux
lamemp3enc
mpegaudioparse
mpg123audiodec
vorbisdec
vorbisenc
vorbisparse
oggdemux
oggmux
oggparse
flacdec
flacparse
shout2send
Not found:
flump3dec
mad


RUNING AS SERVICE:
mopidy.service - Mopidy music server
Loaded: loaded (/lib/systemd/system/mopidy.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-04-03 21:30:50 IDT; 2min 25s ago
Process: 402 ExecStartPre=/bin/mkdir -p /var/cache/mopidy (code=exited, status=0/SUCCESS)
Process: 406 ExecStartPre=/bin/chown mopidy:audio /var/cache/mopidy (code=exited, status=0/SUCCESS)
Main PID: 408 (mopidy)
Tasks: 11 (limit: 2200)
Memory: 49.0M
CGroup: /system.slice/mopidy.service
└─408 /usr/bin/python3 /usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf

Apr 03 21:31:06 raspberrypi mopidy[408]: INFO [MainThread] mopidy.main Enabled extensions: stream, m3u, softwaremixer, file, tunein, http
Apr 03 21:31:06 raspberrypi mopidy[408]: INFO [MainThread] mopidy.main Disabled extensions: none
Apr 03 21:31:08 raspberrypi mopidy[408]: INFO [MainThread] mopidy.commands Starting Mopidy mixer: SoftwareMixer
Apr 03 21:31:08 raspberrypi mopidy[408]: INFO [MainThread] mopidy.commands Starting Mopidy audio
Apr 03 21:31:08 raspberrypi mopidy[408]: INFO [MainThread] mopidy.commands Starting Mopidy backends: FileBackend, M3UBackend, StreamBackend, TuneInBackend
Apr 03 21:31:08 raspberrypi mopidy[408]: INFO [MainThread] mopidy.commands Starting Mopidy core
Apr 03 21:31:08 raspberrypi mopidy[408]: INFO [MainThread] mopidy.commands Starting Mopidy frontends: HttpFrontend
Apr 03 21:31:08 raspberrypi mopidy[408]: INFO [HttpFrontend-9] mopidy.http.actor HTTP server running at [::ffff:127.0.0.1]:6680
Apr 03 21:31:08 raspberrypi mopidy[408]: INFO [MainThread] mopidy.commands Starting GLib mainloop
Apr 03 21:31:08 raspberrypi mopidy[408]: INFO [Audio-2] mopidy.audio.actor Audio output set to “autoaudiosink”

but when I try :
mpc add tunein:station:s24889
I GET :
error adding tunein:station:s24889: No such directory

Am I missing something ??

Do you have Mpoidy-MPD installed? I am going to assume you do not, so install that. And then STOP the mpd server I am guessing you already have running. Your mpd commands are talking to the mpd server, not Mopidy. mpd has no idea about tunein. You do not need mpd running (or even installed) if you are using Mopidy.

This would have been more obvious if you had provided a log in your first post.

MY mopidy config:

[core]
cache_dir = $XDG_CACHE_DIR/mopidy
config_dir = $XDG_CONFIG_DIR/mopidy
data_dir = $XDG_DATA_DIR/mopidy
max_tracklist_length = 10000
restore_state = false

[logging]
verbosity = 0
format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n %(message)s
color = true
config_file =

[audio]
mixer = software
mixer_volume =
output = autoaudiosink
buffer_time =

[proxy]
scheme =
hostname =
port =
username =
password =

[file]
enabled = true
media_dirs =
$XDG_MUSIC_DIR|Music
~/|Home
excluded_file_extensions =
.directory
.html
.jpeg
.jpg
.log
.nfo
.pdf
.png
.txt
.zip
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000

[http]
enabled = true
hostname = 127.0.0.1
port = 6680
zeroconf = Mopidy HTTP server on $hostname
allowed_origins =
csrf_protection = true
default_app = mopidy

[m3u]
enabled = true
base_dir = $XDG_MUSIC_DIR
default_encoding = latin-1
default_extension = .m3u8
playlists_dir =

[softwaremixer]
enabled = true

[stream]
enabled = true
protocols =
http
https
mms
rtmp
rtmps
rtsp
metadata_blacklist =
timeout = 5000

[tunein]
enabled = true
timeout = 5000
filter =

[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

I removed mpd from my rasp pi and now mpc stopped working !!
I GET : “mpd error: Connection refused”
how can I fix it or interface with mopidy.??

I got it to work !!
in terminal mode and as a process too.
I had to sort my config files and it eventually started working.
Thanks for your help patience and guidance !