Hacker Newsnew | past | comments | ask | show | jobs | submit | graynk's commentslogin

In this case I'm not sure why a convenience wrapper is even needed, yt-dlp already works with playlists just fine


>I'm not sure why a convenience wrapper is even needed,

Author wanted yt-dlp to be fed with a custom text file: "playlists.txt"

The script loops through that text file, parses it, and then launches yt-dlp for each valid line with a channel name.


Which is essentially just this:

    yt-dlp -o "%(channel)s/%(playlist_title)s/%(title)s.%(ext)s" -a playlists.txt
I'm not sure if that warrants a HN post


Right? Just add this to .bashrc:

alias yt-pl='yt-dlp -o "%(channel)s/%(playlist_title)s/%(title)s.%(ext)s" -a playlists.txt'


So -o "%(channel)s - %(title)s.%(ext)s", --batch-file and optionally --download-archive?

https://github.com/yt-dlp/yt-dlp#:~:text=channel%20%28string...

https://github.com/yt-dlp/yt-dlp#:~:text=%2Da%2C%20%2D%2Dbat...

https://github.com/yt-dlp/yt-dlp#:~:text=%2D%2Ddownload%2Dar...

Not to mention that the script is clearly LLM-generated


Agree. Now it's easier to ask you favorite command line AI (e.g. Gemini CLI) something like "download this list of playlists with yt-dlp" rather than learn someone else's code or even check the manual.


The script linked was just vibe coded. Ai isn’t that great with the ytdl params, yet. It’s obvious because if an LLM really knew how to use ytdl it would have used the input file option instead of looping through a file and invoking for each one.


> Ai isn’t that great with the ytdl params

Gemini nails it:

When downloading multiple playlists, it is usually better to organize them into separate folders so the files don't all end up in one giant mess. You can use an output template to automatically create folders based on the playlist title:

yt-dlp -a playlists.txt -o "%(playlist_title)s/%(playlist_index)s - %(title)s.%(ext)s"


Interesting, must be a new fix. A couple months ago I tried to have it create a command and it hallucinated params.


is there a point somewhere in this statement?


Not the parent or grandparent poster and not a gamer.

The echo in my mind from the statement was along the following lines:

I can do everything at work remotely from my Linux laptop as they use Microsoft365/Sharepoint/Teams/Outlook and all. I can just log in via Chromium and noone knows any different with one exception: the finance portal. I have to be on an employer owned Windows PC to do that one thing as it is the last 'native program' needed. Moral: enterprise-ish stuff is happening via the Web browser.

Steam et al financing WINE/Proton and generally hammering all the sharp edges out of the compatibility layer for running Windows software on Linux. Moral: Complex Windows native software can be run under Linux.

So, at some point in the future, does Microsoft just phase out Windows? Replace it with a really well engineered Linux with compatibility environment for legacy software?


Embrace, Extend, Extinguish/Exterminate? They already begun the Embrace phase: WSL.

The smartest Extend phase they could do would probably be a "Windows" GUI on top of Linux kernel, possibly with some customized locked-down systemd, to replace the aging X and the mess Wayland created. If it gets to be at least as functional as Win11 is, it will instantly wipe out the other two alternatives - Exterminate.


Check how many Linux contributors are on Microsoft's paycheck, including systemd author and some Rust people also related to Rust on Linux kernel efforts.

Microsoft already has their own distro.

And they don't need to bother with anything else, Valve with Proton, makes Windows, Visual Studio and DirectX the way to go for the large majority of game studios.

WSL on Windows, alongside Virtualization framework on macOS, are the Year of Desktop Linux, regarding the latops I can actually buy on a random shopping mall computer store.


Games work just fine through Proton already, except when they require kernel level anticheat. I'm fairly certain OP is just one of the purists who think it's not done "proper" until it's a Linux native port, which I wholeheartedly disagree with.


Why should Microsoft bother, when they have Visual Studio and Windows licenses that game studios gladly pay for?


A reality slap.


So no point to make then, cool, I can get back to playing games then


Make sure to use MAME as well, those arcade games are also Linux, apparently.


1. Nobody said anything about Windows games being Linux games. We were talking about Linux gaming, which is gaming on Linux. Which - yeah - emulators also contribute to

2. Above being said, translation is not emulation and has much less overhead So many pointless semantics to dismiss something genuinely good and useful


Translation is one form of emulation, because GNU/Linux still isn't Windows, at the end of the day.


No, it is not. Right there in the name of WINE.


ALVR has been working really well for me on my Quest 3.

there are a lot of other things stopping people from migrating besides gaming though. sure, there are alternatives for professional audio/photo/video editing/producing, but they all mean losing some functionality if you migrate.


this is just willingly turning a blind eye. it's not about the reputation or being a "good company", it's about the facts of what they do.


I'm choosing not to place the blame on them as I don't see it as something they can control. And I trust Valve to do the right thing over most any large game studio out there. The history of reputation and actions matter. I think you want to to try and skew the narrative based on you own particular bias. The situation is much bigger than what you are making it out to be.


