submits URLs via WebUI to Youtube proc

Use this forum to request features. Maybe you'll get lucky!
Post Reply
crispyjones
Posts: 32
Joined: Wed Dec 27, 2017 3:21 am

submits URLs via WebUI to Youtube proc

Post by crispyjones » Wed Mar 11, 2020 2:57 am

The Youtube processor is a front end for youtube-dl. Youtube-dl is designed to take URLs directly in the form https://www.youtube.com/watch?v=blahblah. When using the Youtube processor it expects a "file" input in the form of a shortcut ( *.lnk *.url *.website) and FFAStrans deals with converting that shortcut/link into a url youtube-dl understands. This works great if you can access the watch folder as you just drag and drop the url directly from the browser bar. This doesn't work well if you only have access to the WebUI. You have to create a shortcut locally, upload the shortcut (it only seems to work with *.website) and then load that file into the workflow, which is a really long inefficient way of passing a URL to this workflow.

What would be very handy is to allow the youtube processor to accept URL addresses directly from the start processor drop down. In the current configuration I can already add a URL, but the watch folders expect files and the job fails. The youtube processor isn't in the Start Processor selection list. So maybe another way to word the feature request is allow direct URL submits to the youtube processor? Or maybe a special youtube only watch folder that can deal with URLs?

It's also very possible I've missed the easy way to do this that already exists!

example.png
example.png (23.58 KiB) Viewed 308 times

emcodem
Posts: 534
Joined: Wed Sep 19, 2018 8:11 am

Re: submits URLs via WebUI to Youtube proc

Post by emcodem » Wed Mar 11, 2020 8:21 am

Hey @crispyjones,

yeah, i tried the same and wondered... but the youtube decoder currently only accepts .url files as input, no direct url strings.
What you should do is to start with a generate text file processor and create the .url file for the youtube decoder like that:

Text Field:

Code: Select all

[InternetShortcut]
URL=%s_source%
Text File name:

Code: Select all

link.url
Folder:

Code: Select all

%s_job_work%
Check "set text file as source" at bottom.

After that, connect the youtube decoder to the output of the text file processor.

By the way, i really need to push an update with a correctly sized version of the "french helmet", people may think that momocampo has a bigger one than steinar and me ;-)

Taking this one step further, you could use a browser extension like "add to any" for chrome, which gives you a custom button on the browser, near to the url bar. By pressing this button, the current url is taken and posted to a new website:
http://HOST_OF_FFASTRANS:3002/webinterface/components/jobstarter.html?file=${link}

This way, the jobstarter page opens in standalone mode, and the url is already "added" to the list of to be submitted files.

momocampo
Posts: 446
Joined: Thu Jun 08, 2017 12:36 pm
Location: France-Paris

Re: submits URLs via WebUI to Youtube proc

Post by momocampo » Wed Mar 11, 2020 9:47 am

Hello guys,

To be honest I really don't know what is the problem with my "French helmet" ...:) :)
It's because I have a bigger head than Steinar and you Encodem :lol:
;)

crispyjones
Posts: 32
Joined: Wed Dec 27, 2017 3:21 am

Re: submits URLs via WebUI to Youtube proc

Post by crispyjones » Wed Mar 11, 2020 4:52 pm

Hah, I did not realize it was a French helmet! I saw it as some oddly folded cowboy hat and wondered "who is the american working on this?" :lol:

The add to any chrome extension is a brilliant idea, thank you!

momocampo
Posts: 446
Joined: Thu Jun 08, 2017 12:36 pm
Location: France-Paris

Re: submits URLs via WebUI to Youtube proc

Post by momocampo » Wed Mar 11, 2020 5:17 pm

ohhhh myyy goodddd...
Poor Napoleon, I think he is crying from his grave.
Napoleon.png
Napoleon.png (65.96 KiB) Viewed 277 times
Napoleon, pardonne leur :)

crispyjones
Posts: 32
Joined: Wed Dec 27, 2017 3:21 am

Re: submits URLs via WebUI to Youtube proc

Post by crispyjones » Wed Mar 11, 2020 6:22 pm

I see it now :D
Just making sure this guy isn't on your dev team. Seriously though this is an amazing tool, thanks for all you do.
download.jpg
download.jpg (89.24 KiB) Viewed 272 times

momocampo
Posts: 446
Joined: Thu Jun 08, 2017 12:36 pm
Location: France-Paris

Re: submits URLs via WebUI to Youtube proc

Post by momocampo » Wed Mar 11, 2020 7:21 pm

Cooolll, thanks a lot crispy ;)
you're right, the mistake is possible but I really don't think it is French food.... :D
See you friend !

B.

emcodem
Posts: 534
Joined: Wed Sep 19, 2018 8:11 am

Re: submits URLs via WebUI to Youtube proc

Post by emcodem » Thu Mar 12, 2020 1:29 pm

@crispyjones
actually i tested the "add to any" integration, it did not work because it was not foreseen to post url's as file parameter. Anway, in 1.0.1 this is soved. If you go to the webinterface thread and download the newest version of the webint (just replace server.exe), you will be able to use the "add to any" stuff if you wish to.

crispyjones
Posts: 32
Joined: Wed Dec 27, 2017 3:21 am

Re: submits URLs via WebUI to Youtube proc

Post by crispyjones » Tue Mar 17, 2020 12:04 am

Upgraded to 1.01 and it now works with the extensions "AddToAny" perfectly.

Post Reply