mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Update git repo links
This commit is contained in:
parent
19f029cff0
commit
7a8301a8dc
3 changed files with 9 additions and 8 deletions
|
@ -13,11 +13,6 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Tautulli. If not, see <http://www.gnu.org/licenses/>.
|
# along with Tautulli. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
'''
|
|
||||||
Created on Aug 1, 2011
|
|
||||||
|
|
||||||
@author: Michael
|
|
||||||
'''
|
|
||||||
import platform
|
import platform
|
||||||
from collections import OrderedDict
|
from collections import OrderedDict
|
||||||
|
|
||||||
|
|
|
@ -175,7 +175,8 @@ _CONFIG_DEFINITIONS = {
|
||||||
'GIT_PATH': (str, 'General', ''),
|
'GIT_PATH': (str, 'General', ''),
|
||||||
'GIT_REMOTE': (str, 'General', 'origin'),
|
'GIT_REMOTE': (str, 'General', 'origin'),
|
||||||
'GIT_TOKEN': (str, 'General', ''),
|
'GIT_TOKEN': (str, 'General', ''),
|
||||||
'GIT_USER': (str, 'General', 'JonnyWong16'),
|
'GIT_USER': (str, 'General', 'tautulli'),
|
||||||
|
'GIT_REPO': (str, 'General', 'tautulli'),
|
||||||
'GRAPH_TYPE': (str, 'General', 'plays'),
|
'GRAPH_TYPE': (str, 'General', 'plays'),
|
||||||
'GRAPH_DAYS': (int, 'General', 30),
|
'GRAPH_DAYS': (int, 'General', 30),
|
||||||
'GRAPH_MONTHS': (int, 'General', 12),
|
'GRAPH_MONTHS': (int, 'General', 12),
|
||||||
|
@ -247,7 +248,7 @@ _CONFIG_DEFINITIONS = {
|
||||||
'INTERFACE': (str, 'General', 'default'),
|
'INTERFACE': (str, 'General', 'default'),
|
||||||
'IP_LOGGING_ENABLE': (int, 'General', 0),
|
'IP_LOGGING_ENABLE': (int, 'General', 0),
|
||||||
'IFTTT_KEY': (str, 'IFTTT', ''),
|
'IFTTT_KEY': (str, 'IFTTT', ''),
|
||||||
'IFTTT_EVENT': (str, 'IFTTT', 'plexpy'),
|
'IFTTT_EVENT': (str, 'IFTTT', 'tautulli'),
|
||||||
'IFTTT_ENABLED': (int, 'IFTTT', 0),
|
'IFTTT_ENABLED': (int, 'IFTTT', 0),
|
||||||
'IFTTT_ON_PLAY': (int, 'IFTTT', 0),
|
'IFTTT_ON_PLAY': (int, 'IFTTT', 0),
|
||||||
'IFTTT_ON_STOP': (int, 'IFTTT', 0),
|
'IFTTT_ON_STOP': (int, 'IFTTT', 0),
|
||||||
|
@ -872,3 +873,8 @@ class Config(object):
|
||||||
self.MUSIC_WATCHED_PERCENT = self.NOTIFY_WATCHED_PERCENT
|
self.MUSIC_WATCHED_PERCENT = self.NOTIFY_WATCHED_PERCENT
|
||||||
|
|
||||||
self.CONFIG_VERSION == 9
|
self.CONFIG_VERSION == 9
|
||||||
|
|
||||||
|
if self.CONFIG_VERSION == 9:
|
||||||
|
if self.GIT_USER.lower() == 'jonnywong16':
|
||||||
|
self.GIT_USER = 'tautulli'
|
||||||
|
self.CONFIG_VERSION = 10
|
|
@ -211,7 +211,7 @@ def update():
|
||||||
logger.info('Output: ' + str(output))
|
logger.info('Output: ' + str(output))
|
||||||
|
|
||||||
else:
|
else:
|
||||||
tar_download_url = 'https://github.com/%s/plexpy/tarball/%s' % (plexpy.CONFIG.GIT_USER, plexpy.CONFIG.GIT_BRANCH)
|
tar_download_url = 'https://github.com/{}/{}/tarball/{}'.format(plexpy.CONFIG.GIT_USER, plexpy.CONFIG.GIT_REPO, plexpy.CONFIG.GIT_BRANCH)
|
||||||
update_dir = os.path.join(plexpy.PROG_DIR, 'update')
|
update_dir = os.path.join(plexpy.PROG_DIR, 'update')
|
||||||
version_path = os.path.join(plexpy.PROG_DIR, 'version.txt')
|
version_path = os.path.join(plexpy.PROG_DIR, 'version.txt')
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue