-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add flag to use ytfzf as yt-search #33
Conversation
Should work now |
@JojiiOfficial instead of the last commit. Make thumbnail flag=0 in the start itself if the option U is given. That would be much cleaner what do you thing? |
Yep you're right! |
Nvm, then you don't see the thumbnails when you select the video |
Hey, I just understood what you meant in the first solution. |
No hurries. There are (should be) no more '.' coming from the thumbnail download meter. |
Let, us do it in a way, such that both the thumbails and urls work together. Lets rework that part comletely ig. One option could to be to completely remove the dots and the downloading thumbs that is being printed. |
That is exactly the way how it's working right now :) Edit: Nvm I'm mistaken, it worked but apparently I executed the wrong script. I agree with reworking this part, although I have no idea how you're expecting it to be nor am I a good bash scripter |
I (hopefully) fixed it. Generally a |
@JojiiOfficial Nice work. Im merging this. Ill clean the if statemets into one liners using &&'s |
Add flag to use ytfzf as yt-search
Added a new flag
-L
to use ytfzf as search tool, the youtube URL of the selected link will be printed out to stdout. I didn't go through all of the code so I may have missed something.Edit: This doesn't work together with downloading thumbnails.