yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] bartmanson:
Hi bubbleguuum

when I chooese bubbleUPNP in amazon's app store my new fire tv (4K) is not listed in the list of compatible devices. Is this a known restriction? Does BubbleUPNP only work with older fire tvs or fire sticks? Or should it work and I have to fix something on my fire tv?

Best regards

BartManson
[Android Apps and Games] bubbleguuum:
I assume it should be detected like other non-4k Fire TV models, although I never tested it with that model.

Can you try rebooting the Fire TV and check if it appears in BubbleUPnP. If it doesn't, try rebooting your WiFi router as well.

If it still doesn't appear, let me know for futher troubleshooting.
[Android Apps and Games] bartmanson:
OK, will try that when I'm at home and report results.
[Android Apps and Games] bubbleguuum:
BubbleUPnP v2.8.5 available for testing before I publish it on Google Play within a few days if all goes well. Please test !

Changelog and download

.
[Android Apps and Games] bubbleguuum:
[MENTION=7990705]bartmanson[/MENTION]

Also verify that 'Settings > Control > Amazon Fling' is enabled.

It is enabled by default but the app can auto-disable it if it causes app crashes (super rare but can happen in the presence of broken mDNS devices).
[Android Apps and Games] EPa:
Sharing a video from my android phone's YouTube app to BubbleUPnP which has my TV-turned-openhome-by the BubbleUPnP server as default renderer, results to a toast message: Transition not available (code: 701) and a small "forbidden" sign on the TV.

If I do the above having selected just the TV as renderer (not the BubbleUPnP server openhome one), the video plays fine.

But I can't use the openhome features this way (like shutdown the controller without affecting playlist advancement)..

It happens also on the new beta I am testing right now.

PS: BubbleUPnP server is 0.9-update23
[Android Apps and Games] Lucian greuceanu:
When playing a movie from the network via es file Explorer to a LG webos 3.0 TV, can the subtitle be played automatically when downloaded from opensubtitles.org rather then stopping and starting again the movie (after I downloaded the subtitle)?

I hope I made myself understood.

Thanks
[Android Apps and Games] bartmanson:
I did not test it yet but I think that my first post was a bit misleading.

What I wanted to say is that I cannot install the BubbleUPNP app on my fire tv. It appears in the list of my devices on the upper right side of the BubbleUPNP app page in amazon's app store (cannot post the link because < 10 posts yet ...) but it is marked as not compatible, which means, amazon's app store doesn't allow to install it on the fire tv. The list looks like this:

Compatibility (of BubbleUPNP) with your devices:

Bartmanson's android mobile #1: compatible (Green check)

Bartmanson's android mobile #2: compatible (Green check)

Bartmanson's fire tv: not compatible (Red cross)

Bartmanson' android tablet #1: compatible (Green check)

So it is not the problem that I do not see the fire tv in BubbleUPNP on another device but that I cannot install BubbleUPNP on the fire tv.
[Android Apps and Games] Mr. Odd:
> - when a headset (or car Bluetooth) is disconnected and the local renderer is playing audio, audio is now stopped instead of paused.

This isn't how I'd like it to work, I much preferred the pause action since I could then leave my car and walk into my house and continue exactly where I left off. Can this behavior me togglable?
[Android Apps and Games] hansievanstaak:
Set-Up Help

Hi, sorry if I'm repeating another query, I'm a total newbie and trying to install Bubble UPNP server on my NAS (Synology DS1515+) so I can set up my UPNP renderers as Open Home Devices.

I've downloaded and installed the package, I've selected my UPNP renderers, and have them working really well with my control point - Linn Kazoo.

However when trying to link my Tidal account in Kazoo, I can't get a connection, I've checked the Bubble Server Status, and the Internet connectivity test is reporting the following:

HTTP: ERROR: connectivity server error: java.net.SSLPeerUnverifiedException: peer not authenticated

HTTPS: ERROR: connectivity server error: java.net.SSLPeerUnverifiedException: peer not authenticated

I do have upto date versions of JAVA running on the NAS...any ideas of what I might need to do?

I'm becoming a big fan, after buying my first Android device and bought the the Bubble App from the play store...so much better than the native app for my new Primare amplifier.

Thanks in advance
[Android Apps and Games] bubbleguuum:
It's indeed released as not compatible for running on the Fire TV on the Amazon appstore because the BubbleUPnP UI is not very TV friendly and not fully navigable with the D-PAD.

It should be installable side-loading the APK. If you want to do that, let me know.
[Android Apps and Games] bubbleguuum:
And currently it is broken (will fix): when you unplug, the next track in Playlist (if there is one) is played.

I will not revert to pausing on unplug because it prevents 'Kill on Inactivity' to trigger (if left paused for a while) and have it trigger is very important to preserve battery. However I will likely add the option to keep playing on unplug, then you can manually stop or pause depending on context.
[Android Apps and Games] bubbleguuum:
Yup, your NAS is probably running an old OpenJDK instead of Oracle Java.

Some versions of OpenJDK have notorious issues with TLS (crypto).

Look at the 'Installing Java' section here

.
[Android Apps and Games] bartmanson:
OK, thanks for the info. I will give sideloading a try but presumably not before weekend :)
[Android Apps and Games] hansievanstaak:
Thanks for this...but it hasn't helped.

I was running Minim already and had downloaded Java 8 using the instructions you linked too...but to be sure...I removed Java, Bubble UPNP Server, rebooted the NAS and then re-installed.

With the same results....any others ideas?

Thanks in advance
[Android Apps and Games] bubbleguuum:
Assuming you have BubbleUPnP Server running, please send me (bubbleguuum@free.fr) its log file, located in /volume1/homes/bubbleupnp/appData/BubbleUPnPServer.log.0.
[Android Apps and Games] smurf:
I really love bubbleupnp. It is one of my most used apps.

The interface especially the selection of bookmarks is a bit awkward though.

I would really like to reach a bookmark as fast as possible. So, if I bookmark the folder audiobook it should be at the top over library. In addition it should not hide in the arbitrary folder named folder. Thank you

Regards

Smurf
[Android Apps and Games] bnieman:
Issues with Foobar2000 casting to Google Chromecast Audio Group

First of all, thank you Bubbleguuum for all of your development work. You are extremely talented.

My Current Test Setup:

Windows 7 PC

Foobar2000 v1.3.13

foo_upnp 0.99.49

foo_out_upnp 1.0 beta 15

BubbleUPnP Server 0.9-update23

(2) Google Chromecast Audio

Google Chromecast Audio "Home" Group (to cast to both devices at simultaneously)

I have set up Foobar2000 to cast audio to two Chromecast Audios simultaneously. It is very slick when it's working.

Here are my issues:

When transitioning from a 24bit 96khz FLAC file to a 16bit 44.1khz FLAC file on a playlist or vice versa, the song being transitioned from is cut short.

When transitioning from different bit depth/sample rate FLAC files, it can cause a lock up and the playlist stops playing. Stopping playback with the stop button in Foorbar2000 and pressing play again fixes the issue. This is an intermittent problem.

When casting to a Group (multple Chromecast Audio devices), stability of the stream appears to be highly dependent on the weakest Chromecast Audio link. - If a Chromecast Audio device does not have a good connection (weak signal), or if a Chromecast device in the group is disconnected or powered off, the entire stream is broken and a playback error is presented in Foobar2000 with a dialog box and playback halts. The "Output Device" in Foobar2000 is then set to none and I have to manually set the output device back to the desired cast Group. This behavior does not happen when Group casting with Pandora from my mobile device, the stream continues even if one of the Chromecast Audio devices in inaccessible when using Pandora.

When the Chromecast Audio's have excellent signal strength/connection and I am playing a playlist that has a constant bit depth and sample rate, the setup has been flawless.

Any suggestions to address the issues above?

Cheers, and thank you again for all of your hard work.

- Bryan
[Android Apps and Games] davegahan:
Lock player and library

BubbleUpnp is a great software. The only thing I would like to be added is the ability to lock player and library whenever they are available or not.

I have multiple renderers but I use only one and I dont want BubbleUpnp to switch to another.

Is it possible ? :)
[Android Apps and Games] stuarta99:
I'm new to this and just started getting the same error. I've tried using the server both on my Synology and my laptop.
[Android Apps and Games] Snowknight26:
bubbleguuum, I finally captured a log of a random Chromecast device that I've never connected to being set as the active renderer. Look for the name "IT Lab".

Still hoping for proper timestamps in the log file one day.
[Android Apps and Games] bubbleguuum:
Normally it should pick ffmpeg in /opt/bin/ if it's first in the PATH for the user BubbleUPnP is running.

But you can force it by edit configuration.xml and set the ffmpeg path there:

<ffmpegDir>/opt/bin</ffmpegDir>

Then restart the server.
[Android Apps and Games] bubbleguuum:
Will look into it. A change in samplerate/bitdepth makes foobar2000 play a new stream, so there's that.
[Android Apps and Games] bubbleguuum:
I understand your request but it is like that to avoid potentially having zillions bookmarks in the root folder.

