• 0 Posts
  • 26 Comments
Joined 3 years ago
cake
Cake day: April 1st, 2022

help-circle

    1. What is their monetization model? If you read the original article defining ‘enshittificaiton’, it’s clear how this factors in. FOSS projects tend to avoid this, and in the occasional cases where they are sold and aggressively monetized, there are usually forks (see: audacity->tenacity). With donation-run but non-open services, you really just have to hope. If it’s unclear or for-profit, avoid wherever possible (unfortunately not always possible).

    That’s the bottom line.





  • It is always morally acceptable?

    Morality is, literally, subjective. There is no universal answer to that question.

    I personally consider anything being sold by a distributor to be fair game, no questions asked. If I pay for mainstream music, films or games, most of the time, zero of that money goes to the workers who created those artworks. It just makes rich owners richer, because they legally own rights. I would go as far as to say it’s morally wrong to pay for those things, it’s not neutral, it’s supporting a cycle of abuse at your own expense. So that’s my perspective on your ‘giant corporations’ question.

    Digital copying isn’t stealing, unfortunately, because those giant companies deserve to have their hoard of capital expropriated.

    Two screenshots. The first is a headline: "The world's richest countries came up with just $22 million to fight the Amazon fires.", the second lists the budget for The Emoji Movie: $50 million.[src]





  • 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.

    Code (click to expand)
    #!/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
    








  • 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.