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

Search This thread

gergev

Member
Feb 23, 2014
17
0
Copy saved playlist to another phone. I copied all apps from old to new android phone and bubbleupnp with license came over with the other apps, but my saved playlist did not. Is there a way to import the playlist somehow so I don't have to recreate it? It is a list of xfinity tv channels (m card) from my hdhomerun prime.
 

bubbleguuum

Senior Member
Dec 23, 2010
6,911
2,672
Copy saved playlist to another phone. I copied all apps from old to new android phone and bubbleupnp with license came over with the other apps, but my saved playlist did not. Is there a way to import the playlist somehow so I don't have to recreate it? It is a list of xfinity tv channels (m card) from my hdhomerun prime.

@gergev

You can use 'More > gear icon > Import / Export data' to transfer data (including 'Saved Playlists') from one device to another either via a file generated by the app or between 2 devices with 'Import from running BubbleUPnP instance'.
 
  • Like
Reactions: gergev

bubbleguuum

Senior Member
Dec 23, 2010
6,911
2,672
Find a network station url by examing the source code of its web page (there are many tutorials about it). Then:
Playlist -> Add Stream URL
then Add to Saved Playlist
then play from More -> Saved Playlist

I wish BubbleUpnp had a radio station browsing function, with filters (Genre, Local) as Yamaha MusiCast does. TuneIn for collecting urls is not a very wise option imho, as its fee is much higher than BubbleUpnp cost itself.

@jim_pap

For the purpose of just adding radio URLs to BubbleUPnP in a 'Saved Playlist' (this has to be only done once per station), free version of TuneIn is sufficient.
 

gergev

Member
Feb 23, 2014
17
0
@gergev

You can use 'More > gear icon > Import / Export data' to transfer data (including 'Saved Playlists') from one device to another either via a file generated by the app or between 2 devices with 'Import from running BubbleUPnP instance'.
Thank you! I used export data, created a zip file in dowloads folder, then shared that via bluetooth with the new phone and imported the file.
 

GurliGebis

Member
Feb 16, 2011
35
1
I have a small feature request (sorry if this isn't the right place for it - if so, please point me at where I should sent it).

Would it be possible to add a setting to enable folder sorting to be folder specific instead of all folders?
I have my music library on my NAS with UMS acting as an DLNA source.
Some of my folders (like albums) I would like to sort by track number, while other folders I would like to sort by artist.
Right now I have to change it every time I change folder - it would be nice if the app could remember it on a folder by folder basis (the selected value would have to be stored somewhere in the app's settings, since it cannot write to the source).
 
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.
 

EPa

Senior Member
Mar 7, 2009
280
57
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
 

hteles

Senior Member
Oct 10, 2011
566
251
Sintra
Nexus 7
LG G3
Hi Bubble.
Latest update, With Android 13 SDK. When you use the volume buttons to adjust sound volume, the volume doesn't change really, only the Android notification seems to change.
I'm controlling a mopidy instance with DLNA plugin. It was working till last update.

P.S: If I use the - + buttons it changes the output level. Problem lies only when using the hardware buttons.

See pic below.





Screenshot_20230310-193653_Trebuchet.png
 

hteles

Senior Member
Oct 10, 2011
566
251
Sintra
Nexus 7
LG G3
@bubbleguuum

Update.
If I disable the volume control them it appears to control the external volume. But it works like it was a chromecast stream.
IMG_20230310_194427.jpg


Honestly I enjoyed the previous way because o could have two different volume steps configured... 5% with the buttons ( - + ) and 1% with the hardware buttons.

Thanks and keep your great work. I couldn't live ( could live with mopidy mobile ) without bubbleupnp everyday.
 

bubbleguuum

Senior Member
Dec 23, 2010
6,911
2,672
Hi Bubble.
Latest update, With Android 13 SDK. When you use the volume buttons to adjust sound volume, the volume doesn't change really, only the Android notification seems to change.
I'm controlling a mopidy instance with DLNA plugin. It was working till last update.

@hteles

What is the brand of your Android device ?
With 'Volume keys' enabled, do hardware volume buttons work for controlling mopidy volume when the app is in the foreground (visible) ? Normally, they should work.
Assuming they do when the app is in the foreground, is it only when the app is in the background (not visible) that they don't work while they did before the update ?
 

bubbleguuum

Senior Member
Dec 23, 2010
6,911
2,672
@hteles

Can you answer these questions:

With Volume keys setting enabled and mopidy the active renderer in BubbleUPnP:

- in the current update version (3.8) are you able to control mopidy volume with hardware buttons when the app is in the foreground (visible) ?
- in the previous version, were you also able to control mopidy volume with hardware buttons when the app was in the background,
and that's what is not working anymore with the current version ?

Volume control is kind of complicated depending on Android versions and devices and other factors, so please answer these precisely. You can optionally restate in which circumstances hardware volume control is not working in the new version (not at all all, only when app is in the background, ...) while it was in the previous version (but please answer above questions first!).
 
Last edited:

hteles

Senior Member
Oct 10, 2011
566
251
Sintra
Nexus 7
LG G3
@hteles

Can you answer these questions:

With Volume keys setting enabled and mopidy the active renderer in BubbleUPnP:

- in the current update version (3.8) are you able to control mopidy volume with hardware buttons when the app is in the foreground (visible) ?

No, i can't, but could with the previous version. As is in first screenshot, the Android volume notification changes but neither Bubble or mopidy volumes changes.



- in the previous version, were you also able to control mopidy volume with hardware buttons when the app was in the background,
(before)!When in the background it did control like it was a chromecast stream, but it did affect the earing volume.

and that's what is not working anymore with the current version ?
What it's not working now ( latest update ) is when the app is in foreground the soundbar and earing volume is not affected. It is like we are changing another volume bit not the External mopidy volume.


Volume control is kind of complicated depending on Android versions and devices and other factors, so please answer these precisely. You can optionally restate in which circumstances hardware volume control is not working in the new version (not at all all, only when app is in the background, ...) while it was in the previous version (but please answer above questions first!).

Hope that I did explain correctly. Sometimes there are barrier languages.

Regards.
Helmer
 

bubbleguuum

Senior Member
Dec 23, 2010
6,911
2,672
@hteles

Thanks for the details. Hardware button volume control is indeed broken (inoperant) in v3.8.
And it has nothing to do with the app being in background or foreground, so sorry to have over-complicated it.
I will make a hotfix ASAP.
 
  • Like
Reactions: hteles

bubbleguuum

Senior Member
Dec 23, 2010
6,911
2,672
I have a small feature request (sorry if this isn't the right place for it - if so, please point me at where I should sent it).

Would it be possible to add a setting to enable folder sorting to be folder specific instead of all folders?
I have my music library on my NAS with UMS acting as an DLNA source.
Some of my folders (like albums) I would like to sort by track number, while other folders I would like to sort by artist.
Right now I have to change it every time I change folder - it would be nice if the app could remember it on a folder by folder basis (the selected value would have to be stored somewhere in the app's settings, since it cannot write to the source).

@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.
 

DroidLoverX

Member
Sep 28, 2014
15
0
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?
 

giahiawa

Member
Feb 20, 2013
5
0
I use the button volume control with +5 increments. With v3.8 and previous version, volume control becomes non-functional often.
Only remedy has been to restart the BubbleUPnP Server.

Another issue that is also fixed by the Server restart:
Wiim Mini renderer not being recognized.
Android BubbleUPnP has no problem seeing it but not the Server
until it's been restarted.

Either Server or Wiim is not following UPnP protocols.
Without a network sniffer, I cannot begin to guess.
Please advise...
 

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