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

Search This thread

Karasca

New member
Sep 21, 2022
1
0
I've been having a persistent problem with this application since the first day weeks ago. I've finally gotten around to trying to troubleshoot the issue but I'm not getting anywhere.

Connecting to the foobar2000 server works fine, but any music stops playing after about 2 minutes.
This is regardless of whether the screen is off/on, the app is in the back/foreground. No matter what, even when keeping the application open on the "playing" screen.

I've tried everything in the anti battery saving pages and updated every part of my network.

I've sent an email before but there has been no reply to it, so I'm trying here.

I have the log file ready that shows 2 instances of music playing being interrupted, let me know if you need it.
 

wolfgg

Member
Jun 5, 2020
5
1
im using netease cloud music and ububble upnp on my xiaomi smart projector and push the songs over the dlna to ububble upnp but only 1 song works after that it stops, can anyhone help please?
Also how do i display the lyrics?
thanks
 

bubbleguuum

Senior Member
Dec 23, 2010
6,844
2,630
I've been having a persistent problem with this application since the first day weeks ago. I've finally gotten around to trying to troubleshoot the issue but I'm not getting anywhere.

Connecting to the foobar2000 server works fine, but any music stops playing after about 2 minutes.
This is regardless of whether the screen is off/on, the app is in the back/foreground. No matter what, even when keeping the application open on the "playing" screen.

I've tried everything in the anti battery saving pages and updated every part of my network.

I've sent an email before but there has been no reply to it, so I'm trying here.

I have the log file ready that shows 2 instances of music playing being interrupted, let me know if you need it.

@Karasca

Yes, please send log files to [email protected].
Make sure they are recorded following instructions in the first post of this topic.
 

taimei

Member
May 5, 2017
34
1
@bubbleguuum

I use the Audio decoding to PCM feature in BubbleUPnP Server.
When I play a 32bit file, it is decoded to 16bit. 24bit files do not have that problem.
The following ffmpeg log shows that -f s16le is specified in FFMpegUtils: ffmepg process.
FfmpegPCMDecodeServlet : decode info is outputs "bitsPerSample":16.
I would like to see 32bit files not downconverted to 16bit.
Can you fix this problem? Or is it a bug in ffmpeg?


BubbleUPnP Server : 0.9-update43

ffmpeg decode log (32bit/96kHz file)
Code:
INFO     - 55:44:42.65    - .FfmpegPCMDecodeServlet     : input url: http://xxx.xxx.x.x:xxxx/minimserver/*/32bit_sample_track.wav, format: wav, ext: wav, codec: pcm_s32le, samplerate:96000, bits: 32, channels: 2, duration: 209.586667s, ReplayGain (tags): false, ReplayGain (forced track gain): null, track peak: null
INFO     - 55:49:43.458   - .FFMpegUtils                : ffmpeg process started, timeout: 0s: ffmpeg -seekable 1 -ss 0.000000 -i http://xxx.xxx.x.x:xxxx/minimserver/*/32bit_sample_track.wav -i /Users/home/Library/MinimServer/filters/flat95/conv96.wav -vn -f s16le -ar 96000 -ac 2 -map 0:0 -filter_complex aresample=resampler=soxr:precision=28,volume=replaygain=track,afir=gtype=none -
INFO     - 55:53:42.735   - .FfmpegPCMDecodeServlet     : decode info: {"contentType":"audio/wav","samplerate":96000,"channels":2,"bitsPerSample":16,"duration":209.586667,"bytesPerSecond":384000,"decodeUrl":"http://xxx.xxx.x.x:xxxx/minimserver/*/32bit_sample_track.wav","hasReplaygainApplied":false,"isAudioChanged":true,"isShoutcast":false}

ffmpeg info
Code:
INFO     - 0:00:08.765    - .Main                       : ffmpeg version 5.0-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2000-2022 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.17)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
libavutil      57. 17.100 / 57. 17.100
libavcodec     59. 18.100 / 59. 18.100
libavformat    59. 16.100 / 59. 16.100
libavdevice    59.  4.100 / 59.  4.100
libavfilter     8. 24.100 /  8. 24.100
libswscale      6.  4.100 /  6.  4.100
libswresample   4.  3.100 /  4.  3.100
libpostproc    56.  3.100 / 56.  3.100

INFO     - 0:00:08.766    - .Main                       : ffmpeg supports SoX resampler
INFO     - 0:00:08.841    - .Main                       : ffmpeg supports mp3 encoding (libmp3lame)
INFO     - 0:00:08.842    - .Main                       : ffmpeg supports libvorbis encoder
INFO     - 0:00:08.842    - .Main                       : ffmpeg supports opus encoder
INFO     - 0:00:08.842    - .Main                       : ffmpeg supports ac3 encoder
INFO     - 0:00:08.842    - .Main                       : ffmpeg supports eac3 encoder
INFO     - 0:00:08.842    - .Main                       : ffmpeg supports flac encoder
INFO     - 0:00:08.842    - .Main                       : ffmpeg supports libx264 software encoder
INFO     - 0:00:08.842    - .Main                       : ffmpeg supports h264_videotoolbox hardware encoder
INFO     - 0:00:08.843    - .Main                       : ffmpeg supports experimental aac encoder
INFO     - 0:00:08.891    - .Main                       : ffmpeg doesn't support h264_vda hardware decoder
INFO     - 0:00:08.934    - .Main                       : ffmpeg doesn't support VDA hwaccel
INFO     - 0:00:08.979    - .Main                       : ffmpeg supports matroska encoding
INFO     - 0:00:08.979    - .Main                       : ffmpeg supports mpegts encoding
INFO     - 0:00:09.121    - .Main                       : ffmpeg supports -id3v2_version option
INFO     - 0:00:09.122    - .Main                       : ffmpeg supports the -seekable option
INFO     - 0:00:09.122    - .Main                       : ffmpeg supports the -codec option
INFO     - 0:00:09.122    - .Main                       : ffmpeg supports the -ignore_unknown option
INFO     - 0:00:09.191    - .Main                       : ffmpeg supports the scale video filter
INFO     - 0:00:09.241    - .Main                       : ffmpeg supports the aac_adtstoasc bitstream filter
 

bubbleguuum

Senior Member
Dec 23, 2010
6,844
2,630
@taimei

Currently, 32-bit audio (which is not exactly common nor really useful) is converted to 16-bit if FFmpeg is enabled.
This is a bit of oversight as it did not cross my mind people would play more than 24-bit audio.
And not too many renderers I think are able to play natively 32-bit PCM anyway (or if they do they probably convert it to 24 or 16 bit).
Until I fix it, you can workaround it by disabling FFmpeg: set "Decode audio to PCM for" to "Never use".
 

taimei

Member
May 5, 2017
34
1
@taimei

Currently, 32-bit audio (which is not exactly common nor really useful) is converted to 16-bit if FFmpeg is enabled.
This is a bit of oversight as it did not cross my mind people would play more than 24-bit audio.
And not too many renderers I think are able to play natively 32-bit PCM anyway (or if they do they probably convert it to 24 or 16 bit).
Until I fix it, you can workaround it by disabling FFmpeg: set "Decode audio to PCM for" to "Never use".
@bubbleguuum

I have only a few 32-bit sound sources. However, my renderer LUMIN T2 supports up to 32bit and I would like to avoid downconverting to 16bit if possible.
Glad to hear from you that you can fix this problem. Thank you very much.

I also have one confirmation and request.
If you look at the Roon signal path when played back in Roon, you will see that the DSP processing is performed at 64-bit precision, and when the DSP processing is finished, the final output is returned to the bit depth set by the user. (Screenshot attached)
I think it makes sense to convert to 64bit float for decoding and other processing accuracy.
That is why I was wondering what kind of precision BubbleUPnP Server is executing the processing.
If it is not running processing in 64bit float, is it possible to convert it to 64bit float and have it run processing in 64bit precision before running the decoding process or convolution filter process?
I do not like the sound tendencies of Roon and prefer to playback with UPnP renderer through BubbleUPnP Server. Therefore, I would be happy if BubbleUPnP Server performs the processing with 64-bit float precision as Roon does.

roon_float64bit_signal_path.png
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I don't recall if I asked this here but when using Bubble to access my home shares while in my car, I bluetooth the music to my car's entertainment system from my phone. The music and all metadata are sent perfectly to the car but why can't it send album artwork? Bubble gets me the artwork from my network shares so I know I get it to the phone, but the car won't read it. Anything I can do?

    @tinpanalley

    I really don't know how BT data is even transmitted these days, not having a BT car system.
    BubbleUPnP holds an Android media session with all the currently playing metadata and album art, and the system does some magic to transmit that to BT. It's kind of a black box to me.
    So to make a more elaborate answer, I'd need to research it and find a setup I can test it on (not necessarily a car BT).
    2
    One thing I tried to see if the metadata could even be read was putting music in a usb flash drive. That worked fine but that doesn't tell us anything about bluetooth. But it confirms the software in the car can actually read that metadata regardless of its source.
    I suppose you're right, the next thing would be to play something via Bluetooth from some other audio source (Spotify, etc) and see if the car takes my bt audio from another source and sees the artwork. The only problem is I don't have ANY streaming music accounts. I don't use them. So it's hard to do that test. 😂
    But this is leaving the scope of bubbleupnp support.

    @tinpanalley

    I think you can test basic YT Music for free, just login with your Google account.
    1
    Thank you so much for the great app! I can easily watch movies stored in my phone on my DLNA-enabled TV.

    A few questions though:

    1. Why can I only see it on my TV when both my phone and TV are connected to the same access point (I have a main modem/router and wifi repeater setup in my home)? When the phone is connected to the main modem/router, I can no longer see it on my TV which is connected to the wifi repeater.

    2. Do I need to install the additional BubbleUPnP Server aside from the app from Google Playstore? I just want to play the videos stored on my phone to my TV via wifi.

    Thanks again!

    @archienesss

    1. Do you mean that on your TV interface, you cannot see BubbleUPnP as a DLNA media server ?

    2. You do not need 'BubbleUPnP Server' for that.
    1
    @bubbleguuum

    Beta x64 version of Foobar2000 is finally out. I mostly use Fb2K for its great library and your (correct?) UPNP component allowing UPNP access to it through Bubbleupnp as bridge. x64 version needing specific x64 components, a simple question for you : do you plan to release a x64 version of your component ? If yes, any estimation on release date ?
    Thank you for your work.

    @0RF30

    That component is abandoned since a long time and I do not really recommend using it. Instead, I'd suggest to switch to MinimServer or Asset UPnP, both being maintained and with more features.
    I do not even have the setup anymore required to compile it.
    Maybe I'll have itch to recompile it for 64-bit at some point, but really no promise...
    1
    Current BubbleUPnP Server (apk 1.2.2 / version 0.9-update43) is installed on an Android 10 tablet and when searching for updates, it always states "Update available". After installing it, an update is found again (endless loop).

    @dark0shark

    Thanks for the report, problem fixed.
    Just apply the update you have and after that there will be no more bogus update notification.
  • 266
    BubbleUPnP on Google Play [current version: 3.6.9.1, released on August 21th 2022]
    BubbleUPnP on Amazon appstore [current version: 3.6.8.3, released on July 13th 2022]
    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 (current version: 1.1, released on April 28th 2021)
    BubbleUPnP Server home page (download and documentation) [current version: 0.9-update43, released on March 24th 2022]

    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


    .
    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
    7
    BubbleUPnP is available in the Google Play store:


    1.6.0

    • 4x1 and 4x2 widgets resizable horizontally on ICS+
    • rich notification on Jelly Bean with volume control
    • gapless playback (beta) support for the local renderer. Requires Android Jelly Bean. Must be explicitely enabled in Settings > Local Renderer. Changing this setting requires an app restart. The local renderer will play gaplessly if controlled by a gapless aware controller: BubbleUPnP 1.6.0+, JRMC, foobar2000 (foo_upnp 0.99.41).
    • support for controlling gapless renderers (all Android versions). tested renderers: local renderer (locally or remotely controlled), JRiver Media Center, foobar2000 (foo_upnp 0.99.41). Can be turned off in Settings > UPnP Tweaks > Enable gapless control
    • OpenHome local renderer (beta). Allow to control the local renderer remotely without requiring the Control Point to remain running for track advance (the playback queue is stored on the renderer side). Must be enabled in Settings > Local Renderer > OpenHome renderer. Appears on the network with the same name than the local renderer, with (OpenHome) appended
    • video subtitles support for local and external video renderers. For Android playback with subtitles, MX Player is required for either local or remote playback. For important information on this topic, refer to Settings > About/Help > Tips > Video and subtitles
    • support for third party equalizer / DSP apps applied to local renderer music playback (Now Playing > Menu > Equalizer)
    • slideshow to external renderer through the fullscreen image viewer, now able to control external renderers and providing a better UI for this purpose
    • added ability to exclude folders when the Local Media Server is browsed remotely (Settings > Local Media Server > Content > Exclude remote folders)
    • reorganized Settings screens
    • Now Playing screen uses cached covers on mobile connection
    • improved D-PAD navigation (GoogleTV)
    • improved accessibility
    • attempt at a workaround for error 501 on some Sony renderers
    • fixed app sometimes exiting after inactivity delay while local media server is busy streaming files
    • fixed Local Media Server and Renderer possibly disappearing after 30 mins in some external Control Points
    • fixed thumbnails sometimes not displaying (most likely happened on fast devices like the Nexus 7)
    • fixed searching local media server for videos not working
    • fixed local renderer and local media server not being disannounced on the LAN on Android shutdown or reboot
    • fixed layouting bugs
    • fixed rare ANRs and crashes
    • many other fixes and UI tweaks