forked from HIGHWAY99/plugin.stream.vaughnlive.tv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
116 lines (109 loc) · 5.12 KB
/
config.py
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
### ############################################################################################################
### #
### # Author: # The Highway
### # Description: # Config File For: The Binary Highway
### #
### ############################################################################################################
### ############################################################################################################
### Imports ###
import xbmc,xbmcplugin,xbmcgui,xbmcaddon,xbmcvfs
import os,sys,string,StringIO,logging,random,array,time,datetime,re
#from t0mm0.common.addon import Addon
#try: from t0mm0.common.addon import Addon
#except:
# try: from c_t0mm0_common_addon import Addon
# except: pass
try: from addon.common.addon import Addon
except:
try: from t0mm0.common.addon import Addon
except:
try: from c_t0mm0_common_addon import Addon
except: pass
### Plugin Settings ###
def ps(x):
if (x=='_addon_id') or (x=='addon_id') or (x=='_plugin_id') or (x=='plugin_id'): return 'plugin.stream.vaughnlive.tv'
try:
return {
'__plugin__': "Vaughn Live"
,'__authors__': "[COLOR white]The[COLOR tan]Highway[/COLOR][/COLOR]"
,'__credits__': ""
,'_domain_url': ""
,'special-code': "XBMCHUB"
,'word': ""
,'word0': ""
,'word1': ""
,'word2': ""
,'word3': ""
,'word4': ""
,'word5': ""
,'word6': ""
,'word7': ""
,'word8': ""
,'word9': ""
,'content_movies': "movies"
,'content_tvshows': "tvshows"
,'content_seasons': "seasons"
,'content_episodes': "episodes"
,'content_links': "list"
,'default_section': 'anime'
,'section.wallpaper': 'wallpapers'
,'section.tv': 'tv'
,'section.movies': 'movies'
,'section.anime': 'anime'
,'section.animesub': ''
,'section.animedub': ''
,'section.animesubmovies': ''
,'section.animesubseries': ''
,'section.animedubmovies': ''
,'section.animedubseries': ''
,'section.anime': ''
,'sep': os.sep
,'special.home': 'special:'+os.sep+os.sep+'home'
,'special.home.addons': 'special:'+os.sep+os.sep+'home'+os.sep+'addons'+os.sep
,'_addon_path_art': "art"
,'_database_name': "vaughnlive"
,'default_art_ext': '.png'
,'default_cFL_color': 'cornflowerblue'
,'User-Agent': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3'
#,'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0'
,'cMI.showinfo.url': 'XBMC.Action(Info)'
,'cMI.jDownloader.addlink.url': 'XBMC.RunPlugin(plugin://plugin.program.jdownloader/?action=addlink&url=%s)'
,'filemarker': ''
,'iiHubIrc': 'http://i.imgur.com/V3jly5Y.png' # #XBMCHUB IRC chat.freenode.net/6667 - Transperant
,'fiHubIrc': 'http://i.imgur.com/UtL1F8j.png' # #XBMCHUB IRC chat.freenode.net/6667
#,'ii': '' #
#,'fi': '' #
#,'ii': '' #
#,'fi': '' #
#,'ii': '' #
#,'fi': '' #
#,'ii': '' #
#,'fi': '' #
#,'ii': '' #
#,'fi': '' #
#,'ii': '' #
#,'fi': '' #
#,'ii': '' #
#,'fi': '' #
#,'': ''
,'db filename': xbmc.translatePath(os.path.join('special://database','vaughnlive.db'))
,'db channels tags0a': 'pageurl, title, streamtype, live, thumb, fanart, roomid, roomslug, sourcetype, streamurl, streamkey, youtubeposition, youtubecurrentindex, youtubeduration, youtubeplaylistcount, youtubevideoid, youtubeuuid, plot, timestampyear, timestampmonth, timestampday'
,'db channels tags0b': '"%s","%s","%s","%s","%s","%s","%s","%s","%s","%s","%s","%s","%s","%s","%s","%s","%s","%s","%s","%s","%s"'
,'db channels tags0c': 'pageurl,title,streamtype,live,thumb,fanart,roomid,roomslug,sourcetype,streamurl,streamkey,youtubeposition,youtubecurrentindex,youtubeduration,youtubeplaylistcount,youtubevideoid,youtubeuuid,plot,timestampyear,timestampmonth,timestampday'
,'db channels tags1a': 'pageurl, title, live, thumb, roomid, roomslug, plot, timestampyear, timestampmonth, timestampday'
,'db channels tags1b': '"%s","%s","%s","%s","%s","%s","%s","%s","%s","%s"'
,'db channels tags2a': 'pageurl, title, live, thumb, roomid, roomslug, plot, timestampyear, timestampmonth, timestampday'
,'db channels tags2c': 'pageurl, title, streamtype, live, thumb, fanart, roomid, roomslug, sourcetype, streamurl, streamkey, youtubeposition, youtubecurrentindex, youtubeduration, youtubeplaylistcount, youtubevideoid, youtubeuuid, plot, timestampyear, timestampmonth, timestampday'
#,'': ''
#,'': ''
#,'': ''
#,'': ''
#,'': ''
#,'': ''
#,'': ''
,'ReferalMsg': 'My XBMC-HUB Refferal Code - http://www.xbmchub.com/forums/register.php?referrerid=15468 [CR]Please use it to register if you don\'t have an account. It not\'s not much but it can help me out. '
,'WhatRFavsCalled': 'Favs: '
}[x]
except: return ''
### ############################################################################################################
### ############################################################################################################