Skip to content

Fix #464#477

Merged
port19x merged 5 commits intopystardust:masterfrom
71zenith:master
Feb 3, 2022
Merged

Fix #464#477
port19x merged 5 commits intopystardust:masterfrom
71zenith:master

Conversation

@71zenith
Copy link
Collaborator

@71zenith 71zenith commented Feb 2, 2022

No description provided.

@port19x port19x linked an issue Feb 2, 2022 that may be closed by this pull request
@port19x
Copy link
Collaborator

port19x commented Feb 2, 2022

Seems like you missed the most recent bugfixes, merge them into your fork please.
Functionality wise, could/should quality selection be a submenu?

@port19x
Copy link
Collaborator

port19x commented Feb 2, 2022

can confirm working tho

Copy link
Contributor

@RaynardGerraldo RaynardGerraldo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works

ani-cli Outdated
ep_choice_start=$((episode + 1))
ep_choice_end=""
;;
b)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try using tabs here to maintain uniform indent

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was using tabs before the new commit

ani-cli Outdated
menu_line_alternate "replay current episode" "r"
menu_line_alternate "search for another anime" "a"
menu_line_alternate "search history" "h"
menu_line_alternate "select quality" "b"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

menu_line_alternate "select quality (current: $quality)" "b"

to let the user know what the current quality is

Comment on lines 633 to 636
prompt "Select quality"
quality="$REPLY"
video_url=$(get_video_quality "$dpage_link")
;;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also why not just set quality
just this here works

		b)
			prompt "Select quality"
			quality="$REPLY"
			;;
```I

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what the point of fetching video_url? we are anyways fetching it open_episode, the current approach does a redundant part which slows the script

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, will remove that part

@71zenith 71zenith requested a review from pystardust February 2, 2022 15:27
@RaynardGerraldo RaynardGerraldo added category: ui ux Everything ui / ux type: enhancement (depreceated) improvements to an existing feature labels Feb 2, 2022
@RaynardGerraldo RaynardGerraldo added this to the v1.7 milestone Feb 2, 2022
@port19x port19x merged commit ae6c7ab into pystardust:master Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: ui ux Everything ui / ux type: enhancement (depreceated) improvements to an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

video quality selection

4 participants