Commit Graph
94 Commits
Author SHA1 Message Date
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 2e03fecb13 update readme 2022-01-01 19:15:04 -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 bc58d1677a update readme 2021-12-31 17:08:50 -08:00
ksyasuda eec96f21b4 replace playlist feature with play from file and update readme 2021-12-31 17:03:38 -08:00
ksyasuda 646564fb32 update to dev install 2021-12-31 17:03:04 -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 e7f365c173 fix aniwrapper get_quality not setting properly
also add ability to specify quality in command-line mode
2021-12-30 21:39:41 -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 5d0ddd59b0 update readme 2021-12-30 11:57:16 -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 31ed4ceb5a remove unset variable check 2021-12-19 20:12:04 -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 741b933b83 change streaming gif to link since it's too large 2021-12-15 18:07:39 -08:00
ksyasuda 138d97608e add check for existing skip-intro script in setup
a few updates to the readme as well
2021-12-15 17:42:16 -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 a8a87744e8 update rofi config to steal window focus
could not input data on floating window managers
2021-11-29 22:51:44 -08:00
ksyasuda 3b762fc4e4 update gogoanime link to fix query 2021-11-29 13:08:41 -08:00
ksyasuda cc9f7e7a44 update readme 2021-11-26 17:56:06 -08:00
ksyasuda f2100823e4 update setup script to be queit by default
also make change so setup script does not run the if aniwrapper config
directory already exists
2021-11-26 17:54:52 -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 78b8dbb3eb update aniwrapper sync to pass verbose option 2021-11-22 12:42:07 -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 737d066ced fix db history sync 2021-11-20 13:07:47 -08:00
ksyasuda 7ee540601e Merge branch 'master' of github.com:ksyasuda/aniwrapper 2021-11-18 15:55:41 -08:00
ksyasuda d9ee043d9c update install path 2021-11-18 15:53:33 -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 c5a1919dc3 update readme 2021-11-12 19:22:18 -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 3169872eac update readme 2021-11-10 01:21:34 -08:00
ksyasuda 29a656784a update db.sh to set default directory if not exist 2021-11-10 00:22:24 -08:00
ksyasuda 3852365391 change name of scripts directory to lua 2021-11-09 22:26:43 -08:00
ksyasuda 0c725fbf05 update table of contents 2021-11-09 00:56:46 -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 ce362345a4 Fix readme 2021-11-08 09:44:49 -08:00
ksyasuda 74cd8fdbd5 update readme 2021-11-08 01:49:05 -08:00
ksyasuda 6a1bfe1183 add error checking to playlist mode 2021-11-08 00:55:36 -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 47df581ba6 update name of repo and config dir to aniwrapper 2021-11-08 00:37:24 -08:00
ksyasuda bb4de525d4 update readme and add screenshots 2021-11-08 00:37:08 -08:00
ksyasuda 7c0f505231 update rofi config file and add db cleanup option 2021-11-07 22:02:31 -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
ksyasuda 2c0921842e fix specifying range (again) 2021-11-01 19:48:19 -07:00
ksyasuda f363d2fca5 fix ordering of episode numbers 2021-11-01 17:41:00 -07:00
ksyasuda 2912950366 fix colorscheme for active items
update history function to use database instead of history file
2021-11-01 17:05:43 -07:00
ksyasuda e42629d406 add verbose check to more print statements 2021-11-01 15:26:03 -07:00
ksyasuda 63450b38ec fix colorscheme for seearched anime and watched ep 2021-11-01 15:21:58 -07:00
ksyasuda e0df1a8dbf change search/watch date from date to datetime 2021-11-01 12:53:10 -07:00
ksyasuda c69695fb75 update setup to not delete directory
also update rofi style to better match my colorscheme
2021-11-01 11:59:59 -07:00
ksyasuda 7b956e1f38 fix path to ani-cli command in aniwrapper script 2021-11-01 03:58:54 -07:00
ksyasuda 4250ab4fd3 change location of config files to .config/ani-cli
fix small bugs
2021-11-01 03:16:38 -07:00
ksyasuda 9e4722da4e add skip-intro.lua script and modify setup 2021-11-01 00:24:43 -07:00
ksyasuda a40e673ed3 change rofi menu to have 12 lines by default
no longer run count query on database and set lines based off the count
2021-11-01 00:23:51 -07:00
ksyasuda 1745810ade update setup file and add makefile to make simplify install 2021-10-31 13:24:41 -07:00
ksyasuda 7b5c1fe52d change logic to handle anime/episode history 2021-10-31 03:30:53 -07:00
ksyasuda 9ff2e5011f add aniwrapper script 2021-10-30 16:30:40 -07:00
ksyasuda 817662f489 add option to specify download directory 2021-10-30 16:30:00 -07:00
ksyasuda 9da0043ea5 fix queries in other db functions 2021-10-30 12:38:42 -07:00
ksyasuda 53a6557d08 remove unused option in config file 2021-10-30 11:30:19 -07:00
ksyasuda a11d55b726 fix checkdb function and add needed .rasi conf
fixed checkdb function always returning 2 instead of the count

also add arc_dark_transparent_colors.rasi config file for use in meh.rasi
2021-10-30 11:27:37 -07:00
ksyasuda ec2e46df66 update location of database and rofi config file 2021-10-30 00:53:18 -07:00
ksyasuda 9254956775 change most menus to rofi and add history db
all menus (except the last one) use rofi menu

additionally all anime's selected in a search or episodes selected to
watch will be inserted into a local sqlite3 database [history.sqlite3]
2021-10-29 22:49:52 -07:00