Here’s what I get when updating my mopidy install from your GitHub change running on my RPi:
DEBUG [MainThread] mopidy_local.commands Added local:track:Unknown%20Artist/Unknown%20Album/onpoint_0226_circus.mp3
TRACE [MainThread] mopidy.audio.scan element decodebin577: have-audio;
TRACE [MainThread] mopidy.audio.scan element fakesink561: GstMessageTag, taglist=(taglist)"taglist\,\ datetime\=\(datetime\)2010\,\ gen...
TRACE [MainThread] mopidy.audio.scan element fakesink561: GstMessageTag, taglist=(taglist)"taglist\,\ datetime\=\(datetime\)2010\,\ gen...
TRACE [MainThread] mopidy.audio.scan element pipeline577: GstMessageAsyncDone, running-time=(guint64)18446744073709551615;
DEBUG [MainThread] mopidy.audio.scan Using workaround for duration missing before play.
TRACE [MainThread] mopidy.audio.scan element fakesink561: GstMessageTag, taglist=(taglist)"taglist\,\ datetime\=\(datetime\)2010\,\ gen...
TRACE [MainThread] mopidy.audio.scan element fakesink561: GstMessageTag, taglist=(taglist)"taglist\,\ datetime\=\(datetime\)2010\,\ gen...
TRACE [MainThread] mopidy.audio.scan element mpegaudioparse281: GstMessageDurationChanged;
ERROR [MainThread] mopidy.__main__ Expected last_modified to be at least 0, not -104400000
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mopidy/__main__.py", line 143, in main
return args.command.run(args, proxied_config)
File "/usr/local/lib/python3.9/dist-packages/mopidy_local/commands.py", line 95, in run
self._scan_metadata(
File "/usr/local/lib/python3.9/dist-packages/mopidy_local/commands.py", line 239, in _scan_metadata
track = tags.convert_tags_to_track(result.tags).replace(
File "/usr/lib/python3/dist-packages/mopidy/models/immutable.py", line 216, in replace
other = super().replace(**kwargs)
File "/usr/lib/python3/dist-packages/mopidy/models/immutable.py", line 111, in replace
other._set_field(key, value)
File "/usr/lib/python3/dist-packages/mopidy/models/immutable.py", line 188, in _set_field
object.__setattr__(self, name, value)
File "/usr/lib/python3/dist-packages/mopidy/models/fields.py", line 50, in __set__
value = self.validate(value)
File "/usr/lib/python3/dist-packages/mopidy/models/fields.py", line 135, in validate
raise ValueError(
ValueError: Expected last_modified to be at least 0, not -104400000
Traceback (most recent call last):
File "/usr/bin/mopidy", line 11, in <module>
load_entry_point('Mopidy==3.2.0', 'console_scripts', 'mopidy')()
File "/usr/lib/python3/dist-packages/mopidy/__main__.py", line 143, in main
return args.command.run(args, proxied_config)
File "/usr/local/lib/python3.9/dist-packages/mopidy_local/commands.py", line 95, in run
self._scan_metadata(
File "/usr/local/lib/python3.9/dist-packages/mopidy_local/commands.py", line 239, in _scan_metadata
track = tags.convert_tags_to_track(result.tags).replace(
File "/usr/lib/python3/dist-packages/mopidy/models/immutable.py", line 216, in replace
other = super().replace(**kwargs)
File "/usr/lib/python3/dist-packages/mopidy/models/immutable.py", line 111, in replace
other._set_field(key, value)
File "/usr/lib/python3/dist-packages/mopidy/models/immutable.py", line 188, in _set_field
object.__setattr__(self, name, value)
File "/usr/lib/python3/dist-packages/mopidy/models/fields.py", line 50, in __set__
value = self.validate(value)
File "/usr/lib/python3/dist-packages/mopidy/models/fields.py", line 135, in validate
raise ValueError(
ValueError: Expected last_modified to be at least 0, not -104400000
pi@rpi:~ $
Does this provide more info?
And to make sure here’s what my config looks like:
$ sudo mopidyctl config
Running "/usr/bin/mopidy --config /usr/share/mopidy/conf.d:/etc/mopidy/mopidy.conf config" as user mopidy
INFO [MainThread] mopidy.__main__ Starting Mopidy 3.2.0
DEBUG [MainThread] mopidy.ext Loading entry point: tunein = mopidy_tunein:Extension
DEBUG [MainThread] mopidy.ext Loaded extension: Mopidy-TuneIn 1.1.0
DEBUG [MainThread] mopidy.ext Loading entry point: orfradio = mopidy_orfradio:Extension
DEBUG [MainThread] mopidy.ext Loaded extension: Mopidy-ORFRadio 2.0.0
DEBUG [MainThread] mopidy.ext Loading entry point: musicbox_webclient = mopidy_musicbox_webclient:Extension
DEBUG [MainThread] mopidy.ext Loaded extension: Mopidy-MusicBox-Webclient 3.1.0
DEBUG [MainThread] mopidy.ext Loading entry point: muse = mopidy_muse:Extension
DEBUG [MainThread] mopidy.ext Loaded extension: Mopidy-Muse 0.0.27
DEBUG [MainThread] mopidy.ext Loading entry point: local = mopidy_local:Extension
DEBUG [MainThread] mopidy.ext Loaded extension: Mopidy-Local 3.2.1
DEBUG [MainThread] mopidy.ext Loading entry point: iris = mopidy_iris:Extension
DEBUG [MainThread] mopidy.ext Loaded extension: Mopidy-Iris 3.62.0
DEBUG [MainThread] mopidy.ext Loading entry point: file = mopidy.file:Extension
DEBUG [MainThread] mopidy.ext Loaded extension: Mopidy-File 3.2.0
DEBUG [MainThread] mopidy.ext Loading entry point: http = mopidy.http:Extension
DEBUG [MainThread] mopidy.ext Loaded extension: Mopidy-HTTP 3.2.0
DEBUG [MainThread] mopidy.ext Loading entry point: m3u = mopidy.m3u:Extension
DEBUG [MainThread] mopidy.ext Loaded extension: Mopidy-M3U 3.2.0
DEBUG [MainThread] mopidy.ext Loading entry point: softwaremixer = mopidy.softwaremixer:Extension
DEBUG [MainThread] mopidy.ext Loaded extension: Mopidy-SoftwareMixer 3.2.0
DEBUG [MainThread] mopidy.ext Loading entry point: stream = mopidy.stream:Extension
DEBUG [MainThread] mopidy.ext Loaded extension: Mopidy-Stream 3.2.0
DEBUG [MainThread] mopidy.ext Discovered extensions: tunein, orfradio, musicbox_webclient, muse, local, iris, file, http, m3u, softwaremixer, stream
DEBUG [MainThread] mopidy.config.keyring Fetching passwords from your keyring failed. Any passwords stored in the keyring will not be available. (org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11)
INFO [MainThread] mopidy.config Loading config from builtin defaults
INFO [MainThread] mopidy.config Loading config from file:///usr/share/mopidy/conf.d/mopidy.conf
INFO [MainThread] mopidy.config Loading config from file:///etc/mopidy/mopidy.conf
INFO [MainThread] mopidy.config Loading config from command line options
DEBUG [MainThread] mopidy.ext Validating extension: tunein
DEBUG [MainThread] mopidy.ext Validating extension: orfradio
DEBUG [MainThread] mopidy.ext Validating extension: musicbox_webclient
DEBUG [MainThread] mopidy.ext Validating extension: muse
DEBUG [MainThread] mopidy.ext Validating extension: local
DEBUG [MainThread] mopidy.ext Validating extension: iris
DEBUG [MainThread] mopidy.ext Validating extension: file
DEBUG [MainThread] mopidy.ext Validating extension: http
DEBUG [MainThread] mopidy.ext Validating extension: m3u
DEBUG [MainThread] mopidy.ext Validating extension: softwaremixer
DEBUG [MainThread] mopidy.ext Validating extension: stream
INFO [MainThread] mopidy.__main__ Enabled extensions: iris, orfradio, m3u, musicbox_webclient, tunein, http, local, stream, softwaremixer
INFO [MainThread] mopidy.__main__ Disabled extensions: muse, file
[core]
cache_dir = /var/cache/mopidy
config_dir = /etc/mopidy
data_dir = /var/lib/mopidy
max_tracklist_length = 10000
restore_state = false
[logging]
verbosity = 4
format = %(levelname)-8s [%(threadName)s] %(name)s %(message)s
color = true
config_file =
[audio]
mixer = software
mixer_volume =
output = autoaudiosink
buffer_time =
[proxy]
scheme =
hostname =
port =
username =
password =
[tunein]
enabled = true
timeout = 5000
filter =
[orfradio]
enabled = true
stations =
oe1
oe3
fm4
campus
vbg
afterhours = false
archive_types =
M
B
BJ
N
[musicbox_webclient]
enabled = true
musicbox = false
websocket_host =
websocket_port =
on_track_click = PLAY_ALL
[muse]
enabled = false ; Extension disabled by user config.
[local]
enabled = true
max_search_results = 100
media_dir = /mnt/kabinettle/music
scan_timeout = 15000
scan_flush_threshold = 100
scan_follow_symlinks = false
included_file_extensions =
excluded_file_extensions =
.cue
.directory
.html
.jpg
.jpeg
.log
.nfo
.pdf
.png
.txt
.zip
.itlp
.mov
.aa
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
timeout = 10
use_artist_sortname = false
album_art_files =
cover.jpg
cover.jpeg
cover.png
album.jpg
album.jpeg
album.png
[iris]
enabled = true
country = US
locale = en_US
verify_certificates = true
snapcast_enabled = false
snapcast_host = localhost
snapcast_port = 1780
snapcast_ssl = false
snapcast_stream = Default
spotify_authorization_url = https://jamesbarnsley.co.nz/iris/auth_spotify.php
lastfm_authorization_url = https://jamesbarnsley.co.nz/iris/auth_lastfm.php
genius_authorization_url = https://jamesbarnsley.co.nz/iris/auth_genius.php
data_dir = $XDG_DATA_DIR/iris
[file]
enabled = false ; Extension disabled by user config.
[http]
enabled = true
hostname = ::
port = 6680
zeroconf = Mopidy HTTP server on $hostname
allowed_origins =
csrf_protection = true
default_app = mopidy
[m3u]
enabled = true
base_dir =
default_encoding = latin-1
default_extension = .m3u8
playlists_dir = /mnt/kabinettle/music/playlists
[softwaremixer]
enabled = true
[stream]
enabled = true
protocols =
http
https
mms
rtmp
rtmps
rtsp
metadata_blacklist =
timeout = 5000