Kodi Community Forum
Retrieve list off all media sources via python - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Retrieve list off all media sources via python (/showthread.php?tid=321296)



Retrieve list off all media sources via python - badaas - 2017-09-10

How do use python to get a list of all paths user has set for movies/tvshows/music?

Thanks Smile


RE: Retrieve list off all media sources via python - ronie - 2017-09-10

i guess this json method should return what you're looking for:
http://kodi.wiki/view/JSON-RPC_API/v6#Files.GetSources