yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] bubbleguuum:
The limit is 32 tracks in a folder. Note that this limit does not apply to a filesystem folder that BubbleUPnP infers is containing a music album, but this is not your case.
[Android Apps and Games] bubbleguuum:
This error is very specific and point to an intermittent failure in network name resolution (DNS), which is unusual.

Maybe try a reboot of your router (and make sure its firmware is up to date) or your Android device.
[Android Apps and Games] bubbleguuum:
Linn Kinsky is old and unmaintained. I suggest you switch to Linn Kazoo, if only to check if it solves the problems.
[Android Apps and Games] MarmiteSandwich:
UPnP Renderer/Gapless

Brilliant app and I use it all the time. Especially the BubbleUPnP OpenHome Server.

I have installed Bubble (2.6.2) on an Android TV Box (Amlogic MXQ Pro - Android 5.1.1) to be a UPnP OpenHome audio renderer, after testing this function on an Android tablet (Samsung Galaxy Tab Pro - Android 4.4.2). Gapless works perfectly on the tablet, but on the TV Box there is a noticeable gap between tracks, although very small. More like a small glitch, but very annoying.

I have tried many different options (Enable/Disable gapless, OpenHome/Not OpenHome) but the gap remains. Any tweaks or suggestions to make it go away?

Regards,

Marmite
[Android Apps and Games] bubbleguuum:
I cannot reproduce it on my system, using foobar2000 1.3.10.

- verify in foobar2000 that you do not have DSPs enabled that could get in the way

- try disabling gapless control in BubbleUPnP: Settings > UPnP Tweaks > Enable gapless control
[Android Apps and Games] bubbleguuum:
on BubbleUPnP running on the TV box, verify that you have enabled gapless for the local renderer: Settings > Local Renderer > Gapless playback. If not enabled, enable it and restart BubbleUPnP.

Also gapless playback only apply when playing consecutive tracks of a real gapless album in FLAC or WAV or Ogg Vorbis. Gaps are to be expected when playing either non gapless albums, or a playlist of unrelated tracks, or formats other than FLAC, WAV, Ogg Vorbis.
[Android Apps and Games] mightyoakbob:
I have tried Kazoo and my problems are all pretty much still there. Also, both apps work fine with my Akurate player.

I really hate Kazoo, 15 minutes fighting kazoo and I start to lose the will to live..

Thanks anyway.

Bob.
[Android Apps and Games] MarmiteSandwich:
Hi,

Gapless is enabled on the local renderer. Test album is a gapless live recording, ripped from CD to .m4a at 256k. This produces perfect gapless playback on Foobar2000/UPnP and the Android tablet I mentioned running Bubble. But not with this TV box, running Bubble under Lollipop. Well almost, but not quite.

Marmite.
[Android Apps and Games] bubbleguuum:
Yes I forgot m4a in the list of formats being gapless. If you hear near gapless but there is still a small gap, it has to be a bug in the Android media player gapless decoder in this particular version of Android or hardware. There is nothing i can do to fix it as BubbleUPNP rely on Android decoding gapless properly.
[Android Apps and Games] MarmiteSandwich:
Thanks for the info. At least I know to stop messing with Bubble.

Marmite

---------- Post added at 12:23 PM ---------- Previous post was at 11:29 AM ----------

I just tested this on my phone which is 5.1.1 and got the same problem. And my usual phone player showed the same behaviour.

Mamrite
[Android Apps and Games] bubbleguuum:
I need to test it but would not be surprised m4a has gapless issue on some or all stock Android versions.

When you tested on on your Samsung tab, it worked likely because Samsung has a heavily tweaked audio

subsystem from stock Android (they use their own decoders for some formats). Is your phone from Samsung too ?

What encoder did you use to generate these m4a ?
[Android Apps and Games] MarmiteSandwich:
Yes, the phone is also Samsung - Galaxy s5 mini, with OS upgraded to 5.1.1.

All .m4a files created with iTunes (various versions over time).

Marmite
[Android Apps and Games] klapaciuss:
After upgrade to foobar 1.3.10 from 1.3.5 problem disappears. Thank you.
[Android Apps and Games] bubbleguuum:
I generated AAC 256 Kbps CBR tracks from a gapless lossless album, using qaac (not that it matters much which encoder is used).

I can reproduce the problem on my Samsung Galaxy Core running Android 5.1.1: there's a noticeable gap between each tracks, as

if there was no gapless at all.

