mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-13 18:16:57 -07:00
Update nullrefer to HTTPS
This commit is contained in:
parent
59162713e7
commit
f81649c4d3
2 changed files with 20 additions and 5 deletions
|
@ -22,11 +22,11 @@ DOCUMENTATION :: END
|
||||||
% if plexpy.CURRENT_VERSION:
|
% if plexpy.CURRENT_VERSION:
|
||||||
<tr>
|
<tr>
|
||||||
<td>Git Branch:</td>
|
<td>Git Branch:</td>
|
||||||
<td><a class="no-highlight" href="${anon_url('https://github.com/%s/%s/tree/%s' % (plexpy.CONFIG.GIT_USER, plexpy.CONFIG.GIT_REPO, plexpy.CONFIG.GIT_BRANCH))}">${plexpy.CONFIG.GIT_BRANCH}</a></td>
|
<td><a class="no-highlight" href="${anon_url('https://github.com/%s/%s/tree/%s' % (plexpy.CONFIG.GIT_USER, plexpy.CONFIG.GIT_REPO, plexpy.CONFIG.GIT_BRANCH))}" target="_blank">${plexpy.CONFIG.GIT_BRANCH}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Git Commit Hash:</td>
|
<td>Git Commit Hash:</td>
|
||||||
<td><a class="no-highlight" href="${anon_url('https://github.com/%s/%s/commit/%s' % (plexpy.CONFIG.GIT_USER, plexpy.CONFIG.GIT_REPO, plexpy.CURRENT_VERSION))}">${plexpy.CURRENT_VERSION}</a></td>
|
<td><a class="no-highlight" href="${anon_url('https://github.com/%s/%s/commit/%s' % (plexpy.CONFIG.GIT_USER, plexpy.CONFIG.GIT_REPO, plexpy.CURRENT_VERSION))}" target="_blank">${plexpy.CURRENT_VERSION}</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
% endif
|
% endif
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -802,6 +802,7 @@ class Config(object):
|
||||||
if self.VIDEO_LOGGING_ENABLE == 0:
|
if self.VIDEO_LOGGING_ENABLE == 0:
|
||||||
self.MOVIE_LOGGING_ENABLE = 0
|
self.MOVIE_LOGGING_ENABLE = 0
|
||||||
self.TV_LOGGING_ENABLE = 0
|
self.TV_LOGGING_ENABLE = 0
|
||||||
|
|
||||||
self.CONFIG_VERSION = 1
|
self.CONFIG_VERSION = 1
|
||||||
|
|
||||||
if self.CONFIG_VERSION == 1:
|
if self.CONFIG_VERSION == 1:
|
||||||
|
@ -817,11 +818,12 @@ class Config(object):
|
||||||
if 'library_statistics' in home_library_cards:
|
if 'library_statistics' in home_library_cards:
|
||||||
home_library_cards.remove('library_statistics')
|
home_library_cards.remove('library_statistics')
|
||||||
self.HOME_LIBRARY_CARDS = home_library_cards
|
self.HOME_LIBRARY_CARDS = home_library_cards
|
||||||
|
|
||||||
self.CONFIG_VERSION = 2
|
self.CONFIG_VERSION = 2
|
||||||
|
|
||||||
if self.CONFIG_VERSION == 2:
|
if self.CONFIG_VERSION == 2:
|
||||||
def rep(s):
|
def rep(s):
|
||||||
return s.replace('{progress}','{progress_duration}')
|
return s.replace('{progress}', '{progress_duration}')
|
||||||
|
|
||||||
self.NOTIFY_ON_START_SUBJECT_TEXT = rep(self.NOTIFY_ON_START_SUBJECT_TEXT)
|
self.NOTIFY_ON_START_SUBJECT_TEXT = rep(self.NOTIFY_ON_START_SUBJECT_TEXT)
|
||||||
self.NOTIFY_ON_START_BODY_TEXT = rep(self.NOTIFY_ON_START_BODY_TEXT)
|
self.NOTIFY_ON_START_BODY_TEXT = rep(self.NOTIFY_ON_START_BODY_TEXT)
|
||||||
|
@ -836,10 +838,13 @@ class Config(object):
|
||||||
self.NOTIFY_ON_WATCHED_SUBJECT_TEXT = rep(self.NOTIFY_ON_WATCHED_SUBJECT_TEXT)
|
self.NOTIFY_ON_WATCHED_SUBJECT_TEXT = rep(self.NOTIFY_ON_WATCHED_SUBJECT_TEXT)
|
||||||
self.NOTIFY_ON_WATCHED_BODY_TEXT = rep(self.NOTIFY_ON_WATCHED_BODY_TEXT)
|
self.NOTIFY_ON_WATCHED_BODY_TEXT = rep(self.NOTIFY_ON_WATCHED_BODY_TEXT)
|
||||||
self.NOTIFY_SCRIPTS_ARGS_TEXT = rep(self.NOTIFY_SCRIPTS_ARGS_TEXT)
|
self.NOTIFY_SCRIPTS_ARGS_TEXT = rep(self.NOTIFY_SCRIPTS_ARGS_TEXT)
|
||||||
|
|
||||||
self.CONFIG_VERSION = 3
|
self.CONFIG_VERSION = 3
|
||||||
|
|
||||||
if self.CONFIG_VERSION == 3:
|
if self.CONFIG_VERSION == 3:
|
||||||
if self.HTTP_ROOT == '/': self.HTTP_ROOT = ''
|
if self.HTTP_ROOT == '/':
|
||||||
|
self.HTTP_ROOT = ''
|
||||||
|
|
||||||
self.CONFIG_VERSION = 4
|
self.CONFIG_VERSION = 4
|
||||||
|
|
||||||
if self.CONFIG_VERSION == 4:
|
if self.CONFIG_VERSION == 4:
|
||||||
|
@ -851,20 +856,26 @@ class Config(object):
|
||||||
home_sections = self.HOME_SECTIONS
|
home_sections = self.HOME_SECTIONS
|
||||||
home_sections.remove('library_stats')
|
home_sections.remove('library_stats')
|
||||||
self.HOME_SECTIONS = home_sections
|
self.HOME_SECTIONS = home_sections
|
||||||
|
|
||||||
self.CONFIG_VERSION = 5
|
self.CONFIG_VERSION = 5
|
||||||
|
|
||||||
if self.CONFIG_VERSION == 5:
|
if self.CONFIG_VERSION == 5:
|
||||||
self.MONITOR_PMS_UPDATES = 0
|
self.MONITOR_PMS_UPDATES = 0
|
||||||
|
|
||||||
self.CONFIG_VERSION = 6
|
self.CONFIG_VERSION = 6
|
||||||
|
|
||||||
if self.CONFIG_VERSION == 6:
|
if self.CONFIG_VERSION == 6:
|
||||||
if self.GIT_USER.lower() == 'drzoidberg33':
|
if self.GIT_USER.lower() == 'drzoidberg33':
|
||||||
self.GIT_USER = 'JonnyWong16'
|
self.GIT_USER = 'JonnyWong16'
|
||||||
|
|
||||||
self.CONFIG_VERSION = 7
|
self.CONFIG_VERSION = 7
|
||||||
|
|
||||||
if self.CONFIG_VERSION == 7:
|
if self.CONFIG_VERSION == 7:
|
||||||
def rep(s):
|
def rep(s):
|
||||||
return s.replace('<tv>','<episode>').replace('</tv>','</episode>').replace('<music>','<track>').replace('</music>','</track>')
|
return s.replace('<tv>', '<episode>') \
|
||||||
|
.replace('</tv>', '</episode>') \
|
||||||
|
.replace('<music>', '<track>') \
|
||||||
|
.replace('</music>', '</track>')
|
||||||
|
|
||||||
self.NOTIFY_ON_START_SUBJECT_TEXT = rep(self.NOTIFY_ON_START_SUBJECT_TEXT)
|
self.NOTIFY_ON_START_SUBJECT_TEXT = rep(self.NOTIFY_ON_START_SUBJECT_TEXT)
|
||||||
self.NOTIFY_ON_START_BODY_TEXT = rep(self.NOTIFY_ON_START_BODY_TEXT)
|
self.NOTIFY_ON_START_BODY_TEXT = rep(self.NOTIFY_ON_START_BODY_TEXT)
|
||||||
|
@ -904,3 +915,7 @@ class Config(object):
|
||||||
self.GIT_REPO = 'Tautulli'
|
self.GIT_REPO = 'Tautulli'
|
||||||
|
|
||||||
self.CONFIG_VERSION = 11
|
self.CONFIG_VERSION = 11
|
||||||
|
|
||||||
|
if self.CONFIG_VERSION == 11:
|
||||||
|
self.ANON_REDIRECT = self.ANON_REDIRECT.replace('http://www.nullrefer.com/?',
|
||||||
|
'https://www.nullrefer.com/?')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue