For .mpc files the Scanner..scan() from mopidy.audio doesn't return a valid duration
which prevents these files from getting into the library.
However, those files can be played by gstreamer without any problems.
My change handles this "violation" less strictly and accepts files without a duration to be put into the library.
For .mpc files the Scanner..scan() from mopidy.audio doesn't return a valid duration which prevents these files from getting into the library. However, those files can be played by gstreamer without any problems. My change handles this "violation" less strictly and accepts files without a duration to be put into the library.