Kodi Community Forum
Bug mediasources.xml causes add-ons to appear in the files view - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Bug mediasources.xml causes add-ons to appear in the files view (/showthread.php?tid=372524)



mediasources.xml causes add-ons to appear in the files view - rusty - 2023-03-15

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.


RE: mediasources.xml causes add-ons to appear in the files view - izprtxqkft - 2023-03-18

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