So there's 1 level more to alleviate that. I have no plan to change it.
[Android Apps and Games] bubbleguuum:
Thanks for this log. This is very interesting as it shows clearly a Google Play Services anomaly that triggers a BubbleUPnP bug.

The Google Play Services anomaly is that it reports to BubbleUPnP the presence of a LAN Chromecast (and not a guest one) named "IT Lab" while you are on a mobile connection ! This should never happen as such Chromecast is not reachable, yet it did happen. This triggers a bug in BubbleUPnP that will make that Chromecast the active renderer, no matter what other renderer is current. I will fix that.
[Android Apps and Games] matbe:
Thanks but, yeah, I thought as much as well, but even adding that to configuration.xml:

[/share/CACHEDEV1_DATA/.qpkg/BubbleUPnPServer] # cat configuration.xml
<settings>
<ffmpegDir>/opt/bin</ffmpegDir>
<nologfile>false</...

...didn't change anything at all. So I'm missing something. Still:

[main (1) ] INFO - 01:00:11.99 - Main : using ffmpeg binaries from: system PATH
[main (1) ] INFO - 01:00:11.107 - Main : ffmpeg version 2.8.5 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)

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

Found something interesting. If I start it manually on the comandline it works, (still says system PATH though, still not picking it up from config?):

[main (1) ] INFO - 01:00:10.782 - Main : using ffmpeg binaries from: system PATH
[main (1) ] INFO - 01:00:10.793 - Main : ffmpeg version 3.2.2-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2016 the FFmpeg developers

(re)starting via QNAP web gui gives the built in (from /usr/bin), same with reboot.
[Android Apps and Games] bubbleguuum:
Urgh, my fault. ffmpegDir is not a configuration.xml option but a command line statement.

Sorry for the hairpulling.

So you must find whatever script is launching BubbleUPnP Server (not familiar with the QNAP package so I cannot tell you directly which file to modify)

and add:

-ffmpegDir /opt/bin

You must add it at the very end so if you ps'd the process it would display:

/share/CACHEDEV1_DATA/.qpkg/JRE/jre/bin/java -Djava.io.tmpdir=/share/CACHEDEV1_DATA/.qpkg/BubbleUPnPServer/tmp -Xss256k -Djava.awt.headless=true -jar /share/CACHEDEV1_DATA/.qpkg/BubbleUPnPServer/BubbleUPnPServerLauncher.jar -ffmpegDir /opt/bin

As for the difference launching on the command-line vs on boot, the only thing I can think of is that for the latter, /op/bin is not in the PATH or not before whatever folder the stock ffmpeg is found.
[Android Apps and Games] bubbleguuum:
[MENTION=7993587]bnieman[/MENTION]

I cannot reproduce this issue. A possible workaround for this issue (and the next one) is to configure a DSP to resample the output of foobar2000 to the max desired samplerate/bitrate, for example 96 kHz / 24 bit. That way, all tracks will be played as a single infinite track.

I cannot reproduce this issue either.

Can you send me a log file doing this

- stop BubbleUPnP Server (via Start menu)

- delete existing log file: C:\Program Files (x86)\BubbleUPnPServer\BubbleUPnPServer.log.0

- start BubbleUPnP Server (via Start menu)

- in foobar2000, make a playlist with just a 44/16 track and a track with a different bitrate/samplerate combo

- set the playback mode to 'repeat playlist'

- play the first track to a CCA (not the group, to make things simpler) until playback stops

- send me (bubbleguuum@free.fr) the BubbleUPnP Server log file

I can reproduce this by unplugging a slave CCA part of the group: after a few seconds the master CCA implementing the group somewhat disconnects the group in a weird way: audio is still playing on the master CCA, but it cannot be controlled, and BubbleUPnP Server receive a notification of it.

I could observe the same thing happening with Google Play Music on Android: if you unplug a slave CCA while gmusic is playing to the group, audio still plays on the remaining connected CCA, but Google Play Music is confused by the situation, attempting to reconnect and failing, leaving the app in an inconsistent state (no progress bar advancing, no playback control) as it has lost the connection. So same issue, with the difference that BubbleUPnP Server is removing the unresponding group (as a DLNA renderer) hence foobar displaying an error and switching to a different playback device. After some effort, I came to the conclusion that I cannot fix or workaround that situation, and I filed an issue on the Google Cast issue tracker.
[Android Apps and Games] matagou:
Hello,

I have encountered an issue.

When I am playing a .m3u file containg single online radio live stream, the BubbleUPnP mobile app is displaying weird string of characters, instead of just the playlist file name. It's so inconvenient that I don't know what is playing.

