mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 15:56:07 -07:00
Added a new branch, edited the code to include the week_number
This commit is contained in:
parent
ab9132cdd4
commit
f624908302
3 changed files with 3 additions and 5 deletions
|
@ -703,7 +703,6 @@ def build_media_notify_params(notify_action=None, session=None, timeline=None, m
|
|||
'tautulli_remote': plexpy.CONFIG.GIT_REMOTE,
|
||||
'tautulli_branch': plexpy.CONFIG.GIT_BRANCH,
|
||||
'tautulli_commit': plexpy.CURRENT_VERSION,
|
||||
'week_number': int(datetime.date.today().strftime("%W")),
|
||||
'server_name': plexpy.CONFIG.PMS_NAME,
|
||||
'server_ip': plexpy.CONFIG.PMS_IP,
|
||||
'server_port': plexpy.CONFIG.PMS_PORT,
|
||||
|
@ -712,6 +711,7 @@ def build_media_notify_params(notify_action=None, session=None, timeline=None, m
|
|||
'server_platform': plexpy.CONFIG.PMS_PLATFORM,
|
||||
'server_version': plexpy.CONFIG.PMS_VERSION,
|
||||
'action': notify_action.lstrip('on_'),
|
||||
'week_number': arrow.now().isocalendar()[1],
|
||||
'datestamp': arrow.now().format(date_format),
|
||||
'timestamp': arrow.now().format(time_format),
|
||||
'unixtime': int(time.time()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue