Commit Graph

821 Commits (231ac1e012af3961f8c498af023d3cd5ba4b9606)
 

Author SHA1 Message Date
simon 91452b5114
remove redundant video player api endpoint 3 years ago
simon 5b37bd059c Merge branch 'testing'
combine new api endpoints from #151
3 years ago
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>
3 years ago
simon 8fe00e2152
process api return values for frontend use 3 years ago
simon ac531affb5
standardize country specific subtitle language codes 3 years ago
simon 3ef35a9d53
raise FileNotFoundError to catch for reindex 3 years ago
simon 7aaf140ccb
index subtitle url to video 3 years ago
simon ad2647c4ba
upgrade libs 3 years ago
simon a82e78f8bf
index selected subtitles if available 3 years ago
simon 365a2bf59f
add frontend subtitle dl settings 3 years ago
simon e5e83287ab
fix channel delete for channel_id fallback folders 3 years ago
simon 8e860d4f01
fix last page error for more than 10k results, #156 3 years ago
simon 0749202d5d
add fallback for none ascii channel names, #127 #146 3 years ago
simon 160676acc1
add mapping for channel_tvart_url 3 years ago
simon 8591c44ef2 major refactor, #build
Changes:
- merges new restructured and split up modules
- merges refactor channel, video, playlist index classes
- merges code clean up and readability improvements
3 years ago
simon 2b2ff814e3
red hover logout button 3 years ago
simon 87b72a571d
simplify reading json files 3 years ago
simon 00e9e4bc53
bump python version 3 years ago
simon b93a6f689b
remove previous bug workaround to set django debug env, #159 3 years ago
simon b2f69d1433
untrack vscode folder 3 years ago
simon 2eea07c85e
organize docker conf files 3 years ago
simon b6f9fb58ad refactor VideoDownloader class, better obs builder 3 years ago
simon 2fc0cbacf5
update doc strings to represent new module structure 3 years ago
simon 0fc0cc8e87
major refactor, split up modules 3 years ago
simon f3efca7464
bump yt_dlp version 3 years ago
simon c57d6c73cc
remove bandit, too many false positive 3 years ago
simon b64a2f8195
squash index.py refactor commits 3 years ago
simon 2f4d4e715b
refactor index class in to base and video classes 3 years ago
simon 44733adf4d Merge branch 'master' into testing 3 years ago
Nathan DeTar 26bc2d2af4
Add theme to scrollbar. (#153)
* Add theme to scrollbar.

* add firefox scroll bar color

Co-authored-by: simon <simobilleter@gmail.com>
3 years ago
simon 68f19b1719
make SearchHandler use new ElasticWrap class 3 years ago
simon 3eb0353fa9
new base class to make all es calls from 3 years ago
simon af2783c18a
remove unneeded auth 3 years ago
simon 8b15ea5dc8
bump redis version 3 years ago
simon 3d26f320bf
new logout icon 3 years ago
simon 7028621bc5 merge new api view, #build
Changes:
- merges new cast improvements
- merges toggle invert
- merges new video player api endpoint
- merges basic browser extension example
3 years ago
Laurant Marijnissen 385771cba0
invert the hide button to more clearly show what it is currently set as. (#150) 3 years ago
simon 79b0a989be
new api view to return video player 3 years ago
simon cccb8e570a Merge cast changes from 'master' into testing 3 years ago
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>
3 years ago
simon e1cdd79b45
added browser extension proof of concept 3 years ago
simon fec6237907
add chrome-extension to CORS_ALLOWED_ORIGIN 3 years ago
simon 3df8f65db6
implement cors for browser extension 3 years ago
simon c703105c5e
fix ryd 404 error for reindex and deactivate 3 years ago
simon 51f63f7b71 Merge api app from branch 'testing' 3 years ago
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>
3 years ago
simon c4a547f407
cleanup and typos 3 years ago
simon b28773b3a0
add exmples, auth docs, and list endpoints 3 years ago
simon 50006e423c
implement channel list and subscribe api 3 years ago
simon 8d5b4ac242
implement api return status code 3 years ago