yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] bubbleguuum:
[MENTION=3234240]lorenx[/MENTION]

Log file shows that milliseconds before the screen goes on, Google Play Services notifies BubbleUPnP that your Chromecasts have disappeared from the network, including the one that is currently playing. Thus BubbleUPnP remove the devices and playback stops. Shortly after, Google Play Services notifies that the device are back but it's too late. This is super unusual and I have no idea why Google Play Services behaves like this. I have never seen it on my test devices although it has been reported by another user running a rooted OnePlus 6. Your device is also rooted, so make sure nothing is interfering with Google Play Services to 'save the battery'.

Speaking of which, there is a workaround to this issue: in the the device chooser dialog, enable 'battery saving mode'. This will have the consequence that BubbleUPnP will not receive these bogus Chromecast disappearance notifications when screen goes on.

I will still look at what can be done so 'it just works' with default settings.
[Android Apps and Games] lorenx:
Thank you very much for your support.

Do you mean the onRouteRemoved and onRouteAdded events?

I also think there's a sort of timeout though. If I wake my phone up within few seconds (phone remains asleep for few seconds only), the issue doesn't occur.

I have to wait 1/2 mins of sleep and then boom, the playing stops.

Yeah, mine is a rooted OnePlus 5T...

Done. Firts tests show it seems ok now. I let you know if the problem will occur again.

Thanks again for the help ;)
[Android Apps and Games] bubbleguuum:
Yes, after that timeout and when screen goes on, Google Play Services sends bogus onRouteRemoved notifications for each device. I'll have a fix for that in the next update to ignore such notification when 'battery saving mode' is not enabled (the default).
[Android Apps and Games] lorenx:
Cool. But I guess the "bug" is on the Google Play Services side, right?

Maybe there are situations when they shouldn't be ignored, I don't know... :rolleyes:
[Android Apps and Games] bubbleguuum:
Yes it's an oddity in Google Play services that do not happen on the vast majority of devices. Probably due to something the system

is doing when the screen is off. Each manufacturer has its magical particular sauce because "think of the battery". And I'm not even counting root apps.

In any case the workaround I added will not discard legit disappearance notifications. Just the one that happens a few milliseconds after screen goes on.
[Android Apps and Games] lorenx:
That sounds great, thanks a lot :good:
[Android Apps and Games] jonas0_13:
Bravo !

Congratulation for the new look and feel. I find it more confortable and more efficient.

Thank you ?

Best regards.

Md (Paris, France)
[Android Apps and Games] alonwa:
Support for Android Auto

Would be awesome. I currently don't yet have Android Auto in my car, but soon I will and it would be cool if I could use it. Thanks
[Android Apps and Games] bris28:
Hi Bubbleguuum.

Quote:

Originally Posted by bris28

Hi bubbleguuum.

I've been using the app for a long time and think it's amazing. I also like the latest update very well.

Anyway, I have a few questions:

1. Is it possible to have "Years and Genres" displayed on the "Now Playing Screen" similar to the one on tablets.

2. Is it possible to move the "floating device chooser button" away from cover art in landscape mode.

3. When I use the app away from home, embedded cover art does not appear until the next track on the album starts or the screen has been updated. It appears that large images have easier to be shown right away.

When I'm on a Wi-Fi away from home, and I'm streaming to Chromecast, cover art does not appear on "Now Playing Screen." Is there a setting somewhere that can solve this problem?

[MENTION=2320570]bris28[/MENTION]

1. No, but full metadata is just one tap away (tap the cover)

2. currently no but this may be improved (especially on tablets), although no promise

3. In both cases, what Library is holding the problematic track ?

Regarding number 3, I am using QNAP NAS with Minimserver. The strange thing is that big image file

(1400 x 1400, 870 kB) embedded in the music file shows up right away, and smaller ones (600 x 600, 164 kB) have the problem i tried to explain.

Regards

ojj
[Android Apps and Games] therealsteelskin:
Bubbleupnp server feature request

Great software, I use every day, it's the program I use in the car and for streaming video. Used with bubbleupnp server and minidlna. You've done a great job !.

Is it possible to add more than one login credentials to bubbleupnp server, e.g maybe three or more and restrict the directories that each user can view.

