Skip Navigation

Posts
15
Comments
166
Joined
3 yr. ago

Hobbyist developer, Linux enthusiast, and Arch Linux user.

"The only things constant in this world are death and taxes, I've got both!"Skeleton Merchant, Terraria

  • I'm starting to properly learn Bash scripting.

    I know a little bit of it from simply scripts I've made in the past, but apparently some techniques I use are pretty inefficient or just wrong.

    I think I'll be fun and useful to learn.

  • Genuine question that will probably get a lot of hate:

    Why do people apologize when someone says a person close to them died? They didn't do anything wrong, so what's the apology for?

  • (0, 0, 69) in RGB, or #000045 in HEX.

    This is a dark blue color.

  • Power to create anything, and I do mean ANYTHING.

  • My country pronounces the "Z" portion as "Zee", but I say "Zee" or "Zed" depending on mood. The "bra" is pronounced "bruh". (North America)

  • Deleted

    Permanently Deleted

    Jump
  • Home, which I think is subscriptions. All is a mess.

  • A level 100 Bidoof (not evolved). It looks cutesy, but is a one-hit-kill machine. Beware the Bidoofinator.

  • The scent of nothing. I really dislike artificial scents, like perfume, air "purifiers", and sprays. Natural scents are fine, but I prefer they stay outside the house.

  • I'm making my project in Python. I use a CSV module to extract the data from a CSV file. In my case, my CSVs are playlists created by Kreate, an android YouTube Music client. In those playlist CSV files, there's a colum that contains the video IDs for each item in the playlist. Part of my script extracts those, and formats YouTube video URLs out of them.

    I use an app called media-downloader on Linux to do the actual batch downloading. It uses yt-dlp as its backend. I have my download options set to -f bestaudio --extract-audio --audio-quality 0 --embed-thumbnail. My filename format is set to "%(uploader)s - %(title).200s.%(ext)s". The .200 limits the title to 200 characters.

    Then for the thumbnail editing, I use my script to call ffmpeg to extract the thumbnail from the video, use wand (Basically ImageMagick for Python) to crop the image to a square based on the image's height (You ever see those thumbnails with the solid colors on the side? That's what I'm removing.), then re-encode them using ffmpeg.

    For my setup, Media-downloader downloads files as OPUS, so I convert them to MP3 during the thumbnail portion of my script.

    That was quite a wall of text, but I'll probably put my project on Codeberg when I'm done if you're interested in looking at the code.

  • Tuesdays with Morrie. One of my favorite books.

  • The repo does not actually contain the source code, instead a link to download from a different site.

  • I've been working on a hobby Python project to extract YT URLs from a CSV file, mass download them as audio files, extract their thumbnails and crop them to be square (Like proper album art), then re-encode them again.

    I've gotten the functionality of the CSV Extractor and Thumbnail Fixer completed, but I still need proper message displays for them, as well as a menu to select between the 2 functionalities.

    If it's possible, I would love to automatically add the title and artist metadata to the files based on the filename, though I haven't figured out a way to do that yet.

  • Mostly Linux built-in commands like grep, awk, and cat when working with bash scripts

    For more serious projects that rely on a CLI interface, tools that allow for ANSI codes to be used. For example, I use prompt_toolkit (for actual menus) and framed_text (for ANSI messages and yes, this is something I made) for my Python projects.

    git is my main project branch program. It's just too good to pass up.

    I don't really use CLI/TUI text editors other than quick edits over SSH when I'm not at my PC. For that, I use neovim with nvchad, or nano.

  • From shows I watch and games I play. I don't really go out of my way to search for music. If I find something interesting, it's usually on YouTube.

  •  py
        
    def main():
        print("Hello world")
    
    if __name__ == "__main__":
        main()
    
      

    /s

    I think a small one I worked on was extracting URLs from a CSV file in a certain column. Not too difficult, but a very specific use case.

  • Emojis are not needed and shouldn't be used.

    Now emoticons... 𓁹‿𓁹

  • I don't have that specific approach to life.

    But I do have a "Fuck, I could end up in a hospital with an IV in my arm" approach to trying to keep my body healthy.

  • Pretty colors. That's it

  • Yes, I'm looking for one that can rotate on its stand, instead of needing to mount it vertically.

    I'll clarify that in my post