yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] .:Stefan:.:
Hi there,

I am trying to get it work on my Synology DS216+ II NAS (DSM 6.2.4-25556) inside Docker with the official Docker container but it always fails. Doesn't matter if I configure via CLI as described in the docu here or if I do it via Docker GUI.

Here is an Docker error log as export. Would be happy for any useful hints.

[main ] INFO - 24:00:00.140 - Main : launcher version: 1.0

[main ] INFO - 24:00:00.293 - Main : first time setup: downloading BubbleUPnPServer.jar, please wait...

fips - softokn: crypto test failed - aborting

#

# A fatal error has been detected by the Java Runtime Environment:

#

# SIGSEGV (0xb) at pc=0x00007f8898f59927, pid=1, tid=7

#

# JRE version: OpenJDK Runtime Environment (11.0.11+9) (build 11.0.11+9-suse-1.1-x8664)

# Java VM: OpenJDK 64-Bit Server VM (11.0.11+9-suse-1.1-x8664, mixed mode, tiered, compressed oops, serial gc, linux-amd64)

# Problematic frame:

# C [libc.so.6+0x26927] abort+0x1d9

#

# Core dump will be written. Default location: Core dumps may be processed with "/usr/syno/sbin/syno-dump-core.sh /volume1 %e %p %s" (or dumping to /opt/bubbleupnpserver/core.1)

#

# An error report file with more information is saved as:

# /tmp/hs_err_pid1.log

#

# If you would like to submit a bug report, please visit:

# https://bugreport.java.com/bugreport/crash.jsp

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.

Thanks and BR

Stefan
[Android Apps and Games] bubbleguuum:
@.:Stefan:.

This has been reported by another user. Seems to be a weird quirk on Syno, not always happening. There is no fix that I could find, but I plan to make alternate Docker images based on the OpenJ9 JVM instead of OpenJDK, so maybe it will fix it.
[Android Apps and Games] bubbleguuum:
@dark0shark

Yes it is normal: hardware volume buttons only work when the app is in the foreground, unless you are controlling a Chromecast or local playback.

It would be possible to support other renderers (UPnP AV / OpenHome) but requires tying into the audio session system and it is a bit convoluted.
[Android Apps and Games] bubbleguuum:
@Druschii

What's the specs of your Syno NAS, especially in term of memory ?

Other than that you can send me (bubblesoftproducts@gmail.com) the BubbleUPnP Server log files after it goes out of memory.

Files are named BubbleUPnPServer.log.0 and BubbleUPnPServer.log.1 and found in the /volume1/homes/bubbleupnp/appData folder.
[Android Apps and Games] bubbleguuum:
New v3.5.3p3 beta available and pushed to Play Store beta subscribers. Download APK

The big change is the update to targetSdkVersion 30 (Android 11), resulting in support for Scoped Storage on Android 11+ devices.

This really requires testing. Full details in the app in More > Gear icon > Version > Changelog.

.
[Android Apps and Games] .:Stefan:.:
Hi,

alright, thanks for your F/B.

In the meantime, I tried the BubbleUPnP Docker image from "icebear8" and it works like a charm, no idea why but it's also using actual server, so I'm gonna stay with this for now as it seems to do its job well.
[Android Apps and Games] bubbleguuum:
@.:Stefan:.

The icebear8 image works because it use a different Java runtime that is not crashing.

I've made a new container based on the OpenJ9 runtime. Can you test it and report if it works ? As a bonus it uses less memory.

To try it, retrieve image bubblesoftapps/bubbleupnpserver-openj9 (instead of bubblesoftapps/bubbleupnpserver)
[Android Apps and Games] .:Stefan:.:
I'm happy to test but till now I cannot see it in the list of images when searching for "bubbleupnpserver". It throws 27 results but none with the image name mentioned by you.
[Android Apps and Games] bubbleguuum:
@.:Stefan:.

It should be showing up now.
[Android Apps and Games] .:Stefan:.:
OK, it's there and I could download and run it. It works now on my system. Thanks!

Here's a quick "ressource comparison" from DSM/Docker between yours and Icebear8 variant:

BR,

Stefan
[Android Apps and Games] TadMorose:
@bubbleguuum I have a weird one for you.

I am using Local Renderer to stream TIDAL over Bluetooth to my car stereo. It was working fine with my previous phone, Huawei P20 Pro. But as soon as I switched to the new Pixel 4a 5G running Android 11, this problem started.

