yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] imush:
BubbleUPnP server: can browse does not play flacs remotely

I installed the server in a FreeBSD jail on a NAS, and can successfully connect from outside my home network and browse the music files on my android phone. However, I cannot play any of them (it is all FLAC and they are served by minimserver).

The player just hangs. There is no transcoding support, but do I need it? After some time there is a message flashed for a second "Current state of service prevents invoking that action. Failed to execute command withid delay 30000. (Code 501).

Any sugeestions?
[Android Apps and Games] bubbleguuum:
[MENTION=8943990]imush[/MENTION]

Can you send to bubblesoftproducts@gmail.com both the Android BubbleUPnP log file (triggering that "Current state..." error) as well as the BubbleUPnP Server log file (BubbleUPnPServer.log.0, usually in the install directory) ?
[Android Apps and Games] msssm:
Is that already fixed? I still have no X button in the notification. I have a Xiaomi Redmi Note 5, but no MIUI but a custom rom.
[Android Apps and Games] bubbleguuum:
[MENTION=5756797]msssm[/MENTION]

It's not fixed and all Xiaomi devices are blacklisted for that setting.

I'm reluctant to address this for non-MIUI Xiaomi devices, because I'm not 100% certain how to detect MIUI reliably and if I get it wrong the app

crashes on startup on all Xiaomi devices running MIUI (this happened before).
[Android Apps and Games] imush:
I turned on the log on the android phone and see messages like these:

[qtp241855963-1934 (1934)* * * * * * * * ] WARNING* - 0:03:41.529* * - java.net.ConnectException: failed to connect to <machine qualified address>/71.105.51.221 (port 58050) from /192.168.1.174 (port 42766) after 75000ms: isConnected failed: ECONNREFUSED (Connection refused)

Now, I did not open up 58050 to the outside, I only forward the https port, which is 58051. Do I have to? I can browse via https, but apparently the client gets links with port 58050 for the actual music files. How can I fix this?
[Android Apps and Games] bubbleguuum:
[MENTION=8943990]imush[/MENTION]

Even if using https to connect, you also need http port 58050 opened for streaming. https is used for everyting else other than streaming (connecting, browsing).

The reason is that http is potentially less problematic and more compatible for streaming. The http stream URL cannot be forged or guessed and returned via https to the client (Android BubbleUPnP).
[Android Apps and Games] imush:
Got it. That fixed the problem. Thanks.
[Android Apps and Games] The Chief:
Latest Bubbleupnp server works like a charm with latest SynoCommunity ffmpeg package, even with HW decoding. But it has to be configured manually with '-ffmpegDir /usr/local/ffmpeg/bin' in BUBBLEUPNP_OPTS. Dear author, can you please (with cherry on top!) add auto SynoComminity ffmpeg recognition to your wonderful server?

https://github.com/SynoCommunity/spksrc/wiki/FAQ-FFmpeg
[Android Apps and Games] Orddu:
Loving this app - started with Yamaha MusicCast - godawful thing that it is. So, thank you for this!

So, my question. QNAP server with Twonky server on it, to a Yamaha MusicCast-enabled device. All plays fantastically via BubbleUPnP.

Have two Android phones in the house. Both have BubbleUPnP on (paid version).

If I add things to the queue on my phone (using the "Lounge" renderer from the list), the other phone can see which track is currently playing in "Now Playing", but can't see the queue I've created on the playlist screen which I *believe* is held on the Yamaha device?

How can I (can I even?) get the current queue to appear on the other phone as well so the other person can pause it, add things etc?

Thanks in advance!
[Android Apps and Games] The Chief:
Got strange behaviour in UPnP Tethering. After file seeking in client, next file is skipped with error. Here's the log:

[StreamProxyServlet-7796 (7796) ] INFO - 0:26:01.651 - .p$b : proxy: onResponseComplete: total response bytes: 2484212

[qtp1838827223-7797 (7797) ] INFO - 0:26:09.253 - .s : proxy stream request /stream/audio/b6707d8962b4d7593d1f0c8e85a73f8d.flac => http://192.168.16.16:50002/m/NDLNA/70393.flac

[StreamProxyServlet-7796 (7796) ] WARNING - 0:26:09.254 - .p$b : proxy: got exception during response: org.eclipse.jetty.d.o: early EOF

[qtp1838827223-7798 (7798) ] INFO - 0:26:10.189 - .s : proxy stream request /stream/audio/9b9c93c5887d081a074ae8e9301c2447.flac => http://192.168.16.16:50002/m/NDLNA/70394.flac

