pssc / ha-addon-squeezelite

Squeezelite Player Addon for Home Assistant, for use with a Logitech Media Server
GNU General Public License v3.0
8 stars 0 forks source link

run multiple copies #3

Closed Sky-Jumper closed 9 months ago

Sky-Jumper commented 2 years ago

Is it possible to add the ability to run multiple copies of the player? It would be convenient to organize a multiroom with LMS. I had a crash and installed two repositories and, accordingly, 2 players I connected 2 usb sound cards and they worked each with their own player. I tried to add another one, but HA does not give, writes that it is already installed.

pssc commented 2 years ago

@Sky-Jumper I will have a think I could clone the add on x times with a different slug and name, or alter the addon to support multiple instances how many do you need? option one is quick and dirty and option two is probably the way to do it but will take more care.

Sky-Jumper commented 2 years ago

I plan 5 zones, I am a supporter of elegant solutions, but if it is difficult to make the second option, then the first one will also work. Thanks.

pssc commented 2 years ago

@Sky-Jumper how technical are you? can you pull the next repo down locally (hit clone) and test squeezeplay1 works?

Sky-Jumper commented 1 year ago

I think I can

pssc commented 1 year ago

@Sky-Jumper I have done some local testing try again now

Sky-Jumper commented 1 year ago

I overestimated my strength, I couldn't download locally. Couldn't figure out github.

P.S. I don't speak English, I use a translator.

pssc commented 1 year ago

@Sky-Jumper no worries.

in terminal addon

cd /addons/
git clone https://github.com/pssc/ha-addon-squeezelite.git -b next

goto addon page and select ... check for updates. install Squeezelite clone 1.

Tell me what happens.

Sky-Jumper commented 1 year ago

Hi! It turned out to install, LMS saw them, but I killed HA in the heat of experiments, I'm busy at job now, I'll continue testing in a week.

pssc commented 1 year ago

@Sky-Jumper any progress?

huseyinozsut commented 1 year ago

Hi, I came from Homeassistant forum. I need two zones. Both will use usb sound cards. My technical ability is mediocre. :D But I am very dedicated and patient. :D

pssc commented 1 year ago

@huseyinozsut if you can pull down the next branch it has a 2nd player enabled in the repo

in terminal addon

cd /addons/
git clone https://github.com/pssc/ha-addon-squeezelite.git -b next

goto addon page and select ... check for updates. wait for a few mins. install Squeezelite clone 1 configure sound output

Tell me what happens.

pssc commented 1 year ago

Anybody have anything to report

huseyinozsut commented 1 year ago

I am sorry, I wasn't available due to the help needed in Earthquake in the eastern Turkey region. I am going to test it tomorrow and report you back. Thank you for your affords.

pssc commented 9 months ago

I now test with 2 copies