yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] bubbleguuum:
[MENTION=4325737]LastSilmaril[/MENTION]

Nothing prevents it, but external renderers need a separate transcode setting than the local renderer because their Internet network connection is not the same and probably better than the Android device. I'll see if I can ninja add this setting for 3.0.

it's done by BubbleUPnP Server.

Please send me a log file where 16/48 is played, it should show why it happens. See first post of this topic for logging instructions.

EDIT: looking at the code, 'Music playback transcoding to local renderer' trancode setting is applied to Chromecast, which is a bug and unexpected. This explains why you got mp3 on Chromecast. Anyway I'm fixing it with a new transcode setting for external renderers (which includes Chromecast).
[Android Apps and Games] LastSilmaril:
Sweet! Thanks for being so responsive! Really, amazing. Hopefully it's not too hard to implement!

I just took a bunch of logs but it doesn't matter, I figured it out. I'm home today (in other words, the location where the servers are) so I tried both by connecting through BubbleUPnP Server as a proxy, and to the foobar2000 instance running foo_upnp directly. Each time, it played 16/48, and each time, in the logs, the media served was shown as being 48000Hz using ffprobe, and the urls to begin with explicitly had "convert=wav&samplerate=48000" appended to them. It was at that point that I decided to scrutinize the foo_upnp settings again. Until now, I hadn't noticed that foo_upnp had different profiles. In this case, there was a separate profile for anything containing BubbleUPnP. I'm not sure if this is a very old default from when I first installed it, or if I created this profile and forgot about it (my guess is the latter though; I don't think it makes much sense for you to be that opinionated), but, well, 16/48 was the max allowed through.

After changing this, hi-res files are coming through, as expected.

These didn't apply when UPnP tethering is used because my receivers, of course, have different User Agent strings.

Of course it's somewhat pointless if playing back with the built-in hardware of the phone, but I think 24/96 and possibly above should come through without resampling (by the phone) when using an external DAC at least (right???), and in any case, I am glad I made sense of what was happening.

Thanks again for following me through all this! :)
[Android Apps and Games] LastSilmaril:
I just checked on three other machines, and found the same profile, including one that I *just* installed foo_upnp onto just now. So it looks like whenever these profiles were made, the assumption was that 16/48 was a hard limit for BubbleUPnP. Maybe for compatibility's sake, maybe because of assumptions made at the time about Android or the hardware, I dunno. But IMHO if you get the chance, it might be a good idea to update foo_upnp to have more permissive defaults for the BubbleUPnP profile, at least up to 24/96 but honestly I don't see a reason not to allow up to 24/192, and then encourage people change settings in BubbleUPnP Server or the app to control this behavior if they don't see a need for such high sample rates/need lower ones because they're in a low-bandwidth situation/etc.
[Android Apps and Games] bubbleguuum:
Yes the foo_upnp BubbleUPnP profile settings were for a time where many Android devices would not play WAV higher than 16/48 which is mostly not true today except on some older Android 4.x devices. And since a few months (FFmpeg integration) BubbleUPnP can play locally almost any audio format even obscure and the profile specify to convert them to WAV while it is not needed anymore. Morever, as you've seen, the concept of foo_upnp profiles is failing when Android BubbleUPnP plays to an external renderer since the profile is for local Android playback, but that's a known limitation with profiles in media servers (happens with serviio to) when a Control Point is involved. foo_upnp is unmaintained since years and I cannot even build it easily anymore (Visual Studio not installed). I really recommend to replace it with MinimServer (http://minimserver.com) unless you have very specific needs that only foo_upnp supports (FLAC+cue sheet for example or CD audio playback). In any case I've added (in Android BubbleUPnP) a new BubbleUPnP Server bitrate setting for external renderers and it works fine.
[Android Apps and Games] firemouz:
BubbleUPnP shows not the correct timeline when doing a "fast forward"

I just bought BubbleUPnP and it is working fine so far. But i have two problems:

a) i have an audiobook (mp3) which lasts 54:00 minutes. When i play it from beginning Bubble shows the correct played time, for example "24:13 minutes of the 54:00 minutes". When i am doing an "fast forward" or jump to maybe 35:00 minutes then Bubble shows me "0:00 of 54:00" but plays from the 35:00 minute which i want. What can i do to see the correct time in this timeline even when i am doing an fast forward or jump to another position? I want it to show "35:00 of 54:00" when i jump to this position, not to start the timeline from the beginning at 0:00? (again: i plays correctly from 35:00, but does not show the correct time)

b) is there an option to send an "reload index on server" in this app? When i delete an file on my NAS i want to reload the index and in my NAS manual it says you can do that (reload/update index) from any upnp app. Is the such an option?
[Android Apps and Games] dark0shark:
In the "Select library" option you find 3 dots to the right of every library. Select "Rescan library" when available.
[Android Apps and Games] bubbleguuum:
a) Looks like a renderer bug where it does not return the correct elapsed time. What renderer is it ?

b) This is only possible when using MinimServer as a media server. There is no generalized command to tell a media server to rescan its media. In BubbleUPnP you can force a reload of a folder (3 dot menu > Reload) but this is not the same thing.
[Android Apps and Games] bubbleguuum:
This special command is only available with MinimServer.
[Android Apps and Games] dark0shark:
That's one of the reasons why I use MinimServer on my NAS :)

But Synology MediaServer rebuilds its index itself, when files or directories are deleted.
[Android Apps and Games] firemouz:
I have this problem with my "Denon AVR X1000" Receiver as renderer.
[Android Apps and Games] flamand:
can't get audio cast to show up

I have:

BubbleUPnP 2.9.4 (armeabi-v7a)

BubbleUpnP license

xposed module 2.9.4

I'd like to capture audio from other apps (SiriusXM) and send it to my chromecast audio. However I can't get Audio Cast to show up in Local and Cloud Library. Am I missing a setting or do I need another app?
[Android Apps and Games] LastSilmaril:
Thanks for the recommendation. I am trying MinimServer now but it has some quirks in comparison with foo_upnp (I've worked around one of them but honestly I shouldn't have to). I'm curious whether you'd consider opensourcing foo_upnp now that you're no longer interested in developing it. Understood if you don't want to, but if not, I hope you'll continue to let it stay up though - it still works well and the Renderer feature is crucial!

Hurray! Thanks again!

Presumably this option only works locally, not when connecting via BubbleUPnP Server, right?
[Android Apps and Games] bubbleguuum:
[MENTION=3398177]flamand[/MENTION]

Looks like the Audio Cast Xposed module is not loaded since you do not have the Audio Cast toggle visible in the drawer.

in Xposed installer, check that the module is enabled

If it is already enabled, what does 'Settings > Audio Cast' says as error ?

Also, what is your Android version ? I've fixed an issue for the next update where the module would fail to load

on some devices because it was looking for a shared library in the wrong directory. You may want to wait for this update.

Finally, Audio Cast can only capture audio from apps that play audio using Android Java APIs. Maybe that's the case of that SiriusXM

app, or not.
[Android Apps and Games] bubbleguuum:
What quirks exactly ? It is extremely configurable and if you need help you will get it on MinimServer's forum.

Yes, as it emits a LAN http POST request to MinimServer.
[Android Apps and Games] LastSilmaril:
Yup, already have. They've already helped me with basically the one thing I was having trouble with (turned out I had part of the solution but simoncm chimed in with the rest while explaining why I was encountering the behavior I was encountering). The configurability of the thing is actually quite something.

ED: Oh, the quirk in question related to tracknumber sorting, which didn't work (in other words, it wasn't done at all) when anything other than numbers or slashes were present in the tracknumber field (this is illegal in ID3, but OK in Vorbis Comments). My vinyl rips sometimes have sides in the tracknumber field (A1, A2, A3; B1, B2, B3, etc). The reason for this behavior is, the UPnP AV spec defines tracknumber as an integer. I had the beginnings of a workaround for this without having to retag, but Simon took me over the finish line. foo_upnp sorts them without any special configuration and there doesn't appear to be any adverse affects with my renderers, though I wonder how it accomplishes this - does it just send the illegal tracknumbers along, or does it simply not send them while still sorting the album properly? The thread where we discussed this is here, for the curious.

Right, makes sense. My guess is that using BubbleUPnP Server as a proxy for such a command would be annoying to put together then? Regardless, being able to reload even on a local network without having to login remotely and restart the server app (in my case, before this, foobar2000) is already pretty amazing. Thanks again for everything!
[Android Apps and Games] flamand:
The error I get in the app when I do "fix install folder permissions" is:

running chmod 701 /data/data/com.bubblesoft.android.bubbleupnp failed

java.util.concurrent TimeoutException​

There is not a /data/data folder and nothing gets created in /data. In /android/data, both app directories are empty.

I have 7.0.0 on my tablet.

There was one time when, even though I got the above error, Audio Cast appeared in the menu. I was able to select a chromecast and play a file in Poweramp, but nothing happened - no sound on the chromecast or tablet. Also, when I toggled Audio Cast at the top of the menu, it was toggled back to off the next time I looked at it. I haven't been able to replicate this after I completely uninstalled everything (the app, license and xposed module) and started over.
[Android Apps and Games] matagou:
Current state of service prevents invoking that action. Timeout waiting for Playing

Hello [MENTION=3373153]bubbleguuum[/MENTION]

I am getting an error when playing https://youtu.be/yWSojEd5ZDY to BubbleUPnP Server and ChromeCast Audio devices.

https://photos.app.goo.gl/NrheDB1YJvccWZwH9

Current state of service prevents invoking that action. Timeout waiting for Playing (code: 501)

I have attached log error from mobile app and server

Thanks,

Andrei
[Android Apps and Games] bubbleguuum:
[MENTION=7985546]matagou[/MENTION]

Answered by PM.
[Android Apps and Games] bubbleguuum:
[MENTION=3398177]flamand[/MENTION]

/data/data is on on internal private storage. That's where app settings and private files are stored (not user accessible unless device is rooted).

Note that "fix install folder permissions" requires your device to be rooted and that you grant BubbleUPnP root access when prompted

after tapping "fix install folder permissions". It needs temporary root to change some permission on its private data folder.

Is your device rooted ?
[Android Apps and Games] flamand:
Yup, it's rooted and in SU the app has "forever" root access. I got the error in my original post when I tapped "fix install folder permissions".

I checked root and see the folders for BubbleUPnP and the unlocker now. Should I manually change permissions on anything?
[Android Apps and Games] bubbleguuum:
[MENTION=3398177]flamand[/MENTION]

So you confirm that the /data/data/com.bubblesoft.android.bubbleupnp folder exists, but you still get that timeout error when attempting to fix perms in BubbleUPnP ?

Other than that, you can do it manually in a root shell:

chmod o+x /data/data/com.bubblesoft.android.bubbleupnp

make sure to (soft) reboot after that, to reload the Xposed module.
[Android Apps and Games] dez93_2000:
Hi Bubbleguuum,

Congrats of the rebuild/new UI, looks good. Some ideas/bugs that I've been thinking of, not necessarily related to the new version:

1. Would it be possible for bubble to automatically scan for and reconnect to (openhome) renderers if connection is lost? I have an openhome renderer (bubble on another phone) and when it's lost by the CP, the CP reverts to a different renderer if available, not the previous one even though both were available once I'd walked back into the house. Something like "if connection is lost, NOT by user control, autoscan for previous renderer and connect when available"

2. Would it be possible to load playlists in the background when starting up? Often I'll fire up the app in order to play a song from the NAS and so I don't necessarily need the playlist immediately. Even if I do want to play the playlist, it could still load in the background and instead display a loading icon over the playlist icon.

3. I was thinking it'd be cool to be able to share playlists between renderers... but then realistically I just need to sopt using and ideally hide the non-openhome version of my audio renderer. [edit: non OH version of renderer now hidden but 2 chromecasts remain so it's not guaranteed that bubble CP won't reconnect to a chromecast rather than the OH bubble renderer].[edit2: non OH version of bubble renderer hidden but still appears; non-OH playlist still seems to be default, reconnecting to the currently playing OH playlist means that the CP thinks the first track on the non-OH playlist is playing (cover art etc) when a track on the OH playlist actually is. Then I got the reverse: connected to OH renderer, cover art is OH playlist track, music playing is non-OH track1. Lots of (probably related) buggy behaviour here. Lemme know what I can do to help debug.]

Cheers!
[Android Apps and Games] intermis:
Thank you, it works correctly. :)
[Android Apps and Games] flamand:
Thanks! That worked like a charm. SiriusXM works.

Is there a way to turn off the local renderer (my tablet) while Audio Cast is on? There's a delay and no way to control the volume. Plugging in a headphone jack works but that's a not ideal.
[Android Apps and Games] firemouz:
With the renderer "Denon AVR X1000" i have some things which dont work:

a) timeline does not show the right time (played time of the track is wrong, remaining time of the track is wrong)

b) the playlist does not work. The first song is repeating all the time (repeat is off)

c) seek/fast forward does not work correctly

I tested all options in the renderer (on and off) but this problems still remain.

Does anyone else have this renderer? Any ideas how i can fix this?
[Android Apps and Games] bubbleguuum:
[MENTION=4813652]firemouz[/MENTION]

Verify that 'Settings > Individual UPnP/DLNA renderer settings > (pick your Denon) > Enable gapless control' is disabled.
[Android Apps and Games] firemouz:
This option was disabled. Playlist not working :(
[Android Apps and Games] Oddysey31:
Hi, this app is great. I do sadlt have an issue when streaming to ps4.

The ps4 will play all the playlists fine but will skip every second track or so.

My other issue is that it will stop playback halfway through a song like a hangup. It will still say it's playing on the ps4 but there will be no audio and progress bar won't be moving.

Is there any settings I can change to fix this?
[Android Apps and Games] bubbleguuum:
[MENTION=9294933]Oddysey31[/MENTION]

What kind of tracks are you playing: codec and whether they are stored on your device of cloud ?
[Android Apps and Games] bubbleguuum:
Verify that there is not a separate repeat toggle enabled on your Denon (using its remote or display/front buttons if it has them).
[Android Apps and Games] Oddysey31:
It's cloud based through google play music. I believe I have found a work around by not shuffling the playlists. I haven't paid too much attention as I've been busy today however it doesn't seem to have been skipping tracks or stopping part way through so far.
[Android Apps and Games] bubbleguuum:
Not really surprised as Google Play Music streaming is more complicated than regular streaming by itself and it's aggravated by the PS4 being a really difficult device as it is extremely picky regarding the media server and its behavior and the PS4 will stop playing if it encounters any situation it does not expect.
[Android Apps and Games] Oddysey31:
Righteo, thanks for your responses. I'll remember to not shuffle and hope it gets better one day. :)

Would he nice if Google music got native support going for the PS4.
[Android Apps and Games] adolchristin:
[MENTION=3373153]bubbleguuum[/MENTION]

I'd first like to thank you for your support of bubbleupnpserver and the android client (it's one the few apps I've actually purchased licenses for on the android store).

I have a quick question for you; do you plan to add packages for Ubuntu 18.04 to your ppa? I just did fresh install of 18.04 last night and when I added ppa:bubbleguuum/bubbleupnpserver it doesn't appear that there are any packages published for bionic. Should I just install the standalone deb package instead?

Edit: output from attempting to add the ppa:

sudo apt-add-repository ppa:bubbleguuum/bubbleupnpserver

More info: https://launchpad.net/~bubbleguuum/+archive/ubuntu/bubbleupnpserver

Press [ENTER] to continue or Ctrl-c to cancel adding it.

Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]

Ign:2 http://ppa.launchpad.net/bubbleguuum/bubbleupnpserver/ubuntu bionic InRelease

Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease

Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]

Hit:5 http://ppa.launchpad.net/jcfp/nobetas/ubuntu bionic InRelease

Hit:6 http://ppa.launchpad.net/jcfp/sab-addons/ubuntu bionic InRelease

Get:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]

Hit:8 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu bionic InRelease

Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [194 kB]

Hit:10 http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease

Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [120 kB]

Err:12 http://ppa.launchpad.net/bubbleguuum/bubbleupnpserver/ubuntu bionic Release

404 Not Found [IP: 91.189.95.83 80]

Reading package lists... Done

E: The repository 'http://ppa.launchpad.net/bubbleguuum/bubbleupnpserver/ubuntu bionic Release' does not have a Release file.

N: Updating from such a repository can't be done securely, and is therefore disabled by default.

N: See apt-secure(8) manpage for repository creation and user configuration details.
[Android Apps and Games] Sill_K:
bubbleupnp won't grab the XiiaLive stream

hi [MENTION=535343]all[/MENTION]

bubbleupnp version 3.0p6 (arm64-v8a / beta)

XiiaLive Pro v3.3.3.0

if important... BQ Aquaris X pro with Oreo 8.1

photos, videos and music streams flawless via bubbleupnp to my Bravia KDL-42W805A, except streaming of SHOUTcast streams through XiiaLive, although XiiaLive control is enabled...

XiiaLive only streams locally on my mobile but BubbleUPnP will not grab the stream to the target renderer and stop XiiaLive local playback

any tips?

thanks for your help in advance
[Android Apps and Games] bubbleguuum:
[MENTION=555000]adolchristin[/MENTION]

I've copied the package for Bionic (and Cosmic). Let me know if it works.
[Android Apps and Games] bubbleguuum:
[MENTION=6227937]Sill_K[/MENTION]

I've fixed this Oreo specific issue (Oreo handles broadcast Intents differently) in the next beta to be released soon.
[Android Apps and Games] Sill_K:
great news, thank you for your answer :)
[Android Apps and Games] bubbleguuum:
I made a Google+ post explaining the optimization work (including battery usage) I'm doing for the next beta.

.
[Android Apps and Games] macelaru:
I have a notebook with Daphile and a FiiO E10K which sends music to my amplif. Until today I used Squeezer to play my music but today just struck me to use BubbleUpnP for my music and of course it works.

But I have a question. Some of my tracks/files are not shown if I go in Music/band/album folder but if I search it in Artists it appears. Some albums are fine. :confused:

Hope you understand what I'm saying.

And another question. It is possible for bubble to see cue files and play them? I'm asking because I have some flac files with whole album and a cue file with tracks so I can see what's playing. Squeezer knows this.

Thanks.
[Android Apps and Games] Marbieskarb:
Multiple Stream support

Hello Bubbleguum,

I was wondering if Multiple Stream support will be added to BubbleUPnP any time in the near future?

It would be nice to be able to switch renderers without the currently playing content stopping.

In other words, I would like to be able control and stream different content on multiple renderers simultaneously.

There are a couple of DLNA Android Apps already capable of this but, I like your program and UI much better.

Please consider adding this feature.

Thanks!
[Android Apps and Games] dez93_2000:
Should be possible if they're openhome renderers, as I understand it.
[Android Apps and Games] Marbieskarb:
Thanks dez93_2000!

Unfortunately I don't have any openhome renderers. But, I do have several DNLA compatible speakers (9 of them) and 2 DLNA compatible home theater receivers

So, let me rephrase the question...I was wondering if Multiple Stream support will be added to BubbleUPnP for NON openhome renderers any time in the near future?

Thanks!
[Android Apps and Games] adolchristin:
Worked perfectly; thank you very much for the time!
[Android Apps and Games] dez93_2000:
Hi again Bubbleguuum, to add to this:

Yesterday more bugs occurred, again bubble app on CP android nexus 5x, bubble app as renderer on nexus S android, using the openhome renderer. Couldn't pause the song so had to kill app & restart phone. When I opened bubble back up it inherited the playlist from the non-OH renderer, which I've deleted about 4 times. Non OH renderer still hidden but visible. This happened when playing long tracks (~1hr) but I don't know if that's relevant. When I cleared the playlist and added new tracks and selected the one which was playing previously, it gave me the option to resume or restart, which was nice but I thought odd since the app should have forgotten it was the last song playing. But maybe not!

Edit: just now opened app, inherited old multi-deleted non-OH playlist again, cleared it again, loaded new tracks, won't play, play button does nothing, volume is at -1. Eventually switched renderer to chromecast which worked.

Cheers.

Edit3: updated the app on the renderer, everything in the edit happened again EXCEPT the music plays, i.e. having reloaded the playlist & playing a song, vol is at -1 but it's playing (and I can hear it).
[Android Apps and Games] jacobacci:
Transcoding for Chromecast Audio

My setup is as follows:

- Synology DS1815+ with latest DSM, BubbleUPnP Server 0.9-update30 and MinimServer

- BubbleUPnP on Sony Xperia XZ1 (Android 8)

- Chromecast Audio on the same network

In the status tab, BubbleUPnP Server shows "audio transcoding supported: yes"

Playing a 24/192 Flac file works fine, so transcoding seems to be active and working

If I try to play a DSD file, it does not play

I read somewhere that I may have to install ffmpeg manually on the Synology. Is that still the case with the current builds? If yes, what is the easiest way to get ffmpeg onto the Synology?

Thanks a lot for any help.

Regards
[Android Apps and Games] impulse101:
Subtitles all of a sudden doesn't work any more ever via download through opensubtitl

It downloads and you can select it but it won't display. Been happening for about a week. It will flash on for a second and that's is it. Running beta and going through chromecast