Commit graph

278 commits

Author SHA1 Message Date
JonnyWong16
6d0327f662 Don't nest metadata dict
* Return metadata dict directly
2016-11-11 13:36:14 -08:00
JonnyWong16
0e58369873 Add media info metadata params for notifications 2016-11-11 13:32:37 -08:00
JonnyWong16
83c304290b Add PlexPy update notifications 2016-11-11 13:32:35 -08:00
JonnyWong16
303ccce8b4 Some more cleanup 2016-11-11 13:31:21 -08:00
JonnyWong16
be50ecd033 Default True for no data notifications 2016-11-11 13:31:20 -08:00
JonnyWong16
e1bd5ed49e Add grouped notification params 2016-11-11 13:31:19 -08:00
JonnyWong16
d97cacff14 More intelligent grouping of recently added
* Websocket only
2016-11-11 13:31:19 -08:00
JonnyWong16
2a2237f542 Check concurrent streams by API instead of database 2016-11-11 13:31:18 -08:00
JonnyWong16
06db6826ed Check media_type in params when building notification text 2016-11-11 13:31:18 -08:00
JonnyWong16
08a8b5fee0 Multithreaded notification queue 2016-11-11 13:31:18 -08:00
JonnyWong16
82f4c99025 Check on_watched condition before adding to queue 2016-11-11 13:31:18 -08:00
JonnyWong16
7b2a7aff9f Update notification handler for all notification triggers 2016-11-11 13:31:18 -08:00
JonnyWong16
78b10d7ab5 Use HTTPS for app.plex.tv 2016-10-21 22:45:17 -07:00
JonnyWong16
4911cc76a3 Substitute {update_version} in fallback notification 2016-07-15 09:44:06 -07:00
JonnyWong16
20edcbf7fa Only get user stream count for session notifications 2016-07-13 20:28:02 -07:00
JonnyWong16
3ccc82f343 Add notification for user streaming from a new device 2016-07-05 21:30:47 -07:00
JonnyWong16
f4273cafb6 Add missing concurrent notifications for tracks 2016-07-05 20:59:07 -07:00
JonnyWong16
0b085b6d03 Notifications for user concurrent streams 2016-07-04 22:47:59 -07:00
JonnyWong16
32693b6378 Add notification options for pmsupdate 2016-06-25 18:41:33 -07:00
JonnyWong16
652ca73126 Make "Enable Posters in Notifications" a global toggle 2016-06-18 09:33:37 -07:00
JonnyWong16
7cb7783a34 Make sure there is a date before trying to format it 2016-06-05 11:05:17 -07:00
JonnyWong16
b4e06dea99 Add some date options for notifications 2016-06-04 22:30:41 -07:00
JonnyWong16
cb8a5504f6 Cleanup unused modules and imports
* Ran code through PyFlakes
2016-05-15 11:32:11 -07:00
JonnyWong16
86215c34be Raise exception type 2016-05-12 00:26:07 -07:00
JonnyWong16
baf44a97b4 Use PMSConnect to retireve notification poster 2016-05-11 22:01:38 -07:00
JonnyWong16
2d10b0748c Change regex to match a3a62b1 for server notify text 2016-05-07 16:16:08 -07:00
JonnyWong16
f4e719749a Cleanup all imports
* Should fix problems with needing to do inline imports
2016-05-07 11:26:00 -07:00
JonnyWong16
a3a62b1d94 Add lazy quantifier to notifications media tag regex 2016-05-07 08:43:05 -07:00
JonnyWong16
fe2fdafbb1 Change regex for media type tags 2016-05-06 18:41:52 -07:00
JonnyWong16
e50c77d8c6 Fix {plex_url) string formatting 2016-05-06 18:09:13 -07:00
JonnyWong16
c5dff312e1 Allow HTML emails 2016-05-04 17:48:47 -07:00
JonnyWong16
972412e712 Use bleach to clean Telegram and Pushover HTML 2016-05-04 17:46:51 -07:00
JonnyWong16
86aa21a8bb Add {plex_url} as a notification option 2016-05-03 00:49:22 -07:00
JonnyWong16
65de742f96 Add posters and HTML support for Telegram 2016-05-03 00:39:24 -07:00
JonnyWong16
4a5d2f8502 Fix regression PMS update notifications broken 2016-04-29 07:07:02 -07:00
JonnyWong16
7ebd74a54a Cache posters with thread id to avoid overwriting images 2016-04-27 23:10:54 -07:00
JonnyWong16
4b0eab57a8 Fix regression PMS down notifications failing 2016-04-06 19:17:56 -07:00
JonnyWong16
74a232630a Add {transcode_key} and {username} notification options 2016-04-02 14:11:18 -07:00
JonnyWong16
71d023ab77 Fix logger typo in notification handler 2016-04-02 12:13:54 -07:00
JonnyWong16
52361cd505 Catch error if unable to retrieve poster for notification 2016-03-20 17:06:58 -07:00
JonnyWong16
b04ed83963 Make sure build_notify_text returns two values 2016-03-16 19:13:29 -07:00
JonnyWong16
cc1e888227 Check if notification agents enabled before sending notifications 2016-03-05 13:20:28 -08:00
JonnyWong16
b39e7bbb6d Do not strip newlines from notification text
* Behaviour is more predictable this way
2016-03-04 22:50:21 -08:00
JonnyWong16
795d7d0a93 Add ability to get notified of PMS updates 2016-03-01 21:04:57 -08:00
JonnyWong16
0e2504fc78 Document remaining time format options 2016-03-01 20:31:21 -08:00
JonnyWong16
9ef389d335 Actually allow HTML tags for Pushover 2016-02-22 21:20:05 -08:00
JonnyWong16
6860e348dc Fix typo in setting recently added notification state 2016-02-21 23:01:18 -08:00
JonnyWong16
2a885d709d Allow disabling poster upload to Imgur
* Disabled by default
2016-02-21 17:06:05 -08:00
JonnyWong16
177902a286 Remove media tags from script_args for server notifications 2016-02-21 16:42:08 -08:00
JonnyWong16
48b0f7dc27 Fix NoneType error in set_notify_state 2016-02-21 16:33:42 -08:00