Fixes and improvements for bookmark viewer #47

Merged
prpr merged 67 commits from df/webif:df-bookmarkviewer-patch into master 2022-03-25 22:57:16 +00:00

67 Commits

Author SHA1 Message Date
df 4d9fa6b961 Don't show Generate Thumbnails for ODEncrypted file 2021-06-03 00:38:46 +01:00
df 55ea14864c Merge branch 'master' of https://git.hpkg.tv/hummypkg/webif into df-bookmarkviewer-patch 2021-05-30 12:57:17 +01:00
df de1b690f36 Rework scripting for bookmark page; move presentation to CSS 2021-05-30 11:50:04 +01:00
df caafde56c8 Correctly end the HTML page with closing tags etc 2021-05-28 15:26:48 +01:00
df cb549b4995 Name ad-hoc attributes with data- prefix 2021-05-28 15:26:48 +01:00
HummyPkg d04c094543 Update to 1.4.9-6 2021-05-28 15:26:48 +01:00
HummyPkg 2b51358c63 Update to 1.4.9-5 2021-05-28 15:26:48 +01:00
df 033eff6fcc Ensure , is escaped in ::js::escape 2021-05-28 15:26:47 +01:00
df d5b34ed2c3 Fix unquoted string; add genre check; errors to stderr 2021-05-28 15:26:47 +01:00
HummyPkg 541318fbba Update to 1.4.9-4 2021-05-28 15:26:46 +01:00
df eab635cab6 Improve error trapping, actually make it work 2021-05-28 15:26:46 +01:00
df e4aa241351 Make use of unique element IDs for img consistent 2021-05-28 15:26:45 +01:00
HummyPkg 760f6db560 Revert "Work around uclibc getaddrinfo()"
This reverts commit f206766191.
2021-05-28 15:26:45 +01:00
HummyPkg d5fd97a83a Fix bookmark script.js 2021-05-28 15:26:44 +01:00
HummyPkg d4fbdd149e Update version 2021-05-28 15:26:43 +01:00
HummyPkg 3a1d398874 Add option to automatically remove unused dependency packages 2021-05-28 15:26:43 +01:00
prpr 4b925199e5 Add Failed and Pending select buttons, reorder buttons 2021-05-28 15:26:43 +01:00
Bob Buxton 599bb9b5bc Move favicon.ico to prevent errors during install 2021-05-28 15:26:42 +01:00
prpr cdeea09dab Work around uclibc getaddrinfo() 2021-05-28 15:26:42 +01:00
prpr 710162a654 Fix crash when genre is null 2021-05-28 15:26:42 +01:00
prpr 8347713f55 Fix overflowing conflict warning 2021-05-28 15:26:41 +01:00
df afee47b6bc 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-05-28 15:26:41 +01:00
df 318d088fff Support setting the seriesnum, episodenum, episodetot attributes in "rename" 2021-05-28 15:26:41 +01:00
df 08ec7643f7 Add thumbnail viewer to Manage Bookmarks 2021-05-28 15:26:34 +01:00
HummyPkg 0e66340b42 Fix problems pointed out by tclCheck and frink 2021-05-28 15:20:51 +01:00
Bob Buxton 6c3c1f3423 Restrict matching epsiodes search to same channel 2021-05-28 15:20:51 +01:00
df a748870195 Add test for matching key for DLNA; fallback to direct; fail if no key matches 2021-05-28 15:20:51 +01:00
df 5c8a573382 Correct the maximum length enforced for guidance text (74 vs 48) 2021-05-28 15:20:51 +01:00
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
prpr 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
prpr 1b11be6827 Fix the ****ing formatting in this stupid editor 2021-05-28 15:20:41 +01:00
prpr 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