virga.app-youtube-dl-GUI-for-OS-X icon indicating copy to clipboard operation
virga.app-youtube-dl-GUI-for-OS-X copied to clipboard

Issues with Virga

Open section83 opened this issue 8 years ago • 6 comments

Hello,

I have been looking for macOS GUI's to download videos. Yours looks interesting. However, I've had some issues.

First is that the pbs command might need the "-update" option to work properly. The man page doesn't mention it but, I've found I get an error without it.

Second is that when I start Virga, I get a dialog asking me for the location of Google Chrome. I suspect that's because the code has this:

tell application "Google Chrome"

I don't understand AS well but, I think that when the script is run it checks the code, sees the "Tell" and hoping to avoid a future error, looks for Chrome. I've found the solution is to put "Google Chrome" into a variable (eg. google_chrome_app) and change that line to:

tell application google_chrome_app

Works for me anyway.

Third is that after cancelling that dialog, nothing happens. It suggests there is an AS error. When I try to run the Virga script in Script Editor I get this error "Expected end of line but found property". The error is on "tab" in this line:

tell application frontApp to set theURL to URL of active tab of front window

Hope this helps

Cheers.

section83 avatar Aug 29 '17 05:08 section83

thanks for notes, I will have a look, but what is pbs? I may be missing something

kopurando avatar Aug 29 '17 05:08 kopurando

Sorry, I was confusing Virga with another GUI called PPC Media Centre. Humble apologies.

By the way the pbs command updates the Service menu (and other things related). Ensures the new service will appear in the Services menu straight away rather than waiting for logoff etc. I've read via Google that it comes from the old NextStep in which it did more.

Cheers.

section83 avatar Aug 29 '17 07:08 section83

btw, what browsers do you have installed?

kopurando avatar Aug 29 '17 13:08 kopurando

i think i fixed it, see the most recent commit. Will upload release bundles tomorrow.

kopurando avatar Aug 29 '17 16:08 kopurando

I have Safari and Firefox installed.

Downloaded bundle just now [timed 9 hours ago]. Has same issues. See screen captures.

as seeking chrome virga as error

I think the error is caused by the tab element of the code. I believe "tab" is a text constant in AS and so isn't treated as a property. Is there a way of turning reserved words into literals ?

Cheers.

section83 avatar Aug 29 '17 23:08 section83

I see, Well, virga works with Safari/Chrome (including betas) and requires youtube to be open in any of these browsers (but not Firefox). If no Safari / Chrome is running, then virga has nothing to do basically...

kopurando avatar Aug 30 '17 01:08 kopurando