Songs never finish and skip to the next track prematurely. I think it happens if a song is more than 4 minutes long. It skips to the next one after about 4 minutes. Songs shorter than 4 minutes don't skip and finish properly.

Tried streaming over Bluetooth to my Lyngdorf streaming amplifier at home and it's not happening. Not happening without Bluetooth, playing just fine from TIDAL on the phone speakers. Not happening with any other renderer I have - Lyngdorf, Samsung Smart TV or Chromecast connected to my old dumb TV.

Checked Local Renderer settings. Handle auto focus and Gapless playback are turned off. Not sure what else I should check.

Any ideas? :unsure:
[Android Apps and Games] jimger:
Does anyone know if it is possible (or can be added) that we stream files over drive (Google) to dlna TV bypassing local android server? Either by providing to TV behind the scenes the gdrive stream link or by using local pc with bubbleupnp installed? The developer could add drive authentication to pc?
[Android Apps and Games] bubbleguuum:
@TadMorose

Weird that you have this issue only with Bluetooth as I would expect it to also happen playing on phone speakers.

Maybe you can try enabling 'More > gear icon > Local and Cloud > Use proxy', although I doubt it will fix it.

If it doesn't, disable that setting and send me a log file playing a TIDAL track via BT until it unexpectedly ends mid-track. See first post of this topic for logging instructions.
[Android Apps and Games] bubbleguuum:
@jimger

Not really possible as Google http streaming servers are extremely finicky in how the streaming is performed and other annoyances.

So BubbleUPnP has to proxy the stream to address all of this.
[Android Apps and Games] jimger:
But couldn't u (if u are the developer) add authentication to pc? So remote control the pc to do this? (or even Nas if u have app for that)
[Android Apps and Games] TadMorose:
@bubbleguuum

I just sent you the log file. Thanks!
[Android Apps and Games] Mr Mann:
Are we able to use bubbleupnp with Apple Music to transcode ALAC to WAV to send to a Chromecast Audio like we can with Tidal & Qobuz?

If not are there plans to implement this?
[Android Apps and Games] bubbleguuum:
Apple does not allow third party apps to access Apple Music, so no.
[Android Apps and Games] piloro:
Hello,

I tried a little research in the thread, but didn't find anything about it...

I'm trying to open with Bubbleupnp a M3U playlist listing a number of youtube video urls (which, as I understand, the app can open individually), but I get this error:

Am I doing something wrong, or is it simply impossible?
[Android Apps and Games] bubbleguuum:
@piloro

Can you send me (bubblesoftproducts@gmail.com) that m3u file ?
[Android Apps and Games] Mr Mann:
Thats a shame 😔 Appreciate the response. Thanks
[Android Apps and Games] snowmantr:
Hi @bubbleguuum , I am having an annoying issue and hoping that you can help. I used to use BubbleUPnP to play tracks on USB Audio Player Pro on my old android phone. I bought a Shanling m3x dap and installed UAPP on it. I activated UPnP Renderer. I can see it in BubbleUPnP, however the BubbleUPnP app keeps giving me this message:

”Browse error: Current state of service prevents invoking that action. Connection error or no response received”

I really don’t know how to fix this. I appreciate your help mate.
[Android Apps and Games] bubbleguuum:
@snowmantr

This error happens if the UPnP/DLNA media server (Library) is unresponsive. What is your Library ? If it is an external server, try to reboot the machine it runs on.
[Android Apps and Games] snowmantr:
Thanks for getting back to mate. I'm using UAPP on Shanling M3X dap. I activate the server and renderer then try to connect from BubbleUPnP on my android tablet. I tried restarting, resetting my dap. I also uninstalled and installed back UAPP but no luck :( Running the latest version of UAPP (5.9.9.9).
[Android Apps and Games] bubbleguuum:
@snowmantr

What Library (UPnP media server) are you using ? Is it BubbleUPnP running on the DAP that you access from your tablet ?

if that's the case, make sure BubbleUPnP is still running on the DAP.
[Android Apps and Games] snowmantr:
Hey @bubbleguuum , BubbleUPnP runs on my android tablet, not on the dap.

Here's my setup:

Shanling M3X (dap) -> UAPP is up and running, UPnP Renderer option is active

Android tablet -> BubbleUPnP is up and running, it can see the UAPP on dap but cannot connect to it. Whenever I try to connect it gives that error I mentioned previously.
[Android Apps and Games] bubbleguuum:
@snowmantr

It is a "Browse error", thus it is and error related to accessing the Library, not the renderer (UAPP).

