I want to create a simple backend which dynamically provides a playlist of all tracks stored on an USB stick when the stick is inserted.
Thus, I have to decide which files are audio files (e.g. *.mp3) and which not (e.g. *.odf). Is it possible to get a list of supported codecs within Mopidy? Or even better a list of all supported file extensions?
BTW: How should I behave if the stick is removed while playing music? Is the backend / PlaylistProvider somehow able to detect that the tracks currently played are from its playlist (which is not valid anymore)?