Commit Graph

231 Commits

Author SHA1 Message Date
ksyasuda
aa39625956 port over new decrypt function to fix scraping issue 2022-03-03 18:04:20 -08:00
ksyasuda
4af41db0bf add openssl to dep_ch function 2022-02-22 08:30:57 -08:00
ksyasuda
8882405c0e add option to download current episode 2022-02-22 08:18:14 -08:00
ksyasuda
4d704d4b32 make queries not distinct since uniqueness is enforced at table level 2022-02-21 19:41:50 -08:00
ksyasuda
7a3a61bb58 run insert queries in background before search_eps function 2022-02-20 20:00:25 -08:00
ksyasuda
f95ae51af8 check exit code directly in update_date function 2022-02-20 19:57:40 -08:00
ksyasuda
8fb570b003 simplify logic in find_media function 2022-02-20 19:11:14 -08:00
ksyasuda
d7bd5899b5 revert change for now so new episodes can be picked up 2022-02-20 17:47:16 -08:00
ksyasuda
924b0eed76 update watch history when downloading anime 2022-02-20 15:36:34 -08:00
ksyasuda
74ac27bb79 update link parsing 2022-02-19 22:14:01 -08:00
ksyasuda
7c85a91d65 spaces -> tabs 2022-02-19 22:13:07 -08:00
ksyasuda
04cad2425b fix selecting new anime 2022-02-19 02:10:05 -08:00
ksyasuda
3bfbaa7749 add anime lookup table for tracking start/end episodes for each anime/season 2022-02-19 01:35:41 -08:00
ksyasuda
f23586116d add alter and monokai theme 2022-02-18 12:18:28 -08:00
ksyasuda
6e5b3c463a fix script not quitting when escaping from play from file mode 2022-02-16 23:58:20 -08:00
ksyasuda
1461c3bc62 change -only-match to -no-custom to allow ESC to quit rofi menus 2022-02-15 02:22:59 -08:00
ksyasuda
4c2d7ae27e window titles for rofi 2022-02-15 02:20:10 -08:00
ksyasuda
d2611e6e33 fix updating datetime and enforce list mode on sqlite3 2022-02-15 01:26:19 -08:00
ksyasuda
90dec870e0 less hardcoding in theme selection and row highlighting 2022-02-13 12:06:06 -08:00
ksyasuda
e29d3f7db3 update base_url to new site 2022-02-13 00:16:27 -08:00
ksyasuda
7907e809b8 make menus have active entry selected by default 2022-02-11 17:50:46 -08:00
ksyasuda
7a0eea5d69 make quality highlighting more dynamic 2022-02-11 17:41:31 -08:00
ksyasuda
9f80566b6e change continue to use search history so sorting works as intended 2022-02-09 20:52:54 -08:00
ksyasuda
3b5511cfb4 add 480p quality 2022-02-09 20:22:54 -08:00
ksyasuda
3647be366f remove flamingo theme and add nord2 2022-02-09 19:50:26 -08:00
ksyasuda
2221d550c0 remove whitespace from ep number if coming from continue function 2022-02-08 18:27:16 -08:00
ksyasuda
86a4e187a6 improvements 2022-02-08 00:12:43 -08:00
ksyasuda
fa958884bb convert tabs to spaces 2022-02-07 12:06:31 -08:00
ksyasuda
b272fc3994 make videos open in background in play from file 2022-02-07 03:20:29 -08:00
ksyasuda
593b66edea remove support for playing mp3 files in play from file 2022-02-07 02:09:09 -08:00
ksyasuda
cdfe2674d7 port over the new ani-cli command-line menu code 2022-02-07 01:40:40 -08:00
ksyasuda
7d08c212fa update error handling for episode selection 2022-02-06 21:08:27 -08:00
ksyasuda
5c7af5c36d add ability to supply player function (mpv/mplayer/vlc fully supported) 2022-02-05 16:46:12 -08:00
ksyasuda
1fddd452fe update sizing of reselect quality menu 2022-02-05 14:27:29 -08:00
ksyasuda
5aad3a7263 update episode selection menu width 2022-02-05 14:24:09 -08:00
ksyasuda
7c71e05317 update ani-cli to allow passing in search query 2022-02-04 17:58:08 -08:00
ksyasuda
ebc8587e6f clean up code a bit 2022-02-03 22:18:51 -08:00
ksyasuda
7e71788604 restructure db code 2022-02-03 21:59:50 -08:00
ksyasuda
24f3c25142 update quality selection menu 2022-02-03 15:25:15 -08:00
ksyasuda
985a19fcf0 standardize how insert_history function works 2022-02-03 15:18:04 -08:00
ksyasuda
a8a32968da highlight and print out current quality when seleting new quality 2022-02-03 15:10:07 -08:00
ksyasuda
2e9e28883e clean up code a bit 2022-02-03 00:56:12 -08:00
ksyasuda
a726b9d550 improvements 2022-02-03 00:40:59 -08:00
ksyasuda
f882f7d3d2 improve anime_selection menu performance 2022-02-03 00:34:50 -08:00
ksyasuda
9ef5b5092f make silent option even more silent 2022-02-01 11:43:02 -08:00
ksyasuda
d4304a6e36 remove back option if searching from / 2022-02-01 11:36:10 -08:00
ksyasuda
ac47d9c350 make silent option as silent as possible? 2022-01-31 23:32:26 -08:00
ksyasuda
7ae041e95a update quality selection menu to match aniwapper version 2022-01-31 22:59:55 -08:00
ksyasuda
e8809444e3 add option to replay current video in different quality 2022-01-31 22:50:33 -08:00
ksyasuda
86f5da5976 Merge branch 'master' of github.com:ksyasuda/aniwrapper 2022-01-31 03:23:26 -08:00
ksyasuda
9a19dbf60c fix bug with marking played files as active 2022-01-31 03:18:08 -08:00
ksyasuda
ddb8d01ff2 only get base_url if scrape is stream or history 2022-01-31 02:42:35 -08:00
ksyasuda
baeadacae6 add silent mode option 2022-01-29 01:01:37 -08:00
ksyasuda
b07948cee2 remove jq as dependency 2022-01-28 12:19:24 -08:00
ksyasuda
bf4cd37b32 add message back to download prompt 2022-01-23 16:49:36 -08:00
ksyasuda
3cec4558d2 fix some corner cases with play from file 2022-01-22 11:13:41 -08:00
ksyasuda
e01040e15c fix bug in supplying multi word query to stream function 2022-01-22 00:55:29 -08:00
ksyasuda
8902875806 make insert statements blocking to avoid locks 2022-01-21 00:27:39 -08:00
ksyasuda
f40d5d2f91 fix loging bug and update search history list to order by search date 2022-01-19 23:27:25 -08:00
ksyasuda
ce2004e09c change name of logging function to not conflict with builtin 2022-01-15 19:32:06 -08:00
ksyasuda
74d511b982 refactor and clean up code a bit 2022-01-15 15:12:42 -08:00
ksyasuda
86531b3a59 add jq as dependency for json parsing 2022-01-15 02:00:14 -08:00
ksyasuda
44438b3a47 update to scrape gogoplay 2022-01-14 12:05:49 -08:00
ksyasuda
9ad13ae95a convert more here strings to process substituion 2022-01-11 23:41:47 -08:00
ksyasuda
b4afebe72c better sync history functions 2022-01-11 22:01:05 -08:00
ksyasuda
9662a28aa4 update themes and allow for specifying dpi with -D 2022-01-11 17:05:11 -08:00
ksyasuda
e5bb21b4e1 change find media function to be tail recursive? 2022-01-11 12:37:59 -08:00
ksyasuda
e8944dcc69 replace regex with variable expansion 2022-01-11 11:53:21 -08:00
ksyasuda
54cad7d62b small fixes and update to nord theme 2022-01-09 12:34:21 -08:00
ksyasuda
0e1130f7c0 add directory tracking and better regex 2022-01-09 03:22:22 -08:00
ksyasuda
ce27ce7684 more improvements and add nord theme 2022-01-09 02:33:29 -08:00
ksyasuda
9be6dccf79 improvements 2022-01-08 15:34:18 -08:00
ksyasuda
99691746c7 improvements 2022-01-08 14:55:17 -08:00
ksyasuda
3b64d74bf2 fix check_date bug 2022-01-07 12:10:20 -08:00
ksyasuda
d19ea5f478 add database connect/query args to ani-cli 2022-01-07 10:54:29 -08:00
ksyasuda
b1b263fb56 make sync watch history a lot better 2022-01-07 10:50:52 -08:00
ksyasuda
5e5d004728 fix scraping 2022-01-07 09:24:13 -08:00
ksyasuda
6011e1d5a0 add quit option to anime selection menu 2022-01-06 23:29:45 -08:00
ksyasuda
0b2e28f2fd add handling for default and custom themes in scripts 2022-01-06 19:34:24 -08:00
ksyasuda
e734fb131f add better dracula theme and fix some bugs 2022-01-06 16:03:31 -08:00
ksyasuda
d30fd90b9b fix file_history inserting full path instead of directory path 2022-01-06 13:57:11 -08:00
ksyasuda
a8e4e87197 udpate code to mark watched files as active in rofi 2022-01-06 13:42:54 -08:00
ksyasuda
952519de8b add dracula type theme and update script to accept theme arg 2022-01-06 02:00:37 -08:00
ksyasuda
ddf2de4fe8 add .webm filetype as a playable file 2022-01-05 11:44:42 -08:00
ksyasuda
6af81cb769 update sync watch history to use insert_history function 2022-01-05 11:23:16 -08:00
ksyasuda
797df2b1fb update to scrape sbplay 2022-01-05 10:54:19 -08:00
ksyasuda
7ca1907998 update code to insert into file history table 2022-01-04 23:06:12 -08:00
ksyasuda
090f0e84e7 move play from file function to ani-cli script 2022-01-04 18:07:41 -08:00
ksyasuda
f5219775e4 clean up code and squash some small bugs 2022-01-04 11:38:13 -08:00
ksyasuda
f9d4f65f22 make play from file safer 2022-01-04 00:57:22 -08:00
ksyasuda
f814497f44 apply fixes for scraping/downloading 2022-01-03 22:12:24 -08:00
ksyasuda
9d7af52ad0 clean up code and fix sync watch history bug 2022-01-03 17:00:01 -08:00
ksyasuda
d48c702db1 clean up code a bit 2022-01-02 23:18:27 -08:00
ksyasuda
987e84e9cd clean up code and update readme to reflect 2022-01-02 15:14:39 -08:00
ksyasuda
bf1a35f869 fix half episodes in watch history 2022-01-02 14:07:00 -08:00
ksyasuda
2076a5241f fix half episode handling 2022-01-02 11:19:31 -08:00
ksyasuda
ef105c5186 apply patches from main script for better scraping
add more options for video quality
2022-01-02 11:00:49 -08:00
ksyasuda
55470e87e9 update code formatting 2022-01-02 09:53:16 -08:00
ksyasuda
37f60ffb21 clean up code a bit and fix sync watch history 2022-01-01 21:10:53 -08:00
ksyasuda
15ea028c4b change wording on anime selection rofi prompt
previous wording implied only a numbers could be inputted (as is the
case with ani-cli).  Updated to 'Enter selection'
2022-01-01 19:19:15 -08:00