Commit Graph

221 Commits

Author SHA1 Message Date
simon 52d31f9cca
simplify createVideo player link building 2022-07-21 15:51:33 +07:00
simon 07016f2cc5
ignore full: result without highlight 2022-07-21 15:47:29 +07:00
simon a40ebc7bbc
tweak with for video-item.list 2022-07-21 15:36:36 +07:00
simon e4dd47aed0
implement fulltext search keyword 2022-07-20 21:49:32 +07:00
simon b77d50d4ed
use queryType in populateMultiSearchResults to hide irrelevant 2022-07-20 18:01:57 +07:00
p0358 411b09629a
Better description view for videos and playlists (#272)
* draft

* proper implementation of description line clamping

* use a JS event that's potentially faster for text expand button visibility update

* remove desc title text, move show button after desc

Co-authored-by: simon <simobilleter@gmail.com>
2022-07-16 22:06:26 +07:00
simon e664338845
implement basic channel_id_about view 2022-07-04 16:44:37 +07:00
simon 1857ac44ca
fix tablet css breakpoints and grid spacing 2022-06-27 09:48:36 +07:00
simon cbb714c235
show grid count controls only if applicable 2022-05-30 16:21:24 +07:00
simon c93e935b9c
move delete download queue button to settings page 2022-05-30 16:06:12 +07:00
simon c6d696a91b
timeout search as you type 2022-05-30 15:29:52 +07:00
simon 0759b4f220
reset mobile variable gird row count 2022-05-28 21:41:17 +07:00
simon 5982932457
implement variable grid row size 2022-05-28 13:57:29 +07:00
Nathan DeTar 4eba36f7a0
Cookie Validation Button (#242)
* Added cookie validate button & message placeholder

* Added handleCookieValidate(), postCookieValidate()

* show validation only if enbled, add processing message for immediate feedback

Co-authored-by: simon <simobilleter@gmail.com>
2022-05-04 17:07:01 +07:00
Nathan DeTar c4107fc370
Fix to prevent holding onto SB info. (#236) 2022-05-02 10:41:42 +07:00
Nathan DeTar 1cf82bdbbd
Cleanup & Prevent repeat of skip message. (#227)
* Cleanup & Prevent repeat of skip message.

* skip sponsorblock segments if not indexed

* disable onVideoProgress sb check if not indexed

Co-authored-by: simon <simobilleter@gmail.com>
2022-04-16 08:53:15 +07:00
Nathan DeTar 39c4bd8883
Adjust to API changes for SB integration. (#222) 2022-04-13 10:30:32 +07:00
Nathan DeTar c316d05549
Added sponsorblock skipping (#208)
* Added sponsorblock skipping.

* Basic framework for sending SB timestamps

* Sponsorblock send timestamp UI improvements

* Added Sponsorblock Icons

* Minor UI tweaks

* Revert UI changes, implement in new UI

* Added notification when sponsor segment is skipped

* Add formatting for notifications & SB messages

* Added SB messages to JS player

* Added SB skip notifcation to videos page.

* Added SB messages to video page

* Change SB messages.

* Check channel_overwrites

* Check Per Channel Settings.

* Cleanup
2022-04-10 16:20:58 +07:00
simon d5cd90eb34
style and toggle hide overwrite form 2022-03-24 15:43:15 +07:00
simon f802c4d596
remove logging 2022-03-22 18:43:29 +07:00
simon 1f1dfcb54f
better playlist scan message, private methods in YoutubeChannel class 2022-03-22 10:07:33 +07:00
simon fc10fa62e8
remove now redundant find playlist botton 2022-03-21 19:07:58 +07:00
simon 105d5bf3f7
add auto label to subtitle track 2022-03-13 22:56:20 +07:00
Nathan DeTar 6e3df21f8c
Continue Watching Section (#188)
* Replaced isWatched() function.

* Switched to `updateVideoWatchStatus()` function

* Updated Onclick to `updateVideoWatchStatus(this)`

* Handle `this` input in `updateVideoWatchStatus()`
2022-03-10 20:20:23 +07:00
simon fb12a32d4f
use generic data-id and data-status attributes for watched checkbox 2022-03-07 20:48:45 +07:00
simon 437e83b2ae
add continue watching section to home page 2022-03-07 20:26:37 +07:00
Nathan DeTar ad5e74cb27
Prevent setting progress bar on player close if video is watched. (#182)
* Prevent setting progress bar on close if watched.
2022-02-26 18:11:09 +07:00
simon 060f0d575e
change color of progress bar to dark 2022-02-25 10:51:37 +07:00
Nathan DeTar 99c97a703f
Reduce API Calls (#181)
* Reduce API calls

* Fix video id

* Updated `createVideoTag()` description.

* Fixed URL used for cast integration

* Check video duration

* Updates progress bar on watched and close.

* Set progress bar width to 0% by default

* Cleanup, function descriptions

* Cleanup console logging

* Update progress bar on cast progress every 10s

* Catch short <30s videos and mark as watched
2022-02-25 10:39:33 +07:00
simon d88d6d6a61
add video progress bar 2022-02-24 18:58:26 +07:00
Nathan DeTar 4812b8da55
Save Video Progress (#179)
* Added cast integration docs.

* Changed header sizes.

* Added more space above Requirements

* Added cast integration docs.

* Removed separate cast integration docs

* Further indented quote from Google

* Switch to HTML based video position.

* Ground work for API changes and video progress

* Added onpause attribute to video.

* Added save video progress feature.

* Added API check for subtitle status.

* Switch method to DELETE if position is 0

* Added `createVideoTag()` function

* Added `InsertVideoTag()` function

* Switch to JS generated video tag, add on page load

* Removed extra data from DELETE request

* Removed unused code

* Reduced duplicate code

* Cleanup & groundwork cast pull metadata from API

* Minor bug fix

* Fix saving video progress on player close.

* Only send video progress when unwatched

* Cleanup

* Added `getURL()` function

* Cast use API & save progress/mark as watched

* Added cast progress checks

* Changed thresholds for marking videos as watched

* Added `watchedThreshold()` function
2022-02-24 09:36:31 +07:00
simon 428cc315e4
Subtitle improvements, #build
Changes:
- merges subtitle suport for JS video player
- merges hint what to do when no videos found
- merges better indexing and error handeling of subtitles
2022-02-12 19:11:47 +07:00
Nathan DeTar 385d6bace8
Fix cast support to handle new video tag format. (#169)
* Added subtitle support to JS player.

* Move `video-item` id to source tag.

* Move `video-item` id to source tag.

* Fix cast support to handle new video tag format

* Add subtitle support to cast integration, WIP

* Replace `&amp` with `&` in video titles.

* Check if the video is already marked as watched

* Switch to HTML watched check.
2022-02-12 19:08:19 +07:00
simon 7524691b79
implement API token revoke 2022-02-11 18:19:10 +07:00
Nathan DeTar 656a0c7327
Added subtitle support to JS player. (#168) 2022-02-11 08:53:09 +07:00
Nathan DeTar 9079a2a78b
Get Video Player Data Using New API (#151)
* Get  video player data using new API

* Spelling

* Removed extra data from play button

* Reworked createPlayer, switched functions to API

* Add theme to scrollbar

* Removed extra metadata from playlist page

* Removed extra metadat from channel page

* Reworked createPlayer, switched functions to API

* Update style.css

* Changed watched indicator to match createVideo()

* Fixed createPlayer() watched button

* Fix watched indicator duplication

* Minor clean up

* Removed player-wrapper background

* Added video/channel info to generated player

* Removed description due to textReveal() conflict

* Mark video as played at 90% playback

* Groundwork for saving video playback

* Add half and empty stars to getStarRating()

* Check videoProgress input.

* Added last refresh and date published

* Switched date in create functions to API

* Fomatted dates to match the old format

* Remove console log from formatDates()

* Cleaned up error on video player close

* Added check for ryd dislikes/rating

* Refined ryd check

* Simplified player

* Added player stats css formatting

* Formatting for playlist name/link

* Add playlist title/link to player

* Commented out no longer used code

* Fix missing end `"` on video-player class

* Additional playlist error checking

* Change setting video progress to html method

* center thumbs icon, add eye icon for watched

* add playerStats builder example, change some spacing

* Removed `-` before playlist, reordered cast button

* Minor cleanup of unused code.

* Corrected POST data formating

* consolidate video api calls into one

* remove redundant api calls for search result population

* do some jshint

* shorten unit and add K to formatNumbers

Co-authored-by: simon <simobilleter@gmail.com>
2022-02-05 18:26:31 +07:00
simon 2b2ff814e3
red hover logout button 2022-01-27 16:04:04 +07:00
simon 44733adf4d Merge branch 'master' into testing 2022-01-18 17:28:50 +07:00
Nathan DeTar 26bc2d2af4
Add theme to scrollbar. (#153)
* Add theme to scrollbar.

* add firefox scroll bar color

Co-authored-by: simon <simobilleter@gmail.com>
2022-01-18 17:27:49 +07:00
simon 3d26f320bf
new logout icon 2022-01-18 11:26:26 +07:00
Laurant Marijnissen 385771cba0
invert the hide button to more clearly show what it is currently set as. (#150) 2022-01-15 14:18:23 +07:00
Nathan DeTar b7922d171d
Improved Cast Support (#143)
* Added cast integration requirements.

HTTPS and a supported browser are required for this integration.

* Improved cast handeling.

* Theme cast button.

* Improved cast support.

* Added proper cast button.

* Moved cast button location

* Moved button location

* Reorder cast button

* Fix typo

* Revert cast setting description.

* Match master branch

* Added comments

* Added id `cast-script` to cast-videos.js

* Reworked event listener

* Add cast  button to home player

* Check if active media on cast, pause browser video

* Commented out console logging

* Uncommented cast failed console log

* Cast video at current playback position

* use theme vars for cast color buttons

* add cast variable to base ArchivistViewConfig class

Co-authored-by: simon <simobilleter@gmail.com>
2022-01-15 13:33:16 +07:00
Nathan DeTar 45518dc3d2
Basic Google Cast Support (#140)
* Added Start and Stop cast buttons.

* Modified from the internet.

* Code to initialize casting

* Added `video-item` id to video

* Renamed function to make more sense

* Renamed cast functions to make more sense

* Renamed cast functions to make more sense

* Changed console logging message.

* Make cast buttons appear if enabled in settings.

* Make cast scripts only load if enabled in settings

* add cast configuration form, #140

* fix spelling

Co-authored-by: simon <simobilleter@gmail.com>
2022-01-11 18:31:22 +07:00
simon 099f9dfe00
make search results follow default view styles 2022-01-07 18:29:25 +07:00
simon 49eb565e2a
fix sort_by selected attribute and animation toggle 2022-01-02 16:25:05 +07:00
simon 08f74caef0
simplify the sort_order and sort_by and standardize player location in page 2022-01-01 18:13:12 +07:00
simon f7fce001c4
simplify the subscribe buttons 2022-01-01 17:25:57 +07:00
simon 4915aa0c11
remove now redundant search forms 2021-12-31 13:42:07 +07:00
simon 5616d3ee0d
add search page link to top move about to footer 2021-12-31 12:41:54 +07:00
simon e823d6e1b3
add multi search js functions to dynamically populate results 2021-12-30 22:13:47 +07:00
simon e8eb7077ed
add initial search endpoint and improve results$ 2021-12-30 20:42:42 +07:00
simon 42f4f4cb6f
improved sort order mobile layout on home 2021-12-18 18:38:01 +07:00
simon 2d6cc43a9e
better label placement on toggle box 2021-12-18 18:22:57 +07:00
simon bf0b07f3d7
fix error when restarting player with same video 2021-12-18 17:15:53 +07:00
simon 3015e59a29
fix styling of sub unsub frontent feedback with span tag 2021-12-18 16:56:32 +07:00
simon e5b9b1caef
remove now unused favicon 2021-12-17 18:32:46 +07:00
simon a500f9ec63
add notifications and error messages to settings page 2021-12-17 15:09:21 +07:00
simon 3231dbe29a
the favicons the whole favicons and nothing but the favicons, #93 2021-12-16 21:23:54 +07:00
simon f6159a48d5
change sub and unsub to colored toggle button 2021-12-16 18:28:52 +07:00
simon c9373eee15
add remember me checkbox to login view and set session expire, #77 2021-12-16 15:17:58 +07:00
simon 275cf1263b
fix mobile backup-grid-row layout 2021-12-14 19:15:29 +07:00
simon f49895917a
change settings for backup restore 2021-12-14 19:06:47 +07:00
simon 8f7179ad0c
fix some spacing issues 2021-12-13 10:57:29 +07:00
simon 9bb68aac66
extend theater mode to video id page template 2021-12-08 14:30:13 +07:00
simon 279c4538ca
fix player wrapper and player channel links 2021-12-07 08:25:46 +07:00
simon 42eec604a7
reimagining the video player in theater mode, #98 2021-12-06 22:14:42 +07:00
simon 7516090e14
handle findPlaylists notification and fix spacing 2021-12-05 22:15:10 +07:00
simon 5b47c9cde7
use filter to search for relevant messages 2021-12-05 20:26:17 +07:00
simon a0d5837519
use new checkMessages for frontend button calls 2021-12-05 17:24:20 +07:00
simon fbdbfd744d
rewrite of progress.js, now potentially better and flexible 2021-12-05 16:42:33 +07:00
simon b8f7aa3298
cleaner handeling of findPlaylists 2021-11-27 12:07:27 +07:00
simon e3de9a0184
fix mobile playlist nav layout 2021-11-26 10:10:45 +07:00
simon 3f31e50b69
add delete download queue pending or ignored, #85 2021-11-25 20:02:25 +07:00
simon 408b0a0c34
fix mobile layout for playlist pages 2021-11-25 17:22:52 +07:00
simon 39304ff2bd
add subscribe and unsubscribe buttons for channels and playlists, #81 2021-11-25 16:41:58 +07:00
simon 2ebd0a3e2f
extend unsubscribe for channels and playlists 2021-11-25 11:52:14 +07:00
simon 220d020c76
delete playlist buttons to frontend 2021-11-20 18:27:10 +07:00
simon 8d708fcdc8
add mark_playlist_watched and refactor mark_channel_watched to update_by_query 2021-11-20 10:58:25 +07:00
simon e450b38702
add video playlist navigation, previous and next 2021-11-14 19:34:57 +07:00
simon c3ece970ee
add playlist discovery button to channel_id page 2021-11-13 17:35:48 +07:00
simon 824ba35c14
add basic playlists to template 2021-11-10 18:53:38 +07:00
simon 3bc6074ef3
slimming some UI spacing issues 2021-11-04 15:53:47 +07:00
simon b2a4f88980 add re_sync_thumbs to frontend 2021-11-01 16:42:07 +07:00
simon 266d3703cd validate search forms 2021-10-30 13:19:16 +07:00
simon 0ce5183056 handle failed login 2021-10-24 15:34:00 +07:00
simon dffe974f9e move redundant keywords from downlaod title to badge, #64 2021-10-22 18:24:18 +07:00
simon 01ccca16e4 added logout functionality 2021-10-22 11:45:06 +07:00
simon e4352e5bec playsinline fix for mobile safari 2021-10-20 20:49:20 +07:00
simon d250ed645a initial template for login route 2021-10-18 17:14:59 +07:00
simon 72af95acd8 fallback channel and video artwork for 404 errors 2021-10-13 19:34:16 +07:00
simon 1b04c00ae7 standardizing on progress/ url 2021-10-11 16:55:08 +07:00
simon f5621954fb star icons for video rating 2021-10-10 16:09:02 +07:00
simon ef75f6dd16 add delete channel to frontend 2021-10-09 20:33:32 +07:00
simon 8d3e2f14fc add delete video to frontend 2021-10-09 17:11:13 +07:00
simon 64ccd3830e implementing filesystem rescan to clean index 2021-10-08 14:56:07 +07:00
simon 0b88fd8b1f implement watched-unwatched toggle, #39 2021-10-07 23:38:17 +07:00
simon 3500044b0d adding woff files and OFL license 2021-10-07 19:41:52 +07:00
simon 7df4233224 cleaning up leftover code from old vesions 2021-10-03 19:33:58 +07:00
simon 5c2a8286d3 cleanup and fixing some spacing issues 2021-10-03 18:54:04 +07:00
simon ed73bff8fa implement toggle view ignored only in downloads page 2021-10-03 18:17:07 +07:00
simon 95cdcbae9a grid and list view for channels overview page 2021-10-02 19:39:02 +07:00
simon 0b0502e246 grid and list view for downloads template 2021-10-02 18:37:22 +07:00
simon 99781290db grid and list view for home and channel id templates 2021-10-01 16:24:39 +07:00
simon 7c34ceb9f8 framework to switch between grid and list view 2021-10-01 14:42:17 +07:00
simon 2905a67ab9 show ignored videos, forget or download ids 2021-09-28 16:53:45 +07:00
simon 2de99d7e37 better implementation for dl icon directly in message builder 2021-09-25 18:54:37 +07:00
simon c165f152a9 allowing to cancle download_now tasks 2021-09-25 17:40:33 +07:00
simon 51ec765433 add kill queue function to frontend 2021-09-25 15:35:36 +07:00
simon f53391c1bb add limit_queue setting back, make buttons only show up while downlaoding 2021-09-24 21:27:53 +07:00
simon d0b54f8a88 add stop queue button to frontend 2021-09-24 18:03:22 +07:00
simon 1c3ca8364c added restore_from_backup to frontend and task 2021-09-20 20:26:28 +07:00
simon 3d2d11ba3a fix blocking issue where download_now wouldn't delay 2021-09-17 10:52:59 +07:00
simon c657baca97 backup functionality to frontend and tasks 2021-09-16 18:16:09 +07:00
simon fe33e9178c allowing to subscribe to multiple channels at once 2021-09-15 21:09:46 +07:00
simon 361d785e2e fix removing unsubscribe button 2021-09-15 20:54:30 +07:00
simon 0e4de95f97 moove animate function to general script 2021-09-15 20:47:26 +07:00
simon 193e6f91ac added some reference links to ui 2021-09-15 11:33:16 +07:00
simon 297eb058cc added media files import to frontend and tasks 2021-09-14 18:24:02 +07:00
simon 7d60af1491 cleanup logging 2021-09-11 18:42:37 +07:00
simon 4580ea6f87 show error color when link extraction failes 2021-09-10 14:27:30 +07:00
simon dc9fd72cde minimal viable product 2021-09-06 00:10:14 +07:00