yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] bubbleguuum:
First, it is important to understand that media server search support capabilities depends on the media server itself: some do not support it at all, some support it partially. So search support in BubbleUPnP is determined by the underlying media server (save for searching the displayed folder).

When you search from the Library tab (or via side Menu > Search), BubbleUPnP emits a few different and common search requests (that should fit most search scenarios) to the media server. The "mood' tag is not a standard tag defined by UPnP and there is no way to search for it explicitely.

When you use "Albums by..." BubbleUPnP emit a specific request that may or may not work depending on the server.

Media servers that have the best search support are MinimServer, Twonky and .... Windows Media Player. There's also possibly JRiver Media center and recennt versions of Asset UPnP but that's been a while I have not tested them.
[Android Apps and Games] khinsen:
Scenario 2 is very frequent in my use of BubbleUPnP. I use Tasker to restrict network access (for saving battery). When I switch off my phone, Tasker waits five minutes and then deactivates both WiFi and mobile data. At that time, an external rendered is likely to be still playing.

However, I get heavy battery usage from BubbleUPnP even if I never launch it after rebooting my phone, so I suspect that scenario 2 does not explain everything.
[Android Apps and Games] bubbleguuum:
[MENTION=5585003]Mike-48[/MENTION]

What happens when you hit the BACK button while at the app's top level (that is when any tab is displayed, except the Library tab), the UI is killed but BubbleUPnP still runs as a service in the background (to perform track advance, serve media, play local audio etc). If you go back to BubbleUPnP, the UI is recreated with its default state. This is standard Android behavior. The Library tab specifically disable the BACK button at its root because BACK is used for folder navigation, so this is a design decision for preventing to accidentally exit the UI while navigating back in the folder hierarchy.

If when you are in the top level of BubbleUPnP and know you will go back to it sometimes later and want to find the UI in the exact same state that

when you left (current tab, current folder in the Library tab, ...), you should use the HOME button instead of the BACK button. This is generally true for other apps as well.

Now the behavior of the back button in apps is a hot topic and everyone has its own opinion on how it should work...

BubbleUPnP is not doing anything special with it as far as Android Activities work (except the Library tab override at root explained above).
[Android Apps and Games] Mike-48:
[MENTION=3373153]bubbleguuum[/MENTION]:

Thanks for the explanation. Would you be willing to allow (through an option) the user to disable BACK at the other tabs, too? I have not been able to train myself to avoid BACK from the Playlist. (It is visually similar to the Library, where BACK is disabled.) And when I accidentally exit the UI, it's painful to find the same place in the library again.

Or maybe a confirmation dialog before exiting the UI?

---------- Post added at 11:04 AM ---------- Previous post was at 10:37 AM ----------

[MENTION=1622582]EPa[/MENTION]:

Minimserver should do this easily. I use it and can search with BubbleUPnP on an added field, in my case "ImportWeek". This took a little fiddling to set up, but it works perfectly.
[Android Apps and Games] Wamb0:
Hello, would it be possible to add a sort option to the local file browser? I would be mainly interested in the sort by date option.

Thank you
[Android Apps and Games] berre78:
Google musiv

Verstuurd vanaf mijn Moto G (4) met Tapatalk
[Android Apps and Games] CastagnaIT:
I have a problem,

i made a clean installation of BubbleUpnp but BubbleUpnp server does not start in any case...

not even manually, i have Windows 10 64bit router firewall ports for BUPNP are enabled

This is the log:

https://hastebin.com/raw/uqeturaked
[Android Apps and Games] bubbleguuum:
This really looks like a broken Java install. Try to reinstall Java (32-bit).
[Android Apps and Games] CastagnaIT:
the java works i use it for developing
[Android Apps and Games] bubbleguuum:
Yet it fails to init the stock TLS trust store:

java.security.KeyStoreException: problem accessing trust storejava.io.IOException: Invalid keystore format

at sun.security.ssl.TrustManagerFactoryImpl.engineInit(Unknown Source)

at javax.net.ssl.TrustManagerFactory.init(Unknown Source)

I have tested with the same JRE version installed on Windows, and it works just fine.
[Android Apps and Games] CastagnaIT:
thankyou

i do not know the reason, but having multiple versions of java creates problems...

i uninstall the old versions and now works
[Android Apps and Games] haggis999:
Error code 501 with Naim network player

I have just tried BubbleUPnP for the first time with a newly acquired Naim NAC-N 272 network player. MinimServer is my selected source library and the Naim is my chosen renderer, but BubbleUPnP refuses to make the connection. I just get the message 'Action Failed (Code: 501)'.

