respect new format

This commit is contained in:
Ronald Schaten 2021-03-16 17:46:19 +01:00
parent dc7e39b7b4
commit cdc6fa4e2b

View File

@ -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):