> I think you want to to try and skew the narrative based on you own particular bias.

This is exactly what you are doing.

> The history of reputation and actions matter.

The history of actions matter, yes. The history of actions on the gambling topic has been very consistent thus far from Valve.


What do you mean they can’t control it? They could stop gambling tomorrow by disabling trading and disabling case openings. Valve already appear to be preparing for the latter to happen via regulation with the “Armory” feature in CS, which follows Fortnite & other major AAA titles.

(Oh, talking about Valve electing to engage in scummy behaviour, the “X-ray” feature is a classic example of them deliberately subverting regulation against loot boxes.)

If you want to bring up the “let the free market be the free market” angle, I’d at least be amenable to it.

But pretending as if they’re innocent passengers, and that they have no idea what is going on it ludicrous. Don’t baby a billion dollar company.

(I have skin the game too. If Valve blocked trading, I’d lose $400 worth of value in my skins. I’d still rather not support gambling, especially the type that is so incredibly unregulated.)


> as nostalgia hit hard

in my experience the older games are more of a pain to get running, as a lot more tweaks are needed

it's the case on Windows too, but on Linux there's an additional need to mess with DLL overrides DXVK settings and the like


Suspend/resume is broken in general (and everywhere besides Mac), including AMD on Linux.

No more drivers is just..false?

The rest was true up to roughly 3 years ago. Now I'm a happy camper


Suspend/resume was broken in nvidia since release on aug 2024. I have internal bug id for it. And dozen links with suspend scripts. No more drivers I mean I don't need to install dozens of packages. While it not big deal by itself, but reverting broken driver is huge deal. Laggy desktop -- this is my experience until nov 2025 when I dumped nvidia. Desktop on both intel and amd feels like magic after nvidia.


Suspend/resume is broken for my friend with an AMD card right now. That's what I mean: it's broken everywhere in slightly different ways, yes even on Windows. Thankfully I never use it anyway.

Dunno anything about dozens of packages, I installed 1 (one) package from my distro and haven't touched it since, no issues with updates either. That same friend with an AMD card keeps getting random hard PC freezes during gaming though.

Also absolutely zero issues with lags/latency for me (on GNOME. I did experience a bunch of weird bugs with KDE, but again - no lags)

One thing that is very real is DirectX 12 performance. This one really does suffer due to poor nvidia drivers. Hope they iron it out at some point


Suspend/Resume simply nvidia bug: https://forums.developer.nvidia.com/t/cant-resume-from-suspe...

Dozen of packages, official packages, you need bunch of, like, 590.44.01-1 packages installed: https://developer.download.nvidia.com/compute/cuda/repos/deb...

Lags: sorry, I have no more nvidia and can't record video.

(edit: formatting)


And there are simply AMD bugs in the same vein, yes: https://gitlab.freedesktop.org/drm/amd/-/issues/?sort=create.... Again, I'm not saying it's not broken on NVIDIA, I'm saying it's just broken, period.

> official packages

Which is unfortunately not a good thing when it comes to NVIDIA. "Modern" distros package those for you, which is why I install linux-cachyos-nvidia-open [0] now and previously nvidia-driver-${version} [1] when I was using Pop! OS, both of which worked without a single issue for me from the word "go". My point is: it's not all doom and gloom, there's life to be had and it's not that worse than AMD cards.

[0] https://packages.cachyos.org/package/cachyos/x86_64/linux-ca...

[1] https://github.com/pop-os/nvidia-graphics-drivers


It isn't on Lenovo ThinkCentres like M910q tiny. Which has integrated Intel HD630 graphics. Works every single time.


Suspend/resume never worked right, going back to as early as the 2000s


Depends heavily on the used hardware AND firmware of the system. I remember having some no-name laptop with a P166-MMX, and Bios from Systemsoft. That thing managed to successfully suspend and resume anything. Be it just to and from RAM, or to Disk in a separate small partition. By anything I mean exotics like NetBSD, FreeBSD, OpenBSD, any Linux I threw at it.


Kinda now. That's what I've been doing for a while now. I have a PC though, not a laptop. Running CachyOS with 4070Ti, GNOME with Wayland. Even VR works


> You do not need a "gaming" distro, all distros use the same software and you will be fine on ubuntu, fedora etc.

That's not necessarily true. I mean, you will be fine, but gaming is one of the areas where you can benefit from having everything on bleeding edge. And Cachy is surprisingly stable (and the "one day things will stop working" can realistically be said about any Linux distro, really).


I sincerely hope it doesn't happen then. I'd rather have game developers come up with a different solution that is not a rootkit


I believe you're looking for https://system76.com/


I have a System76 laptop, and I bought it because they supported Linux and because I could buy replacement parts if I needed them.

The battery swelled, so I contacted them and they don't sell the battery anymore. I tried ordering one from, literally, half a dozen places online and was refunded each time because it simply does not exist.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: