Live data from Hacker News

Show HN: YouTube-DL GUI Powered by Electron

github.com

81–90 of 142 posts

Re: Show HN: YouTube-DL GUI Powered by Electron

#81
post #27

Earlier quoted context omitted.

First thought on this project: hey, why electron yt-dl works perfectly from the command line, I type the programm, paste the url. Second thought: might be nice for selecting from the myriad of options. Well...

Not everyone is familiar or comfortable with the command line. A lot of my friends don't use youtube-dl for this exact reason. They end up messaging me, asking me to download files for them.

Why not just create a simple phone number with twilio that they can text a url to and then it fires a script to download that video and upload it to s3 for them? Shouldn’t take more than an hour IMO.

Re: Show HN: YouTube-DL GUI Powered by Electron

#82
post #75

Earlier quoted context omitted.

You can even do fun things like transcode a stream into a format that omxplayer can handle and render a video straight onto a Raspberry Pi without having to download it (and without X11) 'omxplayer' '--blank' '--aspect-mode' 'stretch' https://www.youtube.com/watch?v=MKNYsKwM6HI' )

While I was still using my Raspberry Pi as a "media center", I wrote a small server using tornado that did this via a URL: https://github.com/filmor/rpi-media/tree/master/ytdld I had a small javascript commandlet in my bookmarks that allowed me to start playback directly from a youtube (or any other youtube-dl supported) page.

You can also do that with the 'Play to Kodi' browser addon.

Re: Show HN: YouTube-DL GUI Powered by Electron

#83

Skimming the code I see main.js hasn’t got a single semicolon. If you want to invite others to contribute, you may consider adopting a more widely employed js code-style. This seems to be written in a very personal, opinionated and unconventional way.

That file is a copy of a stock one from the quickstart guide: https://github.com/electron/electron/blob/master/docs/tutori...

Re: Show HN: YouTube-DL GUI Powered by Electron

#84
post #54

Earlier quoted context omitted.

youtube-dl is one of those rare programs that you shouldn't download from a repository. Do this instead: - Download from the project page and put it anywhere in your path (it's a single file) - Subsequently do 'youtube-dl -U' whenever you want to update. It updates itself in-place with the latest release (there's usually 2 or 3 released per week)

What's the difference to installing 2-3 updates per week over the distro? One should be installing distro updates daily anyway.

Distro repositories can't keep up with the number or timeliness of updates. When youtube deploys an update that breaks the tool (happens on a semi-regular basis), you want access to the fix ASAP.

Re: Show HN: YouTube-DL GUI Powered by Electron

#85
post #8

Suggestion to author: allow pasting and downloading more than one link at a time, and selecting audio/video + desired formats. Suggestion to everyone else: learn the CLI. Then you can do things like me last night. My wife collected a list of classical music videos she wants to play to our kid, and all I did was: youtube-dl -x --audio-format "mp3" --audio-quality 0 -o "%(title)s.%(ext)s" -a music.txt to get the whole…

Ooh, I didn't know about `mp3splt`! This is super helpful, thanks for posting it. > It's something I strongly recommend: store off-used CLI calls in your notes/personal wiki. All of my bash commands from any terminal get piped into a separate, unified history file, copying some setup I read about in a blog a long time ago. It's an easy, dumb setup that just works. I've been using it for years without any performance…

Thanks for this. This solves my tmux / history problem. Commands from one open terminal were not available in the history command for the other terminal, if I had two terminals open.

Re: Show HN: YouTube-DL GUI Powered by Electron

#86
post #8

Suggestion to author: allow pasting and downloading more than one link at a time, and selecting audio/video + desired formats. Suggestion to everyone else: learn the CLI. Then you can do things like me last night. My wife collected a list of classical music videos she wants to play to our kid, and all I did was: youtube-dl -x --audio-format "mp3" --audio-quality 0 -o "%(title)s.%(ext)s" -a music.txt to get the whole…

snippets.org seems to be some sort of iGaming site. Is there some other site you use for storing snippets?

Re: Show HN: YouTube-DL GUI Powered by Electron

#87
post #8

Suggestion to author: allow pasting and downloading more than one link at a time, and selecting audio/video + desired formats. Suggestion to everyone else: learn the CLI. Then you can do things like me last night. My wife collected a list of classical music videos she wants to play to our kid, and all I did was: youtube-dl -x --audio-format "mp3" --audio-quality 0 -o "%(title)s.%(ext)s" -a music.txt to get the whole…

> To preempt comments saying CLI is too hard for regular people: no, it isn't; they can learn[0]

Hear hear.

It all comes together when the regular person takes a little time to learn the following three truths[0]:

* the output of any CLI command may be redirected to the input of any other CLI command

* the output template of 99% of commands give you structured, predictable JSON data/metadata on which to operate

* 99% of CLI commands have the same sane defaults and are required by the spec to have the same option syntax for flags

* CLI is CLI. Generating a random number in the CLI on OSX is just as safe as doing the same on OpenBSD, Raspbian, QNX, etc.

[0] Three because I'm starting from zero

Re: Show HN: YouTube-DL GUI Powered by Electron

#88

Side note: as a daily user, youtube-dl is such a fantastic piece of software. It's one of those tools which, once you have it, you wonder how you lived before.

Especially once youtube switched to not serving the formats they used to and using newfangled codecs not supported by my old computers. youtube-dl is my only way to view youtube videos on most of my computers. Luckily it's easier to get ffmpeg builds that support transcoding from new codecs than it is to get youtube videos to play.

Re: Show HN: YouTube-DL GUI Powered by Electron

#89
post #86
post #8

Suggestion to author: allow pasting and downloading more than one link at a time, and selecting audio/video + desired formats. Suggestion to everyone else: learn the CLI. Then you can do things like me last night. My wife collected a list of classical music videos she wants to play to our kid, and all I did was: youtube-dl -x --audio-format "mp3" --audio-quality 0 -o "%(title)s.%(ext)s" -a music.txt to get the whole…

snippets.org seems to be some sort of iGaming site. Is there some other site you use for storing snippets?

:) `snippets.org` means that TeMPOraL is using org-mode[0] to organize the content; it's not a website.

However, I would say use Git and just sync your stuff to a public/private Gitlab/Github repo depending on your needs. That's how I organize most of my public configs.

[0]: https://orgmode.org/

Re: Show HN: YouTube-DL GUI Powered by Electron

#90
post #72

Earlier quoted context omitted.

Chocolatey also bypasses all the dark parterns of download websites which is a big plus for a non technical user. I wish Microsoft would take it over and integrate it in windows by default.

You're describing the Windows Store.

Except the windows store was the toll protected, limited privilege applications, had to be developed for windows store, rather than a way to download and deploy any msi for major existing software.
Post reply on HN