2010-12-01, 15:32
Hi,
Im new in this scripting for XBMC and i was searching web and this forum and couldnt find answer to my problem.
Basically what i want to achieve is to read all folders in TV Show (virtual disk), get list of all tv shows titles. Than run the script to get all episodes from thetvdb.com and compare that list with the local file list.
I have already wrote script to get list from tvdb. Also if i hardcode folder name, compare is working also.
What i dont know is how to get virtual disk, filesystem, folder name .. Should i query the sql db for that via HTTP API or is there some other way to do that ?
Im new in this scripting for XBMC and i was searching web and this forum and couldnt find answer to my problem.
Basically what i want to achieve is to read all folders in TV Show (virtual disk), get list of all tv shows titles. Than run the script to get all episodes from thetvdb.com and compare that list with the local file list.
I have already wrote script to get list from tvdb. Also if i hardcode folder name, compare is working also.
What i dont know is how to get virtual disk, filesystem, folder name .. Should i query the sql db for that via HTTP API or is there some other way to do that ?