Hello, I have a Mopidy running with mopidy-local-sqlite and ncmpcpp as a client. I have just noticed that a few albums are missing from the Media view. This is only the case when using the sqlite backend and everything is available and correct when using json. When connecting with MPDroid all of the albums are available.
Reading through the output of “media local scan” the only warnings/fails that occur on on non-media files so I don’t think the albums are being excluded.
mopidy.conf:
# For further information about options in this file see:
# http://docs.mopidy.com/
#
# The initial commented out values reflect the defaults as of:
# Mopidy 2.1.0
# Mopidy-File 2.1.0
# Mopidy-HTTP 2.1.0
# Mopidy-Local 2.1.0
# Mopidy-M3U 2.1.0
# Mopidy-MPD 2.1.0
# Mopidy-SoftwareMixer 2.1.0
# Mopidy-Stream 2.1.0
#
# Available options and defaults might have changed since then,
# run mopidy config
to see the current effective config and
# mopidy --version
to check the current version.
[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]
#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 = mopidy.log
#config_file =
[audio]
mixer = software
mixer_volume =
output = autoaudiosink
buffer_time =
[proxy]
#scheme =
#hostname =
#port =
#username =
#password =
[mpd]
enabled = true
hostname = ::
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 = ::
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 = $XDG_MUSIC_DIR
default_encoding = latin-1
default_extension = .m3u8
playlists_dir =
[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 = sqlite
media_dir = /home/malcolm/Music
scan_timeout = 1000
scan_flush_threshold = 100
scan_follow_symlinks = false
excluded_file_extensions =
.directory
.html
.jpeg
.jpg
.log
.nfo
.png
.txt
[local-sqlite]
enabled = true
# top-level directories for browsing, as <name> <uri>
directories =
Albums local:directory?type=album
Artists local:directory?type=artist
Composers local:directory?type=artist&role=composer
Genres local:directory?type=genre
Performers local:directory?type=artist&role=performer
Release Years local:directory?type=date&format=%25Y
Tracks local:directory?type=track
Last Week's Updates local:directory?max-age=604800
Last Month's Updates local:directory?max-age=2592000
# database connection timeout in seconds
timeout = 10
# whether to use an album's musicbrainz_id for generating its URI
use_album_mbid_uri = true
# whether to use an artist's musicbrainz_id for generating its URI;
# disabled by default, since some taggers do not handle this well for
# multi-artist tracks [https://github.com/sampsyo/beets/issues/907]
use_artist_mbid_uri = false
# whether to use the sortname field for sorting artist browse results;
# set to false to sort according to displayed name only
use_artist_sortname = true
~/.ncmpcpp/config:
mpd_host = localhost
#
mpd_port = 6600
#
#mpd_connection_timeout = 5
#
## Needed for tag editor and file operations to work.
##
mpd_music_dir = “/home/malcolm/Music”