It would be best if you sent me a log file, triggering this error (see first post of this topic for logging instructions).
[Android Apps and Games] wilderson:
Could we have the option to set bookmarks as the starting view/page? pretty please. The option to reopen the last view doesn't seem to include them. @bubbleguuum
[Android Apps and Games] snowmantr:
Just emailed the log file to you buddy. Thanks again.
[Android Apps and Games] bananasareyellow:
I have a Synology DS1517+ with DSM 7 (Release version) and I can confirm that bubblesoftapps/bubbleupnpserver-openj9 fixes the problem for me. Thank you.
[Android Apps and Games] kokorocat:
Hello, I have a problem with bubble upnp when trying to play videos from google drive in chromecast4, I get the message "application not compatible" and it doesnt let me enter to my google drive folder, I clarify that before July it was working normally , what could be the problem?
[Android Apps and Games] bubbleguuum:
@kokorocat

Can you go into 'More > gear icon > Local and Cloud > Google Drive' and tap 'Revoke access', then check if you can enter the Google Drive folder again ?
[Android Apps and Games] bubbleguuum:
BubbleUPnP Server 0.9-update41 available.

Changelog

Make sure to read the changelog if updating on Windows, for important info.

.
[Android Apps and Games] marcussacana:
First of all, thanks for this awesome tool... but to me is missing a feature, I have some videos with softsub in SSA format and the Chromecast don't display the subtitle, if I brought the pro version that transcoding feature will be able to render the softsub?
[Android Apps and Games] charles_martel:
Hi !

Subject: android auto

I'm user of pro version of BubbleUPnP, and enjoy it

My configuration and setup:

Raspberry NAS (open media vault) + DLNA + BubbleUPnP server

Home cinema amplifier in the house connected to speaker

Chromecast connected to home cinema

