Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
6265943607 | ||
![]() |
de39f7691c | ||
![]() |
921a219beb | ||
![]() |
b9c95d49a6 |
@@ -1,6 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## v1.2.12 (2015-12-06)
|
## v1.2.14 (2015-12-07)
|
||||||
|
|
||||||
|
* Fix regression with PlexWatch db importer and buffer warnings.
|
||||||
|
|
||||||
|
|
||||||
|
## v1.2.13 (2015-12-06)
|
||||||
|
|
||||||
* Fix match newlines between tags in notification text.
|
* Fix match newlines between tags in notification text.
|
||||||
* Fix current activity not showing on PMS 0.9.12.
|
* Fix current activity not showing on PMS 0.9.12.
|
||||||
|
@@ -400,7 +400,7 @@ class ActivityProcessor(object):
|
|||||||
'WHERE session_key = ?',
|
'WHERE session_key = ?',
|
||||||
[session_key])
|
[session_key])
|
||||||
if buffer_count:
|
if buffer_count:
|
||||||
return buffer_count
|
return buffer_count['buffer_count']
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
@@ -417,6 +417,6 @@ class ActivityProcessor(object):
|
|||||||
'WHERE session_key = ?',
|
'WHERE session_key = ?',
|
||||||
[session_key])
|
[session_key])
|
||||||
if last_time:
|
if last_time:
|
||||||
return last_time
|
return last_time['buffer_last_triggered']
|
||||||
|
|
||||||
return None
|
return None
|
@@ -111,7 +111,7 @@ class MonitorDatabase(object):
|
|||||||
|
|
||||||
def select_single(self, query, args=None):
|
def select_single(self, query, args=None):
|
||||||
|
|
||||||
sql_results = self.action(query, args).fetchone()[0]
|
sql_results = self.action(query, args).fetchone()
|
||||||
|
|
||||||
if sql_results is None or sql_results == "":
|
if sql_results is None or sql_results == "":
|
||||||
return ""
|
return ""
|
||||||
|
@@ -319,7 +319,7 @@ class Users(object):
|
|||||||
query = 'select user_id FROM users WHERE username = ?'
|
query = 'select user_id FROM users WHERE username = ?'
|
||||||
result = monitor_db.select_single(query, args=[user])
|
result = monitor_db.select_single(query, args=[user])
|
||||||
if result:
|
if result:
|
||||||
return result
|
return result['user_id']
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
except:
|
except:
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
PLEXPY_VERSION = "master"
|
PLEXPY_VERSION = "master"
|
||||||
PLEXPY_RELEASE_VERSION = "1.2.13"
|
PLEXPY_RELEASE_VERSION = "1.2.14"
|
||||||
|
Reference in New Issue
Block a user