For instance, say you want to share a directory with one user but you don't want to share your entire set of videos as indexed by minidlna. Is is possible that bubbleupnp server could restrict to directory level ? Or is that simply not possible because of the way DLNA works ?
[Android Apps and Games] maultby:
suggestion to notify when public host name changes

Hi

I have a licensed bubbleupnp client and server.

My router does not have a fixed ip address to my ISP.

So the most frustrating issue is when the isp assigned ip address changes and consequently the public host name changes.

I do not know this has occurred until i attempt to connect with client and it fails so i then have to connect to server and update client with current public host name.

Would it be possible for the bubbleUpnp server to send a notificatio when the public host name changes? Notification could be by sms or email. The notification would include the new public host name. It would be even more helpful if that notification could then update the client's settings automatically?

Thanks
[Android Apps and Games] dark0shark:
Solution: Use a DynDNS service, see https://xdaforums.com/showpost.php?p=19911589&postcount=360
[Android Apps and Games] flooriin:
Hello,

Please could you investigate an issue regarding playlist advance when using Bluetooth speaker and remote BubbleUpnp renderer, in my case UE Wonderboom? I tested with local and GMusic playlists. The ROM is AospEx 5.8 on a Redmi 4x. I am using the latest application version from Playstore.

Thank you.
[Android Apps and Games] Qu@rk:
Settings - Look and feel - UI elements - Bottom tabs

An additional option "Enabled + auto hide" would be nice.

In my opinion, the auto hide of the bottom tabs while scrolling in the playlist is not comfortable to use. On a smartphone it might be handy because of the limited space but on a tablet it is not necessary and it mostly needs an additional downscroll to bring the bottom tabs back again.

It would be nice to have the choice between always enabled and auto hide while scrolling.

Thanks a lot for your efforts.
[Android Apps and Games] IronTechmonkey:
+1 for ability toggle enable/disable autohide top and bottom bars in Playlist and Library, even on the smaller screen devices which I use, for the same reasons you mention.

[Ironically the same thing applies to the XDA lab app in which I am typing this post:silly:]

[EDIT] Just noticed the new configurable prompt to exit the app; Protection against app closing for those who prefer that while allowing quick app close for those who prefer that. Nice touch.
[Android Apps and Games] elenhil:
Hey, bubbleguuum!

Great job on the BubbleUPnP, as always! Twice you said it can't be done ('it' being, first, casting android's own sounds, and second, doing away with wakelocks) - and twice you found a way to do the impossible (with AudioCast and Battery Saving Mode, respectively). So, bravo!

By the way, I seem to remember a third time I asked you to implement something and you said it was impossible: filtering a library by track rating, so that one could play, for example, only 4+ star tracks. I wonder if third time would, as the saying goes, pay for all :)
[Android Apps and Games] patrickfree:
Haven't used bubble for a while but wanted to share a Google Music playlist with a friend, but just the list of songs, and Google only let's you share a link to hook them up to Google Music. So I turned to bubble, which I've connected to my Google account. I put the playlist into the cue and saved it as a bubble playlist, but I don't see any way if sharing it..I could have sworn this used to be there? Using version 3.1.1 licensed. Thanks for any help.
[Android Apps and Games] maultby:
suggestion to notify when public host name changes

Thanks dark0shark. I was aware of the Dynamic DNS solutions. However I hoped that my suggestion would perhaps be seen as a useful approach that could circumvent the need for Dynamic DNS in the absence of fixed IP. Does your reply mean that my suggestion will not be considered as a new feature for a future server update?
[Android Apps and Games] dark0shark:
I am not the developer, [MENTION=3373153]bubbleguuum[/MENTION] he is. But I don't see any reason why he would invest time & money for this request, as a standardized solution to all problems arising with variable provider-assigned IPs exists.
[Android Apps and Games] dront78:
Shuffle play from upnp source always have same sequence in a queue.
[Android Apps and Games] gaddster:
Long time Bubble user here (paid) and this still happens for me. Using bupnp to read in from Minimserver library and then play to RPI2+Boss Dac+Boss Attenuator (openhome created)

I can set volume using Volumio web page and this is ok, stays where I put it. If I set using Bubble to a lower level for example then go to add more songs, change volume again (up or down) it's now set back to 100%. This scared the s*** out of me the first time.

