# [APP][4.1+][v3.4.18] BubbleUPnP - UPnP/DLNA/Chromecast Control Point and Renderer

#### bubbleguuum

##### Senior Member
I have set up a stereo pair of Sonos Play:1's - streaming from Spotify works as expected. Picking a speaker in BubbleUPnP results in playing to just one speaker. Is there a configuration option I missed to get it playing to both speakers in stereo?
@Mr. Odd

If that is possible, you will have to configure both Sonos devices to act as a single UPnP renderer that is seen by BubbleUPnP.

#### jimbo55

##### New member
Some file types show as "unknown" in the video folder, for instance .ts. My dlna player(lg Blu-ray) cannot see "unknown" files. I think it's a bug because the same file shows as .ts in internal storage folder. That does not provide a workaround for me as I cannot access this folder with the free version. Please see my screen shots. Thanks

Last edited:

#### XlAfbk

##### Senior Member
"Audio cast" menu entry is missing on my OP7, version 3.4.15.1. Already reinstalled it. Op7 has edxposed 0.5.1.3
On my OP5 with the same version the menu entry is there.

Any ideas?

#### bigcid10

##### Senior Member
The Server doesn't work anymore on DSM 7.0
say's it isn't supported due to needing root privileges
BubbleUPnPServer.spk for synology nas DS716+ II intel X86_64 Braswell
Thank you

#### fyah_

##### Member
The Server doesn't work anymore on DSM 7.0
say's it isn't supported due to needing root privileges
BubbleUPnPServer.spk for synology nas DS716+ II intel X86_64 Braswell
Thank you
You should probably go for a docker install so that you get free from system dependencies

#### bigcid10

##### Senior Member
You should probably go for a docker install so that you get free from system dependencies
OK,I understand,Thank you
give it a shot

#### physicsprof

##### Member
@gwapenut

You are right and it is not supported at all for technical reasons (the CCA cannot handle gapless decoding on-device). I may work on a solution that involves feeding it a single gapless stream but it will be a non trivial undertaking.
Dear Bubbleguuum,

I hope you do not mind I bring up the old topic of gapless streaming to Chromecast Audio. I understand this is not supported by CCA and requires sending consecutive tracks as a single stream (as you mention in your post of April 2018). I wonder if you ever had an opportunity to work on this? Or is it not a realistic undertaking?

Many thanks for all your work on BubbleUPNP!

#### Snowknight26

##### Senior Member
@Snowknight26

It works like you describe already (with the cache being multi-thread aware) but the resized cached album art is pinned to the original album art URL provided by the media server accessed, so
if that URL is not the same for each track of a same album (which is media server dependent), it will be cached and processed multiple times.
It would indeed be better if BubbleUPnP pinned cached album art to all tracks of the same album without relying on the image URL provided by the media server.
What media server are you accessing through BubbleUPnP Server ?
Also can you check that there are images (jpg) in the cache sub-directory of the installation folder of BubbleUPnP Server ? That's to very the cache is working at all.
BubbleUPnP Server definitely has an issue. When viewing a foobar2000 autoplaylist of recently-added tracks via foo_upnp -> BubbleUPnP Server, BubbleUPnP Server creates an image for each track, not for each album. If I recently added an album that happens to have 50 tracks but only one album art (the underlying filesystem file is the exact same image), BubbleUPnP Server will transcode the artwork once for every track.

Code:
fciv "C:\Program Files (x86)\BubbleUPnP Server\cache" -r -type *.jpg
//
// File Checksum Integrity Verifier version 2.05.
//
Start Time: 01/10/2021 at 21h15'43''

bab25ca3c55836a7962a233cc00c8aeb c:\program files (x86)\bubbleupnp server\cache\16b2bf1b7187621d8dbeddec85f1ccbb.jpg
90c857efdb1466c7b69e836654c4177e c:\program files (x86)\bubbleupnp server\cache\22a9cc4f4314e5e8a2e86cb88a1cb483.jpg
3d3fb6f80caa8dfae0ba982736e5fc15 c:\program files (x86)\bubbleupnp server\cache\3812fe1c8aa5f31936af3c1622539dbe.jpg
38477e3689b1fbde2187c5fd7ea503d5 c:\program files (x86)\bubbleupnp server\cache\40ab34e6e2d4e7a84c2f76fc6c244a8a.jpg
80315098465b32d948a423a2bd7eb4f2 c:\program files (x86)\bubbleupnp server\cache\43d87a868c68940db18b5ae8eb071107.jpg
f3ac0ce056bf185950ee5b38dd75e58e c:\program files (x86)\bubbleupnp server\cache\461723c4b5e810369e4f21c621c403c1.jpg
03894d90a7fcaae87ff250acdd67f4d2 c:\program files (x86)\bubbleupnp server\cache\5f5cc10f48517da58d85c7dab92efc4a.jpg
5e435eb14a14089d41066a2172010106 c:\program files (x86)\bubbleupnp server\cache\602a5e6842d0224f839f7c707502d970.jpg
f492f79dd7603995d1376fde104eea83 c:\program files (x86)\bubbleupnp server\cache\6a6ce293231e6bb6c7ee16de32f8d88c.jpg
92f8316ebf8bd33560263a7e6a2137b9 c:\program files (x86)\bubbleupnp server\cache\80f0911b9fb798ff51f0e8796f01fe36.jpg
397a817a7a444d37b8324e6ef4a5363e c:\program files (x86)\bubbleupnp server\cache\81f9c53c960faba70d9c9cc30a06caa9.jpg
03894d90a7fcaae87ff250acdd67f4d2 c:\program files (x86)\bubbleupnp server\cache\8be1f0fe701c2e70547b7f0a7836434a.jpg
03894d90a7fcaae87ff250acdd67f4d2 c:\program files (x86)\bubbleupnp server\cache\9720f375b91db52c6ef0d008c0fbe300.jpg
03894d90a7fcaae87ff250acdd67f4d2 c:\program files (x86)\bubbleupnp server\cache\aa52b55035249a710bbc8404f6fbdd27.jpg
6d002b9e6ce65d49f86ea1386653bc6b c:\program files (x86)\bubbleupnp server\cache\b64a37dbeacb961a94453a277da25569.jpg
6b877dc516cd1d51a44ca9b3be33f392 c:\program files (x86)\bubbleupnp server\cache\b9ffb214012809ae5ce08d82c38d01c3.jpg
87145138f6ba4522b12cfdaac80efda5 c:\program files (x86)\bubbleupnp server\cache\c69e15ae8fa03ffb62ec32d74946e5f0.jpg
cc762240d01552ae47a919c1843d1f5b c:\program files (x86)\bubbleupnp server\cache\d1376982263b3e621ebfc1b24dea9c0e.jpg
9a516cbbaeb2a60c5767cd686157f83c c:\program files (x86)\bubbleupnp server\cache\eeac29d1026f3388e1830ec929e908b9.jpg
03894d90a7fcaae87ff250acdd67f4d2 c:\program files (x86)\bubbleupnp server\cache\f81b5e252e2aa85e0024728e4660e76f.jpg
Notice the duplicate MD5s in the first column. 03894d90a7fcaae87ff250acdd67f4d2 is listed 6 times because it's an album with 6 tracks. BubbleUPnP's transcoded images are identical.

This shouldn't be the case and BubbleUPnPServer.exe consumes far more CPU time than it should.

#### bubbleguuum

##### Senior Member
BubbleUPnP Server definitely has an issue. When viewing a foobar2000 autoplaylist of recently-added tracks via foo_upnp -> BubbleUPnP Server, BubbleUPnP Server creates an image for each track, not for each album. If I recently added an album that happens to have 50 tracks but only one album art (the underlying filesystem file is the exact same image), BubbleUPnP Server will transcode the artwork once for every track.
@Snowknight26

Again, that issue is specific to foo_upnp becuause for each track of a same album it returns to BubbleUPnP Server a different image link pointing to the cover, while the cover is the same for all tracks. This results in BubbleUPnP Server generating a cache entry for each track of the same album as you noticed.
This is caused by BubbleUPnP Server pinning cached album art to its URL, something that I must change to fix this, pinning it instead to album metadata. This is a bit more complicated as I must ensure that 2 different albums cannot clash.
If you used MinimServer instead (which I recommends) you would not have this issue as it uses the same album art URL for all tracks of a same albums (as most media severs do).

#### bubbleguuum

##### Senior Member
Dear Bubbleguuum,

I hope you do not mind I bring up the old topic of gapless streaming to Chromecast Audio. I understand this is not supported by CCA and requires sending consecutive tracks as a single stream (as you mention in your post of April 2018). I wonder if you ever had an opportunity to work on this? Or is it not a realistic undertaking?

Many thanks for all your work on BubbleUPNP!
@physicsprof

No plan for it. Too complicated and likely to end up clunky.

#### dez93_2000

