yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] physicsprof:
I have a Chromecast Audio connected to a receiver. This works flawlessly on the analog input, but when using an optical connection I have regular dropouts (every few minutes). This ONLY occurs for 96/24 or higher, never for 44.1/16. Online, I found that many others are experiencing the same issue. To be sure: it does not appear to be a WiFi issue. Also, 96/24 works fine on the analog input.

The reason I write in this forum is that one work-around would be to force transcoding of all 96 and 88.2 kHz streams. It seems that BubbleUPnP already does this for 192 kHz streams (which the Chromecast cannot handle, I believe). I thought there is a setting for this, but I cannot find it. The "Chromecast transcoding" menu seems to refer to video only and under "Renderers" I do not see the Chromecast Audio. I am sure I am overlooking something; could someone point me in the right direction?

Thank you!
[Android Apps and Games] alonwa:
I noticed that the year separators disappeared in the grid view when sorted by year. I then saw it mentioned in the changelog, so I understand that this is intentional. I liked the separators. I'm not sure why they were removed, but could they be put back, at least as an option? Thanks
[Android Apps and Games] .:Stefan:.:
Hi there,

I'm using Bubble since long, incl. the Server. Really like it and appreciate your awesome work @bubbleguuum !

My BubbleUPnPServer runs inside Docker and I'm using the bubblesoftapps/bubbleupnpserver image and network = host.

As I'm using some reverse proxy for various purposes, I'd like to put BubbleUPnPServer also behind my reverse proxy and have followed the instructions available under https://www.bubblesoftapps.com/bubbleupnpserver2/docs/docker.html at the end of the site.

Basically all works, which means when I try to access Bubble thru

http://LAN-IP:port/some-path

I can see the config UI and everything as usual with a default installation.

Also internet connection by its given public host name and defined path, I can see the Servers' UI.

For example: https://mybubble.mydomain.com/some-path --> the web UI will be shown. So the reverse Proxy config seems to be OK.

BUT, the web UI will be shown exactly in the same manner as I would access it thru LAN.

It means, even by accessing it thru WAN in this case, I can fully configure it and those changes will be reflected!

There is not any security mechanism blocking this, like login credential popup.

The config options are as follows:

<allowWANConfigurationUI>false</allowWANConfigurationUI>

<allowWANConnections>true</allowWANConnections>

Of course there are individual login credentials set. But, as mentioned above, no popup comes up once accessing my URL which asks to provide those credentials.

The UI config page loads straight away as I would access it in my LAN. So anyone knowing the exact URL of my BubbleUPnPServer could configure it from the WAN...

Did I miss something or what could be the reason for this?

Thanks for some hints in advance.
[Android Apps and Games] bubbleguuum:
@alonwa

I removed them because they were a bit obtrusive (big, especially on phones when a year has just 1 or 2 albums). Unfortunately making better separators in grids that are not themselves grid items is difficult, so did not pursue this. They are still available in list view. In year sorting mode, the year is always appended at the end of the title, so the information is still there. Not super keen on adding yet another setting as there are waaaay too much of them already.
[Android Apps and Games] bubbleguuum:
@.:Stefan:.

The reason for this is that BubbleUPnP Server when accessed behind a reverse proxy, sees the connection originating from the proxy, which is local, thus no credentials popup. Admittedly, there could be a setting in BubbleUPnP Server that forces credentials popup even on the LAN.

So, you need to add credentials managed by the reverse proxy. For example a .htpasswd managing access to /some-path should work.
[Android Apps and Games] bubbleguuum:
@physicsprof

It is possible to transcode audio > 48kHz to either 48Khz or 44.1 kHz.

It is in Settings | Advanced | Transcode audio | Transcode > 48kHz to 48Khz or 44.1 kHz

It is not specific to Chromecast or any renderer but applied at the media server browsing level,

replacing stream URLs provided by the underlying media server by a URL that does the transcoding.

For it to work, you need to browse in Android BubbleUPnP your external UPnP/DLNA media server wrapped by BubbleUPnP Server (that is: "name of the media serer [some name]")
[Android Apps and Games] .:Stefan:.:
@bubbleguuum

OK, thanks for the hint.

I'm forwarding the clients' real IP thru the reverse proxy but obviously BubbleUPnPServer cannot interpret this.

So, I'll try the method suggested by you.
[Android Apps and Games] darkstar73:
I have an issue I can't solve no matter what settings I select. On the Now Playing screen, it always stays on the 1st song in the queue and the elapsed time never moves. It will play all of the songs in the queue. Any idea how to fix this? Im streaming Qobuz with a RPi 4.
[Android Apps and Games] bubbleguuum:
@darkstar73

What is your Android device and Android version ?
[Android Apps and Games] darkstar73:
OnePlus 6t on Android 11
[Android Apps and Games] bubbleguuum:
@fabien_m2002

These new categories are implemented in the new v3.6.3 update.
[Android Apps and Games] fabien_m2002:
Thank you very much, that's great feature to improve music discovering.

Another, is it possible to hide/disable the local folders in the library tab? I use only Qobuz, i don't have any local files on my smartphone so the 5 sub local folders are useless and make navigation heavier.
[Android Apps and Games] bubbleguuum:
@fabien_m2002

In 'More > Gear icon > Local and Cloud', disable:

- Android Media Library > Enable

- Local storage and mount points > Enable

And eventually, in that page, also disable:

- SMB Shares

- WebDAV Servers

Speaking of Qobuz, you can also use the official Qobuz app to share tracks/albums/public playlists to BubbleUPnP (3 dot menu on relevant item > Share > BubbleUPnP).
[Android Apps and Games] fabien_m2002:
Thanks, you app is perfect :)

Maybe some advanced features would be (if possible):

- continuing music flow based on the last tracks played

- display for one track, all the stuff (albums, compil, playlists) it appears!

All these features contribute to discover cleverly new music!

It would be the ultimate app!

Thanks again.
[Android Apps and Games] Ghashul:
After the app updating to version 3.6.3 the app no longer finds my Video Station running on my Synology Diskstation.

I can still play stuff from it by adding the folder the videos are in as an SMB share, but that's not optimal.
[Android Apps and Games] bubbleguuum:
@Ghashul

There has been no change in device discovery in the latest version.

Try rebooting your WiFi router and (if necessary) NAS and Android device.

Check on your NAS that the media server is really running.
[Android Apps and Games] Ghashul:
Ack, I feel silly now. I had verified that the video station was running and had tried restarting my Android to no avail, but even so a full restart of the NAS did the trick. Guess it just happened to coincide with the new update.

Thanks :)
[Android Apps and Games] samnada:
Sorry, never mind, found the answer. Please delete.
[Android Apps and Games] fabien_m2002:
Hello

is it possible to mark a Qobuz playlist in the bookmarks to access easier?
[Android Apps and Games] Craig Rogers:
Here is a strange request. I use large playlists and I understand that BubbleUPnP may not be suited to large playlists, but it's a perfect setup for me and usually works just fine. The only downside is that it can take a long time to load my "Master Playlist" into my OpenHome (Chromecast) renderers which has a lot of tracks. I use BubbleUPnP and select "Shuffle Play" and wait a few minutes whilst the playlist is generated.

I've noticed that the OpenHome playlists (I'm on Windows) are created in the "C:\Program Files (x86)\BubbleUPnP Server\Playlists" folder and seem to always have the same reference in the filename related to the OpenHome renderer it belongs to.

So, now the strange question. Occasionally, if my "Master Playlist" hasn't been updated, but I have changed the playlist running on the OpenHome renderer. Is it possible to have taken a backup of the generated "Master Playlist" generated in "C:\Program Files (x86)\BubbleUPnP Server\Playlists" and then simply replace the current generated file with this one.

I have tried, but it doesn't work, but I guess there has to be some sort of re-reference to the file.

UPDATE : I have managed to get it to work, if I restart the server after I rename the backup file it loads the playlist just fine! I love this setup!
[Android Apps and Games] Snowknight26:
@bubbleguuum

Over the last several years I've noticed that BubbleUPnP Server seems to prevent Windows from going to sleep permanently even with no active transcoding occurring and no active connections. Only other post I could find was this one that mentioned the exact same issue.

configuration.xml:

[...]
<disablePreventWindowsSleep>false</disablePreventWindowsSleep>
[...]

powercfg /requests:

DISPLAY:
None.

SYSTEM:
[SERVICE] \Device\HarddiskVolume8\Program Files (x86)\BubbleUPnP Server\BubbleUPnPServer.exe (BubbleUPnP Server)
[SERVICE] \Device\HarddiskVolume8\Program Files (x86)\BubbleUPnP Server\BubbleUPnPServer.exe (BubbleUPnP Server)

AWAYMODE:
[SERVICE] \Device\HarddiskVolume8\Program Files (x86)\BubbleUPnP Server\BubbleUPnPServer.exe (BubbleUPnP Server)
[SERVICE] \Device\HarddiskVolume8\Program Files (x86)\BubbleUPnP Server\BubbleUPnPServer.exe (BubbleUPnP Server)

[...]

Reproduction steps are as simple as streaming a track via the internet (I was using the BubbleUPnP app and foobar2000's foo_upnp), end the stream, exit the BubbleUPnP app, etc. After the phone is no longer actively connected to the server, I don't see any ffmpeg.exe instances or any indication that there are connections to BubbleUPnPServer.exe.

After verifying the bug occurred by checking whether sleep mode is prevented with powercfg, putting the machine to sleep fails.

The only workaround is to restart the BubbleUPnP Server service (or I guess setting disablePreventWindowsSleep to true, but I haven't tried this yet, but based on what you said in the post I linked this shouldn't be applicable since no media is being transcoded/proxied).

I don't see anything relevant in either BubbleUPnPServerLauncher.log or service.log with logLevel set to INFO.

Any clues where the bug in the sleep prevention logic might be or what other detailed info you'd need? Logs, processes, network connections, etc.?
[Android Apps and Games] bubbleguuum:
@Snowknight26

It has been a long time I have not retested the prevent to sleep feature. Normally, it should be active only when BubbleUPnP is streaming to a client. You can see it in the standard logs displayed as a pair of traces:

prevent sleeping...

... // BubbleUPnP Server doing some work

allow sleeping

So if you see "prevent sleeping" without "allow sleeping" happening at some point, we have a bug. Which is very well possible.

If you see something like this in the log file, please send it to me at bubblesoftproducts@gmail.com.

I will also probably retest it on my own.

disablePreventWindowsSleep set to true does what it says and disable this behavior. Maybe you can disable it and see how it goes. Disabling sleeping might only be useful for longer transcoding task (such as a long audio file or Chromecast transcoded video) and maybe not so much for regular music tracks.
[Android Apps and Games] Snowknight26:
Which log file should this be in?

I currently have:

<nologfile>false</nologfile>
<enableAccessLog>false</enableAccessLog>
<logLevel>INFO</logLevel>
[...]
<enableStreamProxyRequestLog>false</enableStreamProxyRequestLog>
[...]

but I see basically no output in either BubbleUPnPServerLauncher.log or service.log aside from the usual (paraphrasing) 'server started', 'server stopped'.
[Android Apps and Games] bubbleguuum:
@Snowknight26

The main BubbleUPnP Server log file is BubbleUPnPServer.log.0. It should be present in the install dir.
[Android Apps and Games] Snowknight26:
The .0 at the end made me not even notice it, whoops.

Thanks, I'll keep an eye on it.
[Android Apps and Games] krilok:
Hi... Just wanted to inform the devs that after the latest Bubbleupnp update, track info has stopped showing on ambient display. It shows on lockscreen, however, as does album art...
[Android Apps and Games] fabien_m2002:
Hello

i have a suggestion:

on play tab, offer the heart icon to quickly add the track to the favs (Qobuz/Tidal favorites) or local fav playlist.
[Android Apps and Games] Snowknight26:
I just had the issue again but unfortunately the last line in the log that mentions sleeping was "allow sleeping" from the main thread (line 1070).

I confirmed with powercfg /requests that sleep was being actively prevented until I stopped the BubbleUPnP Service (line 1073).

One thing I'm suspicious of is that previously, powercfg /requests showed duplicate power requests (2 system, 2 away mode), where as this time, I only saw one of each. I wonder if that means that if you create multiple power requests (using PowerSetRequest or whatever the Java SDK equivalent is), you need to call PowerClearRequest (or the Java SDK equivalent) an equal number of times.

Based on the documentation for PowerSetRequest ("The power request type to be incremented.", "Call PowerClearRequest to decrement the reference count for the request as soon as the scenario is finished."), I suspect that's the case. The log has more "prevent sleeping" lines than "allow sleeping" lines.

Attaching the log here since I technically didn't see what you suspected - any PII is masked.
[Android Apps and Games] @Musashi34:
Hi Guys,

When I run server, I got socket errors as shown in the attached file. How cen I have it fixed. Thanks
[Android Apps and Games] bubbleguuum:
@Snowknight26

Thanks for the log. It shows that there are more "prevent sleeping" than "allow sleeping" (15 vs 10). So that's what cause the problem which I need to investigate more. BubbleUPnP Server uses SetThreadExecutionState (the exact example code snippet at the end of that page) which is older than Power*Request API, but works up to Windows XP.
[Android Apps and Games] bubbleguuum:
@Musashi34​

You probably need to manually add NAT rules on your router to redirect incoming TCP connections on port 58050 to 192.168.0.14 on port 58050 and (if you want to use https), incoming TCP connections on port 58051 to 192.168.0.14 on port 58051. You must also make sure that the Windows firewall is not blocking incoming connection from within the LAN on both ports 58050 and 58051 (unlikely that it does).
[Android Apps and Games] bubbleguuum:
@krilok

No issue here on my Pixel 4a running Android 12 during playback: artist and track title are displayed on the ambient display. What is your Android device and Android version ? To which renderer are you playing to ?
[Android Apps and Games] krilok:
Running Android 12 (CrDroid Rom) on a Poco X3 Pro. Using BubbleUPNP to play music on the phone from my Qnap NAS running MinimServer.

I noticed track info on the ambient display stopped displaying around 4-5 weeks ago, however while using other media apps info is still displayed

Few months ago something similar happened and BubbleUPNP wasn't displaying any album art on the locksceen or track info on ambient display, but it was fixed on an update, so assumed it was related...
[Android Apps and Games] jewnersey:
I'm trying to download the xposed module (the zip not the APK) to install on my s20 Ultra via magisk 24.1. Is this supported?

Goal is to cast Spotify to my LG TV via upnp.

Thanks.
[Android Apps and Games] ToraxOutlaw:
I been using BubbleUPNP to cast movies and TV shows from Stremio, since Allcast stopped working on Android.

I have the latest version downloaded from the Google Play Store which has always worked, but everytime I use it I get the error 'Cannot play no http stream found'.

Is there a way to fix this issue or can I not cast anymore?
[Android Apps and Games] bubbleguuum:
BubbleUPnP Server 0.9-update43 now available:

Changelog | BubbleUPnP Server

0.9-update49 (Feb 17th 2024) # Android # this version is available for BubbleUPnP Server for Android (previous version available on Android was 0.9-update46) updated BubbleUPnP Server for Android APK to version 1.2.4.1 which updates FFmpeg to v6.1 (needed for GPU transcoding, see below) Added...

bubblesoftapps.com

@Snowknight26 : it should fix Windows sleeping, that was totally buggy and that I revamped.
[Android Apps and Games] bubbleguuum:
@ToraxOutlaw

It means BubbleUPnP cannot infer a playable http stream, from whatever Stremio is sharing to BubbleUPnP.

If you wish and so I can have a look, you can send me a log file, triggering that error message. See first post of this topic for logging instructions.
[Android Apps and Games] bubbleguuum:
@jewnersey

Theoretically, it should work.

BubbleUPnP 3.6.4 introduced Audio Cast without requiring the Xposed module (on Android 10+) but infortunately it does not work with Spotify because that app specifically disabled being recorded in its Manifest.
[Android Apps and Games] ToraxOutlaw:
I have attached both the log files I've found after they generated.

If you can figure out what when wrong and how to fix it then let me know.
[Android Apps and Games] ToraxOutlaw:
(MESSAGE DELETED)
[Android Apps and Games] bubbleguuum:
@ToraxOutlaw

Thanks for the log.

Although BubbleUPnP can get a http link for that video, it fails because the http server seving it is using "Content-Type" header with a very unusual value of "application/force-download" (instead of something more sensible like "video/x-matroska") which BubbleUPnP doesn't know what to do with. I will have a workaround for it in the next app update.
[Android Apps and Games] bacevs:
Hi, I'm trying to cast videos/syncler from my android device over BubbleUPnP to my PC.

My PC is running Windows 11, and I have enabled the "Wireless Display" windows feature.

On my android phone, BubbleUPnP can see my PC come up as a casting option.

However, when I try cast to the PC, all it does is open windows media player, as in the screen recording below.

Note: Screen recording of my PC desktop and phone screen side by side.

Has anyone managed to get casting from their android phone to PC working.

Btw, I don't mean screen mirroring. Actually casting videos from their phone or from syncler to their PC.
[Android Apps and Games] bubbleguuum:
@bacevs

That wireless display feature of Windows isn't supported by BubbleUPnP as it has nothing to do with UPnP/DLNA.

The renderer your see in BubbleUPnP for your PC is handled by Windows Media Player (WMP) running on your PC.

Normally, playing a video to it with BubbleUPnP should work if WMP support the codecs. However, I do not recommend using WMP as renderer these days. Instead, install Kodi and enable its UPnP renderer feature in its settings, then play to Kodi in BubbleUPnP.
[Android Apps and Games] bacevs:
Thank you! That worked. Can't tell you how long I've tried getting something like this to work.
[Android Apps and Games] jerethi:
Has access to Google Photos been restored yet? I am able to successfully link to my Google Drive, but I do not see an option for Google Photos.
[Android Apps and Games] bubbleguuum:
@jerethi

I removed it following the new requirement for Google to manually approve access to it, whose process is tedious.

Not many users used it anyway (unlike Google Drive).
[Android Apps and Games] lazyjasck:
Hello, can the software support subtitle files with defined language suffixes in the future? I connect to the Google network disk and call a third-party player, but srt files with defined language are not supported.
[Android Apps and Games] fabien_m2002:
Hello

i found a bug:

when i open a Qobuz playlist and tap on a track, it's always the first one which is played.

Strange?
[Android Apps and Games] bubbleguuum:
@fabien_m2002

Check the tap action in More > Gear icon > Library > Item tap action. If it is set to "Play all items" then it would play the first item.
[Android Apps and Games] bubbleguuum:
@lazyjasck

No plan for this. Subtitle handling is already horribly complicated...
[Android Apps and Games] ToraxOutlaw:
I'm using the recent update and I'm still getting the 'Cannot play no http stream found'
[Android Apps and Games] MrOtto123:
USB Audio Player PRO UPnP renderer doesn't show up in BubbleUPnP server. It used to and I successfully used my Android phone as a renderer connected with USB to my DAC. I rebooted phone, computer, router and tried again. Both are on same network. Anything I could do to fix it?
[Android Apps and Games] bubbleguuum:
@ToraxOutlaw

Can you send me a new log file triggering that error message ? It might be caused by something else.
[Android Apps and Games] bubbleguuum:
@MrOtto123

No issue here with latest version of BubbleUPnP Server discovering latest version of UAPP as a renderer. Sounds trivial, but are you certain the UAPP renderer is running (it must be manually started in UAPP unless you enabled automatic startup in its settings). You can also check if BubbleUPnP Server detect Android BubbleUPnP as renderer.

Moreover, verify that on the machine running BubbleUPnP Server, there is not a paranoid Firewall blocking incoming connections from within the local network on random TCP ports.
[Android Apps and Games] knobstler:
I have exactly the same problem with both bubble and mconnect. it only works shortly when I restart the router. it does however work over wifi. but I want to run wired. what could I change on the router or the switch?
[Android Apps and Games] ken58:
After many years as a satisfied user of a registered copy of this great app I'm quite frustrated by now. Started when switching from my old cheap Oukitel C3 to an Xiaomi Redmi 5+ phone causing issues listed below. Worked around this by using the Oukitel solely for Bubble Upnp until it quit working some weeks ago. Now I received a One Plus Nord 2 (based on pure android) as a gift from my son intended to to fix problems but with little success. So I will return it.

Just to mention I spent hours to find more secret switches in hidden menus and testing to get control over power saving modes without final success. Even reactivating my old Pipo tablet M9 as a last resort at least is no (legal) option.

As I did some Android app programming myself I understand about your problems with the endless number of devices in combinations with Android versions and changes in Java/Kotlin and API. Just want you being aware of this an

Initiate two requests:​

A compatibility list where users can list issues of phones or hopefully report working devices. This would help other users to buy the right phone if the Bubble UPNP app is important for them. and save them a lot of time.

Please check if Android 5 is really necessary for the License App

Power Saving issues​

Xiaomi Redmi 5+ : While playing albums, track advance getting out of sync whenn in background. Have to close and restart Bubble Upnp go get control and sync again. sleep mode not working reliably.

New One Plus Nord 2 (Android 11): Control and track advance o.k. but sleep mode not working. Elapsed time of sleep timer is paused when the app is running in background so playing is terminated much later as scheduled or not at all.

Reactivate Bubble UpnP on old Android 4.2 device​

In Playstore only latest version of Bubble upnp is available with Android 5+ requirements

Downloading and installing older version (3.4.18) from an apk-archive is working fine. All my usecases are working as expected including sleep mode.

But i see no legal way to get use of my valid license even the license app is Android 5+ depended an not installable from Playstore.