Spyke

Posts

selfhosted·SelfhostedbyScrath

Looking for DLNA Renderer software

Hello everyone, I am currently looking for a software solution to use my home server as a DLNA renderer which can output audio to my stereo amplifier.

The only solution I found was called gmrender-resurrect which seems like it would do exactly what I want but I was unable to get a docker container of it working. While I was able to find and connect to the DLNA Renderer, playback would fail every time and I was unable to get any information from the logs regarding why.

Do any of you know another solution to stream audio from my phone to my server (I am using Symfonium on the phone side)? Ideally it would be something I can deploy as a docker container on my server.

Thanks.

View original on lemmy.dbzer0.com
30
linux·LinuxbyScrath

Kmonad configuration to type german special characters?

Hello everyone, I am currently trying to set up a kmonad config file to replace the autohotkey script I used on windows. My goal is simply to use the right alt key in combination with a,o,u and so on to type german umlaut characters like ä,ö,ü, etc.

So far I am having trouble even getting kmonad to run the config. I guess I probably misunderstand how this is supposed to work significantly. My initial config file was generated by ChatGPT since I had no idea where to even start.

This is my current config file

(defcfg
  input  (device-file "/dev/input/by-path/platform-i8042-serio-0-event-kbd")
  output (uinput-sink "kmonad_keyboard")
  fallthrough true
  allow-cmd true
)

(defsrc
  ralt a o u s lsft
)

(deflayer german
  ralt-a "ä"
  ralt-o "ö"
  ralt-u "ü"
  ralt-s "ß"
  ralt-shift-a "Ä"
  ralt-shift-o "Ö"
  ralt-shift-u "Ü"
)

Any help would be appreciated.

View original on lemmy.dbzer0.com
10
electronics·ElectronicsbyScrath

Today I found out about blinking LEDs

Hello everyone, I recently built a small distribution board to distribute 5V to multiple components for use in a robotics project. I made each output switchable with an individual switch and an LED to indicate the current state. When I went to test it using a lab power supply I noticed that the LEDs would start flickering weirdly when I turned them off and on again.

https://imgur.com/a/zaSCUby

As it turns out, the LEDs, which I found in my dads old parts in a bag labeled TLBO 5410, are apparently blinking LEDs. I found a datasheet for TLBR5410 LEDs which seem pretty much identical to what I have accidentally used.

Apparently these LEDs are made to operate directly from a 5V supply without an additional current limiting resistor (it is already built in) and are made to continuously blink at a frequency of 3Hz.

Because I thought I was using standard LEDs I added a series resistor causing them to behave weirdly due to low voltage. For comparison, this is how they are supposed to act: https://imgur.com/a/fXlcEDs

View original on lemmy.dbzer0.com
45
fountainpens·Fountain PensbyScrath

My current collection

From left to right:

  • TWSBI Diamond Mini Classic 1.1mm stub nib
  • Pelikan 140 M(?) nib
  • Unknown Kondor pen
  • Lamy CP1 F nib
  • Lamy joy 1.5mm stub nib

The TWSBI is the only pen in this collection that I actually bought. The rest came into my possession through family and as such are mostly older pens.

The Pelikan 140 is by far the oldest and my current favorite alongside the TWSBI. From what I've been able to find, this one was manufactured somewhere between 1955-1963. It is also the only pen in my collection with an actual gold nib.

The Kondor, just like the TWSBI and Pelikan is a piston filler and has a in my opinion strangely shaped nib. It is slightly scratchy unfortunately.

The Lamy CP1 is the pen that I used the longest out of all of these and was my daily driver during my later school years. Back then I had an M nib on it which I later switched for an F. Despite it being a beatufil sleek pen, I rarely use it anymore since the grip section tends to accumulate some ink near the front. This combined with my very close grib means that I always get ink on my fingers when writing with it. I am not sure if this is a defect of my specific pen or is something that has been fixed in newer models as this pen is apparently also quite old, based on the "Made in W. Germany" inscription under the clip. This pen also tends to be kind of unwieldy when used with the cap posted, as the cap is made of a much heavier metal than the rest of the pen, making it unbalanced.

The Lamy joy is a pen I briefly tried but found to have a much too thick nib for my daily use. Compared to the TWSBI it is also kind of scratchy.

View original on lemmy.dbzer0.com
16
selfhosted·SelfhostedbyScrath

Reverse-proxy for linuxserver/jellyfin docker image

Hello everyone, I have another question regarding reverse-proxying again, specifically for the linuxserver.io jellyfin image.

On the dockerhub page for this image there are 4 ports listed which should be exposed:

  • 8096 for the HTTP Web UI
  • 8920 for the HTTPS Web UI
  • 7359/udp for autodiscovery of jellyfin from clients
  • 1900/udp for service discovery from DLNA and clients

Additionally there is also an environment variable JELLYFIN_PublishedServerUrl which is for "Setting the autodiscovery response domain or IP address". I currently have that set to my subdomain https://jellyfin.mydomain.com though I am not sure if that is correct.

I already have a reverse-proxy set up allowing me to access my servers webinterface under https://jellyfin.mydomain.com without exposing the https port on the container. What I am unsure about now however, is what to do with the two ports for UDP traffic.

By my understanding, a reverse-proxy will only forward traffic which comes to the ports 80 for http and 443 for https. Those are also the only ports my reverse-proxy container has exposed alongside the management interface. As such the 2 udp ports will not be reachable under my jellyfin domain.

How can I change this or is this even an issue?

View original on lemmy.dbzer0.com
20
selfhosted·SelfhostedbyScrath

Reverse-proxying from a docker network

Hello, I have a question regarding the usage of a reverse-proxy which is part of a docker network.

I currently use Nginx Proxy Manager as a reverse-proxy for all my services hosted in docker. This works great since I can simply forward using each containers name. I have some services however (e.g. homeassistant) which are hosted separately in a VM or using docker on another device.

Is it possible to use the same reverse-proxy for those services as well? I haven't found a way to forward to hosts outside of the proxies docker network (except for using the host network setting which I would like to avoid)

View original on lemmy.dbzer0.com
10

You reached the end