BubbleUPnP works fine with other renderers in my system. Any suggestions on how to make it work with the Naim?
[Android Apps and Games] cdzo72:
Where do you see subtitle timing?
[Android Apps and Games] derobert:
Thank you for adding the option to specify a certificate. I'm trying to make use of it, so I added these to my configuration.xml:

<wanHostname>bubble.derobert.net</wanHostname>
<TLSCertificateChainFiles>/etc/dehydrated/certs/bubble.derobert.net/cert.pem,/etc/dehydrated/certs/bubble.derobert.net/chain.pem</TLSCertificateChainFiles>
<TLSCertificateKeyFile>/etc/dehydrated/certs/bubble.derobert.net/privkey.pem</TLSCertificateKeyFile>

I've confirmed the certificate is indeed for the correct host:

$ openssl x509 -in /etc/dehydrated/certs/bubble.derobert.net/cert.pem -noout -subject
subject= /CN=bubble.derobert.net

I also confirmed BubbleUPnP can read all the certificate files (by `su`-ing to the user, and `cat` on all of them)

But starting BubbleUPnp Server gets a very opaque exception, and it doesn't work.

[main (1) ] INFO - 19:00:01.113 - u : loaded certificate: /etc/dehydrated/certs/bubble.derobert.net/cert.pem
[main (1) ] INFO - 19:00:01.116 - u : loaded certificate: /etc/dehydrated/certs/bubble.derobert.net/chain.pem
[main (1) ] WARNING - 19:00:01.120 - e : cannot create SslContextFactory: java.lang.ClassCastException: org.h.e.c cannot be cast to org.h.a.b.f
java.lang.ClassCastException: org.h.e.c cannot be cast to org.h.a.b.f
at com.bubblesoft.common.utils.u.a(SourceFile:139)
at com.bubblesoft.bubbleupnpserver.server.e.b(SourceFile:629)
at com.bubblesoft.bubbleupnpserver.server.b.a(SourceFile:305)
at com.bubblesoft.bubbleupnpserver.server.Main.run(SourceFile:537)
at com.bubblesoft.bubbleupnpserver.server.Main.main(SourceFile:223)
at com.bubblesoft.bubbleupnpserver.server.Main.mainLauncher(SourceFile:228)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.bubblesoft.bubbleupnpserver.launcher.Main.main(Main.java:126)
2017-01-22 01:24:31.512:INFO:oejs.u:jetty-7.6.21.v20160908

... and indeed, it doesn't work.
[Android Apps and Games] bubbleguuum:
Thank you for trying this feature and the report

The error is caused when loading the private key file, privkey.pem.

It seems it contains a key pair, rather than just a private key which BubbleUPnP Server expects.

I will fix it so it just works, but in the meantime editing that pem to just contain the private key should do it:

-----BEGIN PRIVATE KEY-----

data here

-----END PRIVATE KEY-----
[Android Apps and Games] derobert:
Hmmm, my privkey.pem file doesn't contain anything other than a:

-----BEGIN RSA PRIVATE KEY-----

….

-----END RSA PRIVATE KEY-----

