summaryrefslogtreecommitdiff
path: root/tests/tmdb/test_tmdb_utils.h
diff options
context:
space:
mode:
authorVictor Toso <me@victortoso.com>2016-03-03 01:17:43 +0100
committerVictor Toso <me@victortoso.com>2016-03-11 12:40:16 +0100
commit72a4e9d1924de741d66b4b5e4ed45e726db3913a (patch)
treeb40f39f15a157222261380a538804392c5d3dd3a /tests/tmdb/test_tmdb_utils.h
parentfc9cfe1dc167c6a7b843b91786e9d94b3d0b94a5 (diff)
lua-factory: use requested-keys as keys for lua api
We always provided the requested-keys to the lua source as an array with the metadata-keys as values. That's not so interesting as the source will need to walk in the array to check which keys were requested. As from commit 2bfcff90d589d43351 we started introducing the requested-keys as an argument, it would be good to use this moment and improve it. A table with the metadata-keys as key could be easily accessed in the source e.g if requested_keys.artist then media.artist = my_artist end https://bugzilla.gnome.org/show_bug.cgi?id=732879
Diffstat (limited to 'tests/tmdb/test_tmdb_utils.h')
0 files changed, 0 insertions, 0 deletions