I've reproduced the issue and sent over e-mail the log files of both server and mobile application. Please help to find a solution for displaying playlist file name like maestrofm.m3u instead of weird title H4sIAAAAAAAAANMvLskvSkxP1U_NLc1JLElN0TfQd8kvz8vJT0zRz01MLS4pytfLNS4FAG1Oq8coAAAA.m3u

Take a look at name of what is playing. It should be maestrofm.m3u instead of that

https://postimg.org/image/8wfx6ixb5/

Many thanks,

Andrei
[Android Apps and Games] bubbleguuum:
Thanks for the report. What you see is part of an internal proxy URL generated by BubbleUPnP for that m3u file you sent from ES File Explorer.

I'll see how I can change that to display a more friendly title. In the meantime, as an alternative, you can simply browse to that maestrofm.m3u file from the Library tab (with the 'Local and cloud' Library being current) using the 'Internal Storage' folder to browse to it.
[Android Apps and Games] matagou:
Can't play to Chromecast Audio from BubbleUPnP after using Chrome Google Cast ext.

And one more issue: I am streaming to Chromecast Audio group of devices from BubbleUPnP mobile app, then after a while, I stream from the Google Cast extension of Chrome. Next, I want to switch streaming from BubbleUPnP mobile application, but if throws error (please see attachment). I looked in server log file and found lines below.

Please advise.

I've sent you the logs from the server and the mobile app.

[cling-106 (Play) (190) ] INFO - 03:11:20.496 - b : All Home Speakers group: play()
[cling-106 (Play) (190) ] INFO - 03:11:20.496 - b : All Home Speakers group: connecting to platform...
[cling-106 (Play) (190) ] INFO - 03:11:20.496 - b : connecting to 192.168.1.126:42991 ...
[cling-106 (Play) (190) ] WARNING - 03:11:21.543 - b : All Home Speakers group: failed to connect to Google Cast device: java.net.ConnectException: Connection refused: connect
[cling-106 (Play) (190) ] WARNING - 03:11:21.543 - d : Play: Error: failed to connect to Google Cast device
[cling-103 (186) ] WARNING - 03:11:22.543 - d : retrying action Play on failure (org.fourthline.cling.support.avtransport.b: failed to connect to Google Cast device)
[cling-127 (Play) (216) ] INFO - 03:11:22.543 - b : All Home Speakers group: play()
[cling-127 (Play) (216) ] INFO - 03:11:22.543 - b : All Home Speakers group: connecting to platform...
[cling-127 (Play) (216) ] INFO - 03:11:22.543 - b : connecting to 192.168.1.126:42991 ...
[cling-127 (Play) (216) ] WARNING - 03:11:23.576 - b : All Home Speakers group: failed to connect to Google Cast device: java.net.ConnectException: Connection refused: connect
[cling-127 (Play) (216) ] WARNING - 03:11:23.576 - d : Play: Error: failed to connect to Google Cast device
[Android Apps and Games] matagou:
Thank you, much appreciated.

I've tried though your advice:

1. Open BubbleUPnP mobile app

2. Move to Library

3. Select Local and Cloud then Internal Storage then Download

4. I found file maestrofm.md, selected three dots button on the right then selected Enqueue.

5. Received error in attached screenshot.

Tried other options than Enqueue like Play next or Play or Enqueue and play, all are throwing the same error. The log file from the mobile app is attached.

If you need more actions from my side, please let me know.

Thanks,

Andrei
[Android Apps and Games] bubbleguuum:
Yes I can see why it happens. For performance reasons, when loading a m3u this way (browsing Library) only items in the m3u for which a mime-type can be quickly infered are loaded.

Since your m3u contains an entry pointing to a Shoutcast stream for which a mime-type cannot be determined easily without analyzing the stream (which is slow), that stream is discarded and you see the error message saying there is no item.

When you send the m3u from ES FIle Explorer, processing is different and each entry in the m3u is analyzed.

As for the cast group issue, I will look into it. The BubbleUPnP Server shows something weird with the master Chromecast Audio for the group changing to a different Chromecast Audio, hence the connect refused error at some point as BubbleUPnP Server attempts to reconnect to the old master Chromecast Audio.
[Android Apps and Games] matbe:
Thanks, worked perfectly! Amazing and quick support, happy paying user!

Indeed, something is different with the environment despite being run with the same user. Something with the qnap/qpkg app system I guess.

Idea:

Could be useful to add the ffmpeg version (and if any ffprobe or not) to the status web page of the server? Maybe even include the path to the one used? I didn't even realise the latest version was not used at first. Just that some videos behaved badly.

