summaryrefslogtreecommitdiff
path: root/plugin.video.dazn/resources/lib/resources.py
blob: 35fd42321dd75d01d9c94167bd6d30e1d47c6614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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