Youtube download via Webinterface

Questions and answers on how to get the most out of FFAStrans
Post Reply
knk
Posts: 38
Joined: Wed Jun 21, 2017 3:50 pm

Youtube download via Webinterface

Post by knk »

Hello Transcoding people!

I've been trying to come up with new ways of using the WebInterface so I could keep all things in one place.

To use the YT download tool without having to > open file explorer > navigate to folder > open browser on YT > drag and drop url to folder...
I though of creating a very simple workflow consisting of:
> populate field as input > generate text with url bodytype
this way I could copy YT link to the text input field on the workflow via FFAS web browser, and not worring about file explorer interactions, or even leaving the web browser environment.

Problem...

On the web browser, the workflow stays suspended until I Add any file to the selected files box, regardless of that being just a dummy file in the process.
Is there any way I could kickstart the said workflow without having to add "dummy" media?

Thanks in advance!
emcodem
Posts: 1815
Joined: Wed Sep 19, 2018 8:11 am

Re: Youtube download via Webinterface

Post by emcodem »

knk, good to hear from you!

Basically you want to just submit the url instead of a file path, no other variables involved. E.g. you can use the "Add" button in the job submit interface to enter the URL as source file path. Thats the main purpose of this Add button - to submit url from streams or anything else that is not a file.
Also, in recent versions 1.3 +, you don't need to generate a lnk file, just submit the url directly to the youtube decode processor. Same as rightclick->submit file from input (and enter yt url) in the workflow editor.
So a workflow can look like: youtube->deliver (thats really all, no more magic).

Additionally, you might have already seen it but if you want to further simplify the workflow, you could use a browser plugin "addtoany". If you do that, you can click like "send to ffastrans" directly in chrome when you opened the youtube page and it will open a new tab, url is already added to files list. All you do from there is click on the correct workflow and submit.
https://ffastrans.com/frm/forum/viewtop ... oany#p5094
emcodem, wrapping since 2009 you got the rhyme?
emcodem
Posts: 1815
Joined: Wed Sep 19, 2018 8:11 am

Re: Youtube download via Webinterface

Post by emcodem »

Btw, i made the "mistake" to just display "all variables" on webui job submitter in case you did not define any special s_webui* variables.
If your job uses user_variables and you want to just hide all from webinterface, ending up with nothing else than a "submit" button, you can do like this:
Create a vaiable named s_webui_hidden_input and "use" it in your workflow. In the screenshot i use a populate processor to set s_webui_hidden_input to %s_webui_hidden_input% which should be enough to hide all other variables from the webui job submit gui.

hidden.png
hidden.png (195.98 KiB) Viewed 3379 times
emcodem, wrapping since 2009 you got the rhyme?
knk
Posts: 38
Joined: Wed Jun 21, 2017 3:50 pm

Re: Youtube download via Webinterface

Post by knk »

Thanks for the reply!

Yes, many possibilities indeed.
Post Reply