Anyway, a (very) quick guide to get BubbleUPnPServer working on a QNAP (in my case a TS-451A):

Download BubbleUPnPServer QTS package from the official download page (qpkg file)

In the QNAP QTS web gui, go to app center and install java, search for JRE or just find it under "Development tools"

In the app center also hit the manually install app icon/button (top right in current version), and browse to the download BubbleUPnPServer qpkg file and install

Click the BubbleUPnP app and answer the initial question about making it available over the internet or not

Enjoy!

Optional but recommended:

Download new ffmpeg binaries for your platform, for example for x86 (32 or 64bit) or arm: https://forum.qnap.com/viewtopic.php?t=127583

If a qpkg file install it the in app center web gui, otherwise install it by copying or wget and unpack or similar

Make sure ssh access is enabled and login

If needed install an editor such as nano by installing entware package http://entware.zyxmon.org/binaries/other/Entware-ng_0.97.qpkg in app center and then in the ssh terminal execute:opkg install nano. Refer to this post over on the official QNAP forums (requires free registration) for info about the latest versions: https://forum.qnap.com/viewtopic.php?f=351&t=116737

Locate the BubbleUPnPServer install directory, use ps a | grep Bubble for example and go there. For me it was: /share/CACHEDEV1_DATA/.qpkg/BubbleUPnPServer

Update the BubbleUPnPServer.sh shell script to use the new binaries: add -ffmpegDir /opt/ffmpeg directly after ...R_DIR/BubbleUpnPServerLauncher.jar but before the output redirects.
[Android Apps and Games] bnieman:
Thank you for your comprehensive response. I will perform the actions you requested and report back as soon as I am able.
[Android Apps and Games] mm_67:
Mqa

Would it be possible to let mqa streams from Tidal to just pass through as they are (24/44.1 or 24/48) , now they all seem to get truncated to 16/44.1 format.
[Android Apps and Games] JohnnyDvanC:
bubbleupnp audio cast not working in latest app from amazon

I cannot geht Audio Cast to work.

My setup is as follows

bubbleupnp 2.8.3.1-amz licensed

xposed framework 78

bubbleupnp module 2.8.3.1-amz

raspberry pi 2 Debian Jessie with gmrederer-resurrect

The raspi does work witch bubbleupnp except the audio cast feature. It reports not enabled or not loaded.

But when I use bubbleupnp v 1.6.2 everything works as expected.

I could use the old version of bubbleupnp, but this one doesn't accept the licence that was an Amazon store in-app purchase.

I'd rather use the latest version. Is the Amazon thing an issue?

Any help is appreciated

Thank you
[Android Apps and Games] bubbleguuum:
Thank you for the report.

There is a bug in the Amazon version of BubbleUPnP, where it declares the wrong class for the module

initialization, hence it fails to load. Will fix for the upcoming 2.8.5 version.
[Android Apps and Games] EPa:
It seems BubbleUPnP server can only make the media server itself available for internet access, not the proxy it creates. Is that right?

I'm asking because I have a problem that the proxy solves, and would like the proxy available for internet access. Is that possible?
[Android Apps and Games] bubbleguuum:
For a LAN media server, its LAN proxy and remote internet appearance in Android BubbleUPnP (that is: with [proxy] and [Home] appended to the media server's name, by default) are nearly identical and should fix the same issues of the wrapped original media server (in particular, browsing issues)
[Android Apps and Games] EPa:
Yes that's what I expected. But on my LAN I can only see the [proxy] and also the [Home]. I can't see the [proxy] [Home] anywhere..

Edit: unless you mean that even though only [Home] is appended to the name, it's actually the proxy server (if it is activated) available through internet. Sorry, this isn't very clear to me..
[Android Apps and Games] bubbleguuum:
Both are functionally identical and fix the same thing. That's why a [proxy] [Home] does not make sense and is not needed.

So you can use the [Home] media server both on the LAN and via Internet access. You only need [proxy] if you plan to access it from the LAN using other UPnP/DLNA software or hardware (TV) to browse it than Android BubbleUPnP.
[Android Apps and Games] EPa:
Crystal clear now, thanks.

Would using the [Home] from inside my lan mean a round trip?

Edit: no static IP, using dynamic dns
[Android Apps and Games] bubbleguuum:
No round trip, dyndns will just resolve to your public router ip.

However some routers do not accept connections on their public ip from within the LAN unless

they allow "NAT loopback". Should work with most routers though.

If you cannot connect to BubbleUPnP Server from within the LAN, that' would be the reason.