However, my Alcatel One Touch Idol 3 (on Android 5.1.1, custom ROM) plays the same tracks perfectly gaplessly just fine.

So I would say the aac decoder of Samsung (different than stock Android) is not gapless aware for m4a AAC, possibly only

when playback is done via http (what BubbleUPnP uses). Again, the Android streaming engine on Samsung is vastly different than other

devices. Sometimes it fixes bugs and sometimes introduces specific issues. Playing FLAC on that Samsung phone is perfectly gapless.
[Android Apps and Games] d.linh9:
please re-upload the 64-bit version of BubbleUPnPServer. Thx :)
[Android Apps and Games] alireza_simkesh:
Just a quick question, does your app support Galaxy Edge 6 for DLNA media streaming?

I see on the specification of the phone that it doesn't support DLNA (as opposed to, for example, HTC M7 which does support DLNA). So I was wondering whether or not this app would work with DLNA on Galaxy Edge 6.

Thanks!
[Android Apps and Games] alireza_simkesh:
Anyone?:confused:
[Android Apps and Games] bubbleguuum:
There's no need for a particular phone to claim support for DLNA for it to work with BubbleUPnP (or any other UPnP/DLNA app).
[Android Apps and Games] alireza_simkesh:
You could be right, however when I tried the app on Galaxy Edge 6, it couldn't find my TV and Home theater. But on HTC One, it finds both of them quickly and with no problem.

Then I noticed that the spec for Edge 6 doesn't include support for DLNA (http://www.gsmarena.com/samsung_galaxy_s6_edge-7079.php) while HTC One's specification mentions support for DLNA under Wi-Fi specification (http://www.gsmarena.com/htc_one-5313.php). So I thought I would ask to see if anyone has been actually able to use the app successfully on Edge 6 with DLNA feature. Have you tried it yourself (with either Edge or normal Galaxy phones, since none of them mention support for DLNA)?

Thanks
[Android Apps and Games] bubbleguuum:
That's a discovery problem unrelated to a manufacturer claiming DLNA support (this claim is just to state the phone comes with a DLNA app out of the box).

I have a Samsung Galaxy Core and it has no problem detecting all devices.

You may want to check if the firmware of your router is up to date, and eventually reboot it. You can also check on your router settings for a feature called "IGMP snooping" and disable it.
[Android Apps and Games] chileboy:
Help with Plex on WD

I have the (licensed) BubbleUPnP app for Android on my Galaxy S6, and love it. My main library is on a WD MyCloud EX2 Ultra running Plex.

On my home network, BubbleUPnP works perfectly, and I could not be happier. It even plays my flac files gaplessly, whereas the native Plex app does not. Go figure.

Anyway, a couple of questions:

When outside my home network (i.e., on mobile connection), I can't get BubbleUPnP to connect. I've setup the network in Settings with the same IP, port and logon information that works fine in the Chrome browser on my phone, but BubbleUPnP won't authenticate - it seems to see the server, but keeps telling me to check my credentials.

Secondly, I have both a Roku and Samsung TVs with SmartHub (or whatever they call it). What's the best way (if at all) to use BubbleUPnP with these? It doesn't look as though there are BubbleUPnP clients available for these devices. I was hoping there was (or was in development) a BubbleUPnP server for the WD (and then I could just use the devices built-in media apps), but from what I am seeng here none is planned. So just looking for some advice. There are native Plex clients but, again, they don't support gapless (don't get me started). Besides, I like BubbleUPnP better.

Thanks for any help.

- Mark
[Android Apps and Games] Peterbx1:
Track numbers not correct when streaming Qobuz

First, greetings from Germany and please let me express that I am a VERY happy user of Bubble UPnP Server and the Bubble UPnP Android App. There is just one single, I agree minor, issue I would like to ask for help with.

I am streaming Qobuz with the Bubble UPnP app and it looks like track numbers are only used properly as long as there is only one virtual CD inside a complete album. If you have somthing like the complete CCR studio recordings, they are split over 7 virtual Cds, means the track numbers are 01/01, 02/01 ... on the first virtual CD and look like this on the second one: 01/02, 02/02....

It looks like BubbleUPnP only read the digits before the /

This means we do not have just one unique track number 01 on this album, we have as many as CDs are part of this album. In the case of latest CCR album, there are indeed 7 virtual CDs in it, means we have 7 tracks all using the same track number, making it impossible to use the track number for any purpose.

