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

Search This thread

GLDMGLDM

New member
Jun 7, 2021
1
0
Hello,
I'm having a strange issue with the Playlist. When adding full albums to the playlist either from a NAS or Qobuz, the first song always appears as the last one in the playlist and so the rest of the songs do not play, even though they appear in the correct order.

For Example:
I add an album with 5 songs on it, the order in which the album will be populated in the playlist is 2,3,4,5,1. Track number 1 will play (which is the first tack in the album) and then nothing will play.

I am using a Lumin D2 as the renderer and Version 3.5.2.2 of the application.

Thanks,
G
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
Hello,
I'm having a strange issue with the Playlist. When adding full albums to the playlist either from a NAS or Qobuz, the first song always appears as the last one in the playlist and so the rest of the songs do not play, even though they appear in the correct order.

For Example:
I add an album with 5 songs on it, the order in which the album will be populated in the playlist is 2,3,4,5,1. Track number 1 will play (which is the first tack in the album) and then nothing will play.

I am using a Lumin D2 as the renderer and Version 3.5.2.2 of the application.

Thanks,
G

@GLDMGLDM

This issue is a consequence of v3.5.2 on OpenHome renderers adding first track, playing it, then adding following tracks. That's for not having to wait until all tracks are added to the Playlist tab (which can be long on OpenHome renderers) before playing the first track . v3.5.2.2 fixed this issue for Melco renderers but apparently, Lumin renderers have it too. Normally this issue should not happen on well behave renderers, but on some of them there is a timing issue. I will send you a test version with a possible fix.
In the meantime you can simply enqueue the tracks (+ icon in top bar) instead of enqueue + play, and manually play the first track.
 
  • Like
Reactions: GLDMGLDM

pranna

Member
Mar 5, 2011
17
3
I'm running Foobar2000 on my windows 10 laptop with the foo_upnp renderer-server plugin added. When using the Bubble app on my phone the Foobar renderer and server show up and I can play and browse the library on my home network. When I go to a different location and use a different network the Foobar renderer and server do not show up in the Bubble app. I can't figure out what the difference is between the 2 networks? And why the Foorbar server and renderer are not listed?
Fixed it. "Function Discovery Network Host" service was not running. It had to be set to automatic start.
 

media_demon

New member
Jul 28, 2018
4
0
Australia
Hi,
I apologise if this has been mentioned before but I couldn't find any recent reference to it.

I don't like the Composer field showing on the Playing Now screen. In version 3.5.2 it is always appending to the Artist field which makes the display messy when there are many composers associated with a particular track. I know this feature is useful for Classical music but I would prefer not to see it for rock music etc.

I'm sure there used to be an option in the Playing Now Settings to enable or disable this, or is it hidden somewhere else now?

Any chance we could have this option in the Playing Now settings?

Thanks.
 
Last edited:

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
Hi,
I apologise if this has been mentioned before but I couldn't find any recent reference to it.

I don't like the Composer field showing on the Playing Now screen. In version 3.5.2 it is always appending to the Artist field which makes the display messy when there are many composers associated with a particular track. I know this feature is useful for Classical music but I would prefer to to see it for rock music etc.

I'm sure there used to be an option in the Playing Now Settings to enable or disable this, or is it hidden somewhere else now?

Any chance we could have this option in the Playing Now settings?

Thanks.

@media_demon

Will look into adding a setting for it. Although there's waaaay too much settings already...
Artist and Composer are also aggregated in Library, for album lists.
 

Edudomo

New member
Jun 13, 2021
3
1
Playlists that are created in Bubbleupnp get corrupted easily and can't always be repaired, at best it's very complicated to fix if you're not an advanced user. I've suffered the loss of my valuable playlists twice, and it's a bad experience, there was a lot of work on this.

Would it be possible to create the playlists directly in Tidal?

Thanks for your help, your app is without a doubt the best app I use.

Edudomo
 

media_demon

New member
Jul 28, 2018
4
0
Australia
@media_demon

Will look into adding a setting for it. Although there's waaaay too much settings already...
Artist and Composer are also aggregated in Library, for album lists.
Thanks for the quick response. I did notice the artist/composer aggregation in Library, but there is a setting to disable it in that instance. It would be great to have the same functionality in Playing Now if it's not too much trouble.

I know there are al lot of settings already but it's the ability to configure the app down to that level that makes it so usable.

Keep up the good work, BubbleUPnP is definitely the best DNLA app by far and it just keeps getting better!
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
Playlists that are created in Bubbleupnp get corrupted easily and can't always be repaired, at best it's very complicated to fix if you're not an advanced user. I've suffered the loss of my valuable playlists twice, and it's a bad experience, there was a lot of work on this.

Would it be possible to create the playlists directly in Tidal?

Thanks for your help, your app is without a doubt the best app I use.

Edudomo

@Edudomo

There is no plan to add support for editing TIDAL playlists. However, since the latest version, Saved Playlists can now be exported to XSPF, an inter-operable playlist format. You can find the export action in 3 dot menu of a 'Saved Playlist' among other locations. This can be used in conjunction with Soundiiz to import the playlist into major streaming services.

Next version will also have an improvement for Saved Playlists containing Android media store items, in the case the media store data is rebuilt or the Saved Playlists are transferred on a different Android device that has the same local media files on local storage. In these scenarios, the Saved Playlists will be updated to point to the correct items in the media store.
 
  • Like
Reactions: dez93_2000

Edudomo

New member
Jun 13, 2021
3
1
@Edudomo

There is no plan to add support for editing TIDAL playlists. However, since the latest version, Saved Playlists can now be exported to XSPF, an inter-operable playlist format. You can find the export action in 3 dot menu of a 'Saved Playlist' among other locations. This can be used in conjunction with Soundiiz to import the playlist into major streaming services.

Next version will also have an improvement for Saved Playlists containing Android media store items, in the case the media store data is rebuilt or the Saved Playlists are transferred on a different Android device that has the same local media files on local storage. In these scenarios, the Saved Playlists will be updated to point to the correct items in the media store.
Perfect, I'm going to try the conversion to Tidal of the playlists, it does not seem a very fast method, but I understand the impossibility of creating the lists directly in the provider.
 

dez93_2000

Senior Member
Jan 17, 2009
289
2
San Carlos
Hey bud, found a weird issue today. One album in my NAS library is ordered alphabetically by title even though sort order is set to default which says "Title/Artist" in the browsing settings on my media server, but it goes by track number for all (AFAIK) other folders of albums. Track numbers are present in the ID3 tags and the files & tags look normal compared to other album folders of mp3s which sort by track number. I prefixed the track numbers with "0" for the single digits and reloaded successfully but the order remains. Any thoughts as to why this might be?
Thanks in advance!

oh ps:

> "Although there's waaaay too much settings already..." you can never have too many settings! This is part of what makes your app so great dude!

Cheers!
 

Druschii

Member
Apr 22, 2021
6
0
@Druschii

The java process is running out of memory.

- how much RAM does your NAS have ?
- are you using version 0.9-update40 which was released a few weeks ago ? This version fixes important memory leaks on server soft restarts which could cause this issue. Unlike other updates, it requires a full reinstall of the BubbleUPnP Server syno package. So if the version displayed in the web Status tab is 0.9-update40 but you did not reinstall the Syno package, make sure to do it

So, I did a full cleanup of BubbleUPnP Server but the out of memory error has remained after a clean reinstall.
Any idea how I can trace this problem?
 

.:Stefan:.

Member
May 27, 2011
37
1
Hi there,

I am trying to get it work on my Synology DS216+ II NAS (DSM 6.2.4-25556) inside Docker with the official Docker container but it always fails. Doesn't matter if I configure via CLI as described in the docu here or if I do it via Docker GUI.

Here is an Docker error log as export. Would be happy for any useful hints.
Code:
[main            ] INFO     - 24:00:00.140 - Main                        : launcher version: 1.0

[main            ] INFO     - 24:00:00.293 - Main                        : first time setup: downloading BubbleUPnPServer.jar, please wait...

fips - softokn: crypto test failed - aborting

#

# A fatal error has been detected by the Java Runtime Environment:

#

#  SIGSEGV (0xb) at pc=0x00007f8898f59927, pid=1, tid=7

#

# JRE version: OpenJDK Runtime Environment (11.0.11+9) (build 11.0.11+9-suse-1.1-x8664)

# Java VM: OpenJDK 64-Bit Server VM (11.0.11+9-suse-1.1-x8664, mixed mode, tiered, compressed oops, serial gc, linux-amd64)

# Problematic frame:

# C  [libc.so.6+0x26927]  abort+0x1d9

#

# Core dump will be written. Default location: Core dumps may be processed with "/usr/syno/sbin/syno-dump-core.sh /volume1 %e %p %s" (or dumping to /opt/bubbleupnpserver/core.1)

#

# An error report file with more information is saved as:

# /tmp/hs_err_pid1.log

#

# If you would like to submit a bug report, please visit:

#   https://bugreport.java.com/bugreport/crash.jsp

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.

Thanks and BR
Stefan
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
@.:Stefan:.

This has been reported by another user. Seems to be a weird quirk on Syno, not always happening. There is no fix that I could find, but I plan to make alternate Docker images based on the OpenJ9 JVM instead of OpenJDK, so maybe it will fix it.
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
On a redmi 9 the volume hard keys at the right side of the smartphone do not work, when BubbleUPnP is running in the background. Normal behavior?

@dark0shark

Yes it is normal: hardware volume buttons only work when the app is in the foreground, unless you are controlling a Chromecast or local playback.
It would be possible to support other renderers (UPnP AV / OpenHome) but requires tying into the audio session system and it is a bit convoluted.
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
So, I did a full cleanup of BubbleUPnP Server but the out of memory error has remained after a clean reinstall.
Any idea how I can trace this problem?

@Druschii

What's the specs of your Syno NAS, especially in term of memory ?
Other than that you can send me (bubblesoftproducts@gmail.com) the BubbleUPnP Server log files after it goes out of memory.
Files are named BubbleUPnPServer.log.0 and BubbleUPnPServer.log.1 and found in the /volume1/homes/bubbleupnp/appData folder.
 
  • Like
Reactions: Druschii

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
New v3.5.3p3 beta available and pushed to Play Store beta subscribers. Download APK

The big change is the update to targetSdkVersion 30 (Android 11), resulting in support for Scoped Storage on Android 11+ devices.
This really requires testing. Full details in the app in More > Gear icon > Version > Changelog.



.
 
  • Like
Reactions: Druschii

.:Stefan:.

Member
May 27, 2011
37
1
@.:Stefan:.

This has been reported by another user. Seems to be a weird quirk on Syno, not always happening. There is no fix that I could find, but I plan to make alternate Docker images based on the OpenJ9 JVM instead of OpenJDK, so maybe it will fix it.
Hi,

alright, thanks for your F/B.
In the meantime, I tried the BubbleUPnP Docker image from "icebear8" and it works like a charm, no idea why but it's also using actual server, so I'm gonna stay with this for now as it seems to do its job well.
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
Hi,

alright, thanks for your F/B.
In the meantime, I tried the BubbleUPnP Docker image from "icebear8" and it works like a charm, no idea why but it's also using actual server, so I'm gonna stay with this for now as it seems to do its job well.

@.:Stefan:.

The icebear8 image works because it use a different Java runtime that is not crashing.

I've made a new container based on the OpenJ9 runtime. Can you test it and report if it works ? As a bonus it uses less memory.
To try it, retrieve image bubblesoftapps/bubbleupnpserver-openj9 (instead of bubblesoftapps/bubbleupnpserver)
 

.:Stefan:.

Member
May 27, 2011
37
1
@.:Stefan:.

The icebear8 image works because it use a different Java runtime that is not crashing.

I've made a new container based on the OpenJ9 runtime. Can you test it and report if it works ? As a bonus it uses less memory.
To try it, retrieve image bubblesoftapps/bubbleupnpserver-openj9 (instead of bubblesoftapps/bubbleupnpserver)
I'm happy to test but till now I cannot see it in the list of images when searching for "bubbleupnpserver". It throws 27 results but none with the image name mentioned by you.
 

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 !