Commit Graph

498 Commits

Author SHA1 Message Date
08f5248e7a
make subtitle index optional 2022-02-11 13:36:36 +07:00
1abe4fb4d6
add text/vtt content-type header to subtitle files 2022-02-11 13:06:13 +07:00
Stephen Herbein
b1435434e6
docs: add a note that importing requires there be no subdirectories (#170)
Also include some bash snippets to help users with existing video
libraries containing subdirectories get their files all in one directory
quickly.

Co-authored-by: Stephen Herbein <sherbein@DESKTOP-EAJL82P.localdomain>
2022-02-11 12:55:14 +07:00
Stephen Herbein
4467e97f3c
When no videos are found, add a hint to start a search/download (#167) 2022-02-11 12:52:26 +07:00
af8e01cd8c
fix clean exit if no subtitles selected 2022-02-11 09:03:56 +07:00
Nathan DeTar
656a0c7327
Added subtitle support to JS player. (#168) 2022-02-11 08:53:09 +07:00
3efa388b5a
add subtitle functionality, #build
Changes:
- merges new subtitle download and index functionality
- merges player improvements and api integrations from @n8detar
- merges fix for non ascii channel names
- merges fix for pagination error with 10k+ videos
2022-02-10 19:48:39 +07:00
16f33feda0
process subtitle media url paths 2022-02-10 19:45:22 +07:00
3ea5e9c537
bump dependencies 2022-02-10 19:27:05 +07:00
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
4e2d0fa464
bump es version 2022-02-09 23:38:18 +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
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
2022-01-27 16:08:16 +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
00e9e4bc53
bump python version 2022-01-27 15:08:26 +07:00
b93a6f689b
remove previous bug workaround to set django debug env, #159 2022-01-27 14:49:22 +07:00
b2f69d1433
untrack vscode folder 2022-01-26 20:21:08 +07:00
2eea07c85e
organize docker conf files 2022-01-26 20:05:52 +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