Commit graph

208 commits

Author SHA1 Message Date
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
JonnyWong16
c93b65b299 Rework notify_log table to save each notification separately 2016-02-21 15:44:21 -08:00
JonnyWong16
f663fac220 Save Imgur URL to database 2016-02-21 09:34:51 -08:00
JonnyWong16
284ab45a17 Upload Plex posters to Imgur for notifications 2016-02-19 23:25:33 -08:00
JonnyWong16
0e53252a27 Move get poster to notification handler 2016-02-18 21:09:07 -08:00
JonnyWong16
0bd40405b5 Test poster images for Facebook notifications 2016-02-14 22:36:19 -08:00
JonnyWong16
c90dd147bb Rename config_id to agent_id 2016-02-14 11:39:03 -08:00
JonnyWong16
42bfacfb19 Add IMDB, TVDB, TMDb, last.fm, and trakt to notification options 2016-02-09 22:20:17 -08:00
JonnyWong16
5c952b1d86 Fix regression where {stream_duration} not reported 2016-02-09 17:08:44 -08:00
JonnyWong16
db543b8912 Add {machine_id} to notification options 2016-02-04 08:34:15 -08:00
JonnyWong16
0b301fff3f Fix regression where duration not reported as min 2016-02-03 09:32:32 -08:00
JonnyWong16
a957e8eb4f Clean up time formats for server notifications 2016-02-02 20:33:08 -08:00
JonnyWong16
14a90d84ec Add {stream_time}, {remaining_time}, and {progress_time} to notification options 2016-01-31 16:15:06 -08:00
JonnyWong16
3248e6500e Clean up build_notify_text
* session is now a dict, so no need for "default values"
2016-01-31 13:34:51 -08:00
JonnyWong16
01fe7bf612 Reorganize notification options 2016-01-29 19:06:08 -08:00
JonnyWong16
1cb75bd053 Remove unnecessary quoting of script arguments 2016-01-29 18:47:12 -08:00
JonnyWong16
95f92bd292 Add unique identifiers to notification options 2016-01-27 19:51:58 -08:00
JonnyWong16
bc52ac3559 Remove media type toggles from recently added notifications 2016-01-27 19:51:36 -08:00
JonnyWong16
9e83f6d779 Another fix for 'datestamp' and 'timestamp' 2016-01-24 09:52:20 -08:00
JonnyWong16
7484d65dbb Fix datestamp and timestamp notification options 2016-01-23 22:53:13 -08:00
JonnyWong16
651b57a93f Add datestamp and timestamp notification options 2016-01-22 19:16:15 -08:00