question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FR: move music_assistant.db out of /config (but remain on the HA instance MA is running on)

See original GitHub issue

Please consider support for allowing the music_assistant.db to be saved elsewhere, to keep the /config share as clean as possible.

In Discord we briefly discussed the technique Powercalc supports doing this, by allowing a user configured folder inside the CC folder. Used so this is not wiped at updating the CC.

For my personal use it would be sufficient to make that a fixed /db folder, so /config/custom_components/mass/db

I noticed others mention a location even outside the HA instance, because the file might get large quite soon. I would no be an advocate for that, as it would make MA rely on an external source per definition, and I dont think that would be very robust.

thanks for considering!

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
GoSpursGoNLcommented, Jun 17, 2022

I currently use owntone (formerly called forked-daapd) for library streaming and there I configured the database to be in /share which isn’t backed up. Would be great indeed if music assistant would also support this.

1reaction
erkrcommented, Jun 14, 2022

Moving the db to a location outside of HA (e.g. mounted disk) is very dangerous

Agreed to keep it local (my media folder is not a mount, but part of my local SSD). But the proposal for a fixed ‘/db’ folder, like ‘/config/custom_components/mass/db’ will keep it part of my backups. The database doesn’t need to be backed up (easily regenerated). It only increases my backup times and cloud space.

Note: the Google drive backup add-on, that I use, only allows to exclude particular add-ons and folders like media and shared. That is why I was thinking to use the media folder (local, not part of my backup). No other reason

Read more comments on GitHub >

github_iconTop Results From Across the Web

2022.3: Select and play media - Home Assistant
Using media allows us to make the automations in our home more “personal”. For example, having our favorite radio station playing when we...
Read more >
Take a tour of my Home Assistant Blue. See what I ... - YouTube
See what add-ons and integrations I run on my Home Assistant Blue. Check out how much load my whole system uses with everything...
Read more >
Untitled
Lynnes nissan netcong nj, Apostolic reformation move of god, ... Jcmg orthopedics and sports medicine, Educational videos for toddlers youtube.
Read more >
Keystone State Boychoir
The Boychoir has sung with the area's most distinguished ensembles, including the Philadelphia. Orchestra, the Philadelphia Singers, Al Bustan, and Opera ...
Read more >
BK-3 Backing Keyboard - Roland
the case of the symbol at left, it is used for general ... Working with the Music Assistant ... Moving Between Windows and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found