2011-07-10, 11:19
Hi giftie,
why does folder.py uses this json query:
for local trailer scraper? It takes several minutes to get content of local directory (hundreds of trailers) as it does some checking within library for all the files (there are movie,episode,music select queries in the log for every previously watched trailers) It takes several minutes before trailers starts to play. Any reason for that?
Once I change the query to:
it gets back to normal.
why does folder.py uses this json query:
Code:
json_query = '{"jsonrpc": "2.0", "method": "Files.GetDirectory", "params": {"directory": "%s", "media": "%s"}, "id": 1}' % ( escapeDirJSON( dir_name ), media_type )
for local trailer scraper? It takes several minutes to get content of local directory (hundreds of trailers) as it does some checking within library for all the files (there are movie,episode,music select queries in the log for every previously watched trailers) It takes several minutes before trailers starts to play. Any reason for that?
Once I change the query to:
Code:
json_query = '{"jsonrpc": "2.0", "method": "Files.GetDirectory", "params": {"directory": "%s", "media": "files"}, "id": 1}' % ( escapeDirJSON( dir_name ) )
it gets back to normal.