summaryrefslogtreecommitdiff
path: root/plugin.video.dazn/resources/lib/resources.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.video.dazn/resources/lib/resources.py')
-rw-r--r--plugin.video.dazn/resources/lib/resources.py47
1 files changed, 47 insertions, 0 deletions
diff --git a/plugin.video.dazn/resources/lib/resources.py b/plugin.video.dazn/resources/lib/resources.py
new file mode 100644
index 0000000..35fd423
--- /dev/null
+++ b/plugin.video.dazn/resources/lib/resources.py
@@ -0,0 +1,47 @@
+# -*- coding: utf-8 -*-
+
+def resources(string):
+ if string == 'CatchUp':
+ return 30201
+ elif string == 'ComingUp':
+ return 30202
+ elif string == 'UpComing':
+ return 30202
+ elif string == 'Editorial':
+ return 30203
+ elif string == 'Feature':
+ return 30204
+ elif string == 'Live':
+ return 30205
+ elif string == 'MostPopular':
+ return 30206
+ elif string == 'Personal':
+ return 30207
+ elif string == 'Scheduled':
+ return 30208
+ elif string == 'Sport':
+ return 30209
+ elif string == 'Competition':
+ return 30210
+ elif string == 'Competitor':
+ return 30211
+ elif string == 'Today':
+ return 30221
+ elif string == 'Tomorrow':
+ return 30222
+ elif string == 'Monday':
+ return 30223
+ elif string == 'Tuesday':
+ return 30224
+ elif string == 'Wednesday':
+ return 30225
+ elif string == 'Thursday':
+ return 30226
+ elif string == 'Friday':
+ return 30227
+ elif string == 'Saturday':
+ return 30228
+ elif string == 'Sunday':
+ return 30229
+ else:
+ return 0