• 0 Posts
  • 272 Comments
Joined 1 year ago
cake
Cake day: July 20th, 2023

help-circle


  • Another example, which i can personally verify has been working fine for months. It works a bit different to the above, it downloads the latests 2* vids that are not already downloaded and runs once every hour with cron. I also attempted to filter out live vids and shorts.

    Channels i am “subscribed” too are stored in a single text file, it also uses the avc1 codec because i found p9 and p10 had issues with the jellyfin client on my tv.

    looks like this, i added categories but i don’t actually use them in the script besides putting them in a variable, lol. Vid-limit is how many of the latests vids it should look at to download. The original reason i implemented that is so i could selectively download a bulk of latests vids if i wanted to.

    Cat=Science
    Name=Vertitasium
    VidLimit=2
    URL=https://www.youtube.com/channel/UCHnyfMqiRRG1u-2MsSQLbXA
    
    Cat=Minecraft
    Name=EthosLab
    VidLimit=2
    URL=https://www.youtube.com/channel/UCFKDEp9si4RmHFWJW1vYsMA
    
    #!/bin/bash
    
    
    # Define the directory to store channel lists and scripts
    script_dir="/.../YTDL"
    
    # Define the base directory to store downloaded videos
    base_download_dir="/.../youtubevids"
    
    # Change to the script directory
    cd "$script_dir"
    
    # Parse the Channels.txt file and process each channel
    awk -F'=' '
      /^Cat/ {Cat=$2}
      /^Name/ {Name=$2}
      /^VidLimit/ {VidLimit=$2}
      /^URL/ {URL=$2; print Cat, Name, VidLimit, URL}
    ' "$script_dir/Channels.txt" | while read -r Cat Name VidLimit URL; do
        # Define the download directory for this channel
        download_dir="$base_download_dir"
        
        # Define the download archive file for this channel
        archive_file="$script_dir/DLarchive$Name.txt"
        
        # Create the download directory if it does not exist
        mkdir -p "$download_dir"
        
        # If VidLimit is "ALL", set playlist_end option to empty, otherwise set it to --playlist-end <VidLimit>
        playlist_end_option=""
        if [[ $VidLimit != "ALL" ]]; then
            playlist_end_option="--playlist-end $VidLimit"
        fi
    yt-dlp \
            --download-archive "$archive_file" \
            $playlist_end_option \
            --write-description \
            --write-thumbnail \
            --convert-thumbnails jpg \
            --add-metadata \
            --embed-thumbnail \
            --match-filter "!is_live & !was_live & original_url!*=/shorts/" \
            --merge-output-format mp4 \
            --format "bestvideo[vcodec^=avc1]+bestaudio[ext=m4a]/best[ext=mp4]/best" \
            --output "$download_dir/${Name} - %(title)s.%(ext)s" \
            "$URL"
            
    done
    



  • webghost0101@sopuli.xyztoTechnology@lemmy.worldYoutube has fully blocked Invidious
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    10 days ago

    Oh no, the execution and information thus far has been horrible. You are alluding to blockchain are you? When i look at the website you post i see absolutely nothing that i even recognize as web3 its all cryptostuff.

    I don’t get why everybody is so hell-bend on blockchain based internet (sure its decentralized but come on, we’re creative enough to do better). Its like people don’t get the point of “user owned” and are expecting companies to build a better internet for them without serving their own interests.

    No, we are going to need to do this ourselves, self host our own data and services, open source everything.

    Lemmy and the fediverse are the closest i have seen to being proto web 3 in spirit and there are also still far from perfect.

    I have read the “What is web3” from that site and could not disagree on the definition more. I would not be suprised if both the blockchain cults and this website are part of the propaganda machine that is stopping a free internet from happening.

    My web3 is aligned much more with this: https://www.fsf.org/blogs/community/user-liberation-watch-and-share-our-new-video



  • I don’t judge people who give in to the oppressor. Life is hard and you have to pick your battles, more important stuff then blocking ads for “normal” people.

    For me its largely a disability/accessibility thing. The whole site is not usable.

    Its not that i want to die on this hill its that corporate bullshit is measurably detrimental to my health. My hill is the only one i can exist on.








  • Actually i have and love my 21:9, but it was a weird journey.

    The most common resolution for them is 3440x1440 21:9

    At work i use a 2560x1600 16:10

    You may see my problem, i was not going to give up those 160 vertical pixels. So i got a 3840x1600 instead…

    Which comes down to the same 21:9…

    I think the reason its not a problem is cause how rarely your only using a single fullscreen window on such ultrawides.

    Majestic for gaming ind… and the gpu caught fire again.


  • webghost0101@sopuli.xyztoTechnology@lemmy.worldWhy is UI design backsliding?
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    edit-2
    14 days ago

    16:9 was pushed on us because it was cheaper to produce on mass for tv and pc. 16:9 was better for movies.

    There are some monitors from just before this massive market manipulation and those have 16:10, sometimes with display port before hdmi was even mainstream.

    Apple is actually one of the few companies to make the jump from 4:3 to 16:10 avoiding the 16:9 with very few exceptions.

    To this day i see people work with old software designed for the area of more vertical screens but doing so on screens designed for movies.

    Most people dont even understand what i mean when i explain this. But the good thing is my issue with it was considered a disability so they had to accommodate me with something more sensible.

    Sorry long comments but this is a personal vice for me.




  • webghost0101@sopuli.xyztoTechnology@lemmy.world*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    15 days ago

    There is a lot to unpack here. I think you misunderstand how the fediverse we’re part of is designed for the dynamic I’m explaining.

    First, I never claimed not everyone can afford self-hosting (that does not need to be) in their basement. You might be mixing up someone else’s comment. In many cases its cheaper then joining someone else’s.

    Modern modems are already built with similar hardware to what’s needed for self-hosting a small domain. Computers have become so cheap and accessible that it is trivial. For example, a Raspberry Pi can host many things for under $50.

    I also discovered yesterday that a public “hackerspace” near me is saving computers from landfills precisely to be given away for free and used for self hosting + sharing the knowledge on how to set it up.

    I’m curious where you live that self-hosting is illegal. That’s a law I’d find so repulsive I’d need to break it on principle.

    Your ideas about decentralized systems seem contradictory. You say only the rich could host under fediverse, but also believe it’s illegal to self-host?

    Dont ask why big centralized services would connect to ours and instead ask what reason we have to connect to centralized systems. I run my own cloud server; it’s cheaper than a subscriptions. People are designing decentralized video hosting systems like PeerTube where everyone hosts their own videos. The proof is all around you here.

    The fediverse operates exactly how you say is impossible. The question isn’t why big servers would allow connections, but why I’d connect to centralized domains with so many decentralized alternatives available.

    It’s surprising you’re here without knowing this. Maybe it’s a sign decentralization is going mainstream?

    You asked a more detailed explanation of how this works.

    Here’s how decentralized social media and web 3 actually works, right here and now.

    1. Instead of one central server, there are many independent servers (instances) run by different individuals or groups.

    2. You create an account on one instance, but can interact with users on any instance.

    3. When you post, it’s stored on your home instance. Other instances your followers are on fetch and display your post to them.

    4. If you want to follow someone on another instance, your server connects to theirs to get their posts. (The ability to connect = federated)

    5. Each instance owner sets their own rules and can choose which other instances to federate with.

    6. You can move your account between instances, taking your followers with you. (Wip)

    7. Popular fediverse platforms like Mastodon, Lemmy, and PeerTube all work this way, allowing cross-platform interaction.

    This system allows for a social media experience similar to centralized platforms, but with more user control and privacy. No single entity owns all the data or controls the entire network.

    Here is video from the Free Software Foundation which is a great source if you want to learn more about the hows and why.

    https://www.fsf.org/blogs/community/user-liberation-watch-and-share-our-new-video


  • webghost0101@sopuli.xyztoTechnology@lemmy.world*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    15 days ago

    I have nothing against having the option to donate, which has worked for many projects.

    The idea you are sketching, it is a possible reality but that is the bad future to me.

    There’s a threshold where the number of users makes it impossible for your service to still have any real sense of identity or intend and it ought to be broken up in smaller parts. Some of the larger instances have already passed that threshold in my opinion.

    You did mention the solution, “The alternative is possible small scale” The good future is where every family has their own private instance and every business and service has their own public one, interconnected.

    Keep things small, manageable, focused and responsible.

    I do agree this (fediverse) likely won’t last, not with so many predators waiting to grab a piece. Web3 is not here yet, as much as meta threads want to believe we are it.