Commit Graph

274 Commits

Author SHA1 Message Date
df ba0f505e34 Ensure , is escaped in ::js::escape 2021-04-10 01:05:19 +01:00
df a26526b047 Fix unquoted string; add genre check; errors to stderr 2021-03-21 00:14:35 +00:00
df 6c40da165d Improve error trapping, actually make it work 2021-03-20 01:22:48 +00:00
HummyPkg 029b115628 Revert "Work around uclibc getaddrinfo()"
This reverts commit f206766191.
2021-02-26 23:04:57 +00:00
HummyPkg fc3b28e978 Add option to automatically remove unused dependency packages 2021-02-24 18:14:44 +00:00
prpr f206766191 Work around uclibc getaddrinfo() 2021-02-24 14:47:11 +00:00
prpr 67afb37f27 Fix crash when genre is null 2021-02-24 14:46:37 +00:00
df 5d3b046c70 Improve status, adding more possible outputs
- check for copying vs playing: the same file.ext is open twice
 - check for playing DLNA: localhost:n->host:9000
 - on HDR, distinguish Playing a show vs streaming it over DLNA
 - distinguish between Watching, Watching (delayed) (timeshift),
   and Not Watching (eg Portal).
2021-02-24 13:58:46 +00:00
Bob Buxton bc2e6c1a85 Restrict matching epsiodes search to same channel 2021-02-24 13:15:06 +00:00
df 6f45884f94 Add test for matching key for DLNA; fallback to direct; fail if no key matches 2021-02-24 13:13:01 +00:00
af123 a1cf871a84 Merge pull request 'Correctly manage maximum lengths of certain HMT fields' (#30) from df/webif:df-hmtfieldlength-patch into master
Reviewed-on: hummypkg/webif#30
2021-02-24 13:04:14 +00:00
df 7834dae075 Error protect database access; re-create corrupt queue DB. 2021-02-24 12:55:52 +00:00
af123 15cba14cc3 Merge pull request 'df-dlnahelper-patch' (#23) from df/webif:df-dlnahelper-patch into master
Reviewed-on: hummypkg/webif#23
2021-02-24 12:48:31 +00:00
df f16399ec2f exists -proc -> exists -command
`exists -command` subsumes `exists -proc`

This test is generally checking whether the command exists, rather than some proc that is overriding it.

Currently `class` is a proc but this may not always be so.
2021-02-24 12:45:30 +00:00
df 2642b190b0 Fix typo and < vs <= in `dbfetch -trange` option: avoids missing channels in EPG. 2021-02-24 12:40:44 +00:00
df 32ac3c8421 Fix quoting of replacement text, avoiding "unmatched ]" 2021-02-24 12:38:39 +00:00
df f5180dc144 Improve listing of directories with special characters, especially spaces. 2021-02-24 12:38:39 +00:00
df cf407f9a80 Correct the maximum length enforced for guidance text (74 vs 48) 2021-02-22 19:31:20 +00:00
df d98217b679 Merge branch 'master' into df-hmtfieldlength-patch 2021-02-22 16:35:49 +00:00
HummyPkg 269f844f43 Add to episode parsing tests 2021-01-18 23:10:16 +00:00
HummyPkg a5f0734201 Update tvdb XML parsing utility 2021-01-18 22:59:58 +00:00
df 6641b6f458 Understand Part/Pt. as a synonym for episode 2021-01-01 22:33:14 +00:00
df 98ef6a876f Add missing $ for certain variable references
Missing $s invalidated attempts to check the length of title, synopsis, guidance.
2020-12-31 15:22:42 +00:00
df f6117a4ec0 Make 127.0.0.1 the default host for `system dlnahelper`
In all the cases where `system dlnahelper` is called, no host/IP part is specified, and those cases are creating a URL that only needs to be accessible from the same machine, where the loopback address should be the default.

Should fix eg https://hummy.tv/forum/threads/detectads-not-always-succesful.9936/post-147241.
2020-11-14 13:21:26 +00:00
af123 8021455a94 Merge pull request 'df-lockedsettings-patch' (#18) from df/webif:df-lockedsettings-patch into master
Reviewed-on: hummypkg/webif#18
2020-11-14 11:16:55 +00:00
prpr af74503b99 Fix the ****ing formatting in this stupid editor 2020-11-14 01:25:46 +00:00
prpr 58ecd41952 Fix thumbnail generation 2020-11-14 01:17:07 +00:00
df 7c600be77e Retry access in case the settings database is locked 2020-10-20 18:34:19 +00:00
df 3e9ecc8a7c Change to 0.5s, doubling for 4 tries 2020-10-19 11:44:53 +00:00
df 7bb66de5f2 Raise the "database locked" error from caller context 2020-10-18 19:19:26 +00:00
df 9b64128c92 Retry access in case the settings database is locked 2020-10-18 15:48:07 +00:00
df 6822c833be Retry access in case the settings database is locked
Create `settings::_safer_query` class proc to allow 5 tries with 1s delay; use it for `_nval_setting` and `_tval_setting` methods
2020-10-18 14:53:23 +00:00
df 1a25e2a3f1 Fix potential format error with queue item containing %
If an item is in the queue whose file name contains a %, the following error occurs, causing the item never to be dequeued:
```in procedure '::auto::dumpq' called at file "/mod/webif/lib/auto/deq", line 167
at file "/mod/webif/lib/auto/deq", line 118
/mod/webif/lib/auto/deq:118: Error: not enough arguments for all format specifiers```
The file name needs to be passed to `format` as a parameter with format `%s` rather than embedding it in the format string, or else ```log "[format ...][$q get file]"```
2020-10-16 14:26:30 +01:00
df 3623a26a08 Correct autolast in the future
Fixing issue in <https://hummy.tv/forum/threads/recursive-auto-shrink-auto-decrypt-no-longer-working.9399/post-134718>.
2020-10-16 14:25:15 +01:00
Bob Buxton 2884a82dbf Schedule all epsiodes of series 2020-10-16 14:16:15 +01:00
Bob Buxton c3d360fa63 Rotate auto.log to auto_<timestamp>.log when it excedes settings logsize 2020-10-16 14:13:16 +01:00
HummyPkg 4b3efc2e72 Fix missing continuation 2020-06-16 10:52:14 +01:00
HummyPkg abf121bba4 Fix rsv::find_hsvc by channel 2020-06-14 14:31:25 +01:00
HummyPkg c1bc10eca8 Fix schedule restore 2020-06-14 13:40:38 +01:00
df ddb163ab5c Fix extraneous $
Should fix `modinit.log` error report:
```in procedure 'rsv' called at file "/mod/sbin/autoschedule", line 22
at file "/mod/webif/lib/rsv.class", line 1374```
2020-06-05 16:44:29 +00:00
HummyPkg 3ddc898553 Whitespace and indentation cleanup 2020-06-03 12:00:43 +01:00
df 1dfb66c576 Update 'webif/lib/xml.class' 2020-06-03 12:00:43 +01:00
af123 96e53bec56 Merge pull request 'df-progressbar-tooltip-patch' (#3) from df/webif:df-progressbar-tooltip-patch into master 2020-06-03 10:43:54 +00:00
df 18aee67607 Make percentage visible in progressbar image 2020-06-03 11:43:30 +01:00
HummyPkg 022e6459fc Adjust whitespace and indentation to match project 2020-06-03 11:35:27 +01:00
Bob Buxton cd9e9924f6 add issplit method to rsv.class 2020-06-03 11:01:10 +01:00
Bob Buxton e3da17ca6c use s-crid:e-crid as key for recorded programmes 2020-06-03 11:01:09 +01:00
Bob Buxton b99327a562 Updates to rsv.class and epg.class to support schedchk package 2020-06-03 11:01:09 +01:00
df dd3e4cb358 Make percentage visible in progressbar image
Add title attribute for tooltip since % value isn't actually displayed otherwise.
2020-05-11 11:40:14 +00:00
HummyPkg a3cb0a6693 Add svc.class 2020-04-19 12:00:49 +01:00