[qtp1838827223-7774 (7774) ] INFO - 0:26:10.384 - .s : proxy stream request /stream/audio/b6707d8962b4d7593d1f0c8e85a73f8d.flac => http://192.168.16.16:50002/m/NDLNA/70393.flac

[qtp1838827223-7795 (7795) ] INFO - 0:26:10.425 - .s : proxy stream request /stream/image/468552f729597a75c8e5e8e2d306cf7f => http://192.168.16.16:50002/transcoder/jpegtnscaler.cgi/folderart/70393.jpg

[StreamProxyServlet-7799 (7799) ] WARNING - 0:26:10.444 - .p$b : proxy: onResponseContent: org.eclipse.jetty.d.o

[StreamProxyServlet-7794 (7794) ] INFO - 0:26:10.463 - .p$b : proxy: onResponseComplete: total response bytes: 7665

[qtp1838827223-7797 (7797) ] INFO - 0:26:10.466 - .s : proxy stream request /stream/audio/b6707d8962b4d7593d1f0c8e85a73f8d.flac => http://192.168.16.16:50002/m/NDLNA/70393.flac

[StreamProxyServlet-7794 (7794) ] WARNING - 0:26:10.522 - .p$b : proxy: onResponseContent: org.eclipse.jetty.d.o

[qtp1838827223-7774 (7774) ] INFO - 0:26:11.402 - .s : proxy stream request /stream/audio/9b9c93c5887d081a074ae8e9301c2447.flac => http://192.168.16.16:50002/m/NDLNA/70394.flac

[qtp1838827223-7797 (7797) ] INFO - 0:26:11.444 - .s : proxy stream request /stream/image/1bc31b2b1362b1c928ef1c92cb226679 => http://192.168.16.16:50002/transcoder/jpegtnscaler.cgi/folderart/70394.jpg

[StreamProxyServlet-7796 (7796) ] WARNING - 0:26:11.449 - .p$b : proxy: onResponseContent: org.eclipse.jetty.d.o

[StreamProxyServlet-7799 (7799) ] INFO - 0:26:11.482 - .p$b : proxy: onResponseComplete: total response bytes: 7665

[qtp1838827223-7795 (7795) ] INFO - 0:26:11.482 - .s : proxy stream request /stream/audio/9b9c93c5887d081a074ae8e9301c2447.flac => http://192.168.16.16:50002/m/NDLNA/70394.flac

[StreamProxyServlet-7799 (7799) ] WARNING - 0:26:11.538 - .p$b : proxy: onResponseContent: org.eclipse.jetty.d.o

'Early EOF exception ' seems to pop-up not while seeking, but only when player requests next file. I can see from log that BubbleUPnP Server tries to recover from exception and reloads requested file, but Client gets an error immediately and skips to the next file and is able to play it. And then there's another EOF exception, and client skips one more. Very strange.

added later: 'early EOF' keeps popping even without seeking, just one-after-another track playback. Error or I'm doing smthng wrong?
[Android Apps and Games] bubbleguuum:
[MENTION=2175925]Orddu[/MENTION]

This is a limitation of UPnP AV where the playback queue (Playlist tab) is stored on the Control Point (BubbleUPnP)

side, thus other Control Points (BubbleUPnP instance) cannot see it or modify it.

However, you can do what you describe by promoting your renderer to be an OpenHome renderer with BubbleUPnP Server,

then control the OpenHome renderer in Android BubbleUPnP.

Each BubbleUPnP instance will see the same Playlist tab and playback state.
[Android Apps and Games] bubbleguuum:
[MENTION=259664]The Chief[/MENTION]

Difficult to say with just these log lines.

So I can see more details about the http requests, can you edit BubbleUPnP Server's configuration.xml file

- stop BubbleUPnP Server

-edit configuration.xml and modify the enableStreamProxyRequestLog field to true

- start BubbleUPnP Server

- trigger the problem again so it appears in the log

- send me the full BubbleUPnPServer.log.0 file to bubblesoftproducts@gmail.com

Also can you say more about the tethering setup: wehther you use the standalone Java Tether Client or enabled 'UPnP Tethering' in Android BubbleUPnP,

and what is the renderer playing.
[Android Apps and Games] bubbleguuum:
[MENTION=259664]The Chief[/MENTION]

I've made the change to detect the presence of that folder on Synology and use it by default if present.

