yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] fp.ath.cx:
I can imagine what your problem is. You surely have configured the the official IP-Adress of your internet-access and configured port-forwarding on your router to the Bubble-UPnP-server (otherwise it wouldn't work from outside, of course). Now if this address isn't working from inside your LAN, the reason is often that your CPE (router) is not capable of "hairpin-NAT". That means that in your case the portforwarding works if the connection comes from outside, but not from inside.

I had the same problem. The solution I implemented is a DNS-proxy for your internal LAN. You can configure the DNS-proxy to give back a different IP for certain names. The result: when being inside your LAN, you automatically go directly to the media-server, without using the official adress. This can easily run on your NAS. I use dnsmasq for this.

Kind Regards,

airflow

---------- Post added at 03:51 PM ---------- Previous post was at 03:23 PM ----------

I had the same idea and wanted to configure it like that. The problem: In the section "media renderers" in twonky's configuration the Bubble-server never shows up! I guess it's an issue of twonky: Perhaps another device can't have the same IP as the twonky-server itself (which is the case here - twonky and bubble are running on the same device). It seems you can't configure such a device manually. Nevermind - I can live perfectly without the proxy, so I turned it off.

I have another request: I found out today, that I still run version 0.6.1 of the BubbleUPnP-Server... Although I already thought I upgraded! :) Reason seems to be the link on your homepage (http://bubblesoftapps.com/bubbleupnpserver/BubbleUPnPServer-distrib.zip) still points to the old version. Please fix.

Kind Regards,

airflow
[Android Apps and Games] bubbleguuum:
Yes, this is one solution to address "NAT reflection" which is the process of having the router handling gracefully public ip requests when they come from the LAN. Some routers have NAT reflection disabled thus denying public ip requests from within the LAN. One solution is to do what you describe. Another solution is to check if NAT forwarding can be enabled on the router.

In any case I'd like to make the handling of WAN and LAN Servers transparent for playlist items, whether the connection is WAN or LAN, so all of this is not required and "it just works".

But it is quite complicated so still some way off.

Weird. On my setup I can see the PC running BubbleUPnP Server in the "Media Receiver" list. Twonky runs on the same PC.

Maybe in your case Twonky sees 127.0.0.1 (localhost) as the receiving ip address for BubbleUPnP Server (instead of the LAN ip) and does not list it.

Fixed. Thanks for reporting
[Android Apps and Games] homar76:
winxi - which DSM version are you using - i don´t have this menu entry in DSM 3.1

thanks, markus
[Android Apps and Games] vampyrex13:
Just tried the new 0.6.2 version and I still can't play browse to my movies or tv show episodes folders to play them. Music works just fine though. Can you please have a look at this. I have to stick with 0.5.4 until this gets fixed. Attached is my logfile from 0.6.2.
[Android Apps and Games] bubbleguuum:
Thanks for the log.

I thought I had fixed this bug but apparently not: XBMC sends the invalid mime-type "fanart" which make the server abort the browse request on an unhandled exception.

I'll fix it for good in 0.6.3. In the meantime, use 0.5.4.

XBMC is really dumb here sending "fanart" as mime-type...They could as well set it to "WTF", it would have the same effect :).
[Android Apps and Games] winxi:
I'm running the latest DSM 4.1. I would recommend to upgrade, as there were many useful changes since then. If your device is too old to update, you can try to install an alternative media server at your NAS. MinimServer, for example, will always expose the full album art.
[Android Apps and Games] impulse101:
I am having the oddest issue. I connect into my bubbleupnp server while I am at work to stream my media from home but today it won't connect to my home server.

I remote logged in to my home PC to try and test the settings but I just get "can't find 127.0.0.1:58051" or "local host: 58051" or something to that effect. I have ports 58050-58051 forwarded on my router. My media server at home is an Iomega Home NAS unit with Twonky on it. I know that is working fine because I can connect into the device when I remoted into my home PC.

I don't know what can be the reason I can't connect or why I can't even access the settings for BubbleUPNP when I remote logged into my PC. Any ideas.
[Android Apps and Games] bubbleguuum:
It is probable the server has crashed. You can try to restart it with "Start BubbleUPnP Server service" in the WIndows start menus.

Also you can send me the log file (BubbleUPnPServer.log.0, found in the install dir => bubbleguuum@free.fr), so I can see why it crashed.
[Android Apps and Games] rsr91504:
Hamachi VPN conflict with BubbleUPnP Server (Win PC)

I am a licensed user of BubbleUPnP android v.1.5.2. I am using BubbleUPnP Server v.0.62 on my Win7 PC. On my PC the BubbleUPnP Server window shows my local LAN IP to be my Hamachi VPN address (which is a WAN address) and not my LAN address. Only when I shut down my Hamachi VPN network connection in Windows and refresh the BubbleUPnP server does my LAN address show correctly.

I need my VPN functioning, so this workaround is not an option for me. Is there any way to get the BubbleUPnP server to use my LAN IP and not my VPN address, or else to *manually* set the server LAN IP?
[Android Apps and Games] impulse101:
You were partly correct, something was wrong with my Java install which in turn wouldn't let the service start for bubbleupnp. reintalled java and everything is working fine :)
[Android Apps and Games] Snowknight26:
Sorry, should have specified. Now Playing.
[Android Apps and Games] Tom23Ko:
Problems with album art size by Twonky

Here a hint that may be useful for Twonky users:

I've read several times, that people had problems with the display of album art in BubbleUPnP via Twonky. In first place the downscaling to 160x160. I've had this problem myself in Twonky 6 and now again after upgrading to Twonky 7.

As mentioned by others already, this has nothing to do with BubbleUPnp but is a Twonky problem. If you connect from your Android device to Twonky, the device is initially registered as "Android" in the Twonky settings. The original settings for "Android" include no instructions for scaling album art or other pictures. So Twonky makes a downscaling to 160x160 by default.

There are two possible solutions:

Manually change the device type in the Twonky settings to another device (e.g. "Bubble DS control Point") which prevents Twonky from downscaling album art.

However, you have to do this with every new device connecting to your Twonky or again after resetting your Twonky DB.

In Twonky 6 the specific device information are read from the file clients.db. So you can edit the default "Android" settings in this file and add the instructions for scaling of album art and pictures. After restarting your server the changes should get active.

After editing the "Android" settings should look like:

NA:Android

HH:Android

XM:AASCALE#JPEGORG

TR:JPEGORG

DB:FIX

WB:webbrowse-n95

TP:MP4,-relocate_moov

In Twonky 7 the handling of device settings is different, so i had small crappy album art again after upgrading. From version 7 on, the device settings are no longer stored in the clients.db, there is an extra .xml-file for every device. This has to be edited. There is even a readme-file with these informations in the Twonky folder and a template for creating new .xml-files.

After editing the "Android" .xml-file should look like:

<Client>

<DeviceId>

<DisplayName>Android</DisplayName>

<HttpRecognition>

<HttpText>Android</HttpText>

</HttpRecognition>

<MappingUpdatePolicy>AUTO</MappingUpdatePolicy>

</DeviceId>

<Capabilities>

<Scaling>

<Target>JPEGORG</Target>

</Scaling>

<SupportedMediaProfiles>

<Profile>AASCALE#JPEGORG</Profile>

</SupportedMediaProfiles>

</Capabilities>

<Adaptations>

<TranscoderParameter>

<Target>MP4</Target>

<Parameter>-relocate_moov</Parameter>

</TranscoderParameter>

</Adaptations>

</Client>

Finally restart Twonky and it should work fine. In some cases the clients.db is overwritten with every restart, so editing the file permanently

is a bit tricky. On my QNAP-NAS however the changes were permanent.
[Android Apps and Games] impulse101:
A feature I would like but I dont know how easy it would be for you to implement. I'd like to be able to shuffle or perform a random sort on my video file library. I think you can do it with music files but not video in bubble?
[Android Apps and Games] Egoduck:
Hi!

First of all, thanks for the best app ever written!

I got a problem with playing XiiaLive Radio Streams on my Samsung TV D5700.

I made the changes in the advanced settings according to your instructions.

For some reason, when I play a radio stream in XiiaLive, the stream is not catched by BubbleUPNP.

There is also no entry in the Playlist Tab.

I also tried to force shoutcast proxy with no success.

Do you have any hints for me?

Thanks in advance!
[Android Apps and Games] bubbleguuum:
XiiaLive 3.0.0 that has been released early September does not work anymore with BubbleUPnP. The older version works but unless you've made a backup it is not available anymore.

I've fixed it and it will work with 3.0.0 in the next version of BubbleUPnP.
[Android Apps and Games] bubbleguuum:
Can you explain your use case for shuffling video so I can understand your need better ? Where do you play that videos (local renderer, TV) ?
[Android Apps and Games] bubbleguuum:
Thanks for the write up on this. Very useful.

Now you have to wonder why Twonky sends 160x160 covers to Android by default.
[Android Apps and Games] bubbleguuum:
You can try to change 'WAV method' to 'Method 1' or 'Method 2' to check if they remove the duration limitation.

There is no guarantee that either will work at all.
[Android Apps and Games] Lion4u:
Wow! Method 2 worked and I didn't see time limit... Seems it was the solution. Thanks a lot!
[Android Apps and Games] bubbleguuum:
@davor.f

It is probable the Docker version the Syno is running is doing something different regarding writing to storage.

I cannot help much here: it was already extremely difficult to determine all the causes of disk writing when the image is running, that resulted in the current combination of options of the documentation to get rid of it...

Weird issue. What Android version is this Fire Cube running ?
[Android Apps and Games] davor.f:
Hello!

I think it's Android 9 (Fire OS 7).

Anyway, I've solved this by installing BubbleUPnP server on Raspberry I'm using as home automation server. Everything works and NAS goes to hibernation.

Thank you for your help.

Best regards,

Davor
[Android Apps and Games] Steve miller:
Hi I have been using the app for a couple of years but in the last month a problem has appeared when streaming from Qobuz.

Each track in an album tends to hesitate a couple of times during the first 30 seconds of playback. Sometimes this occurs 2 or 3 times before settling down for the rest of the track.

Any suggestions would be welcome. I have tried reinstalling the app but the problem remains.

Apologies but I can see this should be a new thread but I don't see the option to start one🤔
[Android Apps and Games] GioF_71:
Hello, is there a suggested way to map a local directory to the BubbleUpnp Server configuration file, when using docker?

I tried mapping the fle /opt/bubbleupnpserver/configuration.xml to a local file, set its permissions to uid/uid 498/498, and sometimes it seems to work. But eventually I lose my configuration and needs to reconfigure.

I know I could install the package directly on the machine (it's a debian x86_64), but I really prefer to avoid installation of java and other packages on the host machine if possible. Docker is by far my first choice.

Thank you for any help
[Android Apps and Games] GioF_71:
Seems like it's woking now, I also have changed the permissions of the local directory which contains the configuration.xml file to uid=498 and gid=498 and it seems that the file is always correctly updated every time I change something in the BubbleUPnP server web interface.

However it would be nice to have an 'official' configuration volume. If one want to do this starting from scratch, the method I am using would require a first start, the extraction of the file, changing the compose file to add the mount point, changing the file and directory permission, and then recreate the container.

Unless I am missing something of course!

Thank you
[Android Apps and Games] bubbleguuum:
I must say I have not really thought about using a volume for the configuration. I think it is a bit overkill as it is not something most users will edit and if you want to occasionally edit it, I document how to do it in the Docker documentation page:

docker stop bubbleupnpserver
docker cp bubbleupnpserver:/opt/bubbleupnpserver/configuration.xml .
<edit configuration.xml>
docker cp configuration.xml bubbleupnpserver:/opt/bubbleupnpserver
docker exec -u root bubbleupnpserver chown bubbleupnpserver.users /opt/bubbleupnpserver/configuration.xml
docker start bubbleupnpserver
[Android Apps and Games] mkdr:
Following issue:

Using BubbleUPNP locally with a JamCast virtual soundcard, so I can listen to audio playing on the server remotely. In the past it worked fine. Yet when I want to play the virtual soundcard inside the BubbleUPNP app, it wont play. The play icon shows for 5 seconds or so then switches back to pause with no error.

When I go to playlist click the "..." icon for the virtual soundcard, show metadata, copy the stream url for mp3 and open it on the client inside Chrome or VLC, it plays fine.
[Android Apps and Games] GioF_71:
Hello, yes the documentation is perfectly clear about how to operate on the configuration file. My issue per se is solved, I am basically doing the same things as the instructions you quoted.

Having a separate folder for configuration files, so those can survive container re-creation without requiring manual intervention, is common practice with docker images. Also the files would be available locally for viewing/editing without having to interact with the container.

Should you want to implement this, you would just need to make sure that you app write its config file to a separate directory (etc: `/config`).

Currently mapping the whole /opt/bubbleupnpserver directory to a local directory does not work because that directory also contains binaries/libraries, so the container would not start.

Other than this minor issue, the container image works perfectly and already helps me avoiding to install java on the host machine. I encountered the issue with the last image update (a few weeks ago). I did not previously back up the configuration files so I had to reconfigure the server. No big deal but still, this might be avoided.

Cheers!
[Android Apps and Games] bubbleguuum:
@GioF_71

OK, will think about externalizing the config directory for the next image update. It will actually be the data directory (config file, log files, cached files, OpenHome playlist content, ...) as BubbleUPnP Server already supports a data directory different than the install dir.
[Android Apps and Games] GioF_71:
Thank you, that would be awesome!
[Android Apps and Games] meiser:
This is already possible. Please find below my Dockerfile which I use in OMV. The important parts are the "command" and "volumes" part.

version: '3'
services:
bubbleupnpserver:
command:
- -dataDir
- /config
container_name: bubbleupnpserver
devices:
- /dev/dri:/dev/dri
expose:
- 1900/udp
- 58050/tcp
- 58051/tcp
healthcheck:
disable: true
image: bubblesoftapps/bubbleupnpserver-openj9:latest
network_mode: host
restart: unless-stopped
volumes:
- ./config:/config
[Android Apps and Games] GioF_71:
Hello @meiser and thank you. I have adopted your strategy and I am also using the "command" now.

It worked beautifully and it's better than the solution I implemented before, because it does not rely on the fact that a "configuration.xml" actually exists. Plus I don't know if this would have worked if the file is rewritten by the application.

However I believe the entry-point of the image should set the "datadir" to the prescribed volume on its own without requiring this configuration on the compose file.

Or, but less desirably IMO, this compose file should be documented and maybe become official.

Also just a question, aren't the exposed port unnecessary when using the host networking?

Thank you for sharing your work.
[Android Apps and Games] bubbleguuum:
@meiser

How does that work ? The container does not have a /config directory:

~> docker-compose up
[+] Running 1/0
✔ Container bubbleupnpserver Created 0.0s
Attaching to bubbleupnpserver
bubbleupnpserver | failed to create FileHandler: java.nio.file.AccessDeniedException: /config/BubbleUPnPServerLauncher.log.lck
bubbleupnpserver | [main ] INFO - 24:00:00.06 - Main : launcher version: 1.0
bubbleupnpserver | [main ] INFO - 24:00:00.31 - Main : opened URLClassLoader
bubbleupnpserver | [main ] INFO - 24:00:00.125 - Main : Running BubbleUPnP Server...
bubbleupnpserver | failed to create FileHandler: java.nio.file.AccessDeniedException: /config/BubbleUPnPServerLauncher.log.lck
bubbleupnpserver | [main ] SEVERE - 24:00:00.01 - Main : java.lang.reflect.InvocationTargetException
bubbleupnpserver | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
bubbleupnpserver | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
bubbleupnpserver | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
bubbleupnpserver | at java.base/java.lang.reflect.Method.invoke(Method.java:568)
bubbleupnpserver | at com.bubblesoft.bubbleupnpserver.launcher.Main.main(Main.java:135)

Of course if I modify the image (Dockerfile) to create an empty /config folder it should work.
[Android Apps and Games] meiser:
Docker mounts the config folder in the container. Regarding the "AccessDeniedException", you need to run "chown 498:498 config -R" on the config folder. This is the UID/GID of the bubbleupnpserver user in the docker container.
[Android Apps and Games] meiser:
You're right, the ports could be skipped. For me, it's just a help as described in the docu.
[Android Apps and Games] bubbleguuum:
@meiser

Ah right I missed this. On my distro it makes the folder and files inside it owned by the 'mail' user and 'messagebus' group.

This makes the configuration.xml file not directly editable by my regular user in the host.

To edit it, I have to 'sudoedit -u mail configuration.xml'. 'sudoedit -u \#498 configuration.xml' works as well.

I will see how I can make volume mount of the data folder easier in an updated image.
[Android Apps and Games] bubbleguuum:
@meiser @GioF_71

I have made updates to the Docker container to make it easier to externalize the data directory (among other things).

I have also rewritten the documentation entirely and there is a paragraph for using Docker Compose, with a configurable

docker-compose.yml file. Full changelog
[Android Apps and Games] GioF_71:
Thank you very much @bubbleguuum!
[Android Apps and Games] tkalfaoglu:
Hi. I bought my license on my p30 which had Google play . The p40 i got now doesn't have it, but has gboard . I reinstalled the licence app from gboard but the main machines bubbleupnp doesn't see it and keeps asking me to register .. What to do ?
[Android Apps and Games] tkalfaoglu:
Another interesting thing. On this machine (p40 lite ) when I share from new pipe to cast to Google home device , it starts playback but Google home keeps the title on the screen and the progress bar stays animated as if it's still loading . For minutes . During which the video cannot be watched due to the title being on the screen and the video being dimmed .
[Android Apps and Games] bubbleguuum:
@tkalfaoglu

The BubbleUPnP License purchased on Google Play requires Google Play installed and configured with the Google account you used to purchase it. For non-Google Android devices there is BubbleUPnP on the Amazon appstore, but it has its own separate license purchase.
[Android Apps and Games] bubbleguuum:
Can you send me a log file attempting to play such video ? See first post of this topic for logging instructions.
[Android Apps and Games] tkalfaoglu:
So because USA chose to ban Huawei , I have to pay twice for bubbleupnp?
[Android Apps and Games] bubbleguuum:
A Play Store purchase requires the Play Store installed. Maybe you can search if it can be sideloaded on Huawei devices.
[Android Apps and Games] bubbleguuum:
BubbleUPnP Server 0.9-update49 is available (Changelog). Existing installs should auto-update to it within 24h (unless you disabled auto-updates). It can also be updated manually in the 'BubbleUPnP Server web config interface in 'Settings > Update > Check for update'.

This version brings a few stability fixes, especially if you have one or more Google Cast groups on your local network.

There are also improvements to running BubbleUPnP Server on Android, notably with GPU transcoding support (though to make use of it, it requires the next update to Android BubbleUPnP, not available yet). And for Android the jump is from update46 to update49 (intermediate versions were not available).
[Android Apps and Games] tkalfaoglu:
Done. Bought it again.
[Android Apps and Games] NinthWave:
GPU transcoding

I have a Quadro P600.

GPU transcoding works in Jellyfin container

GPU rendering works in Frigate NVR

It does not work in bubbleupnp server.

Can't see what's wrong with this:

services:
bubbleupnpserver:
image: bubblesoftapps/bubbleupnpserver:latest
container_name: bubbleupnpserver
hostname: veziko
runtime: nvidia # Expose NVIDIA GPUs
network_mode: host
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]

devices:
- /dev/dri:/dev/dri # VAAPI/NVDEC/NVENC render nodes
ports:
- 10.0.10.6:1900:1900/udp
- 10.0.10.6:58050:58050/tcp
- 10.0.10.6:58051:58051/tcp

volumes:
- config:/config

restart: unless-stopped

volumes:
config:
[Android Apps and Games] bubbleguuum:
@NinthWave

Are you using a BubbleUPnP Server image recent enough ? NVIDIA support was added in the Jan 16th image (which has been refreshed since). You can force Docker Compose to fetch the latest image with the --force-recreate option passed to 'docker compose up'

Also, does `docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi` runs successfully, to make sure the NVIDIA Container Toolkit works properly ?
[Android Apps and Games] NucXD:
Hi all...

I'm having an issue with Docker and the configuration.xml file.

I'm able to successfully create the data directory on my host and use the configuration.xml file located there.

However, all settings except those under Media Renderers are saved and used when bringing up the container. IIRC during my testing, if I stop and start the container it works properly, but if I bring it down then up, the Media Renderer settings are not used. If I look inside the .xml file for DLNA, the setting is there under enableGoogleCastDLNA as true.

Any help is very much appreciated!