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

Search This thread

keyboardr

Senior Member
Dec 24, 2008
64
6
I've got a feature request, but the implementation will be a bit involved. Should be an interesting problem to solve if you're interested, though. What I'm looking for is the ability to use an ACTION_SEND intent like that used by the Gallery app for sharing and have it send it to a GoogleTV device. The best I can figure it, UPnP/DLNA is the best chance for getting this to work, so your app has already done most of the hard part already.

The remaining work would be to pair the devices (this step is well documented, and the GoogleTV Remote app is open source), send a custom URI from the sending device to the GoogleTV device (using their IP-to-IP protocol, again fairly well documented), translating that URI into a file on the sending device (this part will be the tricky bit, I think, and depends on how your code is structured), and playing the media via UPnP/DLNA (which you've already done).

I'd love to help in any way possible should you decide to take this on. I've done a decent amount of development both on my own and professionally. I've also briefly familiarized with the GoogleTV protocols involved (just at a high level, but they're fairly straightforward). The main reason I don't do this myself is because most of the work is in creating the UPnP/DLNA portion. It seems silly to duplicate efforts here.
 

miwing

New member
Nov 3, 2011
1
0
Hi,
I just tried to play Windows Media Server song on XB360 thru the app (I'm using Nexus S)
However if I tap Next twice (or more), sometimes the XBox only play next song but the app shows the third one

Also when I'm in Playlist tab, pause a song and then choose another, XB side will just resume the playback (the Now playing metadata is not sync). Is it the MS issue???
 

EpicSauce

Senior Member
Jan 15, 2011
63
26
Perth
HTC Sensation
Lenovo K3 Note
This is a symptom of an issue between certain versions of Android and WiFi routers. With some combinations, reverse DNS on LAN IP addresses fails (timeouts) and requests take a lot more time to execute, and stuff do not work as expected. It's rather rare but when it happens it is annoying and there's nothing I can do at the app level (I tried). What you can try:
- make sure your WiFi router is connected to the Internet
- reboot your phone and WiFi router
- use another router
- update your version of Android (you're unlikely to have this issue with CyanogenMod 7.1)
- try fiddling with DNS using a DNS app: https://market.android.com/search?q=dns

Thanks for the info and suggestions. This is not a serious concern for me and I don't mind waiting for the app to start, its more important it works reliably once up and running. I'll investigate further and report back...
 

hornetster

Member
Jan 18, 2011
39
2
Elliott Heads
Google Pixel 3
Have just stumbled across this app - looks brilliant! But...
Have set it up to stream from an Asus router running mediatomb, and does that better than the other apps I have tried, but also trying to control an internet/media player radio, which I am having less success with.
The app detects it as: Jupiter 6.2. It is a Frontier Silicon chipset. Is this controllable remotely, or am I trying to do something that is not possible?
Thanks, John.
 

gorecki_md

New member
Jan 21, 2011
4
0
Additional insight on track advance problem

Still having trouble with track advance where Bubble does not play the next track on the playlist. I've tried it on different media servers and renderers. However, it has been pretty consistent that when my phone is plugged into power this problem does not occur. I do not even know if that would make sense, but would this have to do with the phone going to sleep mode? My wifi is set to never turn off.

Phone: Samsung Captivate; Android 2.2, unrooted
Renderers: Onkyo 709, Sony S-580
Media Servers: Foobar UPNP, Twonky, Windows Media Server
 
Last edited:

papars

Senior Member
Dec 12, 2008
166
7
Little help please. I`m running bubbleupnp on a asus tf101 in combination with vplayer. files are on a qnap running twonky. For some reason I can`t resume playback.
This used to work but for few days now it stopped.
Also i notice that bubbleupnp after reboot shows some old played file in its playlist. This files comes up even if I remove it, next time I reboot. on this file only it resumes playback.

what i`m doing wrong?

also any way to play srt subtitle files through twonky?
 

poortenm

New member
Nov 12, 2011
2
0
Limited nr of genres and albums (max 16) in library

I found a way to have Shoutcast radio as library listed in the bubbleUpnp player using Skifta.

However, when I open the library tab, the maximum number of radio stations or genres is limited to 16 ! So the list of Top20 stations only contain 16 stations!

I thought this had to do with the non licensed version but installing the license did not help.

I was very happy with internet radio streaming capability but this limitation is really annoying. I have no problems with UPnpPlay but I find BubbleUPnP much nicer to work with!
 

Attachments

  • IMG00287-20111112-1146.jpg
    IMG00287-20111112-1146.jpg
    51.3 KB · Views: 104

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
I found a way to have Shoutcast radio as library listed in the bubbleUpnp player using Skifta.

However, when I open the library tab, the maximum number of radio stations or genres is limited to 16 ! So the list of Top20 stations only contain 16 stations!

I thought this had to do with the non licensed version but installing the license did not help.

I was very happy with internet radio streaming capability but this limitation is really annoying. I have no problems with UPnpPlay but I find BubbleUPnP much nicer to work with!

Thanks for reporting this issue

Only the playlist is limited to 16 tracks in the free version, there's no such limitation when browsing (it would be silly).

So this is another problem. I suspect that only the first folder browse request getting the first 16 items is successful (this number here is unrelated to the playlist limitation although by coincidence it is the same, after the first request items are retrieved by batches of 50).

How did you setup Skifta to be able to browse shoutcast, so I can try to reproduce the problem ? Did you get any error when browsing the "top 20 stations" folder ?


Thanks!
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
Little help please. I`m running bubbleupnp on a asus tf101 in combination with vplayer. files are on a qnap running twonky. For some reason I can`t resume playback.
This used to work but for few days now it stopped.
Also i notice that bubbleupnp after reboot shows some old played file in its playlist. This files comes up even if I remove it, next time I reboot. on this file only it resumes playback.

what i`m doing wrong?

The playlist is saved only when you exit the app with Now Playing > Exit.
I'll improve that though as I can see how it can be confusing.

As for resuming, what do you mean by resuming ?
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
Still having trouble with track advance where Bubble does not play the next track on the playlist. I've tried it on different media servers and renderers. However, it has been pretty consistent that when my phone is plugged into power this problem does not occur. I do not even know if that would make sense, but would this have to do with the phone going to sleep mode? My wifi is set to never turn off.

Phone: Samsung Captivate; Android 2.2, unrooted
Renderers: Onkyo 709, Sony S-580
Media Servers: Foobar UPNP, Twonky, Windows Media Server

When your phone is plugged, is the screen always on ?
 

papars

Senior Member
Dec 12, 2008
166
7
The playlist is saved only when you exit the app with Now Playing > Exit.
I'll improve that though as I can see how it can be confusing.

As for resuming, what do you mean by resuming ?

I mean to remember the last viewing position and resume playback from that position next time I run the application. this was working but not anymore.
 

andymacuk2001

New member
Oct 22, 2008
2
0
Error: current state of server prevents invoking that action

Hi

When using this app, it finds my media server and finds the media server folders, but then fails to find any media (error current state of server prevents invoking that action). Conection error or no response received.

The setup I am using is not actually officially UPNP. I have a USB harddrive connected to my network using a USB/LAN/NAS adaptor. The media server is being served up to the network, and I can see the server and all media files on computers connected to the network.

Does anyone have any advice on any soft solutions to turn my setup into one that is UPNP compliant, and hence works with BubbleUPNP and Twonky etc?

Thanks

Andy
 

andymacuk2001

New member
Oct 22, 2008
2
0
Hi

Further to my post above, I've attached the log file.

Thanks

Andy
 

Attachments

  • log.7z
    22.1 KB · Views: 1
Last edited:

poortenm

New member
Nov 12, 2011
2
0
Thanks for reporting this issue

Only the playlist is limited to 16 tracks in the free version, there's no such limitation when browsing (it would be silly).

So this is another problem. I suspect that only the first folder browse request getting the first 16 items is successful (this number here is unrelated to the playlist limitation although by coincidence it is the same, after the first request items are retrieved by batches of 50).

How did you setup Skifta to be able to browse shoutcast, so I can try to reproduce the problem ? Did you get any error when browsing the "top 20 stations" folder ?


Thanks!
I installed Skifta on my android tablet and one then has the option to activate several channels/plugins among which Shoutcast channels. Once skifta has started up shoutcast is activated as some kind of server and in Bubble you have then the option to choose Shoutcast as a device.
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
I installed Skifta on my android tablet and one then has the option to activate several channels/plugins among which Shoutcast channels. Once skifta has started up shoutcast is activated as some kind of server and in Bubble you have then the option to choose Shoutcast as a device.

I could reproduce this issue and it turns out it is a bug in the Skifta server that I notified to them:

http://forums.skifta.com/topic/attn-developpers-upnp-browse-action-bug?replies=1#post-2168


I will probably workaround it for the next version due out soon.
 

bubbleguuum

Senior Member
Dec 23, 2010
7,016
2,745
Any way to remember the last played file and remember the last viewing position?

That's the case already: if you exit the app with the "Exit" menu action in the Now Playing tab, the playlist and current track are saved. When you launch the app again, that track will be displayed.
If you mean to restore the playing position (elapsed time) in the track itself, it is not possible.
 

papars

Senior Member
Dec 12, 2008
166
7
That's the case already: if you exit the app with the "Exit" menu action in the Now Playing tab, the playlist and current track are saved. When you launch the app again, that track will be displayed.
If you mean to restore the playing position (elapsed time) in the track itself, it is not possible.

I'm having problems with this in my TF101. I can't seem to make it work as I want it. When I click on a movie the external player kicks in. If the player exits for any reason (movie finished, I pressed back or player crashed) I've been returned to bubbleupnp but no movie is selected.

In other words, bubbleupnp does not save state when a movie is selected.

While writing this, I've selected a movie and it plays on the external player. I used task manager to return to bubbleupnp and the "now playing" is empty, but movie plays on the background.

From what you say, I have to add the movie in the play list, exit bubbleupnp to be saved, then enter again and then play the movie, so to remember it (next time I run it).

BTW do you know of any player that can save the elapsed time?
 

Poppeye0

Senior Member
Nov 16, 2011
110
50
I would like to buy a license, however not through Google. Google has no business knowing my private data as they are essentially a marketing company. If you offer other means to acquire a license, like PowerAmp does, for example, I'd gladly get one. Thanks!

On another note, I'm looking forward to this app being able to call the external player of my choice.
 

jaykraly

New member
Feb 27, 2011
4
0
Persistent server?

I'm having a problem with bubbleupnp. I use twonky server as well as various upnp android servers, bubbleupnp on a xoom as the control point, and bubbleupnp on a moto droid as the renderer. It works great immediately after I start the process. However, if I leave the phone over night (plugged in or not plugged in) and try to queue something up in the morning, I get an error about the server status. If I pick up the moto droid renderer and open bubbleupnp, the service is still running, but it will only show "Local Renderer" and no servers. If i exit and restart, things start working again.

I have configured the droids to not stop wifi when it goes to sleep or I disconnect it from power.

My goal is to have multiple droids hooked up in my basement attached to an amp and wired to various rooms. Then i could use many different control points to play music to any room in the house. However, it will obviously be a pain to walk into the basement to restart all the droids every day.

Any ideas? Thanks!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 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 !