(it's not encrypted, though—does it need to be?)
[Android Apps and Games] bubbleguuum:
Indeed it does not need to be encrypted and I made a mistake. Should have read:

-----BEGIN PRIVATE KEY-----

For info here's a link explaining the difference between -----BEGIN PRIVATE KEY----- and -----BEGIN RSA PRIVATE KEY-----.

In any case it doesn't matter as I will PM you a link to a new test BubbleUPnPServer.jar that should work with both.
[Android Apps and Games] AlexanderSh88:
Hello. Tell me, what settings are needed for Amazon cloud? Now they are in default of me. Conclusion on chromkast works. Output to PC (windows media player) is working. But the conclusion does not work on TV Samsung Smart TV DLNA, bug resource not found 716. Output with OneDrive and Google Drive works perfectly, not works Amazon cloud.
[Android Apps and Games] khinsen:
The recent update to BubbleUPnP didn't change anything, it's still my #1 battery drainer.
[Android Apps and Games] bubbleguuum:
Yes, I checked and BubbleUPnP will favor JPEG_SM for the "high-res" cover image, if there is a albumArtURI with such profile.

Since that code is old, I do not remember what the rationale was exactly but it was probably to decrease memory usage

and faster loading and 640x480 was deemed sufficient for most cases. Also, media servers that use JPEG_SM are rare.

I wil see what I can do but if you can get MiniDLNA to list in DIDL-Lite the high-res cover image in first position and without profileID,

BubbleUPnP will pick it.

Yes it makes 2 requests to optimize bitmap memory usage (this was very important years ago, less today), because JPG

can potentially be huge (decompressed in memory).

- the first request is just to determine the size of the image in pixels, to compute eventually a lower version of the image that is sufficient

for the size in pixels of the view where it will be displayed (which is device resolution and orientation dependent). For example that will

avoid to use a 4000x4000 bitmap to fit a 500x500 view.

- the seconds request reads the whole image and resample it in a lower resolution in a memory efficient way and only if necessary, taking into account info deternined in previous step
[Android Apps and Games] bubbleguuum:
Battery drainer if heavily using the app (eg several hours on battery, playing to a device), or not ?

Can you tell more about your usage scenario (with some approximate timings) ?
[Android Apps and Games] khinsen:
It's a battery drainer when doing nothing. The test I did on Saturday (after updating) is:

- Fully charge the phone.

- Use BubbleUPnP to play an album from my DLNA server (Kodi) to my Chromecast Audio (via BubbleUPnPServer configured to set up an Open Home renderer for the Chromecast)

- Quit BubbleUPnP.

- Put the phone to sleep. This leads to Tasker deactivating WiFi and mobile data five minutes later.

In total I was using BubbleUPnP for about two minutes. After that I didn't launch BubbleUPnP at all, but I did use the phone normally otherwise. On Monday morning, the total battery usage of BubbleUPnP was 80%.
[Android Apps and Games] bubbleguuum:
Thanks for the details. Can you precise if by "Quit BubbleUPnP", you either:

- killed BubbleUPnP using top side menu > Exit. If you did that, can you confirm that the persistent BubbleUPnP notification disappeared

- put BubbleUPnP in the foreground, using either BACK or HOME
[Android Apps and Games] EPa:
I too noticed (relatively) low resolution art. Surely it has to do with media server too, because I noticed it with Mezzmo and not with JRiver. But if anything could be done on BubbleUPnP's side to get the highest resolution images from the server, I would appreciate it too.

Bug:

If you move the last song of the playlist up while the previous is playing (which means that this last song you are moving won't play at all), the playing song (the previous to last that has now become last) starts playing again after it ends.

Edit:

no way to reorder playlist items that belong to the same album when in album view?
[Android Apps and Games] Lucian greuceanu:
Sorry, I repost my previous comment since I didn't get any reply: When playing a movie from the network via ES File Explorer to a LG webos 3.0 TV, can the subtitle be played automatically when downloaded from opensubtitles.org rather then stopping and starting again the movie (after I downloaded the subtitle)?
[Android Apps and Games] bubbleguuum:
That's usually the case, excluding that JPEG_SM issue mentioned a few posts above (which is rare, not sure if Mezzmo is affected), and assuming a media server does not send lower res album (which some of them do).

I can't reproduce it. Need to know:

- whether you are playing to the local renderer or to an external renderer (which one) and whether it is an OpenHome renderer

- if playing to the local renderer whether 'gapless playback' is enabled in Settings > Local Renderer.

EDIT: think I got it: you drag the last track up but do not drop it to make the move effective (all of this while playing track reach the end). Correct ?
[Android Apps and Games] bubbleguuum:
No plan for this currently, although it may change (but no promise).
[Android Apps and Games] EPa:
No I drop it. But the bug is a bit worse than I noticed: it's not the (now became) last song that plays again, it's the song you moved up the list (as if you had not moved it at all)

Do this: just put 2 songs on the list, start playing. While the 1st plays, move the 2nd above the 1st. As soon as the playing song finishes (now being last), the other song starts playing as if you hadn't moved it. What's worse, the now playing tab reports it is playing the previous song! (and that's what confused me in the beginning and I thought the same song was playing twice)

Happens either playing to self or while using BubbleUPnP as control point of another BubbleUPnP renderer.

Openhome yes, gapless enabled everywhere.
[Android Apps and Games] bubbleguuum:
Ok so this issue is probably specific to that combination. Will look into it.
[Android Apps and Games] Lucian greuceanu:
Thanks for the reply. Yes, would be great if you would add this feature.

This is my main use of the application.
[Android Apps and Games] SoggyShotz:
Can you advise what is causing the 716 error? Just got it today while attempting to stream from G4 to Xbox One. Very heavily used and never received this error.
[Android Apps and Games] bubbleguuum:
[MENTION=7638086]Lucian greuceanu[/MENTION]

Not sure if you are aware of it, but you can associate a subtitle to any video before playing it, using (in the Playlist or Library tab)

3 dot menu on video > opensubtitles.org. Then play the video and it will display subtitles.
[Android Apps and Games] bubbleguuum:
[MENTION=8016830]SoggyShotz[/MENTION]

This is an error returned by the renderer when there is something it does not expect (vs the media server) when accessing the stream.

Renderers can be very picky sometimes and fail with this error over a small detail.

Can you send me a log file attempting to play a movie on your Xbox giving such error. See first post of this topic for logging instructions.
[Android Apps and Games] bubbleguuum:
[MENTION=5458727]haggis999[/MENTION]

- make sure the Naim is updated to its latest firmware

- try again after rebooting it

If it still fail, please send me a log file triggering this 501 error. See first post of this topic for logging instructions.
[Android Apps and Games] khinsen:
Since I couldn't remember, I did the experiment again, once with each way of quitting BubbleUPnP. If I exit via the menu, I see no excessive battery drain. If I press the home button, BubbleUPnP remains the #1 battery drainer for several hours.
[Android Apps and Games] haggis999:
The Naim is already running the latest firmware. However, the problem seems to have gone away. The problem arose when I was using my Android phone, but a later test on an Android tablet ran fine. After restarting my phone, I no longer get the 501 error.

If it reoccurs, I will send you the BubbleUPnP log.
[Android Apps and Games] matagou:
Hello,

I have a saved playlist in the BubbleUPnP app, i am trying to enqueue to the current playlist and it doesn't add MP4 (youtube) items but only m3u items. Please see attached screenshot. I will send app and server logs on email.

Please advise.

Thanks,

Andrei
[Android Apps and Games] spamsuxx:
Hej all,

I was just wondering if there are any plans to dynamically adapt the streaming bitrate to the available bandwidth?

If a video is stuttering, a suggestion to which bitrate the transcoding should be lowered to get a smooth stream would help if it is not possible to adjust it dynamically.

(I am traveling a lot and hotel WIFI can be a PITA)

Cheers and thanks a lot for this awesome piece of software!
[Android Apps and Games] derobert:
Personally, I just set up a Raspberry Pi to do this, using HDMI for audio output (apparently the analogue output isn't usable, so you'd need an add-on DAC if you want that). Music playback by mpd, controlled by BubbleUPnP using umpdcli.

Unlike Chromecasts, gapless playback works. And it's natively OpenHome. Only downside I've found so far is that I haven't got 5.1 or 7.1 to work (only stereo) nor anything other than 44.1 or 48kHz. (There is an open bug, some RPi developers are working on it, patches are apparently available).

(I'd guess you could also get one of those cheap Android devices, and have it run BubbleUPnP as a renderer too, but haven't tried that.)
[Android Apps and Games] bubbleguuum:
[MENTION=8019711]LetTheMusicPlay1[/MENTION]

it is very weird that BubbleUPnP Server does not discover this 3rd Chromecast.

BubbleUPnP Server uses mDNS to discover them. Windows networking probably uses SSDP.

Is there anything different on that undiscovered Chromecast, such as the firmware it runs (you can use

the Google Home app to verify), or it being on the 5 GHz band while the other are on 2.4 GHz (or vice versa).

You can independently check what is discovered via mDNS ith this tool:

https://hobbyistsoftware.com/bonjourbrowser

Chromecast are listed as _googlecast._tcp devices.
[Android Apps and Games] bubbleguuum:
New Bubble v2.8.7p2 beta. Please test !

Changelog and APK

.
[Android Apps and Games] LetTheMusicPlay1:
Nice! But personally I'm not ready to go down the totally custom route. Hoping with a bit more bashing of my head against various brick walls I might find an open-ish consumer solution that actually works. Then again I had the same hope ~10 years ago when I first discovered DLNA. Now can I finally get my Chromecast solution working?!?!?
[Android Apps and Games] Daviteusz:
[MENTION=3373153]bubbleguuum[/MENTION], I want to translate BubbleUPnP app to Polish language. Can I do it? If yes, where?

Regards.
[Android Apps and Games] LetTheMusicPlay1:
OK this has definitely helped narrow down the issue... (fyi all Chromecasts running same firmware, only difference is the non-working one has wired ethernet connection at the end of a homeplug+access point/router connection)

1) I've run bonjourbrowser and sure enough can't get the non-working chromecast to show up no matter what config I set on the far access point/router... hence why bubbleupnpserver can't see it.

2) I've plugged the non-working chromecast directly into the far homeplug instead of via the 2nd router and it shows up in bonjourbrowser and sure enough also in bubbleupnpserver.

3) I've repeated (1) but whilst bubbleupnpserver is still running it has kept the config it discovered in (2) and continues to work perfectly!