This will be in the next BubbleUPnP Server update.
[Android Apps and Games] The Chief:
I've emailed requested detailed log to you . I use the standalone Java Tether Client at work, Server is on Synology DS918+ at home, renderer is either FB2K or AIMP, both trigger the same error.
[Android Apps and Games] Orddu:
Thank you bubbleguuum! The QNAP is happy with server on it, the work of 5 mins to get it going. Awesome! Now we can fight over the playlist once again ;)

Thanks again!
[Android Apps and Games] Rushikesh787:
Loved it! The integration of cloud services and GPM are outstanding with no latency issues at all :good:
[Android Apps and Games] SquallLeonhardtt:
Hi all, I've quoted the above post from 4 years ago because it exactly matches my issue at the moment and I have not so far been able to find any response to it in this thread since. Is anyone able to provide some insight into this?
[Android Apps and Games] dark0shark:
Just cosmetics, but if a cover is pure black and white the cover art mode should stick with that and not calculate pink color, looks awful. In all other cases I LOVE cover art mode ;).
[Android Apps and Games] bubbleguuum:
Glad you got it working.

I think I have the explanation on why it worked in previous version and why you had to manually open the port in the current version.

The server is supposed to use the UPnP IGD service of your router (if found) to open the required ports automatically. I think it doesn't always work in 0.6.1 due to a change I made to fix another issue (namely, the discovery of Media Servers before the server is fully initialized). So manually opening the required ports was required.

In case someone else has this issue: go into your router conf and add the 2 port forwarding rules:

- port 58050 redirected to port 58050 on the LAN IP of the server

- if using https: port 58051 redirected to port 58051 on the LAN IP of the server

If using https, the http port must still be open as all streaming still uses http (everything else go through https).
[Android Apps and Games] Jabbawocky:
Problem to connect to the BubbleUpnp Server

Hello!

The Bubble UPNP Server seems to be a nice tool.

But i have problems to connect to it.

I installed the latest Version 0.6.1 and i entered all necessary things like public host etc...

The Internet Connectivity Test says:

HTTP: Server is reachable from Internet

HTTPS: Server is reachable from Internet

But when i try to connect my BubbleUpnp Client (1.5.1) on my Samsung Galaxy I9000 with Android 2.3.3, i get a timeout.

If i try to connect via the local IP-Adress, there is no Problem.

It seems to be a Port Forwarding or a Firewall Problem, but the Internet Connectivity Test says its all right.

I tried the server on several machines. Win7, WinXP, WindowsHomeServer 2011

I tried to switch off the windows firewall.... no positive result.

Please give me some tips how to solve my problem!

I want to buy the bubble license when the server would run correct!
[Android Apps and Games] bubbleguuum:
Do you get this timeout error when connecting with your Galaxy using a mobile connection or connected to your home LAN (WiFi) ?

If it is from your home LAN, this can happen due to something called NAT reflection, disabled on some routers, and that prevent public ip port forwarding to work when the request comes from from the LAN (instead of another network). NAT reflection can usually be enabled on these routers.
[Android Apps and Games] zcs72:
I got everything working now but the video is real choppy over 3g. Audio is fine. I tried it with transcoding set at 240, even though that setting worked fine in the past, even worked well at 360p sometimes.

Thank you very much , Bubbleguum, for the image transcoding. Works awesome and I can adjust the rate to available bandwidth for performance. That was the icing on the cake for me. Now if I can get the video transcoding to work like before....
[Android Apps and Games] bubbleguuum:
What video player app are you using (with the exact version) ?

Have you installed the server with the Windows installer ?

What are the codec and resolution of your original video files ?

It is possible this is due to the newer ffmpeg executable, I will have to check.
[Android Apps and Games] bubbleguuum:
Also worth mentionning that may not apply to your data plan: some mobile operators will restrict 3G mobile bandwidth severely when you go over some quota.
[Android Apps and Games] bubbleguuum:
After some testing it seems that choppy transcoded video playback is not due to newer ffmpeg. I got identical results with BubbleUPnP Server 0.5.5.1 and 0.6.1:

- DicePlayer and VPlayer playback is always choppy, even on the LAN

- both MX Player (+ codec APK) and MoboPlayer play transcoded videos fine.

I remember not having problems with older versions of DicePlayer and VPlayer but it was some month ago and it is possible there are regressions in newer versions.

MX Player is probably the best of the bunch.
[Android Apps and Games] manonmoon:
BubbleUPnP Server via upstart

Hi,

for all those that are using a standard Linux (Ubuntu) Server and want to run BubbleUPnP Server with upstart:

1. Create an upstart file under /etc/init/ with the following content: vi /etc/init/bubble.conf

