Skip Navigation

Posts
13
Comments
2791
Joined
9 mo. ago

sapphic. hater of capital letters. bunny and cat mum. renn faire enjoyer. theatre kid. squishmallows enthusiast. taylor swift lover era appreciator. marisha ray defender. houseplant addict. multiple social accounts haver. i'm also on lemmy.blahaj.zone :)

  • lerwick, isle of skye, inverness, nairn <3

    also toronto cause i visited my bestie there <3

  • did nothing wrong

  • excuse me my mom's name is also morge

  • i dont even get why they needed to make an ai copy if they were gonna steal at least just right click copy the image.

  • makes note of this since it will make tagging a lot easier and also cataloging for jellyfin

  • went better than the last car accident he was in

  • moongoose mcqueen wishes he was ric ocasek

  • just like my interest in him

  • does --write-thumbnail save a jpg with the video? or is it something else?

  • usually i just like older videos but in this case i was saving a bunch of wcw vault videos to my jellyfin library and i prefer 480 since it was as close to tv as can be (also i've never been a fan of hd and tv after 2000 because i felt that's when it went downhill)

  • this isn't perfect but i made one when i wanted to fetch a video for a specific resolution (because i prefer 480)

     bash  
        
    ytgrab() {  
      local id="$1"  
      local res="${2:-480}" # default to 480  
      local url="https://www.youtube.com/watch?v=%24id"  
    
      # fetch formats  
      local fmt  
      fmt=$(yt-dlp -F --cookies-from-browser vivaldi "$url")  
    
      # printing the format output  
      echo "$fmt"  
    
      # pick video format matching the requested resolution  
      local vfmt  
      vfmt=$(echo "$fmt" | awk -v r="${res}p" '$0 ~ r && /video/ {print $1}' | head -n1)  
    
      # pick best m4a audio  
      local afmt  
      afmt=$(echo "$fmt" | awk '/m4a/ && /audio/ {print $1}' | head -n1)  
    
      # safety check  
      if [ -z "$vfmt" ] || [ -z "$afmt" ]; then  
        echo "Could not find matching formats (video ${res}p or m4a audio)."  
        return 1  
      fi  
    
      echo fetching: yt-dlp -f ${vfmt}+${afmt} --cookies-from-browser vivaldi --write-subs --no-write-auto-subs --sub-lang "en.*" $url  
      yt-dlp -f "${vfmt}+${afmt}" --write-subs --cookies-from-browser vivaldi --no-write-auto-subs --sub-lang "en.*" "$url"  
    }  
    
      
  • i only did it at 50 kbs for now because i was at like 6tb or whatever before and i wanted to stabilise before gradually moving back up :)

  • twilight sparkle and mistico team WHEN?

    (kidding but this is awesome i hope aew is a part of it too because i want all three to thrive - but mostly i want a REALLY good and strong canadian wrestling system)