mirror of
https://github.com/pkkid/python-plexapi
synced 2024-12-26 11:53:07 +00:00
591579ab3f
Dont mark shows watched if they are already marked so.
12 lines
316 B
Python
Executable file
12 lines
316 B
Python
Executable file
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
"""
|
|
Plex-GetToken is a simple method to retrieve a Plex account token.
|
|
"""
|
|
from plexapi.myplex import MyPlexAccount
|
|
|
|
username = input("Plex username: ")
|
|
password = input("Plex password: ")
|
|
|
|
account = MyPlexAccount(username, password)
|
|
print(account.authenticationToken)
|