I have hardware volume enabled in Volumio & as the attenuator is also present the Boss dac will pass volume duties over to this as far as I understand it.
[Android Apps and Games] bubbleguuum:
[MENTION=1724652]gaddster[/MENTION]

The post you quoted was specific to the Xbox 360 where the console hardware was resetting volume to 100% entirely on its own on track change. Your issue is different.

BubbleUPnP rely on the the renderer notifying its volume properly to BubbleUPnP. Suppose that BubbleUPnP is started and initial Volumio volume is 100, that you lower it on the web interface but that BubbleUPnP does not receive the updated value, then the next time you change volume in BubbleUPnP it will start from 100. So this issue is likely a renderer specific bug.
[Android Apps and Games] bubbleguuum:
[MENTION=1060686]dront78[/MENTION]

If you have the feeling that you always hear the same tracks, read this:

https://plus.google.com/b/115387584836830082266/113740747545601364294/posts/MewWTaRkEKa
[Android Apps and Games] bubbleguuum:
[MENTION=5764658]patrickfree[/MENTION]

Although BubbleUPnP's Saved Playlists are stored on user accessible storage and can be copied from device to device, you cannot use them for the purpose you mention because each Google Music track stored in the playlist is tied to your Google account.

But you should be able to make public playlists in the Google Play Music app and have your friend subscribe to it and have it listed in BubbleUPnP (in Google Music > Playlists). You can even try it: in Google Play Music search for a public playlist then 3 dot menu on playlist > Subscribe to playlist. Next, in BubbleUPnP do a gmusic sync for Playlists and it will be listed.
[Android Apps and Games] bubbleguuum:
[MENTION=5173022]elenhil[/MENTION]

The thing is that most media servers (libraries) do not include the track rating in metadata. Even if they did, there is no guarantee they would support server-side search queries on the rating field. let alone most libraries have no way to alter rating from the app, to store it server-side. So not really pratical. The only way to support rating would be for BubbleUPnP to have its own private rating database and use that. No plan for it.
[Android Apps and Games] bubbleguuum:
[MENTION=4263074]Qu@rk[/MENTION] [MENTION=5119654]IronTechmonkey[/MENTION]

Yup I will add a setting for that in the next update. I will also set auto-hide disabled on tablets by default.

BTW that pattern (hide on swipe down, show on swipe up) is called the quick return pattern.
[Android Apps and Games] bubbleguuum:
[MENTION=5668579]flooriin[/MENTION]

Please send me a log file playing tracks until it stops unexpectedly. See first post of this topic for logging instructions.
[Android Apps and Games] bubbleguuum:
[MENTION=7039922]therealsteelskin[/MENTION]

Adding multiple accounts and user access rights is beyond the scope of BubbleUPnP Server. UPnP/DLNA has no provision for this, which does not mean it cannot be done with a layer on top, but no plan for it due to the complexity and limited use case.
[Android Apps and Games] elenhil:
Would you, at least, think it worthwhile to try to make it work with Foobar2000, since there already is your plugin in it? Would it be feasible to retrieve rating data through it (or, if all fails, through file tags)?
[Android Apps and Games] gaddster:
Yes this is clear I do not use a 360, it was an example of the same behaviour with different equipment.

Is there any possibility of adding an option in 'Item tap action' to play next, this is a really useful to be able to single tap a library item and add as play next rather than hit the three dots and have to choose it from the menu.

Thanks
[Android Apps and Games] maultby:
suggestion to notify when public host name changes

Thanks dark0shark. The reason would be to avoid subscription payments to a Dynamic DNS service and to avoid the potential for performance degradation that might arise with these additional services between the server and the client.
[Android Apps and Games] bubbleguuum:
[MENTION=7192247]maultby[/MENTION]

I think you can register a free dyndns on noip.com but you will have to renew it (click a button) every month.

Also check if your router does not have dyndns functionality already.
[Android Apps and Games] bubbleguuum:
[MENTION=1724652]gaddster[/MENTION]

Will look into it. Would make sense to have that option since it is in the popup menu already.
[Android Apps and Games] azumukupoe:
Sorry if this has been mentioned before

The bottom part of the app is hidden by Chrome OS's shelf
[Android Apps and Games] bubbleguuum:
[MENTION=5531101]azumukupoe[/MENTION]

Do you have this issue at all window sizes or only when the window is maximized ?