I haven't tested it but am pretty sure if I reboot the PC bubbleupnpserver will immediately lose the config again as it re-runs network discovery and can't find this 3rd Chromecast audio.

So I probably need to put an axe through my old Netgear router which appears to be swallowing mDNS packets but I wonder is it too outrageous to request consideration for a hack or workaround for a "sticky" config option that doesn't get overwritten by the discovery process? I would be surprised to hear I'm the only one with this issue. In fact I suspect a lot of the Chromecast audio community specific complaints may relate to similar network config issues!

Thanks again both for the awesome software and the support!
[Android Apps and Games] matagou:
Saved Playlists containing MP4 and M3U files are not enqueued properly by BubbleUPnP

Hello

I just reproduced the issue (adding saved playlist items to the current playlist is ending up only .in adding m3u items, but not MP4 items like youtube)

Scenario 1:

I have a a saved playlist consisting of 1 m3u item and 2 youtube items. When I try to Enqueue or Play or Enqueue and Play, I get only the m3u item in the actual Playlist. The MP4 items are not added to the actual Playlist

Scenario 2:

I have a saved playlist with 3 MP4 items. I can successfully Enqueue or Play or Enqueue and Play, ending in having all the 3 items from saved playlist to actual Playlist.

So is clearly something to do with having mixed saved playlists (m3u and youtube items)

