mirror of
https://github.com/hrfee/jellyfin-accounts.git
synced 2026-07-26 12:01:42 +00:00
added config-base file and config.ini generator
This commit is contained in:
@@ -79,7 +79,10 @@ class Jellyfin:
|
||||
"User-Agent": self.useragent,
|
||||
"X-Emby-Authorization": self.auth,
|
||||
}
|
||||
self.info = requests.get(self.server + "/System/Info/Public").json()
|
||||
try:
|
||||
self.info = requests.get(self.server + "/System/Info/Public").json()
|
||||
except:
|
||||
pass
|
||||
|
||||
def getUsers(self, username: str = "all", userId: str = "all", public: bool = True):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user