Because another user posted a similar screenshot on his Pixelbook and it does not show this issue.
[Android Apps and Games] azumukupoe:
Only when maximized
[Android Apps and Games] norfi:
Hi

I am running thje bubbleupnp server on my synology NAS and I have the bubble upnp app on my samsung galaxy s8+ with purchased licence. On the same cabled network as the NAS there is a audio renderer that does show as renderer in the bubble server but not in the render list on the android app. Can you help me with some tips on how to connect the app to the server?

I have also installed minimserver on the NAS. Do I need this to stream music files to the renderer?

I will not use bubble to stream via internet or to the phone, only to use phone as remote for the renderer.
[Android Apps and Games] helfordpirate:
Problem with Album Play Button and Groups in new UI

First off, like the new UI - nice and clean and good looking. Thanks!

But have a problem with interaction of Groups and the Album play button.

I am using Minimserver and most of my library is classical music. I have used minimserver Group tag to create containment relationships for compositions such as for example Beethoven sonatas. So an album might have 9 tracks which represent 3 sonatas with 3 tracks each. I will tag them as three groups. In Bubble when i select the album, it shows me the three group containers, one for each sonata - however there is no play button. The play button appears if I select one of the groups.

However, if for example, the album also contains say a tenth track (perhaps a single piano piece) which I have not grouped, then Bubble shows me the three containers plus the one track and the play button is shown. Next to the button it says "1 TRACK | 12:52". Pressing play just plays the tracks, not the groups.

I am pretty sure before, I could just click Play and it would play all the groups and the tracks in order.

Without this, groups are somewhat limiting - because you can never play a whole album. (Though I can add the whole album to the playlist using + and then go to the Playlist tag)

(As I am not 100% sure whether this is a Bubble or Minimserver issue, I will post there also....!)
[Android Apps and Games] bubbleguuum:
[MENTION=8696595]helfordpirate[/MENTION]

I suppose that when you enter that album folder, you see 3 folders ? BubbleUPnP does not display a play icon in folders only containing folders. And It more or less expects albums folders to contains tracks, not subfolders (to my knowledge only MinimServer does this).

However there you can still play all tracks of that album:

- go to the parent folder of the album (that would be the album list), use 3 dot menu on folder > Play. This will recursively add all its content and play it

- go to the album folder album, long-press a folder (that would be a sonata) to enter multiple selection mode then any other folder you want

to play then tap play icon
[Android Apps and Games] helfordpirate:
Yes three folders... it works very well for classical music.

Thanks for the workaround suggestions- they of course work. But I felt that it used to show the Play button in the top bar in the old version even if there were only groups?

There is a bit of inconsistency if an album has some groups and some tracks. The Play icon and the label next to it will only play the tracks BUT the "..." next to the icon shows a menu where Play recursively plays the groups. Unfortunately "..." is not there if the album is only groups.

Don't suppose you could be persuaded to have an option "Album Play icon does/does not play subfolders" ?:)
[Android Apps and Games] bubbleguuum:
Can you post a screenshot of that album folder (the one listing the 3 sonata folders) so I'm sure I understand the situation correctly.
[Android Apps and Games] bubbleguuum:
[MENTION=9443857]norfi[/MENTION]

Answered by e-mail
[Android Apps and Games] helfordpirate:
https://1drv.ms/u/s!ArEsIHcdrWAHgqlXyaOVlJB5CaYL0Q

This shows an album-level list of 7 containers each representing a complete cantata and each containing many tracks. As you can see no Play icon.

https://1drv.ms/u/s!ArEsIHcdrWAHgqlWclRdzeTeNXF0Ug

This shows an album-level list of 6 containers each representing a cantata and two ungrouped tracks which are individual motets. Note that the Play icon is now shown and the label says "2 TRACKS|17:15". Clicking on the "..." icon, the "Show Metadata" option says 8 tracks (the 6 containers and the 2 tracks) and a duration representing just the tracks, "17:15". Clicking "Play" in this menu plays ALL the folders/tracks.

For classical music with minimserver, this ability to group multi-movement compositions is really useful. As I said it would be really nice, if Bubble could optionally show the Play icon if any items (not just tracks) existed in the current container, and would play all the containers and tracks as per the Play menu action.

