836 Commits

Author SHA1 Message Date
df
db477e5d42 Add missing $ for certain variable references
Missing $s invalidated attempts to check the length of title, synopsis, guidance.
2021-05-28 15:20:50 +01:00
df
7c4d359aec Reduce (or apply) maximum lengths for title and synopsis, allowing for character set prefix byte 2021-05-28 15:20:50 +01:00
df
88d3274241 Error protect database access; re-create corrupt queue DB. 2021-05-28 15:20:49 +01:00
df
00689a2036 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.
2021-05-28 15:20:49 +01:00
df
39dae95f28 Set maximum width for File column
Add title attribute to display possibly truncated File as tooltip.

Will this work well for mobile/touchscreen use?
2021-05-28 15:20:49 +01:00
df
0c1bb71520 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-05-28 15:20:48 +01:00
df
763abda557 Remove unwanted padding before programme divs in EPG to avoid cumulative positioning error. 2021-05-28 15:20:48 +01:00
df
3f75333542 Display raw programme times, not clipped to the display period. 2021-05-28 15:20:48 +01:00
df
11cfa40d78 Fix typo and < vs <= in dbfetch -trange option: avoids missing channels in EPG. 2021-05-28 15:20:47 +01:00
df
e884a2ebad Also use non-breaking spaces in file name display 2021-05-28 15:20:47 +01:00
df
fac0dee693 Fix quoting of replacement text, avoiding "unmatched ]" 2021-05-28 15:20:47 +01:00
df
2f28b0a66e Improve listing of directories with special characters, especially spaces. 2021-05-28 15:20:47 +01:00
df
ad9b48b0d2 Remove unnecessary exec
Jim supports the pwd command since at least 6461e8bf6d, so no need to exec it.
2021-05-28 15:20:46 +01:00
df
0e6a67d24a Ensure cut plan segments are aligned left 2021-05-28 15:20:46 +01:00
df
eb7f9667ba Avoid negative CSS widths 2021-05-28 15:20:46 +01:00
df
b8964c8017 Check that bookmark save succeeded
If not, enable the old "Save new bookmarks" button.

Also
* add icons for buttons
* simplify invert URL handling.
2021-05-28 15:20:46 +01:00
df
1a08892868 Allow minimum width for cut plan
Also
* add ID for estimated time row
* make the <label> for the Save Bookmarks checkbox actually be its label.
2021-05-28 15:20:45 +01:00
HummyPkg
42619e6555 Add to episode parsing tests 2021-05-28 15:20:45 +01:00
HummyPkg
eac4849326 Update version 2021-05-28 15:20:45 +01:00
HummyPkg
0d99a7b24d Update tvdb XML parsing utility 2021-05-28 15:20:44 +01:00
df
6d0b1deebe Banish extraneous ) 2021-05-28 15:20:44 +01:00
df
959aa9f8e6 Avoid displaying negative free space 2021-05-28 15:20:43 +01:00
df
6814880b40 Understand Part/Pt. as a synonym for episode 2021-05-28 15:20:43 +01:00
HummyPkg
569bff9d60 Release 1.4.8-11 2021-05-28 15:20:43 +01:00
df
b9787a0a9f Retry access in case the settings database is locked 2021-05-28 15:20:42 +01:00
df
42d03e25c6 Change to 0.5s, doubling for 4 tries 2021-05-28 15:20:42 +01:00
df
13f3b1ccce Raise the "database locked" error from caller context 2021-05-28 15:20:42 +01:00
df
3981bbd37e Retry access in case the settings database is locked 2021-05-28 15:20:41 +01:00
df
67e71691eb 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
2021-05-28 15:20:41 +01:00
567d142613 Prevent raw utf8 display
https://hummy.tv/forum/threads/webif-web-interface-1-4-x.7712/post-135917
2021-05-28 15:20:41 +01:00
1b11be6827 Fix the ****ing formatting in this stupid editor 2021-05-28 15:20:41 +01:00
519f771859 Fix thumbnail generation 2021-05-28 15:20:40 +01:00
df
580ecb8c75 Add thumbnail viewer to Manage Bookmarks
Finally eliminate end in favour of curval
2020-11-14 13:19:06 +00:00
df
3c8ea907de Add thumbnail viewer to Manage Bookmarks
Refactor script to handle UI interaction between Bookmarks, Slider and Thumbnail generation.
2020-11-14 13:19:06 +00:00
df
8e68fb10ad Add Crop shortcut button 2020-11-14 13:19:05 +00:00
df
c9d7299092 Add Crop shortcut button 2020-11-14 13:19:05 +00:00
df
0b6f6fccb1 Add tooltips to slider handles 2020-11-14 13:19:05 +00:00
df
6937f2b7fb Add thumbnail viewer to Manage Bookmarks 2020-11-14 13:19:05 +00:00
df
086814cafa Add thumbnail viewer to Manage Bookmarks 2020-11-14 13:19:05 +00:00
HummyPkg
d7c15163e1 Update release version 2020-10-16 14:28:17 +01:00
879c458256 Merge pull request 'df-auto-deq-patch' (#14) from df/webif:df-auto-deq-patch into master
Reviewed-on: #14
2020-10-16 13:27:15 +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
006a04683a Merge pull request 'df-autolast-future-patch' (#13) from df/webif:df-autolast-future-patch into master
Reviewed-on: #13
2020-10-16 13:25:41 +00: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
c428a367a1 Merge pull request 'Use service ids to map to mux names' (#12) from prpr/webif:master into master
Reviewed-on: #12
2020-10-16 13:18:00 +00:00
480108f3a2 Merge pull request 'Schedule all epsiodes of series' (#11) from MymsMan/webif:SeriesSched into master
Reviewed-on: #11
2020-10-16 13:16:25 +00:00
2884a82dbf Schedule all epsiodes of series 2020-10-16 14:16:15 +01:00
ac4b392db8 Merge pull request 'Rotate auto.log to auto_<timestamp>.log when it excedes settings logsize' (#16) from MymsMan/webif:Rotate_auto.log into master
Reviewed-on: #16
2020-10-16 13:14:11 +00:00
c3d360fa63 Rotate auto.log to auto_<timestamp>.log when it excedes settings logsize 2020-10-16 14:13:16 +01:00
3f199f32ab Update 'webif/html/diag/mux.jim' 2020-07-14 00:29:02 +00:00