Commit Graph

547 Commits

Author SHA1 Message Date
4d30bed3cc
extend delete video to also delete subtitles 2022-02-10 19:09:07 +07:00
0e56efc428
limit filesystem scan to mp4 files only 2022-02-10 18:48:35 +07:00
077692987b
fix multi language subtitle extractor, and better regex for timestamp matching 2022-02-10 18:32:23 +07:00
b071612038
better error raising for add player info 2022-02-10 17:34:21 +07:00
0414df0de0
fix key error for subtitle source 2022-02-10 17:10:30 +07:00
a2cae51f48
bulk import subtitle lines into es 2022-02-10 17:02:19 +07:00
9f652802ae
add new mapping for subtitle index 2022-02-10 11:47:14 +07:00
4e4cfe3334
pass whole video object into YoutubeSubtitle class 2022-02-09 23:40:15 +07:00
6cb892a811
integrate auto generated subtitle cleaner 2022-02-09 21:33:41 +07:00
5f6158243e
auto generated subtitle parser and cleaner 2022-02-07 21:18:52 +07:00
1664b0d4fc
restructure video tag to add subtitle tracks 2022-02-06 00:08:24 +07:00
e98ffc0050
add subtitles mapping to video index 2022-02-05 23:50:47 +07:00
52013aff3f
fix subtitle download of first video of channel without folder 2022-02-05 23:42:42 +07:00
44af78b7e3
handle NA in ffprobe duration extractor 2022-02-05 23:09:05 +07:00
2bf9e9683b
error handeling in _normalize_lang to skip livechat and ignore missing 2022-02-05 22:51:38 +07:00
f5f46349b2
handle rescan name change 2022-02-05 22:38:59 +07:00
851fbae900
fix video template dislike icon and add watched icon 2022-02-05 18:42:09 +07:00
91452b5114
remove redundant video player api endpoint 2022-02-05 18:35:02 +07:00
5b37bd059c Merge branch 'testing'
combine new api endpoints from #151
2022-02-05 18:27:24 +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
8fe00e2152
process api return values for frontend use 2022-02-05 17:46:14 +07:00
ac531affb5
standardize country specific subtitle language codes 2022-02-05 16:07:11 +07:00
3ef35a9d53
raise FileNotFoundError to catch for reindex 2022-02-05 09:30:34 +07:00
7aaf140ccb
index subtitle url to video 2022-02-04 17:14:00 +07:00
ad2647c4ba
upgrade libs 2022-02-04 17:13:30 +07:00
a82e78f8bf
index selected subtitles if available 2022-01-30 23:57:58 +07:00
365a2bf59f
add frontend subtitle dl settings 2022-01-30 20:10:29 +07:00
e5e83287ab
fix channel delete for channel_id fallback folders 2022-01-30 08:33:10 +07:00
8e860d4f01
fix last page error for more than 10k results, #156 2022-01-27 23:39:07 +07:00
0749202d5d
add fallback for none ascii channel names, #127 #146 2022-01-27 22:50:02 +07:00
160676acc1
add mapping for channel_tvart_url 2022-01-27 21:56:48 +07:00
2b2ff814e3
red hover logout button 2022-01-27 16:04:04 +07:00
87b72a571d
simplify reading json files 2022-01-27 15:32:58 +07:00
b6f9fb58ad refactor VideoDownloader class, better obs builder 2022-01-26 19:37:36 +07:00
2fc0cbacf5
update doc strings to represent new module structure 2022-01-23 19:32:08 +07:00
0fc0cc8e87
major refactor, split up modules 2022-01-22 22:13:37 +07:00
f3efca7464
bump yt_dlp version 2022-01-22 17:57:36 +07:00
b64a2f8195
squash index.py refactor commits 2022-01-22 17:48:54 +07:00
2f4d4e715b
refactor index class in to base and video classes 2022-01-19 13:04:15 +07:00
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
68f19b1719
make SearchHandler use new ElasticWrap class 2022-01-18 13:37:22 +07:00
3eb0353fa9
new base class to make all es calls from 2022-01-18 13:36:41 +07:00
af2783c18a
remove unneeded auth 2022-01-18 13:35:48 +07:00
8b15ea5dc8
bump redis version 2022-01-18 11:27:24 +07:00
3d26f320bf
new logout icon 2022-01-18 11:26:26 +07:00
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
2022-01-15 14:19:11 +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
79b0a989be
new api view to return video player 2022-01-15 14:14:18 +07:00
cccb8e570a Merge cast changes from 'master' into testing 2022-01-15 13:35:16 +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
fec6237907
add chrome-extension to CORS_ALLOWED_ORIGIN 2022-01-15 12:27:36 +07:00
3df8f65db6
implement cors for browser extension 2022-01-14 14:46:00 +07:00
c703105c5e
fix ryd 404 error for reindex and deactivate 2022-01-11 18:54:40 +07:00
51f63f7b71 Merge api app from branch 'testing' 2022-01-11 18:43:03 +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
c4a547f407
cleanup and typos 2022-01-11 17:05:04 +07:00
b28773b3a0
add exmples, auth docs, and list endpoints 2022-01-11 16:53:58 +07:00
50006e423c
implement channel list and subscribe api 2022-01-11 16:53:02 +07:00
8d5b4ac242
implement api return status code 2022-01-11 16:16:28 +07:00
52a54fbe31
add to queue api endpoint 2022-01-11 15:58:50 +07:00
382e89abb7
implement api token auth 2022-01-11 14:15:36 +07:00
917e73ec4d
new django api app, implementing basic get views 2022-01-10 22:51:52 +07:00
Nathan DeTar
edc9f3fe15
Added a button to download a video to the local device. (#137)
* Add video download button.

* Swapped <a> and <button> tags to fix theme issue.

* Download button renamed to `Download File`
2022-01-10 09:00:29 +07:00
e8a533bbbe
add social links and update to v0.1.0 2022-01-08 23:58:41 +07:00
9ad8177b7a
retry failed commit 2022-01-08 23:57:51 +07:00
8ba9ced833
move ryd to avoid celery missing redis var 2022-01-08 21:10:38 +07:00
1a95797997
improve scheduler validation with regex, #126 2022-01-08 20:04:51 +07:00
c660edd997
bump library versions 2022-01-07 18:35:59 +07:00
9498cf94f3
fix playlist view_origin 2022-01-07 18:30:40 +07:00
099f9dfe00
make search results follow default view styles 2022-01-07 18:29:25 +07:00
1cbe0bbfc0
delete playlists of channel when deleting channel, #118 2022-01-05 15:39:41 +07:00
49cd272557
size limit for ryd missing rating query 2022-01-05 15:10:33 +07:00
1c27934d77
remove redundant lock 2022-01-05 14:51:02 +07:00
c85be45846
extend ryd to refresh when missing average_rating 2022-01-05 14:43:24 +07:00
7a1f77e548
bump library versions 2022-01-05 14:42:28 +07:00
3999d679e3
fix linting 2022-01-05 14:09:35 +07:00
dc2fb65312
add optin returnyoutubedislike.com integration 2022-01-05 14:06:07 +07:00
6aef3dfb96
remove leftovers 2022-01-05 11:10:11 +07:00
49eb565e2a
fix sort_by selected attribute and animation toggle 2022-01-02 16:25:05 +07:00
2ce90077b6
fix notification for nownload now button 2022-01-02 15:47:32 +07:00
fd334bcafe
fix legacy import alias for yt-dlp 2022-01-02 15:38:45 +07:00
d5b3b90202
fix missing auth of search, reduce nginx alias to relevant paths only 2022-01-01 22:17:44 +07:00
08f74caef0
simplify the sort_order and sort_by and standardize player location in page 2022-01-01 18:13:12 +07:00
f7fce001c4
simplify the subscribe buttons 2022-01-01 17:25:57 +07:00
4915aa0c11
remove now redundant search forms 2021-12-31 13:42:07 +07:00
5616d3ee0d
add search page link to top move about to footer 2021-12-31 12:41:54 +07:00
e823d6e1b3
add multi search js functions to dynamically populate results 2021-12-30 22:13:47 +07:00
e8eb7077ed
add initial search endpoint and improve results$ 2021-12-30 20:42:42 +07:00
5fb15b79a4
extend SearchForm class with multisearch method for frontend 2021-12-30 15:58:15 +07:00
2a774c3d3e
add english analyzer for main text fields for serching 2021-12-30 15:54:20 +07:00
b6424e0e56
update requirements libs 2021-12-30 15:53:38 +07:00
386220ee94
consolidate request attributes into parent class 2021-12-27 17:23:39 +07:00
4c46f0bdbd
refactor playlist and playlist-id views inheritance, #116 2021-12-27 16:58:08 +07:00
30cf54c49c
refactor channel and channel-id views inheritance, #116 2021-12-27 15:23:52 +07:00
fb512b26ea
further consolidate by adding query results in parent class 2021-12-27 12:01:49 +07:00
2ae25540d1
refacter DownloadView to use new inheritance structure, #116 2021-12-27 10:58:49 +07:00
6229d92333
add dedicated default_view for playlists 2021-12-26 22:51:37 +07:00
6e348892f2
refactor home view by inherinting from dedicated view classes, #115 #116 2021-12-26 22:49:00 +07:00
665d0a1b24
bump versions 2021-12-26 18:22:04 +07:00
42f4f4cb6f
improved sort order mobile layout on home 2021-12-18 18:38:01 +07:00
2d6cc43a9e
better label placement on toggle box 2021-12-18 18:22:57 +07:00
bf0b07f3d7
fix error when restarting player with same video 2021-12-18 17:15:53 +07:00
88ebb6d648
fix autodelete error on empty download queue 2021-12-18 17:05:49 +07:00
3015e59a29
fix styling of sub unsub frontent feedback with span tag 2021-12-18 16:56:32 +07:00
ad8d75c3e8
add autodelete videos to ignore list, #112 2021-12-17 23:28:53 +07:00
8678cdcadb
add missing favicon to login template 2021-12-17 23:00:30 +07:00
1ac6da1f3e
bumb django version 2021-12-17 18:45:32 +07:00
e5b9b1caef
remove now unused favicon 2021-12-17 18:32:46 +07:00
5f3d52c76a
update docs for v0.0.9 release 2021-12-17 16:59:52 +07:00
a500f9ec63
add notifications and error messages to settings page 2021-12-17 15:09:21 +07:00
3231dbe29a
the favicons the whole favicons and nothing but the favicons, #93 2021-12-16 21:23:54 +07:00
ae082eb309
add sync_redis_state before building schedule for update path 2021-12-16 21:22:05 +07:00
23f9894154
move validate_thumbnails out of startup has it's own schedule now 2021-12-16 21:20:14 +07:00
f6159a48d5
change sub and unsub to colored toggle button 2021-12-16 18:28:52 +07:00
ada2c1fe59
add autofocus and autocomplete to user form field, #104 2021-12-16 18:00:36 +07:00
c9373eee15
add remember me checkbox to login view and set session expire, #77 2021-12-16 15:17:58 +07:00
e858bba944
fix linting, update doc string 2021-12-16 12:48:12 +07:00
9a2dead76c
implement autodelete watched videos after x days, #56 2021-12-16 12:44:37 +07:00
53f93a7bb9
fix missing average_rating due to lack of dislikes 2021-12-15 17:39:52 +07:00
7924f28ccb
implement backup rotate from config value 2021-12-14 19:40:46 +07:00
275cf1263b
fix mobile backup-grid-row layout 2021-12-14 19:15:29 +07:00
f49895917a
change settings for backup restore 2021-12-14 19:06:47 +07:00
f7c73f7eba
change backup and restore to tag files 2021-12-14 19:05:58 +07:00
6ad1c8e73b
add reason to backup as file name tag 2021-12-13 21:20:48 +07:00
21f70493bb
add scheduler config to regular redis config 2021-12-13 20:28:41 +07:00
5cb6076a1c use config check_reindex_days for refresh_interval 2021-12-13 19:19:49 +07:00
Wesley Mauk
f660b05a20
Make copyright year dynamic (#107)
Never have to update this again!
2021-12-13 19:10:11 +07:00
8f7179ad0c
fix some spacing issues 2021-12-13 10:57:29 +07:00
3df9a53a24
add scheduler settings with some sane defaults 2021-12-13 10:55:57 +07:00
fde1a37563
add check_reindex_days and run_backup_rotate fields to form 2021-12-13 10:54:54 +07:00
9bb68aac66
extend theater mode to video id page template 2021-12-08 14:30:13 +07:00
279c4538ca
fix player wrapper and player channel links 2021-12-07 08:25:46 +07:00
42eec604a7
reimagining the video player in theater mode, #98 2021-12-06 22:14:42 +07:00
e2238c16f5 restructure html to allow for non boxed-content classes within content blocks, #98 2021-12-06 18:07:57 +07:00
8c5bb0bc1f
add missing mapping for playlist_last_refresh to fix empty index scan, #101 2021-12-06 16:56:56 +07:00
82a71ed75d
clean up playlist subscribe notification 2021-12-05 22:35:46 +07:00
7516090e14
handle findPlaylists notification and fix spacing 2021-12-05 22:15:10 +07:00
8874168291
clean up progress hook title and speed up playlist validation 2021-12-05 21:57:33 +07:00
19871d55e2
faster release message timer with reduced redis exipre time on last message 2021-12-05 21:27:43 +07:00
c7d69b4fa1
use new notification for channel subscribe feedback 2021-12-05 20:26:39 +07:00
5b47c9cde7
use filter to search for relevant messages 2021-12-05 20:26:17 +07:00
67bde4c7ec
fix notification channel for video thumb download 2021-12-05 17:24:57 +07:00
a0d5837519
use new checkMessages for frontend button calls 2021-12-05 17:24:20 +07:00
fbdbfd744d
rewrite of progress.js, now potentially better and flexible 2021-12-05 16:42:33 +07:00
1d262fc936
fix old status variables for message 2021-12-05 16:41:06 +07:00
f7b5082983
use message:playlistscan for index_channel_playlists 2021-12-03 21:05:34 +07:00
b35440253d
transform add to queue, rescan, and download progress to channel messages 2021-12-03 19:47:43 +07:00
1691bdadf5
transform progress message to list, change subscribe messages 2021-12-03 19:00:26 +07:00
5a2d7c07bf
variable expire value and simpler REDIS_PORT declaration 2021-12-03 13:51:34 +07:00
3d0bb40da6
for some strange reason timezone needs to be defined here again... 2021-12-03 12:00:40 +07:00
0b0634273a
validate form entries, set auto sensible default 2021-12-03 11:27:26 +07:00
ab8dc0ddee
bump versions 2021-12-03 11:26:35 +07:00
4136a2a4f2
add rescan lock 2021-12-02 19:11:45 +07:00
40c7a6a3f7
initial scheduler_form for settings 2021-12-02 18:38:32 +07:00
b2861e0369
ScheduleBuilder config class for celery beat 2021-12-02 18:37:54 +07:00
012e28d4ef
initial beat scheduler setup 2021-12-02 15:54:29 +07:00
3cc5db7ad1
use TZ environ for scheduler 2021-12-02 14:44:37 +07:00
7e97284374
auto index playlists when adding to download 2021-11-29 15:49:45 +07:00
b8359a4249
match_all to show all playlists, even when empty 2021-11-29 14:28:23 +07:00
b14a820a4c
add 18 char len to valid playlists 2021-11-29 14:21:19 +07:00
eacfd4bc84
refactor and move frontend PostData class to dedicated module 2021-11-28 18:42:04 +07:00
525618a7a1
update footer to v0.0.8 2021-11-27 14:41:10 +07:00
d95bf4272c
speedup by only testing selected formats 2021-11-27 14:13:48 +07:00
5401722d88
bump versions 2021-11-27 14:13:10 +07:00
2d69f64121
fix some wording 2021-11-27 14:11:06 +07:00
b8f7aa3298
cleaner handeling of findPlaylists 2021-11-27 12:07:27 +07:00
64c9269ee2
fix channel info for playlistid view to use actual owner 2021-11-27 11:55:00 +07:00
295ea0cde0
handling deactivating playlist 2021-11-27 11:47:12 +07:00
1f82f0c40d
index playlist channel if doesn't exist and beter user feedback 2021-11-26 17:34:59 +07:00
31515961e1
fix prev and nex playlist order 2021-11-26 16:47:39 +07:00
5d7a609285
skip backing up not yet existing index 2021-11-26 16:19:18 +07:00
e3de9a0184
fix mobile playlist nav layout 2021-11-26 10:10:45 +07:00
32d2659658
handling genering index write errors, #91 2021-11-25 22:10:12 +07:00
3f31e50b69
add delete download queue pending or ignored, #85 2021-11-25 20:02:25 +07:00
408b0a0c34
fix mobile layout for playlist pages 2021-11-25 17:22:52 +07:00
39304ff2bd
add subscribe and unsubscribe buttons for channels and playlists, #81 2021-11-25 16:41:58 +07:00
bad129d630
consolidate subscribe to single task for channel and playlist 2021-11-25 15:49:08 +07:00
2ebd0a3e2f
extend unsubscribe for channels and playlists 2021-11-25 11:52:14 +07:00
407325e0a9
add original youtube link if available, #81 2021-11-25 11:32:51 +07:00
e3f9bd98de
use --check-formats for downloader, #90 2021-11-25 11:17:25 +07:00
b1783d6be3
handle multifeed videos with noplaylist 2021-11-22 22:58:25 +07:00
9fceb98f13
add playlists to reindex class 2021-11-22 20:40:11 +07:00
220d020c76
delete playlist buttons to frontend 2021-11-20 18:27:10 +07:00
b292a5e309
add delete playlist backend functionality 2021-11-20 14:32:36 +07:00
8d708fcdc8
add mark_playlist_watched and refactor mark_channel_watched to update_by_query 2021-11-20 10:58:25 +07:00
85d12d6c68
dont index playlists without videos 2021-11-19 16:57:07 +07:00
fef26a06b2
force refresh for new videos to avoid racing condition 2021-11-19 16:26:05 +07:00
3b6e70b4dc
progress message on validate_playlists 2021-11-19 15:53:06 +07:00
3881d305f9
add subscribe to playlist form and better task management 2021-11-19 11:52:27 +07:00
fcddf85245
validate_playlists after run_queue from VideoDownloader 2021-11-18 22:35:08 +07:00
d0e0903d48
use remote data for playlist find_missing 2021-11-18 21:50:35 +07:00
3efdc1962d
fix playlist nav builder using correct index 2021-11-18 21:16:18 +07:00
f26fbc0dc5
implement show_subed_only on playlist view 2021-11-18 17:14:11 +07:00
a1167bac4e
use same page size for playlist rescan 2021-11-18 16:58:39 +07:00
bb889f7f67
use find_missing to also add missing videos from playlist to download queue 2021-11-18 16:37:05 +07:00
1af0196208
add subscribe to playlist backend functionality 2021-11-18 16:00:55 +07:00
8b69be645c
use new IndexPaginate class for get_channels and get_playlists 2021-11-18 14:48:31 +07:00
f371a03cc7
use new IndexPaginate class for get_all_indexed videos 2021-11-18 12:16:21 +07:00
509b0097fe
bump celery version 2021-11-18 12:11:58 +07:00