2010-05-23, 02:01
ok. i get it to work now.
but one big question for me. i dont use the video library function of xbmc.
i only add the shares i want to browse. so i have no movies in the database i can query.
e.g. i add 2 shares to video section (i name them myvideos, mytvshows)
myvideos points to f:\vidz and mytvshows points to z:\shows.
how can i query these names in json-rpc and how can i browse them?
i know the Files.GetDirectory but for this method i need to know the drive letters in the system. and for security reason i only want to browse in "myvideos" and "mytvshows"
i found a user project "XBMControl" and it shows only the share names (parted in video,music,pictures,files) but it seems to use the old api.
is this possible with json-rpc too?
but one big question for me. i dont use the video library function of xbmc.
i only add the shares i want to browse. so i have no movies in the database i can query.
e.g. i add 2 shares to video section (i name them myvideos, mytvshows)
myvideos points to f:\vidz and mytvshows points to z:\shows.
how can i query these names in json-rpc and how can i browse them?
i know the Files.GetDirectory but for this method i need to know the drive letters in the system. and for security reason i only want to browse in "myvideos" and "mytvshows"
i found a user project "XBMControl" and it shows only the share names (parted in video,music,pictures,files) but it seems to use the old api.
is this possible with json-rpc too?