0 Followers
0 Following
2 Posts

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

Time to lose 100+ hours in Satisfactory.
After I use it each time??

Tips, Tricks, Arguments to make MPV work more like VLC in a script?

https://lemmy.world/post/44408654

Tips, Tricks, Arguments to make MPV work more like VLC in a script? - Lemmy.World

I have a music script [https://codeberg.org/AstroLightz/play-music] I’m working on that uses VLC as its backend for playing music in the background. However, I was looking around the MPV CLI arguments, and there’s quite a few things there that would work for my script. However, I have a few issues with MPV before implementing this addition: 1. I don’t want a window to appear whenever I launch MPV. 2. I want MPV to remember certain properties, like volume. 3. I don’t want the CLI info displaying in the terminal. This would cause issues as now MPV will close when the terminal closes. I need this to run in the background, like VLC. I’ve kinda managed to solve 1. by using --no-vid, but I haven’t figured out 2. or 3. yet. Does anyone know any tips, tricks, arguments, etc. to get the desired experience I want with MPV? It’s a Python program, so I am using subprocess currently.

I think the main problem lies in the community.

Not everyone, but a few vocal rotten apples are hostile to new users who either:

  • Don’t already know the answer to their own question

  • Are not using their distro

  • Didn’t immediately read the wiki entry for their exact problem

  • This kind of gatekeeping is why some people are put off of Linux and the community as a whole. Just because someone asks a question you think is obvious, doesn’t mean it’s obvious to them.

    Metric. Imperial is a fucking mess. At least with Metric, most size measurements are 10 to the power of something.
    I’ll take the guanteed $1000 and not the mystery box so the prediction is always wrong :)

    PEP: Is initializing typed variable with None bad practice?

    https://lemmy.world/post/44315839

    PEP: Is initializing typed variable with None bad practice? - Lemmy.World

    For example: py class FooBar: def __init__(self): self.a: int = None self.foo: str = None Is this bad practice/go against PEP guidelines or is it fine?

    Here’s mine:

    That’s right, it’s empty. I clear mine when I’m done copying/pasting stuff. Mainly due to paranoia.

    Still no shape tool /j

    Teardown Multiplayer update players: Did they change how tools are used?

    https://lemmy.world/post/44224546

    Teardown Multiplayer update players: Did they change how tools are used? - Lemmy.World

    Prior to this update, I remember being able to hold down the use button and the tool would keep being used (Mainly the hammer). However, it seems like this was changed as now holding it down only registers one command (one hit). Anyone else having this issue or could it be one of my mods?