Skip to content

Commit

Permalink
update todo
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixthrush committed Nov 8, 2024
1 parent 3e0d0ec commit ea49a72
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 16 deletions.
25 changes: 16 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ These packages are automatically installed when you set up AniWorld Downloader u
- [x] Add Captcha bypass for headless browser fetches.
- [x] Allow changing final output folder
- [x] Add option to select a random anime optionally via genre
- [x] Add additional installation variants.
- **Bug Fixes**
- [x] Fix season episode count.
Expand All @@ -415,15 +416,21 @@ These packages are automatically installed when you set up AniWorld Downloader u
- [x] Fix mpv auto download on Windows 10
### Upcoming Tasks
- [ ] Syncplay support for other sites
- [ ] Fix --only-direct-link language error
- [ ] Sort argument help section
- [ ] Implement an ordered list for provider fallback in globals.py.
- [ ] Remove unnecessary dependencies, add additional installation variants (e.g., without curses dependency).
- [ ] Fix Aniskip for seasons beyond the first.
- [ ] Optimize performance to reduce requests and eliminate duplicate function calls.
- [ ] Add support for Doodstream.
- [ ] Anonymize logs by removing usernames
- [ ] New Stable Release -> Full Testing with small bug fixes
- [ ] Complete codebase rewrite in new v.3 branch
- [ ] Restructure argument handling using another file and globally accessible objects
- [ ] Fix --only-direct-link language error
- [ ] Sort argument help section
- [ ] Implement missing argument options
- [ ] Syncplay support for other sites and local playback
- [ ] Implement an ordered list for provider fallback in globals.py
- [ ] Remove unnecessary dependencies
- [ ] Fix Aniskip for seasons beyond the first
- [ ] Optimize performance to reduce requests and eliminate duplicate function calls
- [ ] Add generic fallback extractor
- [ ] Anonymize logs by removing usernames
- [ ] Add support for Doodstream
- [ ] Add support for other sites
<p align="right">(<a href="#readme-top">back to top</a>)</p>
Expand Down
18 changes: 11 additions & 7 deletions src/aniworld/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ def parse_arguments():
episode_group = parser.add_argument_group('Episode Options')
episode_group.add_argument('-e', '--episode', type=str, nargs='+', help='List of episode URLs')
episode_group.add_argument('-f', '--episode-file', type=str, help='File path containing a list of episode URLs')
episode_group.add_argument('-lf', '--episode-local', action='store_true', help='NOT IMPLEMENTED YET - Use local episode files instead of URLs')

# Action options
action_group = parser.add_argument_group('Action Options')
Expand All @@ -372,21 +373,24 @@ def parse_arguments():
action_group.add_argument('-L', '--language', type=str, choices=['German Dub', 'English Sub', 'German Sub'], help='Language choice')
action_group.add_argument('-p', '--provider', type=str, choices=['Vidoza', 'Streamtape', 'VOE', 'Doodstream'], help='Provider choice')

# Additional options
additional_group = parser.add_argument_group('Additional Options')
additional_group.add_argument('-k', '--aniskip', action='store_true', help='Skip intro and outro')
additional_group.add_argument('-K', '--keep-watching', action='store_true', help='Continue watching')
additional_group.add_argument('-r', '--random-anime', type=str, nargs='?', const="all", help='Select random anime (default genre is "all", Eg.: Drama)')

# Anime4K options
anime4k_group = parser.add_argument_group('Anime4K Options')
anime4k_group.add_argument('-A', '--anime4k', type=str, choices=['High', 'Low', 'Remove'], help=('Set Anime4K optimised mode (High Eg.: GTX 1080, RTX 2070, '
'RTX 3060, RX 590, Vega 56, 5700XT, 6600XT; Low Eg.: GTX 980, '
'GTX 1060, RX 570, or Remove).'))

# Syncplay options
syncplay_group = parser.add_argument_group('Syncplay Options')
syncplay_group.add_argument('-sH', '--syncplay-hostname', type=str, help='NOT IMPLEMENTED YET - Set syncplay hostname')
syncplay_group.add_argument('-sU', '--syncplay-username', type=str, help='NOT IMPLEMENTED YET - Set syncplay username')
syncplay_group.add_argument('-sR', '--syncplay-room', type=str, help='NOT IMPLEMENTED YET - Set syncplay room')
syncplay_group.add_argument('-sP', '--syncplay-password', type=str, nargs='+', help='Set a syncplay room password')

# Miscellaneous options
misc_group = parser.add_argument_group('Miscellaneous Options')
misc_group.add_argument('-P', '--syncplay-password', type=str, nargs='+', help='Set a syncplay room password')
misc_group.add_argument('-k', '--aniskip', action='store_true', help='Skip intro and outro')
misc_group.add_argument('-K', '--keep-watching', action='store_true', help='Continue watching')
misc_group.add_argument('-r', '--random-anime', type=str, nargs='?', const="all", help='Select random anime (default genre is "all", Eg.: Drama)')
misc_group.add_argument('-D', '--only-direct-link', action='store_true', help='Output direct link')
misc_group.add_argument('-C', '--only-command', action='store_true', help='Output command')
misc_group.add_argument('-x', '--proxy', type=str, help='Set HTTP Proxy - E.g. http://0.0.0.0:8080')
Expand Down

0 comments on commit ea49a72

Please sign in to comment.