[APP][7.0+][v4.3.6] BubbleUPnP - UPnP/DLNA/Chromecast Control Point and Renderer

Search This thread

moviecut

Senior Member
May 26, 2010
681
241
Lingen
It was down and is up again now.



The package needs to be updated but update11 is not the reason. It needs to be updated so it installs on DSM 6 beta.
All the installers always install the latest version (update11 at this time) and are not updated themselves when there
is a new updatexx version.
To update your current update10 version, simply start the web config, go to Settings/Update and tap 'Check for update'.
It is possible your install is already up-to-date, if you did not disable autoupdate.

Thanks, my BubbleUpnp-Server ist finally running again on my Synology NAS! Wooohoooooouuu! I installed it directly via File, auto-update was not working... http://bubblesoftapps.com/bubbleupnpserver/BubbleUPnPServer.spk
 

hifidon

New member
Dec 16, 2015
4
0
This message is shown each time an app or process (System UI here) attempts to play audio that is not 44.1 kHz / 16 bits (the output combo of Audio Cast).
In that case, Audio Cast resample to 44.1/16, but it is not supported on 64 bit devices (only on 32 bit), for technical reasons.
Maybe it will be supported in the future but it's a bit complicated.
Here it is probable that you have a system sound played by System UI that is not 44.1/16

I rebooted the device and the error message went away. :confused:
 

Miracle1980

Senior Member
Mar 9, 2011
188
6
I love the application but now I am using Daphile as music player. Would be possible to make Bubbleupnp recognize Lms libraries? Basically remote controller for Squeezebox...
 

mkdr

Senior Member
Oct 15, 2010
344
28
Bug: Since some weeks, or ~2-3 months, cant really say when it started, the app takes much longer to start than it used to. If you tap the app the phone/tablet does nothing for about 3-6 seconds and then BubbleUPnP appears. This is really bad behavior. You should look into start the gui, and then do background stuff or do the init stuff via threads, not blocking the gui to load.
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
Bug: Since some weeks, or ~2-3 months, cant really say when it started, the app takes much longer to start than it used to. If you tap the app the phone/tablet does nothing for about 3-6 seconds and then BubbleUPnP appears. This is really bad behavior. You should look into start the gui, and then do background stuff or do the init stuff via threads, not blocking the gui to load.

Well, this does not happen on most devices. Only the very first launch after install takes several seconds, as a long one-time operation is performed.
Can you tell me what is your device, android version, ROM (if any), whether you are rooted and have Xposed installed.
 

mkdr

Senior Member
Oct 15, 2010
344
28
Well, this does not happen on most devices. Only the very first launch after install takes several seconds, as a long one-time operation is performed.
Can you tell me what is your device, android version, ROM (if any), whether you are rooted and have Xposed installed.

It happens on all my devices, rooted or not rooted, custom rom or original rom, no xposed running on any of them though.

Samsung Galaxy SIII i9300, custom rom, rooted, Android 5.1.1
Nexus 7 2012, original rom, rooted, Android 5.1.1
Telekom Puls, original rom, no mods, Android 5.0.1
 
Last edited:

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
It happens on all my devices, rooted or not rooted, custom rom or original rom, no xposed running on any of them though.

Samsung Galaxy SIII i9300, custom rom, rooted, Android 5.1.1
Nexus 7 2012, original rom, rooted, Android 5.1.1
Telekom Puls, original rom, no mods, Android 5.0.1

I recorded a small video (the launch really starts when the icon becomes highlighted) taken on my Alcatel OneTouch Idol 3, Android 5.1.1. Can you tell me how it compares with your devices.
It would be helpful if you could record a video, for example on the SGS3, so I can have a better idea.
This app can be used or if you can adb to your device, screenrecord.
 

mkdr

Senior Member
Oct 15, 2010
344
28
I recorded a small video (the launch really starts when the icon becomes highlighted) taken on my Alcatel OneTouch Idol 3, Android 5.1.1. Can you tell me how it compares with your devices.
It would be helpful if you could record a video, for example on the SGS3, so I can have a better idea.
This app can be used or if you can adb to your device, screenrecord.

https://dl.dropboxusercontent.com/u/14937594/bubbleupnp_i9300.mp4

Your video seems same as broken. It was way better before in some older version. The main gui should be loaded really after 0.5-1 second and not after 3-x seconds. Even if the guis is grayed out, and then becomes usable after some preload time, it feels much better this way then to have no responses after a click for a while.
 
Last edited:

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
https://dl.dropboxusercontent.com/u/14937594/bubbleupnp_i9300.mp4

Your video seems same as broken. It was way better before in some older version. The main gui should be loaded really after 0.5-1 second and not after 3-x seconds. Even if the guis is grayed out, and then becomes usable after some preload time, it feels much better this way then to have no responses after a click for a while.

Given your initial post I was expecting something much worse. It takes 3s at most. Other apps also do not load instantly but will show a splash screen.
Maybe I can optimize it more a bit and gain 1s at most by lazy loading some stuff, but it will be difficult. And it is not a matter of "do background stuff or do the init stuff via threads, not blocking the gui to load".
 

mkdr

Senior Member
Oct 15, 2010
344
28
Given your initial post I was expecting something much worse. It takes 3s at most. Other apps also do not load instantly but will show a splash screen.
Maybe I can optimize it more a bit and gain 1s at most by lazy loading some stuff, but it will be difficult. And it is not a matter of "do background stuff or do the init stuff via threads, not blocking the gui to load".

The loading time is about 3 seconds on the s3 (now, it was much better like mostly instant in older versions of your app), 3+ on my other devices. Most other apps load instantly on my s3, like I said, yes, "loading screen" or grayed out gui is the way to go.
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
The loading time is about 3 seconds on the s3 (now, it was much better like mostly instant in older versions of your app), 3+ on my other devices. Most other apps load instantly on my s3, like I said, yes, "loading screen" or grayed out gui is the way to go.

At some point, the app had an empty placeholder screen I think displayed immediately but I disabled it because it did not match necessarily the theme of the app, so was weird. Also, of course it will be slower on older devices possibly having slower internal storage too (especially the N7 2012).
And to conclude, it might be faster to load on KitKat tan Lollipop+ because ART generates huges files that have to be read by the system somehow.
I'll see what I can do to optimize load times, maybe lazy initializing some stuff, but do not expect miracles. And there's some time taken by the framework that cannot be easily reduced like classloading.
 

hifidon

New member
Dec 16, 2015
4
0
Audio cast toggle button widget

Is this a place for feature requests? It would be great if there was a widget for toggling audio cast on and off, and starts the app if necessaray. Just a button with indication of on/off state. Unless there's already a way to do this somehow?
 

CassandraN

Senior Member
Mar 26, 2009
54
1
BubbleUPNP still rocking my world. Thanks for the recent chromecast discovery fixes, they improved things a lot.

Of course, this is the kind of terrible relationship where we only talk when I have a problem. So....

When playing from the local media server (on an SD card on a Moto X Style, but also a problem with my previous Moto G), BubbleUPNP occasionally just seems to lose the SD card, as in all the file handles go stale or something. I fix by restarting and recreating the playlist (as the old one no longer appears to be valid) but it makes for using bubbleupnp for playback on the move tricky.

Also a couple of feature requests:

1) Would it be possible to for bubbleupnp-server to support gatewaying Chromecasts via an OpenHome renderer? This would enable both me and my partner to be able to control the music when it's playing multiroom.

2) Chromecast multiroom is a bit buggy at the moment. So we end up rebooting the Chromecasts more than we'd like to. Could a "reboot device" option be added to the context menu for a chromecast. Internet search suggests that it's a matter of sending a relatively simple POST request to the Chromecast. Details at

fiquett.com/2013/07/chromecast-traffic-sniffing/

If there could be a "reboot all Chromecasts in group" option too, that would be even more handy, although that's probably a lot more work.

Anyway, thanks again.
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
BubbleUPNP still rocking my world. Thanks for the recent chromecast discovery fixes, they improved things a lot.

Of course, this is the kind of terrible relationship where we only talk when I have a problem. So....

When playing from the local media server (on an SD card on a Moto X Style, but also a problem with my previous Moto G), BubbleUPNP occasionally just seems to lose the SD card, as in all the file handles go stale or something. I fix by restarting and recreating the playlist (as the old one no longer appears to be valid) but it makes for using bubbleupnp for playback on the move tricky.

Also a couple of feature requests:

1) Would it be possible to for bubbleupnp-server to support gatewaying Chromecasts via an OpenHome renderer? This would enable both me and my partner to be able to control the music when it's playing multiroom.

2) Chromecast multiroom is a bit buggy at the moment. So we end up rebooting the Chromecasts more than we'd like to. Could a "reboot device" option be added to the context menu for a chromecast. Internet search suggests that it's a matter of sending a relatively simple POST request to the Chromecast. Details at

fiquett.com/2013/07/chromecast-traffic-sniffing/

If there could be a "reboot all Chromecasts in group" option too, that would be even more handy, although that's probably a lot more work.

1. Not via OpenHome as there is no pure desktop Java SDK available for communicating directly with Chromecast.
It could be done on the Chomecast receiver itself but I have no current plan for that as it would be a full rewrite.

2. Yes a reboot Chromecast option should be easy to add (EDIT: added in next update)
 
Last edited:

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
Cool. Thanks for that. Appreciated.

Any idea on what might be causing the SD card issue and if it's fixable?

Not sure I understand what you mean by "loose the sd card".
Can you describe a scenario that leads to this problem.
Also I assume you play your sd card files browsing the "External SD Card" folder of the local media server, in the
Library tab ?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hello, I am having trouble streaming Tidal to my mpd/upmpdcli renderers using Kazoo as a Control Point and BubbleUPnP server as the OpenHome renderer.
    Kazoo as its own Tidal service, but the library does not even show if a mpd/upmpdcli combination is selected as a renderer, unless on top of upmpdcli there is BubbleUPnP server with its own OpenHome renderer with Tidal support enabled.
    While this upmpdcli+bubbleupnp server setup works perfectly when using the BubbleUPnP app, it does not work with Kazoo.
    I get the "unsupported uri scheme" error on mpd.
    Instead, if I use gmrenderer-resurrect, of course with BubbleUPnP server "on top" of it, Kazoo happily plays Tidal to it. Unfortunately in this case, I don't get scrobbling to Last.FM which I like to have.

    Is there something I can do to fix the issue?

    Thank you

    @GioF_71

    Can you send me (at bubblesoftproducts@gmail.com) the BubbleUPnP Server log file (BubbleUPnPServer.log.0, usually found on Windows in folder C:\Users\[username]\AppData\Roaming\BubbleUPnP Server) after attempting to play with Kazoo a TIDAL track to the upmpdcli renderer managed by BubbleUPnP Server, resulting in that failure to play ?
    Make sure to select the correct upmpdcli renderer in Kazoo (the BubbleUPnP Server managed one).
    1
    Hi there

    I've been using Bubbleupnp installed on a raspberry pi4 to stream music from Qobuz and Tidal on to a Hegel streamer amp, using Linn Kazoo as a controller.

    Over the past week or so I've been unable to log in to Tidal and I can't figure out why. All I seem to get when I click the login tab in Kazoo is an error message (see image)

    Is anyone else having this issue? I'm wondering whether it's because Tidal have been messing with their subscriptions recently...

    View attachment 6090538

    It's happening to me as well, starting last week.
    If you reset the application preference using the control panel which also allow to uninstall apps and try again, you will notice that Tidal has introduced a "human" verification, but Kazoo cannot prompt the user properly. Then you will get the same error again.
    Kazoo has been last updated in 2016 so I suppose won't be "fixed" (but I'd prefer to be wrong) so I am afraid we are out of luck here, at least with Kazoo. Unless Tidal changes something but this looks unlikely for a very old app like this one.
    It's a shame, I still like to use Kazoo when I am on a windows laptop.
    1
    I've just downloaded the new Linn app on my phone and to my surprise it works!

    Give it a go.
  • 277


    BubbleUPnP on Google Play [current version: 4.3.6, released on April 4th 2024]
    BubbleUPnP on Amazon appstore [current version: 4.3.4, released on February 26th 2024]
    BubbleUPnP latest APKs, Google Play version (notably for side-loading on Android TV)
    BubbleUPnP latest APK, Amazon appstore version (notably for side-loading on Fire TV)
    BubbleUPnP 'Audio Cast' Xposed Module. Only needed on Android < 10. (current version: 1.1, released on April 28th 2021)
    BubbleUPnP Server home page (download and documentation) [current version: 0.9-update49, released on February 17th 2024]

    BubbleUPnP home page

    Stream all your music, videos and photos to various devices in your house:

    • Chromecast
    • DLNA TVs
    • gaming consoles: Xbox, Playstation (from XMB)
    • UPnP/DLNA renderers: XBMC, WDTV Live, other Android devices, ...
    • various HiFi gear from Sonos, Denon, Pioneer, Onkyo and many more
    • local Android playback

    BubbleUPnP can access your media from a lot of sources, including:

    • UPnP/DLNA media servers: most NASes, XBMC, Plex, Twonky, Serviio, Windows Media Player and many more
    • local media stored on your Android device
    • cloud media: Google Drive, Dropbox, Box, OneDrive, Google Music, Google+
    • SMB Shares
    • WebDAV (ownCloud, NextCloud, webserver...)
    • media from other apps such as web browsers and file managers, using Share/Send
    • captured audio from most other apps. Requires Xposed (root)
    • Shoutcast radio (with XiiaLive)

    BubbleUPnP is a versatile app packed with many features for you to discover, some of which are:

    • extensive Chromecast support: play incompatible Chromecast media with transcoding (*), subtitles, audio/video track selection (*)
    • fast and secure Internet access to your home media while on the go, from mobile and WiFi networks (*)
    • playback queue, editable playlists, scrobbling, sleep timer, various shuffle modes
    • integrated full screen image viewer and controller
    • media download to your SD Card
    • ...and much more!

    (*) Some features are provided by BubbleUPnP Server, an optional software that can be installed on any machine on your local network to provide additional services. To learn more about BubbleUPnP Server, visit https://bubblesoftapps.com.

    Some features are restricted and can be unlocked by purchasing the BubbleUPnP License app.


    If something is not working, you can record a log file and mail it to me at bubblesoftproducts@gmail.com:

    - launch the app
    - go into More > Settings > Control
    - Enable "logging to file" (at the end of the page).
    - IMPORTANT: Exit the app (More > Exit)
    - restart the app
    - run the app and trigger the problem to troubleshoot
    - exit the app (More > Exit)
    - email me the files found on internal storage:

    On Android 10 and below:

    /Android/data/com.bubblesoft.android.bubbleupnp/log.txt
    /Android/data/com.bubblesoft.android.bubbleupnp/prev_log.txt

    On Android 11 and higher:

    /Downloads/com.bubblesoft.android.bubbleupnp_log.txt
    /Downloads/prev_com.bubblesoft.android.bubbleupnp_log.txt (if present)

    You can access them with a file manager app and share them to your email app for sending them.

    IMPORTANT: Make sure to not restart BubbleUPnP until you have sent or saved the log file as it is overwritten on app startup.
    9
    BubbleUPnP 1.6.8 and BubbleUPnP Server 0.6.5 are available

    Thanks to everyone who contributed suggestions, bug reports, logs etc.

    BubbleUPnP 1.6.8

    Video transcoding enhancements with BubbleUPnP Server (requires upgrading to BubbleUPnP Server 0.6.5)

    • transcoded video preserve embedded subtitles (mostly found in MKV). MX Player must be configured to use the H/W+ or S/W decoder to allow to select subtitles
    • when playing a transcoded video, ability to choose interactively audio/video streams to be included in the transcoded video (when there is more than 1 audio/video stream)
    • added ability to download transcoded videos (as MKV), preserving all audio/video tracks and subtitles of the original video
      Transcode quality can be set in "Settings > Network And Settings > Video transcoding", in the "File downloads" transcoding section.
      Requires licensed BubbleUPnP.

    New features

    • added Google Music auto playlists: "Thumbs up" and "Last added" (needs a Sync to appear)
    • added exit button to rich JB notification. Exit the app the same way than Menu > Exit
    • added option Settings > Library > Play displays Now Playing. If enabled, play actions in Library immediately switch to the Now Playing screen
    • added option Settings > Now Playing > Keep screen on. If enabled, the screen is kept on when device is plugged to power and on the Now Playing screen. Enabled by default
    • added "Music > Artists > All Albums" local media server folder, listing all albums sorted by album artist
    • added "Show metadata" action in context menu of album folders in Library (useful to see long titles)
    • added instructions for playing tunein radios from the Android web browser, in Settings > About/Help > Tips > Interacting with other apps
    • added ability to edit an item's metadata (title, album, artist) with context menu > Edit metadata in the Playlist tab and in a saved playlist folder (in Library).
      Useful to rename items having missing or incomplete metadata that have been sent to BubbleUPnP from third party apps (ex: tunein). This feature must only be used for items that will be added to a saved playlist. It *does not* modify metadata on the server
    • show album composer in album lists in Library, if composer is present and Settings > Display > Item size is set to Medium or greater
    • downloading a video also downloads the external subtitle file if present
    • local folder search also searches album name and artist instead of just title

    Bug fixes

    • fixed subtitle URLs sent by recent versions of Twonky (7.x) not recognized
    • fixed download of non-media items (such as subtitles) giving an error
    • fixed Stop (long-click on Play/Pause button) sometimes triggering playback of next track
    • fixed "Settings > Display > Multiline items" not working properly in Library album folders
    • fixed lock screen controls not showing when playing videos to external renderer
    • fixed current LAN renderer lost when network connection switches from WiFi to mobile data or no network
    • fixed error when playing podcast sent from Share action of Doggcatcher
    • fixed broken playlist track advance on some Roku renderers
    • fixed images displayed from Wild Media Server being low resolution (workaround WMS bug)
    • fixed Search action not available on phones, in Library folders containing items only, such as playlists. Now available under menu > Search, allowing local search of these folders
    • fixed possible crash when playing a video to a remote BubbleUPnP instance
    • fixed obscure crashes, some of them involving old versions of Android


    BubbleUPnP Server 0.6.5

    • added support for transcoding videos to MKV instead of MPEG-TS in a number of cases. MKV is automatically used when embedded subtitles must be preserved, and
      for transcoded video downloads (both require Android BubbleUPnP 1.6.8+). ffmpeg must have been compiled with MKV support
    • fixed proxy media servers not discovered by Windows Media Player
    • added option -useNumericIpInStreamURL to force the server to return numeric ip stream URLs instead of a hostname.
      This may be required for some specific renderers to accept to stream from a media server via tethering. This setting is forced if the browsing
      client is a Samsung TV, which requires it
    • fixed small CPU spike every 30s on slow NASes
    • fixed stream URLs becoming invalid if browsing large number of items (more than 3000)
    • fixed Sony SA-NS310 renderer recognized as a media server instead of a renderer
    • fixed proxies not carrying the X_MS_MediaReceiverRegistrar service
    • libshine is used for mp3 transcoding if compiled in ffmpeg (useful on slow NASes as it uses way less CPU than libmp3lame)
    • added missing Standby action support for OpenHome renderers (simply stops playback)
    • fixed transcoded images rarely failing to load due to low read timeout
    • Windows installer: updated ffmpeg to 1.2, added ffprobe, updated Java installer to 7u21
    8
    Finally, it's there!

    BubbleUPnP 1.8.0 is available on Google Play, bringing Chromecast support.
    BubbleUPnP Server 0.8 is available as well, providing transcoding support.

    All the details in this G+ post


    .
    8
    BubbleUPnP 4.0 announcement


    I've been working on BubbleUPnP 4.0.

    It will refresh the UI with Material Design 3, including (optional) Material You support (on Android 12+). It's been a lot of work and there is still a lot to do as the app is huge (and old, 12 years and counting. First version was released on Android 2.3!). Converting the app settings to androidx.preference, fragments and tweak some prefs for MD3 took several days alone!

    Here's a few work-in-progress screenshots until a beta is available later this month.

    The screenshots show various combinations of material You in dark and light mode. There's also to the ability to combine a light theme with dark bars for a look close to the current Light + dark bars theme (last screenshot). Note that dynamic tinting of the Now Playing screen based on cover colors is not yet implemented (as in the current version) but this is planned.
    8
    BubbleUPnP 4.0 is available in the Play Store. I hope you'll like the redesign !