Now added to my comment :)
Now added to my comment :)
Now added to my comment :)
Now added to my comment :)
While I doubt the concept is unique, the script is: a keyboard shortcut will check the clipboard for a YouTube link and then show launcher options for mpv
or yt-dlp
, including launch arguments for lower quality format and audio only. It launches that in a terminal for easier handling when yt-dlp doesn’t work properly (much more common if using proxies, but also if a video is age-restricted or deleted).
So when I see a yt link here, I can just copy it, keyboard shortcut and then it’s playing in my local video player.
edit: here’s the script. It assumes xsel
(clipboard access), rofi
(menu creator), gnome-terminal
(terminal) and notify-send
(system notification on failure) are installed and working, you’ll need to replace any which don’t match your system. My DE just runs it in bash when the shortcut is entered.
#!/bin/bash
ARR=()
ARR+=("mpv full")
ARR+=("mpv medium")
ARR+=("yt-dlp")
NORMAL_URL=`xsel -ob | sed -r "s/.*(v=|\/)([a-zA-Z0-9_-]{11}).*/https:\/\/youtube.com\/watch?v=\2/"`
CHOICE=$(printf '%s\n' "${ARR[@]}" | rofi -dmenu -p "mpv + yt-dlp from clipboard")
DOWNLOAD="false"
MPV="false"
OPTIONS=""
if [ "$CHOICE" = "mpv full" ]; then
MPV="true"
fi
if [ "$CHOICE" = "mpv medium" ]; then
MPV="true"
OPTIONS+="'--ytdl-format=bv*[height<721]+ba' "
fi
if [ "$CHOICE" = "yt-dlp" ]; then
DOWNLOAD="true"
fi
if [ $MPV == "true" ]; then
COMMAND="mpv $OPTIONS $NORMAL_URL"
gnome-terminal --title "$NORMAL_URL" -- bash -c "echo $COMMAND;$COMMAND;if [ \$? -ne 0 ]; then notify-send 'yt-dlp failed' $NORMAL_URL; bash; fi;"
elif [ $DOWNLOAD == "true" ]; then
COMMAND="yt-dlp $OPTIONS $NORMAL_URL"
gnome-terminal --title "$NORMAL_URL" -- bash -c "echo $COMMAND;$COMMAND;if [ \$? -ne 0 ]; then notify-send 'yt-dlp failed' $NORMAL_URL; bash; fi;"
fi
Spice/spiced could work. But it’s still an allusion, not sure if that defeats the point.
For example, 4chan forcibly invented the use of the ok hand for “white power”, as a collective prank
Which, outside of specific contexts where you’re already confident someone is a WN, was quickly forgotten and never really took off. It’s not a great example of a social shift.
I still use Invidious and Piped for searches and looking at comments, but they are currently broken (as far as I’ve seen).
I’m glad you mentioned the open infrastructure projects. For example, I use some of the few remaining nitter/invidious/etc. servers.
As for free software projects I suggest donating your time with contributions.
Definitely. I’m already spending much of my spare time doing this.
“Which FOSS projects have enough funding that we should donate elsewhere?” is more-or-less asking “Which FOSS projects are overfunded?”, making it almost the opposite of “Which worthwhile FOSS projects are underfunded?”
Plenty of projects I rely on are underfunded or adequately funded, and there are many thousands of underfunded projects. So I’ll have no shortage of projects to consider. By instead asking for the overfunded projects, I can simply cross them off my list of projects to donate to.
That’s a different question.
I don’t have one. It’s just a tiny single board computer and an HDD running reasonably stable scripts every few hours and a couple of small server programs. Nothing it’s doing is critical, so in the rare case when something breaks, it stays broken until I fix it.
My server exists to run programs around the clock, including backups for live sites, so turning them off wouldn’t be appropriate.
I just run mpv $URL
When was this questionnaire posted? I didn’t see it and get a chance to answer.
Also, I treat servers different to desktops due to different threat models. The server automatically applies security updates and keeps most feature updates sitting for a while for stability, but on desktop I just install everything within a couple of days.
OP asked for specific examples, do you have any you think are worth emphasizing?
Anecdotally: the night Mozilla builds were a godsend when I couldn’t afford decent hardware.
I don’t know much about them, do you happen to know why the nightly builds were better? Did the new features fix a problem?
I used to have to custom compile nginx to get HTTP/3 and brotli working (significant speed benefits), but now it’s possible to get those in packages on my OS. This makes maintenance far easier or even automatic for me, which is great from a security standpoint.
Nah, I’m just bored of pointless sarcastic replies being at the top. It’s bloat!
I felt that way too, but testing it for a few days on one device changed my mind. Their pitch rings true, it has so many basic QoL features that make you wonder why this wasn’t added to bash two decades ago.
For me, the only bash
->fish
gripe I’ve had was it took me a little while to get used to having to put quotes around URLs with a ?
to stop it trying to wildcard, but again, their rationale makes perfect sense and really I admit it was bad for bash to simply accept that string in the first place.
I’m annoyed that a lot of the sites I browse don’t have RSS feeds, and I’ve had to do some really tiresome hacks just to get some to work (for example, even tools like FreshRSS’s HTML parser doesn’t tell you the reason a feed broke, so there’s a dozen different things to adjust blindly until it works).
RSS saves me so much time, I used to waste hours just cycling through pages to see if any updated.
Maybe I’m getting alright at in-code documentation because when my code breaks after months of me not looking at it, I can return and get up to speed in a few minutes.
(or maybe these people are working on much more advanced stuff)