I appreciate though that there are adequate if no quite so easy workarounds.! Thanks as always for your fast response!
[Android Apps and Games] bubbleguuum:
[MENTION=8696595]helfordpirate[/MENTION]

Thanks for the screenshots. It's actually unintended (album container containing folders is rather unusual) and I will fix it so first screenshot appears like the second one (with the album header and the big Play button). Though track count will still only show count of immediate tracks in the folder (if any).
[Android Apps and Games] helfordpirate:
That's brilliant! Thanks
[Android Apps and Games] xgr3d:
Bottom tabs

I just checked the Bottom tabs option in the look and feel setting but now I can't get back to setting, no icon.

Please help.
[Android Apps and Games] bubbleguuum:
Anwered by email. Solution: screen left edge swipe.
[Android Apps and Games] Fif_:
I'm having an issue with BubbleUPnP 3.1.1's Audio Cast feature. It doesn't work at all. I've tried it on multiple devices, and none of them has functional Audio Cast:

- OnePlus 5 running Nougat 7.1 / OOS 4.5.15 / Magisk 17.1 / Systemless Xposed 89.3

- Galaxy Tab S2 running Nougat 7.1 / LOS 14.1 / Magisk 17.1 / Systemless Xposed 89.3

- Nexus 5X running Nougat 7.1 / LOS 14.1 / Magisk 17.1 / Systemless Xposed 89.3

- Nexus 5 running Marshmallow 6.0.1 / OmniROM 6.0.1 / Xposed 89
[Android Apps and Games] bubbleguuum:
[MENTION=5297163]Fif_[/MENTION]

By "doesn't work at all" do you mean you have an error displayed in Settings > Audio Cast (if so what is it), or that you can enable Audio Cast (using the switch in the renderer list) but you have no sound? In that case what third party app are you playing audio from ? Not all apps are supported, only those that do not output audio in native code (which is out of reach for Xposed).
[Android Apps and Games] rcaudio:
With the new UI I no longer see the number of search results indicating number of albums, artists, etc. found. Is this by design? A step backward if so I'd say.
[Android Apps and Games] bubbleguuum:
[MENTION=7361587]rcaudio[/MENTION]

Do you mean specifically folders displayed after a search, or all folders in Library ?

Folder item count has been removed for all folders (to reduce clutter), although I could see it useful for

search results folders, and I may restore this info just for them.
[Android Apps and Games] rcaudio:
Folder item count

I believe it's folder item count per your description. For instance, I have 3 albums by Daniel Lanois. If I search for 'Lanois' it returns "Albums: artist", "Artists" and "Tracks: artist", but not a count in for each. I found that useful.
[Android Apps and Games] bubbleguuum:
Yup. I will revert folder item count, but only for search results where it is most useful.
[Android Apps and Games] rcaudio:
Great, thanks.
[Android Apps and Games] Fif_:
Thanks for your quick support.

Actually, more precisely, Audio Cast works on the Marshmallow device, and fails on the three Nougat devices.

On all the other three Nougat devices, what I mean by "they don't work" is:

- When starting Audio Cast, an error toast is posted: "Audio Cast: android: cannot play: failed to create resampler"

- An app known to be able to work with Audio Cast (eg. PowerAmp) produces no audio at all on either the casting device nor the casted device.

I've used BubbleUPnP running on another device as the target.

When collecting logs for that report I actually found the solution. I've noticed this error:

W system_server: type=1400 audit(0.0:1430): avc: denied { execute } for path="/data/app/com.bubblesoft.android.bubbleupnp-2/lib/arm64/libsoxrjni.so" dev="dm-0" ino=4563116 scontext=u:r:system_server:s0 tcontext=u:object_r:apk_data_file:s0 tclass=file permissive=0

It's a SELinux AVC error and there are many more, as the system server is not allowed to load libraries, nor open any files from the app directories in Nougat and later. I've worked around this by running:

supolicy --live 'allow system_server apk_data_file file {execute}'
supolicy --live 'allow system_server app_data_file fifo_file {open getattr write}'

at every boot, and now Audio Casting works like a champ. Note that altering SELinux policy is considered a security liability/risk, YMMV.

Now I don't know if [MENTION=3373153]bubbleguuum[/MENTION] will want to use that fix, since this would mean BubbleUPnP would now be a root app :-/

Alternately, you could inject the required libraries and fifo into /system or /data with a Magisk module.