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

Search This thread

stayloa

Member
Jul 12, 2014
41
3
Not sure I understand your question. If you need your own ffmpeg, specify both arg.2 and arg.3 as I explained.

Sorry - I know I have to add both arguments. My ffmpeg is located at C:\ffmpeg so I should put in:

arg.2=-ffmpegDir
arg.3=C:\ffmpeg

I just wanted to check that I didn't need to edit the arg.2 text too and that is should stay as arg.2=-ffmpegDir

Thanks
 

dark0shark

Senior Member
Feb 17, 2013
279
197
Hamburg
Nexus 7
HTC One (m7)
On a Nexus 7 with AOSP Android 7.1.1 mounted at the HiFi as the Local Renderer I always get the popup message "Local Media Server could not be started" when starting music to play, although the option "Enable" in "Local and Cloud" / "Local Media Server" is deselected.
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
On a Nexus 7 with AOSP Android 7.1.1 mounted at the HiFi as the Local Renderer I always get the popup message "Local Media Server could not be started" when starting music to play, although the option "Enable" in "Local and Cloud" / "Local Media Server" is deselected.

This is super unusual but could happen if BubbleUPnP cannot bind to the required port or any other obscure socket error.
Try again after rebooting your device. If the problem persist, send me a log file triggering this error (see first post of this topic for instructions)
 
  • Like
Reactions: dark0shark

EPa

Senior Member
Mar 7, 2009
280
57
Hmm, that's why. Would it be possible to implement this cache even when the connection is on wifi and streaming via BubbleUPnP server? Many a times we use public wifi which is not so fast. Could you treat this as a feature request? Many thanks.

This cache is only used/populated for caching music tracks when streaming with BubbleUPnP Server via a mobile data connection.

I'll think about it. The difficulty is to determine that you are connected to WiFi but not your home WiFi.
Hi,

I have random hick ups (stuttering) when streaming flac from

JRiver or Mezzmo on a Windows 7 laptop,

via my home WiFi,

to an older ICS Android phone (hard wired to my Denon)

Given the phone plays flac with no problems when the file is on the phone, and also if I immediately rewind when it stutters the stutter is not there, I suspect spiking traffic on my WiFi or simply a fluctuating quality of the connection.

So I enabled cache, only to see nothing being cached. Searched and found the above posts and response on this thread from years ago.

Do you think caching could help me?
If yes I too would request enabling cache for WiFi also. In my case implementation is simpler I think (but all would benefit from it since the above would be covered too), since my request is for any WiFi not just public ones.

Thanks

PS: BubbleUPnP is licensed and all transcoding off
 
Last edited:

bubbleguuum

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

I have random hick ups (stuttering) when streaming flac from

JRiver or Mezzmo on a Windows 7 laptop,

via my home WiFi,

to an older ICS Android phone (hard wired to my Denon)

Given the phone plays flac with no problems when the file is on the phone, and also if I immediately rewind when it stutters the stutter is not there, I suspect spiking traffic on my WiFi or simply a fluctuating quality of the connection.

So I enabled cache, only to see nothing being cached. Searched and found the above posts and response on this thread from years ago.

Do you think caching could help me?
If yes I too would request enabling cache for WiFi also. In my case implementation is simpler I think (but all would benefit from it since the above would be covered too), since my request is for any WiFi not just public ones.

Caching can now apply to home wifi (if you browse a media server managed by BubbleUPnP Server of course), but this apply only to lossy tracks (eg mp3) or lossy transcodes of lossless tracks, which you probably do not want if you want to play your FLAC unmodified.
Anyway this doesn't seem like a good fix to your issue, and it would be better to find the root cause.
 

EPa

Senior Member
Mar 7, 2009
280
57
Thanks for the prompt answer. Is there any reason it's doesn't apply to lossless too?
 

EPa

Senior Member
Mar 7, 2009
280
57
Well if an unreliable connection is my problem (can you think of something else I could investigate given the above? ), and if I am stuck with it (as in can't relocate end points), wouldn't a just-current-song-playing-cache help in situations like this?

In any case I always wondered what the standard dictates. How does a DLNA server decides when to stream the next batch of data? I don't even know if it is batches, just seems so to me from watching Mezzmo status.

If the renderer decides, is there the notion of a prefetch, kind of a lookahead that could be increased?
 

matagou

Member
Jan 9, 2017
30
1
It's in BubbleUPnP Server 0-9update23. You can now send mp4 videos to Chromecast Audio, from youtube or other sources.
Thanks, I will test in few hours and let you know.

Regards,
Andrei

It works. It simply works :). Many thanks for such prompt response.

I can assign one YouTube track or a YouTube playlist to BubbleUPnP app through "Share to" button of YouTube mobile app and the tracks appear in the playlist. Then I can open the BubbleUPnP from second smartphone and control the playlist from there. Then I can turn my smartphones off completely and the playlist will advance itself. This is awesome.

Regards,
Andrei
 
Last edited:

bartmanson

New member
Jan 11, 2017
4
0
Hi bubbleguuum

when I chooese bubbleUPNP in amazon's app store my new fire tv (4K) is not listed in the list of compatible devices. Is this a known restriction? Does BubbleUPNP only work with older fire tvs or fire sticks? Or should it work and I have to fix something on my fire tv?

Best regards
BartManson
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
when I chooese bubbleUPNP in amazon's app store my new fire tv (4K) is not listed in the list of compatible devices. Is this a known restriction? Does BubbleUPNP only work with older fire tvs or fire sticks? Or should it work and I have to fix something on my fire tv?

I assume it should be detected like other non-4k Fire TV models, although I never tested it with that model.
Can you try rebooting the Fire TV and check if it appears in BubbleUPnP. If it doesn't, try rebooting your WiFi router as well.
If it still doesn't appear, let me know for futher troubleshooting.
 

EPa

Senior Member
Mar 7, 2009
280
57
Sharing a video from my android phone's YouTube app to BubbleUPnP which has my TV-turned-openhome-by the BubbleUPnP server as default renderer, results to a toast message: Transition not available (code: 701) and a small "forbidden" sign on the TV.

If I do the above having selected just the TV as renderer (not the BubbleUPnP server openhome one), the video plays fine.
But I can't use the openhome features this way (like shutdown the controller without affecting playlist advancement)..

It happens also on the new beta I am testing right now.

PS: BubbleUPnP server is 0.9-update23
 
Last edited:

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 !