start on started networking
script
# Set up correct LANG
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE LC_MESSAGES LC_ALL LC_CTYPE
fi
exec /opt/BubbleUPnPServer/launch.sh
end script

2. Modify the launch.sh file:

DIRNAME="$(dirname ${0})"
HOMEDIR="$(cd ${DIRNAME} ; pwd)"
cd ${HOMEDIR}
java -Xss256k -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -jar ${HOMEDIR}/BubbleUPnPServer.jar $*

@Bubbleguuum - I would suggest to add this modification in general to the launch file in order to make sure BubbleUPnP is in the right directory.

I hope this information helps some people out there.

Cheers
[Android Apps and Games] Jabbawocky:
Thank you for the hint! now it works fine. i think the so called nat reflection was the problem.

But now i have an other question / problem:

i tried to beam my media from the bubbleupnp server via my android (bubbleupnp) to my samsung tv (UE46ES6760)

But my TV say "not supported file type / format"

when i beam local media via my android it works fine.

is this a bug, or is there a solution?
[Android Apps and Games] fp.ath.cx:
recommendation for compatible musicplayers?

Hi users of bubbleupnp out there!

As my upnp-renderer (= musicplayer), a roku soundbridge m2000, died, i'm currently searching for a new alternative.

I just want a device which is dlna-compatible (and should therefore work with bubbleupnp), should play music in every possible format and also looks nice! :) After quite a while of research i'm down to a few interesting devices.

The simplest i guess would be this: TEAC WAP-4500RC. Better looking and even capable of video would be the Western Digital TV HD Live. The last one is the one I'd really like to order and try out right now... does anyone own this and can confirm it works together with bubbleupnp-software-suite?

I also found these two interesting: Pioneer N-30 & TerraTec NOXON A540+. If anyone uses those, I would be glad to hear your opinion as well.

I'm also open for better places in the internet, where these solutions are disussed and compared.

greetings,

airflow
[Android Apps and Games] HerbertHe:
Bubble+FLAC+WDTVLIVE

Hello,

I have installed the free version on a HTC phone. When playing specific FLACs the WD TV reboots after 6 seconds. When playing same file directly on WDTV (UPNP Mode) it works fine. As a NAS I am using DLINK DNS 323.

I have seen this problem some months ago already and it was fixed after a Bubble update - now - it seems to be it is back.

All files created with same FLAC program - FLAC with embedded cover.

What can this be? (Tested with other HTC phones as well)

thank you

Herbert
[Android Apps and Games] twinkybot:
Hello,

thanks for the application and thanks again for your quick support and olution to my FLAC problem.

Now I would just like to know if your app will have at some point in the library view a list of the alphabet, which can be used to jump quickly to the corresponding artists/band. havibg to find a certain album or interpreter is quit hard.

and will there be a built in alarm. The sleep function is teriffic :)

Cheers and happy coding!
[Android Apps and Games] bubbleguuum:
Ok, thanks for the contribution.

At some point I will make ubuntu packages that play nice with init scripts.
[Android Apps and Games] bubbleguuum:
Sending videos to some Samsung TVs do not work, and there is no solution (audio should work fine)
[Android Apps and Games] bubbleguuum:
The WDTV Live (cheapest model, approx 99€) will play almost anything, including videos.
[Android Apps and Games] bubbleguuum:
An awesome DLINK bug surely. You can check if there is an update for its firmware.
[Android Apps and Games] sam9s:
Hi All

I am trying to install bubbleUPNP on my Unraid NAS, which is linux basically. When I run the command from prompt I get the following error ...

./launch.sh: line 6: java: command not found

JAVA is installed on my NAS, can you assist as to what needs to be done here ......

Regards

Sammy
[Android Apps and Games] bubbleguuum:
There is already an alphabet, displayed when using the scrollbar.
[Android Apps and Games] bubbleguuum:
If it is installed, it is not in your PATH thus not find.

modify launch.sh to point to location of the java executable:

/path/to/javadir/java ... -jar ...
[Android Apps and Games] sam9s:
Ok I copied the java file in the same directory as BubbleUPNP and ran launch.sh and I get the below error ..

java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory

Any Idea ..?

path where java is located is ..

/usr/lib/java/bin/

---------- Post added at 02:49 PM ---------- Previous post was at 02:06 PM ----------

Ok providing the path in the launch.sh file did the trick and I have the server up and running ....... just figuring now what next ..??
[Android Apps and Games] Snowknight26:
I still haven't figured it out. :p

[MENTION=3373153]bubbleguuum[/MENTION]

When an album cover is primary non-white, but the perimeter is white, the icons in the notification area can't be seen.

