2016-10-25, 15:17
Hi All, i have a question about hiding XFILE::CDirectory::GetDirectory error in log.
For example: when i write xbmcvfs.listdir(folder_path) i get XFILE error if folder_path not exist. For some reason i can't use xbmcvfs.exists function and i need to use xbmcvfs.listdir for existing and not existing folders. Is a there any way for hiding XFILE errors?
For example: when i write xbmcvfs.listdir(folder_path) i get XFILE error if folder_path not exist. For some reason i can't use xbmcvfs.exists function and i need to use xbmcvfs.listdir for existing and not existing folders. Is a there any way for hiding XFILE errors?