Commit Graph

514 Commits

Author SHA1 Message Date
simon 047fc1f3f1
bump release version 2022-02-13 10:58:58 +07:00
simon 8fce31b983
fix reindex and deactivate error 2022-02-13 10:05:08 +07:00
simon 8f87c4774a
restructure and update roadmap 2022-02-12 21:59:51 +07:00
simon fef866bf0b
indicate max page size on downloads page, add note to wiki, #156 2022-02-12 19:42:07 +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 78720b33b7
clean exit when auto subtitle extract fails 2022-02-12 18:52:03 +07:00
simon ce4fa8ee61
delete existing before of reindexing subtitles 2022-02-12 18:22:01 +07:00
simon 13cbada539
add section about subtitles and extend integrations 2022-02-12 17:09:25 +07:00
simon a5f6be16e1
switch subtitle source order 2022-02-12 17:09:05 +07:00
simon 5abf988810
add FAQ wiki page 2022-02-12 16:27:31 +07:00
simon b494fc10af
cover edge cases where end timestamp is after start timestamp of new cue 2022-02-12 16:03:04 +07:00
simon d99ce0d98e
add atomicparsley to container for better thumb embed, #155 2022-02-12 09:58:14 +07:00
simon 09500557c8
open fail on subtitle line parse error 2022-02-11 18:47:29 +07:00
simon 7524691b79
implement API token revoke 2022-02-11 18:19:10 +07:00
simon f1de8db4f3
hide API token by default 2022-02-11 17:18:37 +07:00
simon 08f5248e7a
make subtitle index optional 2022-02-11 13:36:36 +07:00
simon 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
simon 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
simon 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
simon 16f33feda0
process subtitle media url paths 2022-02-10 19:45:22 +07:00
simon 3ea5e9c537
bump dependencies 2022-02-10 19:27:05 +07:00
simon 4d30bed3cc
extend delete video to also delete subtitles 2022-02-10 19:09:07 +07:00
simon 0e56efc428
limit filesystem scan to mp4 files only 2022-02-10 18:48:35 +07:00
simon 077692987b
fix multi language subtitle extractor, and better regex for timestamp matching 2022-02-10 18:32:23 +07:00
simon b071612038
better error raising for add player info 2022-02-10 17:34:21 +07:00
simon 0414df0de0
fix key error for subtitle source 2022-02-10 17:10:30 +07:00
simon a2cae51f48
bulk import subtitle lines into es 2022-02-10 17:02:19 +07:00
simon 9f652802ae
add new mapping for subtitle index 2022-02-10 11:47:14 +07:00
simon 4e4cfe3334
pass whole video object into YoutubeSubtitle class 2022-02-09 23:40:15 +07:00
simon 4e2d0fa464
bump es version 2022-02-09 23:38:18 +07:00
simon 6cb892a811
integrate auto generated subtitle cleaner 2022-02-09 21:33:41 +07:00
simon 5f6158243e
auto generated subtitle parser and cleaner 2022-02-07 21:18:52 +07:00
simon 1664b0d4fc
restructure video tag to add subtitle tracks 2022-02-06 00:08:24 +07:00
simon e98ffc0050
add subtitles mapping to video index 2022-02-05 23:50:47 +07:00
simon 52013aff3f
fix subtitle download of first video of channel without folder 2022-02-05 23:42:42 +07:00
simon 44af78b7e3
handle NA in ffprobe duration extractor 2022-02-05 23:09:05 +07:00
simon 2bf9e9683b
error handeling in _normalize_lang to skip livechat and ignore missing 2022-02-05 22:51:38 +07:00
simon f5f46349b2
handle rescan name change 2022-02-05 22:38:59 +07:00
simon 851fbae900
fix video template dislike icon and add watched icon 2022-02-05 18:42:09 +07:00
simon 91452b5114
remove redundant video player api endpoint 2022-02-05 18:35:02 +07:00
simon 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
simon 8fe00e2152
process api return values for frontend use 2022-02-05 17:46:14 +07:00
simon ac531affb5
standardize country specific subtitle language codes 2022-02-05 16:07:11 +07:00
simon 3ef35a9d53
raise FileNotFoundError to catch for reindex 2022-02-05 09:30:34 +07:00
simon 7aaf140ccb
index subtitle url to video 2022-02-04 17:14:00 +07:00