##### Senior Member
Hi mate, found a small oddity: in settings/internet access/networks: if you already have a network set up, click that, click 'server address' (which will already have something in it); as soon as you tap to edit (e.g. change the final digit to switch from HTTP to HTTPS port), the domain is deleted, leaving you with http://:58050 for example.

#### physicsprof

##### Member
Hello, I think I found a small issue (unless I am doing something wrong):

If I select (in the library tab) "Default Sort", Albums are sorted alphabetically using the ALBUMSORT tags. However, if I select "Title" as the sort criterion, it seems that "ALBUM" is used rather than "ALBUMSORT". I doubt this is intentional?

Thank you.

##### Senior Member
Hi,

I am trying to play mkv files with multi-channel audio on my Chromecast, but I get no audio.

Files are located on my Synology NAS. I'm using BubbleUPnP on my Android phone and transcoding using BubbleUPnP Server running on the NAS.

Looking at the Status tab on the server, Audio Transcoding supported is "yes", but when I select the renderer in Media Renderers, all the settings under Audio decoding to PCM (FFmpeg) are disabled. I cannot even check "Domwmix multi-channel to stereo". I think that is what I need, but not sure.

I also see that on Status tab, Video transcoding supported is showing "no (ffmpeg has no libx264 support)." I tried to fix it by installing ipkg and then installing Optware-ng's ffmpeg binaries.

Installation was successful, but it didn't solve the problem. Status for Video decoding still shows the same thing, Audio decoding settings under renderer are still disabled and I still get no sound.

Any idea how to fix this? Thanks!

#### Budgie2

##### Member
Hi bubbleguuum, I am using RPi and DAC HAT with upmpdcli and mpd as renderer and BubbleDS as control point on my. I am planning to try and include a relay with the Pi setup so that the power amplifier driven by the renderer can be turned off in a manner similar to the Linn DS which allows me to put that device into standby. I envisage the Rpi power remaining on, as in standby mode, but the power amplifier turned off by the relay. Please can you advice me what is possible and whether I can make use of your software to enable the standby mode.
Regards, Budgie2

#### Veram

##### Member
Recently I have been getting action " failed error 501" and the transition between tracks is very slow, what could be the problem ?

#### bubbleguuum

##### Senior Member
Recently I have been getting action " failed error 501" and the transition between tracks is very slow, what could be the problem ?
@Veram

Maybe an unresponsive renderer.Reboot it. Make sure its firmware is up to date. Also apply instructions for your Android device on https://dontkillmyapp.com/. If the problem persists, please send me a log file triggering that error 501 (see first post of this topic for logging instructions).

#### bubbleguuum

##### Senior Member
Hi bubbleguuum, I am using RPi and DAC HAT with upmpdcli and mpd as renderer and BubbleDS as control point on my. I am planning to try and include a relay with the Pi setup so that the power amplifier driven by the renderer can be turned off in a manner similar to the Linn DS which allows me to put that device into standby. I envisage the Rpi power remaining on, as in standby mode, but the power amplifier turned off by the relay. Please can you advice me what is possible and whether I can make use of your software to enable the standby mode.
Regards, Budgie2
@Budgie2

There is nothing BubbleDS can do here. There is a Standby OpenHome command for that kind of thing (it is implemented on LinnDS, supported by BubbleUPnP) but it is not implemented in upmpdcli. Ideally upmpdcli should execute an external script that do whatever needed to put the device on standby. Maybe you can ask on the upmpdcli issue tracker.

#### bubbleguuum

##### Senior Member
Hello, I think I found a small issue (unless I am doing something wrong):

If I select (in the library tab) "Default Sort", Albums are sorted alphabetically using the ALBUMSORT tags. However, if I select "Title" as the sort criterion, it seems that "ALBUM" is used rather than "ALBUMSORT". I doubt this is intentional?

Thank you.
@physicsprof

"Default Sort" lists album in whatever order the media server returns them to the app. Apparently it returns them honoring ALBUMSORT tags. BubbleUPnP itsel has no concept of this tag nor has that info, and when you sort by title it sorts alphabetically the displayed (album) titles and that's it.

#### bubbleguuum

##### Senior Member
Hi mate, found a small oddity: in settings/internet access/networks: if you already have a network set up, click that, click 'server address' (which will already have something in it); as soon as you tap to edit (e.g. change the final digit to switch from HTTP to HTTPS port), the domain is deleted, leaving you with http://:58050 for example.
@dez93_2000

Thank you for the report, will be fixed in next update.

dark0shark

### New posts

Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone