[APP][5.0+][v3.8.0.2] BubbleUPnP - UPnP/DLNA/Chromecast Control Point and Renderer

Search This thread

bubbleguuum

Senior Member
Dec 23, 2010
6,911
2,672
Playing mp4s with embedded subs.

When I play a file no subs are shown. Extracting one works perfectly, but is it also possible to automatically display a subtitle of a preferred language?

@DroidLoverX

Subtitles is a complicated topic. To which renderer are you playing to ?
When subtitles can work (dependent on many factors), there is no way to automatically select a preferred language).
 

bubbleguuum

Senior Member
Dec 23, 2010
6,911
2,672
Sorry if this has been asked before, searched but didn't find something.

The tether client does not start for me on windows 10. I get:

Starting BubbleUPnP Tether Client 0.9.2...

Exception in thread "main" java.lang.RuntimeException: Invalid environment
at com.bubblesoft.common.utils.a.b.<init>(Unknown Source)
at com.bubblesoft.common.utils.a.b.a(Unknown Source)
at com.bubblesoft.common.utils.a.a.a(Unknown Source)
at com.bubblesoft.common.utils.a.a.a(Unknown Source)
at com.bubblesoft.bubbleupnptetherclient.client.Main.initACRA(Unknown Source)
at com.bubblesoft.bubbleupnptetherclient.client.Main.main(Unknown Source)
Caused by: java.security.NoSuchAlgorithmException: PBEWITHSHAAND128BITAES-CBC-BC SecretKeyFactory not available
at java.base/javax.crypto.SecretKeyFactory.<init>(SecretKeyFactory.java:118)
at java.base/javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:164)
... 6 more

..that kind of error. Something wrong with my environment? It's the following:

S D:\Program Files\BubbleUPnPTetherClient-0.9.2> java -version
java version "19.0.2" 2023-01-17
Java(TM) SE Runtime Environment (build 19.0.2+7-44)
Java HotSpot(TM) 64-Bit Server VM (build 19.0.2+7-44, mixed mode, sharing)

Thanks

@EPa

That's a very unusual error. I cannot reproduce it on Windows 11 using Java 19 from Eclipse Temurin. Where is your Java 19 coming from ?
 

bubbleguuum

Senior Member
Dec 23, 2010
6,911
2,672
Extracting subs do work fine on Chromecast.
Just couldn't find an auto extract option. I hope you'll consider adding that in a future release (of the paid version)

@DroidLoverX

Yes subs are fully supported for playing to Chromecast, as the app as full control over them.
No plan for automatic extraction as it can be a long process (done only once) depending on file size and read speed, thus left manual if you need it.
 
Nov 21, 2010
14
3
Hi @bubbleguuum , I've had to factory reset my Fire TV stick, so sideloaded bubbleupnp again from my tablet, but that's now running 3.7.2 after Amazon Store updates. The interface works a lot better than the old 2.9.x I had, but I'm running into the problems with gapless Qobuz I described a year or so ago (did you ever get my log file https://forum.xda-developers.com/t/...t-and-renderer.1118891/page-811#post-86095639 ?).

I had gapless working well on the old 2.9.something version I had on the Fire stick - any chance of a link to download the Amazon 2.9. apk?

The old version advanced the playlist correctly on the controlling phone/tablet, even though the display on the Fire TV didn't update properly, which wasn't a great problem for me as I'd turn off the TV screen as soon as Bubbleupnp was fired up. Now, both the controller and renderer playlists get stuck, leading to the repeated tracks. I've tested this with my phone as controller and tablet as renderer, which shows it's not a specific Fire TV problem.

Thanks.
Just chasing up on this, sorry if you already saw it.
 

bubbleguuum

Senior Member
Dec 23, 2010
6,911
2,672
Just chasing up on this, sorry if you already saw it.

@darrellkavanagh

So you are playing Qobuz on your Fire TV, controlled by BubbleUPnP running on a tablet.

Can you try enabling the OpenHome renderer on your Fire TV: in app settings, go into 'Local renderer', 'OpenHome' section and check the 'Enable' setting.
Then in BubbleUPnP on your tablet, control the Fire TV as an OpenHome renderer.
The advantage is that the BubbleUPnP on your FireTV will be autonomous for track advance, not requiring BubbleUPNP on your tablet to run.

Other than that, v3.8.0.1 is coming to the Amazon appstore at the end of the week and might improve Qobuz streaming.
 

GurliGebis

Member
Feb 16, 2011
35
1
@GurliGebis

I understand your request but it has some complications in term of implementation and to not be confusing. I need to think more about it, but no promise.
For sorting filesystem folders holding albums by track number automatically, you can try enabling More > Gear icon > UPnP/DLNA Libraries settings > (pick UMS) > Smart Sort.

Thanks, I did try that.
The problem with Smart Sort is that when I'm in my Misc folder, it sorts by track name, instead of artist, so I have to switch it to artist, which then overrides it for all other folders.
That is why I'm suggesting have it on a folder by folder basis, if possible.
 

simonMBUK

Member
Feb 27, 2020
31
9
Hi @bubbleguuum ,

I'm testing proxying MinimServer for use with a WiIM mini for that bug I spoke to you about. Now it works fine, but it offers up the original file as well as L16 and WAV streams, is there any way to disable the transcoded streams as I'd prefer to know exactly what's going on and transcode in MinimServer if needed?

I've set:
<disableAudioVideoTranscoding>true</disableAudioVideoTranscoding>
but it had no affect, maybe that's just for video?

Thanks

EDIT:
I forgot to mention that I had also set 'Transcode Audio' to 'Do not transcode' on the Advanced Settings page.

Maybe I'm worrying unduly because I know there are three streams shown through 'Show Metadata' in BubbleUPnP, maybe BubbleUPnP with the discussed settings would never choose them?
 
Last edited:

jim_pap

Member
Jan 6, 2023
17
1
I am also confirming that v3.8.1 fixed the hardware volume buttons.

A feature request that might be interesting: These days I am trying Hi Fi Cast. From its Now Playing screen, one can enter to more information pages. One of them has links to wikipedia, musixmatch, musicbrainz which are relayed ro the song that is playing.
 

Attachments

  • Screenshot_20230318-145409_Hi-Fi Cast.jpg
    Screenshot_20230318-145409_Hi-Fi Cast.jpg
    122.7 KB · Views: 24
Last edited:

mikehd1959

Senior Member
Hi, found this app on the WiiM users forum to address current display issues that the WiiM Home App has with network music servers (no album art on many views). It's been working a treat (bought the license!) with one nagging issue. It's just my spouse and I in our home using your app to listen to our home music server (Serviio is the DLNA server) through the WiiM. But if I start a playlist, and then she accesses the app on her phone, it doesn't show my playlist, it shows her old play list and never refreshes with the current playlist. Same if she starts a playlist and I then start the app from my phone.

This may be out of the design intent of the app or maybe we have some app setting set wrong (I went through each one and couldn't find anything obvious).

Any tips or insights?

thanks,
 

simonMBUK

Member
Feb 27, 2020
31
9
Hi, found this app on the WiiM users forum to address current display issues that the WiiM Home App has with network music servers (no album art on many views). It's been working a treat (bought the license!) with one nagging issue. It's just my spouse and I in our home using your app to listen to our home music server (Serviio is the DLNA server) through the WiiM. But if I start a playlist, and then she accesses the app on her phone, it doesn't show my playlist, it shows her old play list and never refreshes with the current playlist. Same if she starts a playlist and I then start the app from my phone.
Hi Mike,

To share playlists you'll need to install BubbleUPnP Server and then create an OpenHome version of your WiiM that you'll use in the BubbleUPnP app to play to, rather than the normal WiIM e.g. if your normal WiiM is called 'WiiM Mini' you'll see another called 'WiiM Mini (OpenHome)'. You can hide the original WiiM via 'Settings > Hide/unhide renderers and libraries' in the BubbleUPnP app so it doesn't cause confusion.
 

mikehd1959

Senior Member
Sweet! works well.

One question: I don't need internet access to my home music. Should "Make this Media Server available in BubbleUPnP for Android and foobar2000 for internet access" be checked. Seems like it should be not checked but the help page shows an older version that doesn't have the "for internet access" as part of the description. I thought that maybe if unchecked it would disappear from my home LAN as well.
 

simonMBUK

Member
Feb 27, 2020
31
9
Sweet! works well.

One question: I don't need internet access to my home music. Should "Make this Media Server available in BubbleUPnP for Android and foobar2000 for internet access" be checked. Seems like it should be not checked but the help page shows an older version that doesn't have the "for internet access" as part of the description. I thought that maybe if unchecked it would disappear from my home LAN as well.
It's not needed but equally I don't think it does anything without 'Network and Security > Allow to access the server from the Internet' checked.
On the 'Media Renderers' page where you've configured the WiiM, make sure you've enabled 'Gapless playback', and personally I've set 'Decode audio to PCM for' to 'Never use', but that's because I prefer to have my music server do any transcoding.

I think that's it really!
 
  • Like
Reactions: mikehd1959

Sid32

Senior Member
Feb 8, 2015
460
331
Hey, so we don't need a quick theme change button from the left side menu, but would be handy for UPNP serve on/off switch.
 

toasterpc

New member
Hey there!

Just wanted to say I love the Android app, been a user for years and just recently began trying out the Docker container, though I'm left with a bit of a pickle.

At the moment, most of the services running on my device (OpenWRT 22.03.3 for Raspberry Pi 4B) depend on a docker-compose file for both maintenance tasks and connectivity to the network, but I've noticed that at the moment the container is unable to accept the usage of volume mounts to store the configuration outside the container, which means that every time I update my system I have to configure the server from scratch.

Would enabling an external configuration directory be a possibility in the future?

Thanks in advance!
 

bubbleguuum

Senior Member
Dec 23, 2010
6,911
2,672
Hey there!

Just wanted to say I love the Android app, been a user for years and just recently began trying out the Docker container, though I'm left with a bit of a pickle.

At the moment, most of the services running on my device (OpenWRT 22.03.3 for Raspberry Pi 4B) depend on a docker-compose file for both maintenance tasks and connectivity to the network, but I've noticed that at the moment the container is unable to accept the usage of volume mounts to store the configuration outside the container, which means that every time I update my system I have to configure the server from scratch.

Would enabling an external configuration directory be a possibility in the future?

Thanks in advance!

@toasterpc

I may look into it for an unpdate to the image (no promise though) but you can easily retrieve the configuration.xml file to copy it in a new docker image with instructions at the end of this page
 
  • Like
Reactions: toasterpc

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Right now I realized that seeking in flac audio files does not work and it is not a server bug:
    When I use the seek bar in Now playing, nothing changes and cursor teturns to the previous time point. When I use the "Seek to position" menu command, nothing happens.

    The above happen either with Minimserver or Synology Media Server. When I play the flac files via VLC, either a local or a server-located flac, seeking works. I searched the forum and didnt find something similar. Does it only happen to me?
    Seeking in FLAC 44/16 from MinimServer is working for me. Are you sure there's no transcoding taking place either by MinimServer or on the local renderer (Settings > FFmpeg audio decoding)? Does the Now Playing screen show the correct codec, sample rate and bit depth?


    Tested with BubbleUPnP 3.8.0.2 and MinimServer 2.2 update 240.
    1
    Seeking in FLAC 44/16 from MinimServer is working for me. Are you sure there's no transcoding taking place either by MinimServer or on the local renderer (Settings > FFmpeg audio decoding)? Does the Now Playing screen show the correct codec, sample rate and bit depth?


    Tested with BubbleUPnP 3.8.0.2 and MinimServer 2.2 update 240.

    Now Playing says flac, 16 bits, stereo, 44 khz in the metadata screen. But I think you pointed to the right direction. My default renderer is a Yamaha WXAD-10. When I switch to the local renderer, seekin with flacs works. Does it mean that the Yamaha is the responsible for not seeking inside flacs?
    1
    Now Playing says flac, 16 bits, stereo, 44 khz in the metadata screen. But I think you pointed to the right direction. My default renderer is a Yamaha WXAD-10. When I switch to the local renderer, seekin with flacs works. Does it mean that the Yamaha is the responsible for not seeking inside flacs?
    It's defintely not a limitation of MinimServer or BubbleUPnP so I'd guess so. Have you tried streaming WAV's?
    I've seen the same problem on Denon HEOS speakers before.
  • 272
    BubbleUPnP on Google Play [current version: 3.8.0.2, released on March 18th 2023]
    BubbleUPnP on Amazon appstore [current version: 3.8.0.2, released on March 16th 2023]
    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-update46, released on February 4th 2023]

    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 [email protected]:

    - launch the app
    - go into More > Gear icon > Control
    - Enable "logging to file" (at the end of the page).
    - IMPORTANT: Exit the app (More > "X" bottom left icon)
    - restart the app
    - run the app and trigger the problem to troubleshoot
    - exit the app
    - 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:

    /Documents/com.bubblesoft.android.bubbleupnp_log.txt
    /Documents/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.
    7
    BubbleUPnP 1.6.10 will be shortly available on Google Play:

    1.6.10

    • support for playing "All Access" tracks. For All Access tracks part of a Google Music playlist to be playable, the track must be part of your Google Music library
    • better buffering when the local renderer is using its own decoders (FLAC on older Android, ALAC, WAV, LPCM) to avoid potential audio skips
    • the local media server "Filesystem" folder now lists and loads supported playlist file formats (m3u and many others) as folders
    • added Settings > Local Media Server > Allowed remote clients, to specify clients that can remotely browse based on ip address
    • added Settings > Now Playing > Scale cover to fit > On (Keep aspect ratio). Will scale cover to fit to width or height, keeping aspect ratio
    • "Show metadata" context menu action on a video item now shows long description sent by some media servers (for example, movie summary)
    • Display > Show track numbers now apply everywhere a track title is displayed (Now Playing, notification, widget)
    • Display > Show thumbnails doesn't show the "no cover" image in Library when disabled (makes more room for the title on super small screens)
    • added UPnP search query listing all tracks whose artist match the query string
    • trim additional whitespace between words in UPnP search queries (useful with some custom keyboards adding extra whitespace)
    • the local media server "Filesystem" folder lists .mpo files (associated to image/mpo)
    • workarounded again Xbox 360 100% volume bug on track change, hopefully for good this time
    • fixed UPnP device discovery not working with bluetooth network connectivity (tethering) and failure to fetch devices from BubbleUPnP Server on bluetooth
    • fixed " and ' characters not displayed correctly on some renderers (T+A, Pioneer)
    • fixed some Sony BDP devices not listing BubbleUPnP as a media server in all media sections
    • fixed local media server "Filesystem" folder not listing some subfolders in some cases
    • fixed a few crashes
    • other minor changes