diff options
author | Montellese <sascha.montellese@gmail.com> | 2022-11-25 23:26:50 +0100 |
---|---|---|
committer | Montellese <sascha.montellese@gmail.com> | 2022-11-26 20:53:23 +0100 |
commit | 436aafa65c93692cbce5e84f3a3c0d732dfe94e1 (patch) | |
tree | 85a508a30d082f3b62f5906e8f6d6e4b85605a43 /addons | |
parent | d38873b2edb45bdbcc1fa727c05ad334ab8f1a7d (diff) |
use lowercase for parameters in InfoTagVideo Python API
Diffstat (limited to 'addons')
-rw-r--r-- | addons/metadata.demo.movies/demo.py | 4 | ||||
-rw-r--r-- | addons/metadata.demo.tv/demo.py | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/addons/metadata.demo.movies/demo.py b/addons/metadata.demo.movies/demo.py index d32b39c7ec..ef47eb8aeb 100644 --- a/addons/metadata.demo.movies/demo.py +++ b/addons/metadata.demo.movies/demo.py @@ -64,8 +64,8 @@ elif action == 'getdetails': tags.setDateAdded('2016-01-01') tags.setPremiered('2015-01-01') tags.setShowLinks(['Demo show 1']) - tags.setRatings({'imdb': (9, 100000), 'themoviedb': (8.9, 1000)}, defaultRating='imdb') - tags.setUniqueIDs({'imdb': 'tt8938399', 'tmdb': '9837493'}, defaultUniqueID='imdb') + tags.setRatings({'imdb': (9, 100000), 'themoviedb': (8.9, 1000)}, defaultrating='imdb') + tags.setUniqueIDs({'imdb': 'tt8938399', 'tmdb': '9837493'}, defaultuniqueid='imdb') tags.setCast([xbmc.Actor('spiff', 'himself', order=2, thumbnail='/home/akva/Pictures/fish.jpg'), xbmc.Actor('monkey', 'orange', order=1, thumbnail='/home/akva/Pictures/coffee.jpg')]) tags.addAvailableArtwork('DefaultBackFanart.png', 'banner') diff --git a/addons/metadata.demo.tv/demo.py b/addons/metadata.demo.tv/demo.py index f0c761f650..adbb5060db 100644 --- a/addons/metadata.demo.tv/demo.py +++ b/addons/metadata.demo.tv/demo.py @@ -64,8 +64,8 @@ elif action == 'getdetails': tags.setTvShowStatus('Cancelled') tags.setEpisodeGuide('/path/to/show/guide') tags.setTagLine('Family / Mom <3') - tags.setRatings({'imdb': (9, 100000), 'tvdb': (8.9, 1000)}, defaultRating='imdb') - tags.setUniqueIDs({'imdb': 'tt8938399', 'tmdb': '9837493'}, defaultUniqueID='tvdb') + tags.setRatings({'imdb': (9, 100000), 'tvdb': (8.9, 1000)}, defaultrating='imdb') + tags.setUniqueIDs({'imdb': 'tt8938399', 'tmdb': '9837493'}, defaultuniqueid='tvdb') tags.addSeason(1, 'Beautiful') tags.addSeason(2, 'Sun') tags.setCast([xbmc.Actor('spiff', 'himself', order=2, thumbnail='/home/akva/Pictures/fish.jpg'), @@ -125,8 +125,8 @@ elif action == 'getepisodedetails': tags.setPremiered('2015-01-01') tags.setFirstAired('2007-01-01') tags.setTagLine('Family / Dad <3') - tags.setRatings({'imdb': (9, 100000), 'tvdb': (8.9, 1000)}, defaultRating='imdb') - tags.setUniqueIDs({'tvdb': '3894', 'imdb': 'tt384940'}, defaultUniqueID='tvdb') + tags.setRatings({'imdb': (9, 100000), 'tvdb': (8.9, 1000)}, defaultrating='imdb') + tags.setUniqueIDs({'tvdb': '3894', 'imdb': 'tt384940'}, defaultuniqueid='tvdb') tags.addSeason(1, 'Beautiful') tags.addSeason(2, 'Sun') tags.setCast([xbmc.Actor('spiff', 'himself', order=2, thumbnail='/home/akva/Pictures/fish.jpg'), @@ -163,8 +163,8 @@ elif action == 'getepisodedetails': tags.setPremiered('2015-01-01') tags.setFirstAired('2007-01-01') tags.setTagLine('Something / Else') - tags.setRatings({'imdb': (7, 25457), 'tvdb': (8.1, 5478)}, defaultRating='imdb') - tags.setUniqueIDs({'tvdb': '3894', 'imdb': 'tt384940'}, defaultUniqueID='tvdb') + tags.setRatings({'imdb': (7, 25457), 'tvdb': (8.1, 5478)}, defaultrating='imdb') + tags.setUniqueIDs({'tvdb': '3894', 'imdb': 'tt384940'}, defaultuniqueid='tvdb') tags.addSeason(1, 'Beautiful') tags.addSeason(2, 'Sun') tags.setCast([xbmc.Actor('spiff', 'himself', order=2, thumbnail='/home/akva/Pictures/fish.jpg'), |