Early implementation of friendly names. This be aware that this writes a new table to your plexWatch database.
Note: To edit friendly name, go to user page and click the pencil icon next to the user name. Currently only works on home stats and user info page. Adjust some table styling issues. Fix bug with user IP modal details not showing. Fix users default list order.
This commit is contained in:
@@ -307,6 +307,8 @@ def sig_handler(signum=None, frame=None):
|
||||
def dbcheck():
|
||||
conn = sqlite3.connect(plexpy.CONFIG.PLEXWATCH_DATABASE)
|
||||
c = conn.cursor()
|
||||
c.execute('CREATE TABLE IF NOT EXISTS plexpy_users (id INTEGER PRIMARY KEY AUTOINCREMENT, '
|
||||
'username TEXT NOT NULL UNIQUE, friendly_name TEXT)')
|
||||
conn.commit()
|
||||
c.close()
|
||||
|
||||
|
Reference in New Issue
Block a user