Not a big thing, but whenever you have an album with more than 1 CD in that album, you run into that. Is there any hint for me, perhaps?

Cheers

Peter
[Android Apps and Games] bubbleguuum:
Yes, there is definitely duplicate track number with multidisc albums.

I will do something about it, but it will either be sequential track numbers (if disc 1 has 10 tracks, track 1 of disc2 will have a tracknumber of 11, and so on),

or something more elaborate that make the disc appear in the track number: 201 for track 1 of disc2, 301 for track1 of disc 3...

The reason is that there is no discnumber concept in UPnP and a tracknumber has to be a number (so 02/01 cannot be used).
[Android Apps and Games] bubbleguuum:
in Android BubbleUPnP, try connecting from a different network from your home WiFi (for example you mobile data connection). The reason is that some WiFi router deny connecting using the public ip address from within the home LAN (NAT loopback).

If you still have an issue connecting from ooutside your home network, let me know.

Roku is not supported as a renderer that would appear in BubbleUPnP. But you can connect to BubbleUPNP from the Roku itself, using the Roku Media Player app and browing BubbleUPnP as a media server, for playing all local and cloud media it exposes (and that the Roku supports playing).

Similarly, Sansung Smart TVs should include a DLNA browser in their interface. And the TV should appear in BubbleUPnP as a renderer.
[Android Apps and Games] Peterbx1:
Qobuz track number issues

Hey, that sounds like a very cool idea (I wasn't even aware of this limitation of UPnP), so defintely not Bubble UPnP to blame :)

Cheers

Peter
[Android Apps and Games] chileboy:
I think I probably wasn't clear on my issues.

When I'm in the house, my mobile is connected to my WiFi, i.e., same network. And in that case BubbleUPnP has no problem seeing and playing the Plex media. It's when I am outside, connected to either mobile data or a different WiFi, that I can't connect.

The url to connect to Plex is: http://<url or external IP address>:32400/web

When I do this from a browser from anywhere - whether on my phone via mobile data, or my work PC for instance - it loads up index.html at that address and works fine. In BubbleUPnP, if I use the exact same url (under Settings -> Networks and Settings), when I "Test", BubbleUPnP says "Connection failed: The remote server could be joined but returned HTTP error code 404 (not found)". If I omit the /web at the end (which in the browser returns a 401 Unauthorized), it says "The remote server could be joined but failed authentication. Check that your login and password are correct" (which obviously I have multiple times).

Sticking with the Roku for now, I'm not understanding. I don't have BubbleUPnP server running anywhere, as there's no build for the WD NAS. I want to use the Roku, connected to my TV and home audio system, to access my media, using BubbleUPnP. Are you saying to activate the client on my phone, and that will show up via the Media Player on the Roku? So Plex on WD -> Android phone -> Roku? If so, that's obviously less than ideal, as everything would be streaming first to my phone via WiFi, then WiFi back to to the Roku. Or maybe I'm not getting it (very likely).

Very grateful for your time and help.

- Mark
[Android Apps and Games] alireza_simkesh:
Alright, I disabled IGMP Snooping on my router (TP-Link) and rebooted it. Now when I try to stream a music file to either my TV or Home Theater (both are Sony) I keep getting this error:

Current state of service prevents invoking that action. Non recoverable remote execution failure: 403 access denied. (code 501)

Would you kindly let me know what I should do in order to fix this issue?
[Android Apps and Games] hacktek:
I have this set up in a VPS (so I connect using the external IP) and I just get prompted for user/password infinitely. Admin/admin doesn't work. If I use a local ssh port forward for 58050 I'm presented with a 404.

EDIT: for some reason quoting didn't work.

EDIT2: I'm an idiot, carry on.
[Android Apps and Games] bubbleguuum:
I know that there are TLS and crypto failures with OpenJDK 8, that are not present with the Oracle JRE.

It seems to be obscure bugs in OpenJDK (since it works with the Oracle JRE).

These OpenJDK issues do not prevent to run BubbleUPnP Server, but some features will not work:

- the Internet connectivity test (not a big deal)

- OpenHome: Qobuz will not be available

- OpenHome: TIDAL will not work (login will fail due to a crypto failure)

- Chromecast: transcoding will not work on a machine that does not have a local ffprobe binary

- possibly more

This OpenJDK issue also exists on Synology NAS with DSM 6.0, on which it is the default JRE. Installing Oracle JRE on these NAS fixes it.

It would really be interesting to understand the cause of these OpenJDK failures or report it to OpenJDK so they can investigate and fix it.
[Android Apps and Games] bubbleguuum:
403 = http code for "forbidden". Something must be authorized somewhere it seems. Look into the settings of your TV maybe.

You can also send me a log file if you wish, triggering this error (see first post of this topic for instructions).
[Android Apps and Games] bubbleguuum:
You cannot connect directly to Plex (or any other media server) like this.

You need to put a BubbleUPnP Server connection URL here, something like http://<public ip or hostname>:58050. See the BubbleUPnP Server documentation.

Then once connected, you will have access to Plex, through BubbleUPnP Server.

There's no need for BubbleUPnP Server with your Roku. All you can do with Roku, is to browse and play the local and cloud media exposed by Android BubbleUPnP.

If you want to do this:

- on your Roku install the Media Player app (or whatever its called)

- start Android BubbleUPnP

- on the Roku, start the Media Player app and browse BubbleUPnP from there
[Android Apps and Games] chileboy:
OK, but as I said, there's no BubbleUPnP server build I can use on the WD NAS, as far as I can tell. Is that correct?

So, as I said, the Roku is essentially streaming from my phone, so there's no way to do it if I'm not there, with my phone on WiFi.

Basically, in both cases, I wanted to be able to stream from the Plex server using BubbleUPnP - in one case, on my phone when outside my home WiFi, and in the other, directly on my Roku. It looks like that's not possible with my setup.
[Android Apps and Games] alireza_simkesh:
For sure, I have attached the log.txt file for you.

I checked on the TV settings and I made sure everything is allowed. I am using HTC One at the same time and it works fine, so I am not sure if there is a specific setting on the TV that is preventing the proper execution since the app works fine on HTC One.

I can also upload the log file on my HTC One for comparison if you wish. I hope that the culprit can be found in the log file :)
[Android Apps and Games] bubbleguuum:
The log is truncated. Make sure to send or save it after generating the 403 and exitting the app, as it is overwritten on app startup.
[Android Apps and Games] eisan:
How to delate songs from bubble unpn music player

