respect new format
This commit is contained in:
parent
dc7e39b7b4
commit
cdc6fa4e2b
2
addon.py
2
addon.py
@ -57,7 +57,7 @@ def conduct_program(program_file, feature):
|
|||||||
for location in files_from_dir(settings['count'], settings['location']):
|
for location in files_from_dir(settings['count'], settings['location']):
|
||||||
entry = {'type': 'video', 'data': location}
|
entry = {'type': 'video', 'data': location}
|
||||||
program.append(entry)
|
program.append(entry)
|
||||||
elif settings['source'] == 'trailer':
|
elif settings['source'] == 'tmdbtrailer':
|
||||||
genre = 'TODO: find feature genre'
|
genre = 'TODO: find feature genre'
|
||||||
rating = 'TODO: find feature rating'
|
rating = 'TODO: find feature rating'
|
||||||
for location in trailers_from_net(settings['count'], genre, rating):
|
for location in trailers_from_net(settings['count'], genre, rating):
|
||||||
|
Loading…
Reference in New Issue
Block a user