lyoko

@lyoko@lemm.ee
2 Post – 25 Comments
Joined 1 years ago

I have the same problem with navidrome so I've written a new Opensubsonic server in Rust with a permision model. You can check it out here: https://github.com/vnghia/nghe

Is Rust that much better than Go?

IMHO, rust and go are two differents things. The reason I choose Rust is because it is fast and calling C code from rust is supported really well since Rust's goal is to become a system language. Navidrome is just calling the ffmpeg binary. While in my project, I've compiled the neccessary parts of ffmpeg myself (thanks to vcpkg) and call the function directly from Rust. It leads to smaller and fully static final binary (because no ffmpeg bin) as well as faster transcoding time since we don't have to wait for the ffmpeg binary to finish transcoding the whole file before load the result from the filesystem to the memory.

Would it have been impossible to submit your changes to Navidrome as pull requests?

You can see here. This is the biggest reason why I've decided to start my own implementation. Beside, I share my server with several friends so I want a mechanism to prevent mixing musics from different people.

Does this import the Navidrome database?

This could be a feature request in the future. I could add a python script to import users/songs/playlists/playcount/etc from Navidrome.

1 more...

Not really for ventoy but have you heard about medicat ? I have bookmarked it for sometime now but never had a chance to try.

Edit: medicat also supports ventoy

3 more...

I usually try different custom ROMs and have to format my phone frequently. Will that eSIM survive that format or not ?

2 more...

How do you keep your Spotify recommendations update ? Don't you have to listen to songs on it to get updated recommendations ?

Thank you very much for your kind word! I've seen that scanner already but decided to reimplement anyway because I want to choose a different design from the start and have the flexibility to add some new features myself (some kind of ML integration like immich and S3 integration). At worse case, I will still use this so no problems :D

I see. Indeen I gave up teaching people pronounce my name correctly long time ago and told them just to call me by my family name so you coulld pronounce whatever you like. If you know a Vietnamese guy around just ask them to teach you and give them a headache

4 more...

Never thought about it. Is there an inside joke am i missing @@

8 more...

Not sure what do you mean by filtering but this is my Symfonium UI

Thank you! I just want to make my server as much cross-platform as possible :D

I know about Helm but I don't need k8s features and my VPS is just too weak for k8s I think :/

I actually need more than merging. For example, right now my traefik.template will look like this:

[http.routers.{{ router_name }}]
  rule = "{{ router_rule }}"
  service = "{{ service_name }}"
  middlewares = [{{ middlewares | map("tojson") | join(", ") }}]
{% block router %}{% endblock %}
  [http.routers.{{ router_name }}.tls]
    certResolver = "leresolver_http"

{% if service_host is defined %}
[[http.services.{{ service_name }}.loadBalancer.servers]]
  url = "{{ 'https' if service_use_https is defined else 'http' }}://{{ service_host }}{{ ':' ~ service_port if service_port is defined else '' }}"
{% endif %}

and then one of my traefik.toml could look like this

{% extends "template/traefik.jinja" %}

{% set router_name = "dozzle" %}
{% set router_rule = "Host(`dozzle.example.com`)" %}
{% set service_name = "dozzle" %}
{% set service_host = "dozzle" %}
{% set service_port = 8080 %}

In the opensubsonic response there will be two fields for artist, one is artistid with only one artist (this is for compatible with old subsonic) and the other is artists with a list of artist ids. The server only sends back the list of artists ids and only these two clients read that field.

1 more...

I am trying adding a FreeBSD CI. Will let you know later if it is working or not

Here you go. But setting up a testing environment on github actions is too hard so it is built only for now.

Edit: test is added now

1 more...

Yes you can. I add a window 11 iso to it as well

you mean nix the package manager ?

In my experience, I found that rclone mount a crypt remote is not as stable as a direct mount. But I will try to do it again. Thank you very much !

Thank you! Please give it a try and give me some feedbacks XD

I dont think Ansible is a general templating engine ? I do templating for all most everything and not only docker compose, for example this for traefik configuration.

1 more...

so you are also generating the docker-compose from code. I think I am looking for something that aware of both templating and docker-compose deployment because right now, at the end of the day, I am still have to run docker-compose up -f ... while helm can do both templating and deployment.

That sounds like what I need. Thank you very much !

Sorry to make you feel that way. You are the first commenter and the first star on github so I am really appreciate it. "Nghe" could be decompose into two parts: "ngh" and "e". The "e" part sound like "eh" but the "ngh" part is just "difficulty level: asian" so I put a video here: https://www.youtube.com/watch?v=ttA8ukm8lwI ("ngh" and "ng" have the same pronounciation). Thank you very much!

1 more...

If you have some times, you could try my new Opensubsonic server, which is written with performance in mind (I've tried to do a lot of things in compile-time) especially if you are transcoding the song a lot.