Mopidy Music format issues

Hi there,

first of all - mopidy is fantastic, I am mainly using it with the ytmusic plugin and iris on a Raspberry Pi 3 and it works like a charm. I do however experience some issues when not working with music from the internet, so hopefully somebody can assist me.

I am currently experimenting to find out the best format for “offline files”. I am adding a tracklist via the API (31 tracks)

  1. if I am adding tracks from ytmusic, the tracklist in iris is “immediately” (as in 1-2 seconds) available and the first song is playing
  2. if I am adding offline tracks the exact same way in format *.webm it takes about 8 seconds for the tracklist to show with all information
  3. when using *.mkv format, it takes about 15 seconds to show the whole tracklist with all information
  4. when using *.mp3 format, it takes about 45 seconds to show the whole tracklist and most of the tracks do not have title, artist, etc displayed.

The reason why that is an issue at all for me is that using either *.webm or *.mkv format mopidy does not continue to the next track after finishing the previous one, so I always have to start playback by hand again with the next track. The logs just display “playback ended” but no errors in that case. With mp3 this issue does not arise at all (but the tracklist takes ages to load).
The only “format” that works flawless is directly using ytmusic, but I want to be prepared for a lost internet connection.

Is there maybe a preferred music format for mopidy with the best performance, or is there a way of speeding up tracklist building?
I am thinking e.g. of txt-files for each track that only contain artist, trackinfo as well as a link to the mp3 file which only gets loaded when the track is playing? This is me thinking the performance issue must be extracting the title information from the files… I could not find any information on such a “playable” format unfortunatelly.

Hope somebody can point me into the right direction

Thanks a lot!


Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config" as user mopidy
cache_dir = /var/cache/mopidy
config_dir = /etc/mopidy
data_dir = /var/lib/mopidy
max_tracklist_length = 10000
restore_state = false

verbosity = 0
format = %(levelname)-8s [%(threadName)s] %(name)s %(message)s
color = false
config_file =

mixer = software
mixer_volume =
output = autoaudiosink
buffer_time =

scheme =
hostname =
port =
username =
password =

enabled = true
auth_json = /home/pi/mopidy_ytmusic_auth.json
auto_playlist_refresh = 60
youtube_player_refresh = 15
playlist_item_limit = 100
subscribed_artist_limit = 100
enable_history = true
enable_liked_songs = true
enable_mood_genre = true
enable_scrobbling = true
stream_preference =
verify_track_url = true

enabled = true
country = NZ
locale = en_NZ
verify_certificates = true
snapcast_enabled = true
snapcast_host = localhost
snapcast_port = 1780
snapcast_ssl = false
snapcast_stream = Default
spotify_authorization_url =
lastfm_authorization_url =
genius_authorization_url =
data_dir = $XDG_DATA_DIR/iris

enabled = true
media_dirs =
excluded_file_extensions =
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000

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

enabled = true
base_dir =
default_encoding = latin-1
default_extension = .m3u8
playlists_dir =

enabled = true

enabled = true
protocols =
metadata_blacklist =
timeout = 5000

Sounds like you are using Mopidy-File for your local tracks, use Mopidy-Local instead.