Aussie living in the San Francisco Bay Area.
Coding since 1998.
.NET Foundation member. C# fan
https://d.sb/
Mastodon: @dan@d.sb

  • 7 Posts
  • 2.42K Comments
Joined 3 years ago
cake
Cake day: June 14th, 2023

help-circle










  • dan@upvote.autohomeassistant@lemmy.worldExperience or opinions of Music Assistant?
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    edit-2
    5 days ago

    I started looking into it for radio - unifying paid SiriusXM, free TuneIn, and free Shoutcast/Icecast powered radio stations, in a single system.

    My idea was to show a list of our favourite radio stations on a dashboard tablet, with buttons to play them on particular media players (Google speakers, etc)

    I set it up and started making a Home Assistant dashboard that shows the list. It took a while to figure out how to properly display the list of all the stations, but I ended up figuring it out using the flex table card component: https://community.home-assistant.io/t/dynamic-buttons-based-on-template-sensor/917207

    I didn’t end up finishing the project though, and put it on hold while working on other things. I’ll revisit it one day.

    It can also pull from Plex, but I haven’t tried that. At the moment, I usually cast from Plexamp to my speakers when I want to play something.




  • Yes, unstructured. Every script is its own special snowflake that does things a bit differently.

    There’s no guarantee of the verbs that the script implements. start, stop and restart are common, but the implementation is up to each individual script. I’m most familiar with Debian where some service (but not all) implemented it with start-stop-daemon, but other distros and OSes handled it differently.

    Basic, commonly needed functionality, like restarting a crashed service after waiting for some delay, need to be implemented per app.

    When sysvinit was widespread, there was a reason a lot of people used systems line supervisord to deploy services, rather than dealing with sysvinit scripts. It was a pain.

    Systemd units were a logical progression from supervisord services.