Commit graph

3109 commits

Author SHA1 Message Date
JonnyWong16
5abdfd7377
Make datestamp and timestamp formattable 2023-11-13 11:25:39 -08:00
JonnyWong16
8fd62e30b3
Fix duration_time typo 2023-11-09 17:17:24 -08:00
JonnyWong16
2da3714dd1
Add CustomArrow date/time formatter 2023-11-07 17:18:48 -08:00
JonnyWong16
ab5836a65b
Add duration_time notification parameter 2023-11-07 17:12:19 -08:00
JonnyWong16
dd380b583f
Add system language to startup logs 2023-10-26 11:05:34 -07:00
JonnyWong16
c215afbf84
v2.13.2 2023-10-26 09:27:31 -07:00
JonnyWong16
d63c0cb469
Guard against None transcode_key 2023-10-26 09:24:48 -07:00
JonnyWong16
98583d139a
Add config override for PMS_LANGUAGE 2023-10-26 09:05:47 -07:00
herby2212
a31dcb5508
Quater values for History Watch Status (#2179)
* initial release

* change fillup orientation to clockwise

* fix indentation for css

* fix 50 percent circle orientation

* optimize colors and padding
2023-10-23 15:51:35 -07:00
JonnyWong16
1e4fc05ecf
Add ping method to refresh token 2023-10-17 11:23:04 -07:00
JonnyWong16
efdd4156d8
Update IP helper function 2023-10-16 15:04:19 -07:00
JonnyWong16
7245e97726
Fix concurrent streams graph query 2023-10-10 21:27:13 -07:00
JonnyWong16
d8d1f75605
Use group_by_keys helper for library stats 2023-10-10 19:32:30 -07:00
JonnyWong16
b32183b7b6
Speed up graphs data lookup 2023-10-10 19:18:47 -07:00
JonnyWong16
a59e07c07d
Add metadataDirectory to exporter fields 2023-10-10 14:23:26 -07:00
JonnyWong16
fdc1dd3525
Add trigger time to notification and newsletter tables 2023-10-09 11:37:56 -07:00
JonnyWong16
982c893c49
Use helper function to cast play duration to int 2023-10-09 11:27:46 -07:00
JonnyWong16
a668932ea8
Remove banners from exports 2023-10-09 11:27:46 -07:00
herby2212
59fe34982e
Concurrent Streams per Day Graph (#2046)
* initial commit

* fix grouping in webserve

* remove event handler and adapt cursor

* optimize most concurrent calculation

* update branch from nightly and user filter

* max concurrent streams in graph

* made several changes mentioned in review
2023-10-07 13:45:11 -07:00
JonnyWong16
6d858367a4
v2.13.1 2023-08-25 11:49:55 -07:00
JonnyWong16
289a8a2334
v2.13.0 2023-08-25 09:11:08 -07:00
JonnyWong16
67842cfa02
Add subtitleStream exporter fields for on-demand subtitles 2023-08-24 12:17:53 -07:00
JonnyWong16
24fbc9a17a
Add track chapter exporter fields 2023-08-24 12:17:21 -07:00
JonnyWong16
9f00f5dafa
Fix watched notification trigger description
Fixes #2104
2023-08-23 22:04:27 -07:00
JonnyWong16
e2cb15ef49
Add notification image option for iOS Tautulli Remote App 2023-08-02 16:51:20 -07:00
JonnyWong16
765804c93b
Don't expose do_state_change 2023-07-20 14:19:05 -07:00
JonnyWong16
b953b951fb
v2.12.6 2023-07-13 15:50:39 -07:00
JonnyWong16
571a6b6d2d
Cast view_offset to int for regrouping history 2023-07-10 08:58:03 -07:00
David Pooley
6010e406c8
Fix simultaneous streams per IP not behaving as expected with IPv6 (#2096)
* Fix IPv6 comparisson for concurrent streams

* Update regex to allow numbers in config variables

* Remove additional logging for local testing

* Update plexpy/notification_handler.py

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>

---------

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2023-07-08 16:32:42 -07:00
JonnyWong16
d91e561a56
Regroup history in separate thread and improve logging 2023-07-07 17:47:38 -07:00
Tom Niget
343a3e9281
Multiselect user filters (#2090)
* Extract user filter generation code into method

* Extend make_user_cond to allow lists of user IDs

* Update documentation for stats APIs to indicate handling of ID lists

* Use multiselect dropdown for user filter on graphs page

Use standard concatenation

Fix select style

Move settings to JS constructor

Change text for no users checked

Don't call selectAll on page init

Add it back

Remove attributes

Fix emptiness check

Allow deselect all

Only refresh if user id changed

* Show "N users" starting at 2 users

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>

* Use helper function split_strip

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>

* Move make_user_cond at bottom and make private

* Add new user picker to history page

* Fix copy-paste error

* Again

* Add CSS for bootstrap-select

---------

Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
2023-07-07 17:15:16 -07:00
JonnyWong16
b144e6527f
Add button to regroup play history 2023-07-07 14:36:44 -07:00
JonnyWong16
1fe6d1505f
Add method to regroup history 2023-07-07 14:36:44 -07:00
JonnyWong16
085cfa4bef
Fix history grouping incorrect for watched content 2023-07-07 14:36:44 -07:00
JonnyWong16
c761e6e8d0
Fix template_name argument for login page 2023-06-29 00:07:43 -07:00
JonnyWong16
7ff3abe8b7
Rename template_name argument 2023-06-27 17:20:21 -07:00
JonnyWong16
d9b3b311b9
Only initialize mako TemplateLookup once
* Ref: sqlalchemy/mako#378
2023-06-27 14:23:09 -07:00
JonnyWong16
2a48e3375a
Add d3d11va hardware decoder 2023-06-25 17:35:16 -07:00
JonnyWong16
ea6c6078df
v2.12.4 2023-05-23 10:03:36 -07:00
JonnyWong16
f39b9f9087
Fix SQLite Double-Quoted Strings (#2057)
* Fix __init__.py

* Fix activity_pinger.py

* Fix activity_processor.py

* Fix database.py

* Fix datafactory.py

* Fix exporter.py

* Fix graphs.py

* Fix libraries.py

* Fix mobile_app.py

* Fix newsletter_handler.py

* Fix newsletters.py

* Fix notification_handler.py

* Fix notifiers.py

* Fix plexivity_import.py

* Fix plexwatch_import.py

* Fix users.py

* Fix webauth.py
2023-05-15 11:03:26 -07:00
JonnyWong16
3a1d6322ae
Add return ID for async API calls
* export_id, notification_id, and newsletter_notification_d
2023-05-05 15:57:33 -07:00
JonnyWong16
fe4fba353e
Catch KeyError on import db version 2023-04-20 08:50:41 -07:00
JonnyWong16
3b3c59c4bb
Set view offset equal to duration if stopped within the last 10 sec
* Plex reports the view offset every 10 seconds, so the view offset at the end of stream can be short by up to 10 seconds.
2023-04-17 12:50:52 -07:00
JonnyWong16
e9b1db139e
v2.12.3 2023-04-14 11:50:55 -07:00
JonnyWong16
99afb7392b
Use separate log file for script PlexAPI 2023-04-14 11:29:53 -07:00
JonnyWong16
07715c6a49
Rename API get_history response duration to play_duration 2023-04-13 15:17:41 -07:00
JonnyWong16
b0921b5f4a
Fix history table sorting by play duration 2023-04-13 15:17:22 -07:00
JonnyWong16
2921c1fc30
Fix live tv thumb and art for top libraries statistics card 2023-04-13 14:48:19 -07:00
JonnyWong16
eb7a4fb4bf
Fix calculating media info file sizes 2023-03-22 16:48:42 -07:00
JonnyWong16
18110206d6
Fallback subtitle decision if transcoding subtitles 2023-03-16 22:02:44 -07:00