Commit Graph

190 Commits

Author SHA1 Message Date
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
ksyasuda
ce75838882 fix anime selection menu styling
getting list of active elements for rofi was broken due to bad not actually
incrementing the loop each iteration
2022-01-01 18:59:11 -08:00
ksyasuda
ef5e8b6ec3 update process to selectively bypass anime selection
bypass anime selection menu when selecting an anime from the search
history list.  When supplying a new search query, the regular anime
selection process is run
2022-01-01 17:37:22 -08:00
ksyasuda
7b03f71130 update readme and fix handling of multiword vs selected search query 2022-01-01 16:54:32 -08:00
ksyasuda
0b72c296bf add check for notify-send in download function
if notify-send not installed, prints to stdout.  Makes it so aniwrapper
    can be run in command-line mode on servers without a display (or
    notification) server running
2021-12-30 21:58:02 -08:00
ksyasuda
e883c5fa6a add ability to disable rofi with -c flag
it's basically just ani-cli then, but I haven't found a way to do
optional parameters in getopts yet
2021-12-30 21:20:40 -08:00
ksyasuda
3009a6d72f fix new anime query not working 2021-12-30 20:06:26 -08:00
ksyasuda
a1486457da add MYsan icon and create icons dir in setup 2021-12-30 20:00:49 -08:00
ksyasuda
072680d637 clean up code a bit and update downloads logic
fix script inserting into watch_history when downloading
modify logic so script quits immediately once done downloading episode(s)
2021-12-30 16:47:08 -08:00
ksyasuda
a1b930f28a change download notification to include anime id 2021-12-30 14:30:10 -08:00
ksyasuda
ae66b83df2 fix selecting from search history and add icon to download notification
icon installed to $XDG_CONFIG_HOME/aniwrapper/
2021-12-30 11:57:53 -08:00
ksyasuda
9dcb67f172 fix ani-cli script for streaming and downloading
implemented fixes from @RaynardGerraldo on the main script
https://github.com/pystardust/ani-cli
2021-12-30 11:08:50 -08:00
ksyasuda
89fb51c5bf update base url to point to new gogoanime link 2021-12-23 16:39:10 -08:00
ksyasuda
41cfdb41d6 implement optional quality selection with -q flag
by default the script searches for the best quality video
with the -q flag, you will be prompted to choose betweeen 'best' and
'worst' quality
2021-12-16 00:21:58 -08:00
ksyasuda
e539923da8 fix episode downloading 2021-12-13 15:12:22 -08:00
ksyasuda
35afc20461 fix anime not playing 2021-12-10 23:15:40 -08:00
ksyasuda
3b762fc4e4 update gogoanime link to fix query 2021-11-29 13:08:41 -08:00
ksyasuda
0135288231 clean up code some more 2021-11-25 10:52:59 -08:00
ksyasuda
5d4e0f5a95 clean up code a bit and remove list history
cleaned up comments, unused code, and unnecessary verbose checks

also temporarily removing list history option becuase it is horrible and not
being used in aniwrapper currently
2021-11-24 18:24:17 -08:00
ksyasuda
ee507bd220 Merge branch 'master' of github.com:ksyasuda/aniwrapper 2021-11-21 21:44:17 -08:00
ksyasuda
8a531d1818 update logging in search_history function 2021-11-21 21:43:48 -08:00
ksyasuda
c72b3fdece update readme and change setsid to nohup
change setsid to nohup for mac compatibility on ani-cli
2021-11-20 13:50:12 -08:00
ksyasuda
7ee540601e Merge branch 'master' of github.com:ksyasuda/aniwrapper 2021-11-18 15:55:41 -08:00
ksyasuda
a2eedef977 update sync history function 2021-11-18 15:52:37 -08:00
ksyasuda
867a237b9a fix selecting anime from list 2021-11-13 01:39:54 -08:00
ksyasuda
706b66ae3a fix broken search for new anime 2021-11-12 22:17:19 -08:00
ksyasuda
ff703721f6 fix continue and add delete from playlist
made it so playlist file is specified directly in ani-cli instead of
going with the default
2021-11-12 17:22:22 -08:00
ksyasuda
1c5ff3bc78 udpate logging for sync 2021-11-11 15:22:19 -08:00
ksyasuda
95781fd750 fix anime query 2021-11-11 15:17:55 -08:00
ksyasuda
69e4ee0c87 fix anime selection breaking after 9 entries 2021-11-11 15:10:59 -08:00
ksyasuda
65511a2961 add option for private key path in sync database 2021-11-11 14:36:04 -08:00
ksyasuda
4853dea3d5 add sync database option
Added option to sync the history databases for the same user
across devices on the same network (or the internet if that is set up on
the machines)
2021-11-11 14:13:11 -08:00
ksyasuda
ea63ad4ac8 update readme and turn off verbose mode 2021-11-09 00:54:55 -08:00
ksyasuda
4b7fccec1c fix playlist from file and add more logging 2021-11-08 17:41:46 -08:00
ksyasuda
fd83a8c4a4 fix downloading to specific directory
update config directory name ani-cli -> aniwrapper

deprecate text-based history file
2021-11-08 00:41:30 -08:00
ksyasuda
28666ca70a fix querying anime 2021-11-06 21:18:24 -07:00
ksyasuda
44e834c3de change ordering of watched anime to order by id
update name from queue to playlist
2021-11-04 23:22:34 -07:00
ksyasuda
e2106e2186 fix playlist from file 2021-11-04 23:04:05 -07:00
ksyasuda
cc9a0a870f fix getting query from search history or input 2021-11-04 19:45:17 -07:00
ksyasuda
a5033db481 add basic playlist functionality for 'queuing' 2021-11-04 18:37:16 -07:00
ksyasuda
40202b7c65 update default theme file and make config a var
move skip intro script into scripts directory

change setup.sh to reflect new directory and theme file
2021-11-02 15:18:23 -07:00
ksyasuda
404beb96c0 modify setup to locally set $XDG_CONFIG_HOME env var if it is not set 2021-11-02 10:09:02 -07:00