2014-06-30, 02:00
I'm trying to get a list of all art for a xbmc source folder... info returns fine in a python IDE, but from within xbmc it doesn't work... any ideas?
python code:
Output in xbmc:
Source query to verify path is in white list:
python code:
Code:
json_query = uni('{"jsonrpc": "2.0", "method": "Files.GetDirectory", "params": {"directory": "%s", "media": "%s", "properties":["art"]}, "id": 1}' % ((path), media))
path = 'smb://192.168.0.0/TV/Orphan Black/Season 02'
media = 'video'
Output in xbmc:
Code:
19:49:03 T:22160 DEBUG: JSONRPC: Incoming request: {"jsonrpc":"2.0","method":"Files.GetDirectory","params":{"directory":"smb://192.168.0.0/TV/Orphan Black/Season 02","media":"video","properties":["art"]}, "id": 1}
19:49:03 T:22160 DEBUG: CUtil::GetMatchingSource: no matching source found for [smb://192.168.0.0/TV/Orphan Black/Season 02]
Source query to verify path is in white list:
Code:
"file": "smb://192.168.0.0/TV/",
"label": "TV Shows"