Kodi Community Forum

Full Version: mediasources.xml causes add-ons to appear in the files view
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If you have a source saved in mediasources.xml it will cause a Music/Video add-ons entry to appear in the file menu on Kodi 20. This didn't happen on 19.

To reproduce:
  1. Go to the files section under videos
  2. Add videos
  3. Browse, then choose Add network location
  4. Add a samba share (it may happen with other protocols, but I haven't tested)
  5. Save

or simply save this as mediasources.xml in the userdata dir

xml:
<mediasources>
    <network>
        <location id="0">smb://127.0.0.1/</location>
    </network>
</mediasources>

The next time you open Kodi you'll see Music and Video add-on entries in the files view.

without mediasources.xml
Image

with mediasources.xml
Image

The screenshots above were taken on a fresh Kodi 20.1 installation on Windows 10. The same bug exists in the Android version.

My apologies if this is the wrong place to report this bug.
confirmed behavior however im currently taking advantage of this for some other functionality so i would consider this less "bug" and more "feature"

i wish more could be added to have addons as sources