Commit Graph

531 Commits

Author SHA1 Message Date
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
806448624d
return if no in progress videos 2022-02-24 21:25:12 +07:00
df777104af
add video progress bar to channel_id and playlist_id views 2022-02-24 19:30:12 +07:00
d88d6d6a61
add video progress bar 2022-02-24 18:58:26 +07:00
6078d8d276
add youtube_id to progress api key 2022-02-24 18:55:52 +07:00
c4d6bb35a3
add list_items for wildcard matching 2022-02-24 18:55:18 +07:00
e0db73543e Merge branch 'master' into testing 2022-02-24 09:39:56 +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
8579fb4cc1
fix ffmpeg link grep by using master 2022-02-21 21:37:49 +07:00
b8b95f9d79
inheirt VideoProgressView from base class to get auth 2022-02-21 20:59:04 +07:00
schizovivek
70506ad8f6
add comment for redis rejson to use arm64 fork created by bbilly1 (#178)
* updated redis rejson to use arm64 fork created by bbilly1

* added arm build as a comment instead of main option for rejson
2022-02-21 20:14:08 +07:00
ec00568008
fix auto reset of playlist_subscribed 2022-02-20 19:22:11 +07:00
2044dba700
API endpoints improvement, #build
- merges adding config key to api return values
- add video progress api endpoint
2022-02-17 18:21:56 +07:00
241d8326f7
add video progress API endpoints 2022-02-17 18:20:30 +07:00
4d83af7c14
bump redis client 2022-02-17 18:19:52 +07:00
265795f4a9
add config key to api response 2022-02-17 16:59:59 +07:00
Nathan DeTar
5c3f0d1e5f
Docs for the cast integration (#172)
* 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
2022-02-14 17:10:25 +07:00
047fc1f3f1
bump release version 2022-02-13 10:58:58 +07:00
8fce31b983
fix reindex and deactivate error 2022-02-13 10:05:08 +07:00
8f87c4774a
restructure and update roadmap 2022-02-12 21:59:51 +07:00
fef866bf0b
indicate max page size on downloads page, add note to wiki, #156 2022-02-12 19:42:07 +07:00
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
78720b33b7
clean exit when auto subtitle extract fails 2022-02-12 18:52:03 +07:00
ce4fa8ee61
delete existing before of reindexing subtitles 2022-02-12 18:22:01 +07:00
13cbada539
add section about subtitles and extend integrations 2022-02-12 17:09:25 +07:00
a5f6be16e1
switch subtitle source order 2022-02-12 17:09:05 +07:00
5abf988810
add FAQ wiki page 2022-02-12 16:27:31 +07:00
b494fc10af
cover edge cases where end timestamp is after start timestamp of new cue 2022-02-12 16:03:04 +07:00
d99ce0d98e
add atomicparsley to container for better thumb embed, #155 2022-02-12 09:58:14 +07:00
09500557c8
open fail on subtitle line parse error 2022-02-11 18:47:29 +07:00
7524691b79
implement API token revoke 2022-02-11 18:19:10 +07:00
f1de8db4f3
hide API token by default 2022-02-11 17:18:37 +07:00
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