a7aef8856d
PlayerData object gets destroyed when videoData does. Scaler now takes video from videoData instead of function arguments
2018-05-22 00:19:50 +02:00
ad1436289b
Fixed some problems with recursion in autodetection startup. Fixed problems with autodetection sometimes not starting.
2018-05-20 23:17:09 +02:00
08b10220e1
Scaler no longer static
2018-05-18 23:26:20 +02:00
c442f9e01c
Fixed autodetection crash on drm-protected sites
2018-05-17 23:09:04 +02:00
4fe5ce6bcb
Autodetection persists over multiple videos
2018-05-16 23:26:47 +02:00
82abee42bd
autodetection works more or less properly. Removed some console.logs
2018-05-16 20:59:39 +02:00
17f330f242
Automatic aspect ratio detection runs, but applied css is garbage and everything crashes after first aspect ratio change.
2018-05-15 21:40:53 +02:00
dba655b7d3
EdgeDetect: findCandidates() and edgeDetect() work (according to DebugCanvas)
2018-05-15 20:36:22 +02:00
a106d0f468
Fixed syntax errors and errors with inexisting or improperly declared variables. Didn't fix things that make stuff not work tho
2018-05-14 20:39:15 +02:00
3686341677
rewrite finished to the point where extension doesn't outright crash. Nothing works, though.
2018-05-13 21:05:11 +02:00
4e2ac9c647
Implemented zoom
2018-05-12 02:51:58 +02:00
4519d8854a
EdgeDetect is now in edgeDetect
2018-05-12 01:51:43 +02:00
acc0455415
EdgeDetection partially moved to its own file
2018-05-11 00:49:50 +02:00
af0ad4c080
GuardLine (blackbar and image tests) moved to their own file)
2018-05-10 21:39:24 +02:00
Tamius Han
d39a070117
Some progress on frameCheck() (formerly _ard_draw_but_for_realz)
2018-05-09 00:58:50 +02:00
Tamius Han
a40f32908b
ArDetect.js: processAr rewritten in ArDetector object
2018-05-09 00:34:22 +02:00
Tamius Han
2f6710586f
ArDetect.start() was objectified
2018-05-09 00:03:22 +02:00
Tamius Han
36878921fb
Starting to turn ArDetect into a proper class as well
2018-05-08 23:35:16 +02:00
Tamius Han
c35a8c5f59
Added a safety thingy that disables autodetection if autodetection consistenly causes lag.
2018-05-05 23:06:39 +02:00
Tamius Han
081f8e968f
added auto-disable if autodetection takes too long
2018-05-04 00:27:40 +02:00
Tamius Han
cdd533e093
think this should be good for release
2018-05-02 17:52:25 +02:00
Tamius Han
9a5f586eaf
Fixes to aspect ratio detection: guardline/black line now works properly-ish. By accident also managed to correct the bug where aspect ratio detection was mildly screwed in theater mode?
2018-05-01 23:09:58 +02:00
Tamius Han
9e044ac66f
added a debug canvas for ArDetect to draw on in debug mode
2018-04-26 00:40:09 +02:00
Tamius Han
64e28e8074
Another attempt at fixing the youtube search popup.
2018-04-22 14:35:40 +02:00
Tamius Han
59d741b8a5
Tried implementing some checks that would prevent aspect ratio from changing if our edge candidate is text on black background.
2018-04-11 00:19:44 +02:00
Tamius Han
3740f2c487
???
2018-04-10 21:35:34 +02:00
Tamius Han
6fe906f166
Did I mention Warcraft movie needs a sequel? Because Warcraft movie needs a sequel.
...
So netflix aspect ratio detection was fine when watching Altered Carbon (2:1), but Warcraft (21:9) had some huge issues with properly auto-detecting aspect ratio (especially when starting automatic aspect ratio after manual toggle). Fixed that (i think).
2018-03-18 17:35:51 +01:00
Tamius Han
44828b3ecf
Tried to fix aspect ratio autodetection on netflix but ended up watching the entire Altered Carbon instead.
...
Just kidding, I also fixed the autodetection on netflix. And the bit where key for netflix in SitesConf.js was wrong.
2018-03-18 15:14:57 +01:00
Tamius Han
c35774c36f
Chrome kinda works according to 1 beta tester. Fixed few other chrome-specific bugs I've noticed. Fixed the font inclusion (hopefully)
2018-03-14 21:19:15 +01:00
Tamius Han
e6efaf52d8
Split settings between Settings.js (handles loading and saving) and ExtensionConf.js (actual configuration). All settings are now handled in background script (content scripts get ExtensionConf from background script). Saving seems to work.
2018-03-13 23:55:38 +01:00
Tamius Han
7db22fb466
RAM leak issue should be fixed for the most part. We did it ~~reddit~~github! (NOTE: there's still other things that need fixing before I let this into prod)
2018-03-08 22:22:42 +01:00
Tamius Han
ba841c6ea3
unfuck progress before switching branches.
2018-03-07 21:42:40 +01:00
Tamius Han
18f1ea26a7
The memory usage situation improved but still far from ideal, both in terms of memory usage as well as polling frequency and video resolution we settled for.
2018-03-05 23:55:14 +01:00
Tamius Han
b9b9626cbd
forgot to revert something
2018-03-04 23:07:46 +01:00
Tamius Han
4f37fe059f
tried and failed some more at getting solution to garbage garbage collector
2018-03-04 23:07:11 +01:00
Tamius Han
6c9f3c537c
The more I try to fix ArDetect, the more broken it is :/
2018-03-03 23:58:29 +01:00
Tamius Han
b4d5749988
#25 appears to be fixed, but needs more testing.
2018-02-28 23:54:32 +01:00
Tamius Han
3bd28842e1
Tried my hand at fixing memory leak. ArDetect — no dice. Ghetto watcher for changes in player size now saves the HTML element that's deemed to be the player frame and uses said node for size tests in subsequent iterations (as opposed to searching for player node on every frame). Also hopefully fixed the bug with custom settings for individual sites not
...
getting saved.
2018-02-26 22:38:17 +01:00
Tamius Han
aa30ebaa88
committing some stuff before hotfixing #24
2018-02-22 21:06:57 +01:00
Tamius Han
28014f5ff1
Of course ArDetect was bugged. Fixed most of those bugs.
2018-02-16 00:19:08 +01:00
Tamius Han
8c59faa25c
New ArDetect almost finished. Not tested and no console.logs yet tho.
2018-02-15 22:59:31 +01:00
Tamius Han
90b1d8935c
Started rewrite of autodetection.
2018-02-15 00:17:58 +01:00
Tamius Han
4daa054169
Fixed a series of small bugs with autodetection.
2018-02-12 23:28:31 +01:00
Tamius Han
97b7adc55a
Fixed autodetection and preserving aspect ratio changes across fullscreen switch.
2018-01-27 22:25:25 +01:00
Tamius Han
3b3430ddce
Merged FullScreenDetect into PlayerDetect. Youtube: switching between theater mode, full screen and normal mode works properly. Vimeo still broken.
2018-01-18 22:34:42 +01:00
Tamius Han
9265a336bc
Trying to add blanket support for theater mode. Changing aspect ratio works in youtube theater mode, but only when manually launched. Chaning to full screen mode stops it. This commit breaks vimeo support.
2018-01-18 00:11:03 +01:00
Tamius Han
d8ee278491
Fixed bug with popup buttons for forcing aspect ratio not always working. Autodetection can no longer get triggered by small changes in aspect ratio (but will get triggered if change is a small amount over the treshold still)
2018-01-02 03:36:29 +01:00
Tamius Han
5ad7144e67
Version 2.0! Woohoooo!
2017-12-31 18:28:03 +01:00
Tamius Han
d0373820fe
Popup is working properly now.
2017-12-30 18:36:08 +01:00
Tamius Han
82dd71eb5b
Keyboard settings work (modifiers untested)
2017-12-30 12:55:58 +01:00