Android tablet + BubbleUPnP connected to amplifier with bluetooth or chromecast (less as it's stop playing after a while)

Android phones (mine and another user) playing to various sound system with bluetooth, including cars (connected with internet thru Bubble Server)

Old post among others, as exemple:

I've done search on this big topic (lot of work here !), and I understand no Android Auto (AA) version is planned as it is a lot of work to have a dedicated UI for it.

Maybe my suggestion will interrest you, dev and users:

Instead of developing a complete version for AA that would be possible to have juste a small "app"/"plugin" just to control the player on android auto (next, stop, play, etc...) and no browsing or advanced functions. By doing this we assume the playlist already exists and is OK and we just need basic control over the playing

What's your feeling about this?
[Android Apps and Games] bubbleguuum:
@marcussacana

If the SSA is embedded in the video it can be extracted to external SRT with 3 dot menu on video > Extract embedded subtitles.

if the SSA is an external file, you will have to convert it first to SRT with another app and associate it to the video with 3 dot menu on video > Choose subtitle file (SRT). Once a SRT is associated to a video (using either method), if you play that video to your Chromecast you should see subs.
[Android Apps and Games] bubbleguuum:
@charles_martel

The app already respond to standard media keys (PLAY, PAUSE, STOP) sent by Android.

if Android Auto is sending these events, BubbleUPnP should receive them (to test this initially make sure the app is in the foreground). Though I'm very unfamiliar with Android Auto and do not know if apps can be easily sideloaded on it, and if phone designed app launch at all on it.
[Android Apps and Games] IronTechmonkey:
I don't know if this speaks to android auto but I can testify to the use of the raw android commands with Bubble; with a Tasker condition which issues the play next command when proximity sensor is triggered = wave hand over device or even throw something (soft) at it to play next track. It works with bubble minimized and with the display off, and IIRC Tasker is merely delivering the standard android command. @charles_martel, that may not be directly applicable to your suggestion so file as FWIW.
[Android Apps and Games] MrOtto123:
How do I create a Windows task scheduler event for BubbleUPnP server so it starts before I need to log in? Not sure how to configre the "program/script" or "arguments" field in Windows Task Scheduler.
[Android Apps and Games] bubbleguuum:
If you want to run BubbleUPnP Server independently of login/logout, use the Windows service version:

Windows Install | BubbleUPnP Server

You have the choice between 2 installers depending on if you want to run BubbleUPnP Server for a single-user or for all users as a Windows Service and other considerations. You can safely install the single user installer over a service install (and vice versa, a new install entirely replacing...

bubblesoftapps.com
[Android Apps and Games] MrOtto123:
Thanks.

Do you know if there is transcoding or resampling of for example FLAC files when I play them from local storage in Windows with foobar2000 using foo_upnp to Chromecast audio configured in BubbleUPnP windows server?

Can I control this like I can control streaming profiles in foobar2000 for BubbleUPnP for remote control playback with media server from the Android BubbleUPnP?
[Android Apps and Games] dez93_2000:
Hi Bubble, any thoughts/ideas regarding this? I've just found another folder/album which displays alphabetically, even though the tags all look correct. Thanks!
[Android Apps and Games] bubbleguuum:
@dez93_2000

Difficult to tell but if you browse the media server by filesystem folders, it is expected that a folder containing an album will be listed in alphabetic order. Now if you browse from a tag based hierarchy (say Music/Albums/...), albums should be sorted by track number (assuming they are properly tagged with the track number).
[Android Apps and Games] bubbleguuum:
@MrOtto123

Normally there should not be any, up to 96kHz/24-bit which is the max supported by Chromecast Audio. Assuming you use foo_upnp for playback to your CCA (and not foo_out_upnp).

Not sure what you mean here...
[Android Apps and Games] MrOtto123:
Thanks

I have a problem now after I installed the BubbleUPnP server service, it starts ok, but now my Android BubbleUPnP app with license can't find the Windows server, both are on the same wifi network. I only get local transcoding (got remote before) and I don't see the DNLA media renderers I added in BubbleUPnP server, also can't see the Android media server in Windows.
[Android Apps and Games] bubbleguuum:
@MrOtto123

Try rebooting your WIFi router and (if necessary) PC and Android device.

Make sure your WiFi router is up to date.
[Android Apps and Games] MrOtto123:
Thanks, restarting Android device worked with app not finding the Windows server.

But something else:

I have repeated problem with Windows BubbleUPnP server not listing Serviio or foobar2000 media server. I have these to start after the BuubbleUPnP server, seems to help. But often, they are not on the servers list of media servers available. I often find my self having to restart each media server, to have them discovered by the BubbleUPnP server.

Any solution to this? Can the Windows BubbleUPnP server be able to discover an already started and running compatible media server?

Thanks for a great app (I have bought the license) and UPnP server, best solution for media playback I have tried, plays every format, very few problems. Much less hassle than Videostream or Plex.
[Android Apps and Games] .:Stefan:.:
Greetings!

@bubbleguuum : I'd like to operate BubbleUPnPServer inside a Docker environment that is running on Proxmox VE and the Docker is managed thru Portainer. Due to the structure of my network, I'd like to put BubbleUPnP Server into a VLAN that's not the same with the Host, so the network configuration cannot be "host".

Is there any guide available what to do to make BubbleUPnPServer in such an environment working so that DLNA media servers and renderers will be recognized accordingly?

Many thanks in advance!
[Android Apps and Games] bubbleguuum:
@.:Stefan:.

You can configure Docker networking how you like as long as in the VLAN you can reach UPnP/DLNA devices outside of it.

For device discovery to work, you need to have SSDP discovery working on your VLAN and reaching devices on your regular network. It uses UDP mulitcast on port 1900.
[Android Apps and Games] .:Stefan:.:
thank you! I'm gonna give it a try.
[Android Apps and Games] Brane Dev:
Hi, I'm a developer working on a UPnP media renderer and I've been using BubbleUPnP as a control point / media server. I've noticed that if BubbleUPnP has gapless playback enabled and 'repeat track' is enabled the currently playing track is not repeated. Rather, after the current track completes the next track in the playlist is played and repeated. If gapless playback is disabled the currently playing track repeats as expected.

I expected to get an updated NextAVTransportURI when the repeat mode changed in the app. Is this a poor assumption on my part? If so, how is this supposed to work?
[Android Apps and Games] psychofaktory:
Hi,

with the official docker container, hardware transcoding isn't working with my AMD Ryzen 3 PRO 4350G

In other Docker-Containers, VAAPI is working.

Is the correct driver for that APU in the BubbleUPnP-Container implemented?

I've attached the log file of the transcoding test.

Spoiler content hidden.
[Android Apps and Games] bubbleguuum:
@psychofaktory

Thanks for the report. The docker image is indeed missing many vaapi drivers.

I've updated it on docker hub to include them.

Can you try it and report if it works ?
[Android Apps and Games] psychofaktory:
@bubbleguuum

Thanks for updating the image.

I've updated the container with the new image and performed the transcoding test.

But unfortunately it says "Test failed" again.

I've attached the log of the new test.

Would it be possible to let the config folder map outside the Docker image, as is the case in the skujakira image?

This would make it easier to edit the config file and the adjustments would also be persistent when reinstalling.

Spoiler content hidden.
[Android Apps and Games] bubbleguuum:
@psychofaktory

You forgot to attach the new log. Can you send it to bubblesoftproducts@gmail.com ?

No plan for making the config file external.
[Android Apps and Games] psychofaktory:
It seems that I can't attache files here, so I edited it as Spoiler in my previous post.
[Android Apps and Games] bubbleguuum:
New BubbleUPnP Server docker images are available on docker hub, with working VA-API support (for Chromecast transcoding)
[Android Apps and Games] bubbleguuum:
@Brane Dev

Thank you for the report, I will look into it.

Enabling repeat should disable gapless control (ie the use of SetNextAVTransportURI, NextAVTransportURI) and revert to regular control.

That's a design choice in BubbleUPnP where gapless control is only performed when playing tracks of the same album in succession.
[Android Apps and Games] psychofaktory:
Is there another way to make the configuration persistant?
[Android Apps and Games] bubbleguuum:
The config (stored in the container) is persistent across launches if you use a persistent container created with 'docker create' rather than 'docker run'. The configuration.xml file can be copied in/out of containers with 'docker cp' as explained in the documentation, if necessary.
[Android Apps and Games] bubbleguuum:
I've made a docker image (arm64/amd64) for the BubbleUPnP Tether Client.

This is mostly useful on platforms for which having Java running or up-to-date Java might not be straightforward. Can also be useful if you want to have the client started automatically when the docker daemon is started by the system.
[Android Apps and Games] MrOtto123:
Ever since I installed the server as a service I have had trouble with the Android app finding the server and performing remote transcoding. It sometimes will switch to remote transcoding after a while, but almost always starts with local and stuttering.
[Android Apps and Games] bubbleguuum:
@MrOtto123

Try to reboot your WiFi router and check that its firmware is up-to-date. Also go into its settings and look for a an 'IGMP snooping' setting. If you find it, disable it.
[Android Apps and Games] stayloa:
Hi there. I've just upgraded my rig (11700k) and am trying to work out if there's a way I can get the iGPU to do the transcoding work. I have a 1060 6GB as my main GPU and when first selecting the iGPU it fails saying either BubbleUPnP is running as a service (it's not, am using the executable) or that the iGPU isn't the primary GPU.

I plugged my TV in to the iGPU and set it as primary in the BIOS as well as the primary display in windows but I get the same message, saying that the CPU is doing the encoding. This is whilst my monitor is still plugged in to the NVIDIA.

Is there a way to fix this? I was thinking of getting a ghost HDMI adapter, but given the above, I'm not sure that would work either.

Does that iGPU have to be the only GPU for it to work?

I'm really just tinkering - certainly not a big problem!

Thanks!

Edit - so I got it working and no need to buy a ghost HDMI adapter! I'm not sure if this is Windows 11 specific or not, but System>Display>Graphics lets me essentially bind a GPU to a specific app. I just added ffmpeg and ffprobe from the BubbleUpNP folder to the list of apps on that screen and selected "Power Saving" for each one which was linked to my Intel iGPU. Restarted everything, ran the transcoding test and I get a pass on Intel QSV via the iGPU!
[Android Apps and Games] msssm:
Hi, I still backup my apps with TitaniumBackup and noticed, BubbleUPnP has currenly 70,49M of data. Most important for me are some of the personal Playlists, but this isn't so much data. Where does all the data come from and how can I do a cleanup? I already found some "Delete search history" in the settings and I've done that.

And yes I know, I do also additionally export my playlists now from BubbleUPnP as backup.
[Android Apps and Games] bubbleguuum:
@msssm

There is the thumbnail cache that can take some room. Prior to a backup, you can clear it in More > Gear icon > Library > Clear thumbnail cache. The app also has its own backup facility in More > Gear icon > Export/Import data where you can save/restore settings, Saved Playlists and Bookmarks.
[Android Apps and Games] Amad0r:
Hello ! I'm a happy user of the paid version of BubbleUPNP for Android. I use it to play audio files from a PC library (shared on the network with Ubuntu 'media sharing' function) on a Denon AVR. It works beautifully.

On the PC I also use the local player with playlists. I would like to export/share these playlists with BubbleUPNP for Android. I tried to put them in pls/m3u/xpsf formats in the shared folder (where audio files are located). No success. I also tried to put them in a dedicated subfolder 'Playlists'. No success.

Am I misssing something ?

Thanks !