Hello,

how can I delate songs from libery list in unpn bubble player on my smartphone?

Eisan
[Android Apps and Games] MarmiteSandwich:
Gapless Update

I thought you might be interested in this. I reset the device to factory settings and I found that the stock Android music player would play local music gaplessly - no glitches. However, BubbleUPnP (with licence) plays the same music (local media server->local renderer, .m4a as before) with a noticeable, but very small, glitch between tracks.

Marmite
[Android Apps and Games] ssceddie:
Hi Guys, had someone an idea what i have to config

that Bubble stream the artist and title via Bluetooth

to a carradio? With the stock music app of cm13 does this function work fine?
[Android Apps and Games] bubbleguuum:
The local-local case in BubbleUPNP still uses http streaming for playback, unlike the stock Android music player using file based playback.

This gapless AAC issue concerns only the http case.
[Android Apps and Games] bubbleguuum:
It is not possible to delate songs from libery in BubbleUPnP.
[Android Apps and Games] alireza_simkesh:
I followed the instruction again and this time tapped on Play button to get the error several times rather than once.

Please check the log file attached to this post again.
[Android Apps and Games] Serkenar:
It would first take a simple test case that would reproduce these issues -- then we could indeed report this, since the issues persist with latest OpenJDK 8u102-b02. If you could write such a test case, I could test it on 8u102-b02 using Optware-ng (upgraded it today). It would be great if they fixed it. I'm now thinking of adding OpenJDK7 to Optware-ng for the time being.
[Android Apps and Games] Perinis82:
Hi,

Just updated my Synology DS213j to DSM 6, reinstalled Java SEE 8 and the Bubble UPnP server SPK. No error message during the process but I can no longer access the server config page : "connection failed" ("la connexion a échoué"). My local address is 192.168.1.2:58050, and in the package center of DSM, both apps are running normally. In the Android app, it does not work either. I don't understand what went wrong. The server was perfectly working until I moved from DSM 5.2 to 6. If anyone has an idea on how I could make things work again, it would be very nice !

Thanks,
[Android Apps and Games] willink2:
SSL Certificate error on all Android devices

Hello,

Ever since I've upgraded my Vortexbox music server to Fedora Core 23 (complete reinstall) I cannot connect with the HTTPS port on the server. HTTP connection works flawless.

Every time I get the following error: "The server could be joined but failed the SSL certificate check."