Please advise,

Regards,

Andrei
[Android Apps and Games] yarmobile:
Streaming YouTube

Is there a way to stream sound from YouTube app on an Android device, to a hifi receiver?

Has anyone done it without rooting?
[Android Apps and Games] Mynacol:
Edit: You have to use apps like NewPipe (not on play store) that can extract an audio link. Then you should be able to stream the audio via bubbleupnp to audio-only renderers
[Android Apps and Games] bubbleguuum:
If there is a music item in a folder (Saved Playlist or otherwise) and you enqueue/play that whole folder, BubbleUPnP filter out all other item types.

That's mainly to filter out eventual images (eg album art) but this will also filter out videos. I have no plan to change that.
[Android Apps and Games] bubbleguuum:
Nope if your audio only renderer does not support "video/mp4", which would be the vast majority of such (audio only) renderers.

It is supported for Chromecast Audio though.
[Android Apps and Games] yarmobile:
A great tip, thanks. I will check the app out.

Are you sure? I saw a few websites / articles / posts which authors wrote that they could not stream YT on Chromecast Audio.
[Android Apps and Games] viniciusrsouza:
Hi there!

I recently bought a Xbox One S and found this great tip about being able to listen my subscription of Google Play Music using BubbleUPnP: http://thedigitallifestyle.com/w/index.php/2013/12/01/use-google-play-music-xbox-one/

But, don't know if it's due to the fact this is an old review, the app doesn't add a Chromecast icon in the Play Music top bar when I'm playing music. This behavior has changed?

I know it's possible to cast music from Google Music to my Xbox One using the app itself, but would also be great to do this inside Google Play Music interface, searching for music and getting recommendations.

Any workaround to make this possible just like this website exemple? Or not anymore?

Thanks!
[Android Apps and Games] AlexanderSh88:
Hello

Can I make a track the rewind larger and thicker? Why is it like a needle a little, without glasses I can not get over it. It is not very convenient if it is possible to make the size of 1/3 of the display? And also in horizontal orientation the phone, whether it is possible to make a track on the entire length? Currently it half the size of the screen .. the other half is occupied by the cover ((
[Android Apps and Games] ancri:
Capability to like/unlike songs from Google Music

I assume the app does not have the like(thumb up) / unlike (thumb down) feature for Google Music.

Can this capability be added sometimes in the near future?

I am a paid user and adding this will allow me to use only this app rather than both this and Google Music app.

Anyways, well done for the app, works great!
[Android Apps and Games] cdrummond:
When playing tracks on a Chromecast Audio setup as a OpenHome renderer with BubbleUPnPServer, there's a 3 second gap between tracks. I know the Chromecast will never be fully gapless - but if I use Plex or Emby then the gap between tracks is half a second, or less. Is there anyway for BubbleUPnP to reduce the gap between tracks? A half second gap, whilst not ideal, is much better than a 3 second gap.