etuomaala

joined 1 year ago
[–] etuomaala@sopuli.xyz -2 points 11 months ago

I could not possibly trust any political party that uses AI for any reason. If Khan wins, I'm going into full AI panic mode.

[–] etuomaala@sopuli.xyz 2 points 11 months ago

Pronounced as in Xí Jìnpíng?

[–] etuomaala@sopuli.xyz 9 points 1 year ago (1 children)

"everyone"...

[–] etuomaala@sopuli.xyz 5 points 1 year ago

Do you think it is possible for our current level of scientific knowledge to exist in a hunter gather society?

[–] etuomaala@sopuli.xyz 1 points 1 year ago
I download opus .webm s,
    then use ffmpeg to convert to .opus,
    which I'm pretty sure is just ogg.
IDK, works great in quodlibet.
.webm can't be tagged, though.
Tagging is critical, especially replay_gain tags.

Here is my script:
#!/usr/bin/env python

# Youtube actually hosts audio-only opus tracks, but you can only get them
# in the webm container, which many music players, including quodlibet, don't
# know what to do with. This script downloads the track, then converts it with
# zero loss to the opus container using ffmpeg's `-acodec copy` feature.

import sys
from subprocess import call
from os.path import splitext
from os import remove, walk, listdir
from tempfile import TemporaryDirectory
from shutil import move

urls = sys.argv[1:]

with TemporaryDirectory(prefix='yta-') as tempdir:
    # Do not raise exceptions, because yt-dlp counts failure of a single
    # download in the list as an overall failure, exit code wise.
    call(['env', '-C', tempdir, 'yt-dlp', '-if', 'bestaudio',
        '-o', '%(artist)s - %(title)s - %(id)s.%(ext)s', '--'] + urls)

    for tempdir, dirs, files in walk(tempdir):
        for fn in files:
            path = tempdir+'/'+fn
            name, ext = splitext(path)
            if ext == '.webm':
                if call([
                    'ffmpeg', '-hide_banner',
                    '-i', path,
                    '-acodec', 'copy',
                    name+'.opus'
                ]) == 0:
                    remove(path)

    for node in listdir(tempdir):
        move(tempdir+'/'+node, '.')

[–] etuomaala@sopuli.xyz 2 points 1 year ago (1 children)

What do you think should happen to the state of Israel?

[–] etuomaala@sopuli.xyz 16 points 1 year ago (1 children)

My brother once shared an rdio playlist with me. I used the firefox dev tools to download all of the songs to my library. A few months later, rdio shut down. To this day, a piece of rdio lives on on my hard drive.

[–] etuomaala@sopuli.xyz 4 points 1 year ago (2 children)

That and you can just download opus from youtube using yt-dlp lol. It's 100% great. Anybody transcoding youtube audio to mp3 is definitely doing it wrong lol

[–] etuomaala@sopuli.xyz 1 points 1 year ago
Aw, gross.
kbin is written in php.
Thanks, but no thanks, lol.
[–] etuomaala@sopuli.xyz 1 points 1 year ago
That's a problem with kbin, then.
There are no tags in lemmy.
[–] etuomaala@sopuli.xyz 1 points 1 year ago

Proximity to German heavy industry counts for something, I suppose. But yeah, these things are usually done a little closer to the equator lol

[–] etuomaala@sopuli.xyz 1 points 1 year ago* (last edited 1 year ago)
Lemmy uses the system default for monospace font.
Try changing the monospace alias in /etc/fonts/local.conf:
https://wiki.archlinux.org/title/Font_configuration/Examples#Default_fonts

That's for system-wide effect.
For just firefox, go to Settings > General > Fonts > Advanced and
    change the default Monospace font to a monospace font you like.

Source Code Pro and DejaVu Sans Mono are both very good.
view more: ‹ prev next ›