I've tried changing the HTTPS Port without any result. Date and time are set correctly.

Previous to the upgrade I could connect with every Android device I have.

My Setup:

BubbleUPNP Server with auto upgrade enabled (now on the latest version)

Host OS Fedora Core 23

Android: Cyanogenmod 12.1 on Nexus 7 Tablet and on a Samsung Galaxy SII

Android: Stock Motorolla Moto G, Android 5.1

Latest versions of BubbleUPNP (262)

How can I fix this?

Kind regards, Jaap
[Android Apps and Games] alireza_simkesh:
I dug a bit more into the problem and figured out that the specific MAC Address of my phone is being blocked by my Home Theater, and the reason was that only a maximum of 20 renderers are allowed by the TV. So I removed a few old MAC Addresses from the list and now everything works fine.
[Android Apps and Games] tim091:
Repeats tracks, will not advance to next track

Apologies if this is wrong forum/thread but I have never had such difficulty posting on a forum before! (No "new thread" or "post new thread" link in sight!).

I am using v2.6.2 on Android phone to play from Synology NAS to Denon CEOL renderers. Has beeen working OK but recently started to just repeat tracks, it will not advance to the next track, ever. Diagnostics so far:

Tried every repeat setting on the Now Playing screen - Repeat track, repeat playlist, repeat off.

Same problem apparent on playlists or albums.

Disabled the "Enable Gapless playback" in Settings.

It never used to have this problem so wonder if it is connected to a recent update?
[Android Apps and Games] Serkenar:
I've added latest OpenJDK7 (7u99b00) to Optware-ng, and it works out-of-the-box just the same way as OpenJDK8 does after applying your BouncyCastle jar fix (or the -Dcom.sun.net.ssl.enableECC=false workaround): connection via HTTP works OK, both from LAN and WAN, but I can't connect via HTTPS: I'm keep getting something like "handling exception: java.net.SocketTimeoutException: Read timed out".

Just like with OpenJDK8, you can reproduce it on a Linux x86 PC:

1. Install Optware-ng (it installs to /opt):

# mkdir -p /opt
# wget -O - http://ipkg.nslu2-linux.org/optware-ng/bootstrap/buildroot-i686-bootstrap.sh | sh

2. Install openjdk7:

# /opt/bin/ipkg update
# /opt/bin/ipkg install openjdk7-jre-headless

3. From bubbleupnpserver dir (this can be run as a regular user, I think):

$ JAVA_HOME=/opt/lib/jvm/openjdk7/jre sh launch.sh -Djavax.net.debug=ssl:handshake

P.S. I now tried OpenJDK7 on i686 Synology DS412+, and it connected via HTTPS on the second try fine. It appears as if the handshake just takes too long, and timeouts on my ARMv7 and MIPSEL routers (which are slower) I tested it on before. Is it possible to tweak Bubble UpNP Server to wait for the response longer?

Thanks,

Alex
[Android Apps and Games] bubbleguuum:
It's not due to an update

- on the Denon, verify that there is not a standalone reapeat toggle enabled. This could be exposed via a front display if it has one or its remote.

- try to reboot the Denon
[Android Apps and Games] bubbleguuum:
This is likely due to OpenJDK being used (use 'java -version' command to verify). If you update to an Oracle Java 8 JRE, it should be fine.

There are some issue running BubbleUPnP Server on OpenJDK 8 currently.
[Android Apps and Games] bubbleguuum:
You need to upgrade your current Java install to Oracle Java 8.

You will also need to redownload and reinstall the BubbleUPnP Server Synology package (spk), as the package has been updated with DSM 6 support. See this page for instructions
[Android Apps and Games] bubbleguuum:
[MENTION=4376431]Serkenar[/MENTION]

The test case is easy to reprod for any OpenJDK dev that would like investigate, using the current BubbleUPnP Server:

$ java -jar BubbleUPnPServerLauncher.jar

... <quite a bit of log lines>

[main (1) ] WARNING - 01:00:01.431 - Main : Qobuz: get ids error: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

...

If the SSLPeerUnverifiedException exception above appear, then this is our OpenJDK issue (that is workarounded either disabling ECC, or updating the BouncyCastle jar), the same issue that you initially reported using the web 'connectivity test'. Of couse, starting with '-Djavax.net.debug=ssl:handshake' gives more details. Looks like there is an issue out of the box with OpenJDK 8 and ECC (Elliptic Curve Crypto) that the BouncyCastle jar update fixes.