Example (I have 5 icons):

Are you able to change the detection algorithm for which color the notification icons should be?

Edit: I see I reported this before so maybe the bug is back?
[Android Apps and Games] SquallLeonhardtt:
Ah well, I wasn't expecting much but thought it was worth a necro-bump nevertheless. Thanks for the update.

I still think it must be possible though. If you look at the logs, here are the relevant entries:

foo_upnp: 178167.178167429: PLT_DeviceHost::ProcessHttpPostRequest(579)/83400: FINE: Processing action "Browse" from x.x.x.x
foo_upnp: 178167.178167429: FbMediaServer:: OnAction(295)/83400: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=100, SortCriteria= }
foo_upnp: 178167.178167429: PLT_MediaServer:: OnBrowse(412)/83400: FINE: Processing BrowseDirectChildren from x.x.x.x with id="0", filter="*", start=0, count=100
foo_upnp: 178167.178167429: upnp_server_conf::get_profile(937)/83400: INFO: using profile 'foobar2000', matching header (User-Agent:foobar2000-mobile/1.x)
foo_upnp: 178167.178167439: FbMediaServer:: OnAction(323)/83400: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=100, SortCriteria=, NumberReturned=3, TotalMatches=3, UpdateID=0 }

So we can see SortCriteria is definitely a thing, just empty. It's just a question of how/where this can be configured, via the foo_upnp_ml_tree.xml or some other means. That's what would be good to have cleared up, perhaps by @bubbleguuum or someone
[Android Apps and Games] strenker:
BubbleUPnP Server to Chromecast - No seeking when transcoding MPEG transport streams

Hi Bubbleguuum,

I am using Your great applications BubbleUPnP on Android in combination with BubbleUPnP Server on Gentoo Linux for playing MythTV recordings on my Chromecast (1st generation) for several years now and I am really happy and satisfied with these applications. But unfortunately since the last server update to 0.9-update38 the seek-function when playing MythTV-IPTV-recordings to the Chromecast with transcoding on the BubbleUPnP Server is broken. The seek-function is not presented in the BubbleUPnP controller on Android (9 and 10). This worked perfectly in the past. The seek function is presented and works fine when transcoding and playing MP4-Videos streamed by my NAS via UPnP.

An FFprobe output from the MythTV-IPTV recorded MPEG transport stream file looks as follows:

Input #0, mpegts, from '12905_20201118204500.ts':
Duration: 02:05:30.57, start: 81147.544367, bitrate: 15484 kb/s
Program 1
Stream #0:0[0x18a6]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
Stream #0:1[0x18b0](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 256 kb/s
Stream #0:2[0x18b1](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s (visual impaired) (descriptions)
Stream #0:3[0x18b2](deu): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 448 kb/s
Stream #0:4[0x18b3](mul): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s
Stream #0:5[0x18ba](deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
Stream #0:6[0x18bb](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
Stream #0:7[0x18e2]: Unknown: none ([5][0][0][0] / 0x0005)
Unsupported codec with id 0 for input stream 7

Stream #0:7 carries EPG infos.

The IPTV stream is originally produced by a Sat<IP receiver (converts live DVB-S2 TV to RTP streams controlled by RTSP) then recorded by the MythTV PVR.

It would be great if You could provide a fix in one of the next updates.

Many thanks in advance.

Kind regards

Stefan
[Android Apps and Games] bubbleguuum:
[MENTION=7976568]strenker[/MENTION]

So I can check what is happening, can you make the video available via Dropbox, Google Drive, etc... and send the download link to bubblesoftproducts@gmail.com ?
[Android Apps and Games] bubbleguuum:
[MENTION=4532393]Snowknight26[/MENTION]

Yes I can see why this would happen on this specific cover.

To determine if status bar text must be light or dark, the background color of the panel where metadata is displayed (title, artist, ...) is used.

This background color (here: light gray) usually match the dominant color of the cover drawn below the status bar. But not in the special corner case or at least not

enough to have the proper status bar text colors.

It's difficult to fix for all case so I will probably leave it as is since it should be fairly rare.

As a workaround, drawing cover art under the status bar can be disabled in 'Now Playing > Scale cover to fit' settings.
[Android Apps and Games] eddie2107:
BubbleUpNP server not starting

Hi,

I am not able to start the BubbleUpNP server on my diskstation. Starting either ends ewithout message or with "BubbleUpNP server is not running"

DS218+ with actual Firmware, java 8 installed (not sure whether this is important).

What could I try to get it running?

Regards,

Eddie