hzeller / gmrender-resurrect

Resource efficient UPnP/DLNA renderer, optimal for Raspberry Pi, CuBox or a general MediaServer. Fork of GMediaRenderer to add some features to make it usable.
GNU General Public License v2.0
834 stars 202 forks source link

Weird issue with BubbleUPnP #67

Open parkerlreed opened 9 years ago

parkerlreed commented 9 years ago

I have gmrender running on two machines (both pulseaudio and running as the user)

I start gmrender on computer A. Computer A then shows up in BubbleUPnP and works as expected.

Then I start gmrender on computer B. Computer B does not show up in BubbleUPnP. Then when I hit Ctrl C on computer B to kill it, the gmrender on computer A drops out. Doesn't exit but computer A drops out of BubbleUPnP.

Not sure what's up.

EDIT: And yes both have their own name for gmrender.

parkerlreed commented 9 years ago

Ok found the issue. gmrender uses the same UUID by default without specifying it. Since I was running it as my local user I didn't realize this. I guess I'll leave this open in hopes of maybe have a unique UUID generated upon launch (if none specified)

hzeller commented 9 years ago

Please have a look at the supplied init script - it generates a unique UUID depending on some network interface hashes and gives it as flag to the renderer. If you can't use that, just use the flag directly.