yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Uoppi:
[MENTION=3373153]bubbleguuum[/MENTION]

The former, transcoding with BubbleUPnP Server.

I just realized it must in fact be an issue with UAPP renderer, which is accessing MinimServer via BubbleUPnP Android's UPnP tethering in 4G.

It's weird though, as I don't think it should matter one bit to UAPP if a transcoded or non-transcoded FLAC file is tethered to it. That said, UAPP tends to behave less reliably when accessing tethered MinimServer via BubbleUPnP versus accessing MinimServer directly from within LAN.

One thing I will do is test the gapless behavior inside LAN (without tethering). And or course, additionally test with UAPP removed from the chain altogether. I was just wondering if I have all the required "stuff" on my QNAP NAS. The QOptware-NG notes do mention ffmpeg so I believe I should be good.
[Android Apps and Games] msssm:
Recently this option got disabled and I can't activate it anymore: Settings->Control->Notification,[ ] Exit(X)button Any idea why and how to solve that?
[Android Apps and Games] bubbleguuum:
It's disabled on Xiaomi and HTC device running Pie because these devices have bugs making the notification not display properly when the 'X' is added.
[Android Apps and Games] msssm:
I'm running Pie as Havoc-OS-2.5 Custom Rom on the Xiaomi Redmi Note 5 (whyred). With the same ROM this button in the notification was always working fine before the disabling has been applied.
[Android Apps and Games] bubbleguuum:
OK, I will make a change to disable this setting only on Xiaomi running MIUI (the stock ROM).
[Android Apps and Games] thedicemaster:
would it be possible to have the notification work like that of Google play music?

with Google play music there's no close button, but instead you can dismiss the notification when media playback is paused/stopped.
[Android Apps and Games] bubbleguuum:
Not possible as the app needs a foreground Service and this requires a permanent notification.
[Android Apps and Games] bubbleguuum:
[MENTION=5110543]Uoppi[/MENTION]

A difference when streaming a regular FLAC and a transcode to FLAC is that for the latter, the total size in bytes of the transcoded stream is not known in advance and the generated

FLAC in memory is not seekable. It's possible that either of these limitation is the cause of gapless not working. Will need to investigate to see if I can reproduce it.
[Android Apps and Games] thedicemaster:
I'm not too familiar with types of notifications, but it looks to me like Google play music has a permanent notification while playing that turns into a normal notification when music stops playing.
[Android Apps and Games] PoochyX:
How do I exactly stream music from Poweramp to a DLNA receiver

([emoji3590]09-09-18[emoji3590])
[Android Apps and Games] Noekeduier:
Hello. When i select just one song from an music album, bubbleupnp always plays the song twice. Repeat is not active.

I got latest version.

Ik stream flac from Qobuz to Marantz 7013.
[Android Apps and Games] camro:
great thx, i will try as soon it is available ... i checked if there is a new beta ... but still currently not up the new version)

or should i DL somewhere else manually the new version to verify it as well ?

cu camel
[Android Apps and Games] KraftwerkElectro:
The 2000 track limit: Is that limit set by my Lumin T2 streamer or this app?
[Android Apps and Games] dav1129:
Haven't been able to find feature request. Is it possible to reorder tracks in a playlist and if not might that be a feature request?
[Android Apps and Games] PoochyX:
It's coming in a future release

([emoji3590]09-09-18[emoji3590])
[Android Apps and Games] dav1129:
Thanks. Would be so great.
[Android Apps and Games] schattenfell71:
Hi from Germany!

I am running BubbleUPnP on an Android tablet for streaming my music media which is on a WD NAS.

Everything works perfect and I really like it but the showing cover arts have a very bad quality.

They are tagged with the files (MP3 and/or FLAC) and in a good quality.

What can I do to see the cover arts ina good quality?

Thanks for your help.
[Android Apps and Games] bubbleguuum:
[MENTION=10167453]Noekeduier[/MENTION]

Answered by e-mail
[Android Apps and Games] PoochyX:
I need that answer also can you post it

([emoji3590]09-09-18[emoji3590])
[Android Apps and Games] bubbleguuum:
I was just asking for more details to troubleshoot this issue.

First, go into 'More > gear icon > Individual UPnP/DLAN renderer settings > (pick your Marantz)'.

If 'Gapless control' is enabled, disable it and check if it fixes the problem.

If it is not enabled (or the problem persist), please send me a log file playing a Qobuz track to your Marantz until the track repeats and let it play until it stops entirely.

See first post of this topic for logging instructions.
[Android Apps and Games] bubbleguuum:
[MENTION=468450]camro[/MENTION]

There is no beta but there will be an app update soon with EdXposed working.
[Android Apps and Games] bubbleguuum:
Assuming you mean 2000 track max in the Playlist tab, that limit comes from the Lumin: OpenHome renderers have

a hard fixed track count limit (device dependent), as they hold the Playlist on the device.
[Android Apps and Games] bubbleguuum:
[MENTION=6031239]dav1129[/MENTION]

It is already possible: in the Playlist tab or in a 'Saved Playlist' (eg a playlist under that folder in the Library tab), simply

drag'n'drop a track's thumbnail up/down to the new location.
[Android Apps and Games] bubbleguuum:
[MENTION=10171825]schattenfell71[/MENTION]

It is more than likely the media server on the NAS returning to BubbleUPnP links to low res images (probably thumbnails).

In the web configuration of the NAS, look at (UPnP/DLNA) media server settings, looking for something to increase

image quality (send original covers)
[Android Apps and Games] schattenfell71:
Thanks for your help but I did not find this option at my WDMycloudEX2.
[Android Apps and Games] dav1129:
I had tried that before but on the menu button s and drag and drop didn't work. It must as you say be on the thumbnail and needs a light touch.

But that's so cool thank you.
[Android Apps and Games] Note10.1Dude:
Are all of your music files tagged to high-quality cover art? If not, you can re-tag the cover art per-file or per folder using mp3tag on a PC. This works for FLAC as well as MP3 files.
[Android Apps and Games] PoochyX:
[emoji817]

([emoji3590]09-09-18[emoji3590])
[Android Apps and Games] camro:
audicast - java.io.IOException tag 'Body' not found. (code 501)

Hello,

tried now newest version with an renderer - cocy on enigma2 (openatv).

renderer - playing videos and audio is working fine, but the audiocast doesn'T work.

when i activate it on the android, then it is giving me an error:

i see that a file in background wants begin to play, and then i get the msg:

"current state of service is prevents invoking that action. Error reading response failure message. Can't transform message payload: java.io.IOException tag 'Body' not found. (code 501)"

my system:

tried on android 8 + 9

tried via edxposed and normal off. xposed.

tried with all different parameters on audiocast

tried also different servers

tried also different music apps.

where is the debug log stored ?

any other ideas ?

cu camel
[Android Apps and Games] bubbleguuum:
[MENTION=468450]camro[/MENTION]

I don't think this error is related to 'Audio Cast', at least not directly. Are you able to play regular music tracks to this renderer (no Audio Cast) ?

To send me a log file, follow instructions in first post of this topic, triggering that 'Body' exception.
[Android Apps and Games] PoochyX:
Bubbleguum what's the proper way to use audio cast with Poweramp I'm doing it wrong....

([emoji3590]09-09-18[emoji3590])
[Android Apps and Games] bubbleguuum:
[MENTION=7815789]PoochyX[/MENTION]

I need to check if Poweramp still works but if it is doing playback entirely in native code, it will not work.
[Android Apps and Games] PoochyX:
Just let me know.... I thought I was doing something

([emoji3590]09-09-18[emoji3590])
[Android Apps and Games] camro:
no debug files generated .... (neither on internal or external storage) .. hmm, don't know why ...i will try later more in detail

thx ...

i guess also, the "Body" exception is shown short after audiocast start, but i guess it is still playing it ....

i need to test more in detail .. thx
[Android Apps and Games] heynando:
When I try to search for a file inside the library of Google drive, the result doesn't contain files that are inside folders within folders within folders. So the search becomes useless. Can you please fix by adding a checkbox that would do a universal search inside the library?

Usually Google is pretty friendly to search parameters, I presume their API allows such a thing.
[Android Apps and Games] camro:
i tested it ...

the logs are now generated ...

but no sound on server ... tried WAV and LCPM, still no sound :(

now trying if i can use the link via vlc to play the sound to see if that would work.

i will send you logs via email. thx
[Android Apps and Games] bubbleguuum:
As you noticed, search within cloud services (other than music services) is not implemented. Just the displayed folder is searched.

Yes, it would be interesting to have this working, but no promise.
[Android Apps and Games] bubbleguuum:
[MENTION=7815789]PoochyX[/MENTION]

I got Poweramp working with Audio Cast (Nexus 5 / EdXposed / Pie ROM)..

You need to change Poweramp audio output to AudioTrack output for speakers (the default is to use OpenSL ES which is native code out of reach to Xposed).

For this, go to Poweramp settings > Audio > Output > AudioTrack Output, and tick 'Speaker

Then play a track in Poweramp, toggle Audio Cast in BubbleUPnP and it should play on your renderer.

'
[Android Apps and Games] torekiki:
Thanks for audiocast on pie! Now I can see audiocast menù in settings but It say "audiocast not available". Toggle don't appear.
[Android Apps and Games] bubbleguuum:
[MENTION=5136269]torekiki[/MENTION]

Did you enable the BubblePnP module in EdXposed installer and rebooted ?

Are you using the SandHook or YAHFA version of EdXposed (I only tested with SandHook) ?
[Android Apps and Games] torekiki:
Yes

sandhook
[Android Apps and Games] bubbleguuum:
Can you go into EdXposed Installer, in the Module Logs section (nav drawer) and send me (bubblesoftproducts@gmail.com) the log with the send icon in the toolbar ?
[Android Apps and Games] torekiki:
Sure. Done.
[Android Apps and Games] bnilsson:
Support for new streaming services, e.g. Primephonic

Hi!

Thanks for a great app, I use it every day.

You have support for Qobuz, Tidal; Google, etc.

Smaller services are popping up, like Primephonic for classical music, Highresaudio, audiophile music, etc.

They all seem to have much in common in the sense that they usually do not readily connect to UPnP/LNA renderers, variuous strange workarounds are usually suggested. So streaming is limited to mobile devices only, or buy a streaming box with support, which can be tricky to find and expensive.

So the solution is to use BubbleUPnP if there is support added for the services.

What is the philosophy from Bubble regarding adding new streaming services?

Do you add it once you have enough user requests, provided that it is technically possible (a public API)?

Specifically, I am personally interested in Primephonic for the moment.

BN
[Android Apps and Games] bubbleguuum:
[MENTION=7698000]bnilsson[/MENTION]

Integrating a new service is a lot of work. It has to be popular (or semi-popular) and with an API available (and for music services like this, a company that is willing to cooperate).

I just tried Primephonic with the free trial and it seems to be a nice service with a good app but really very new a too niche for now.

And if I had to integrate such service, it would not be as being browsable in the Library tab, but via sharing media (albums, tracks) from their app to BubbleUPnP

(this requires less integration work).

Then there's the BubbleUPnP Audio Cast Xposed module that can capture audio from other apps (it does not work with the Primephonic app, needs an Audio Cast update),

if you are willing to use Xposed.
[Android Apps and Games] schattenfell71:
Yes. I have tried to get high-quality cover art for them.

I have tried an old program called "Samba Network Music Player" and there I can see all covers in a perfect quality?!?

I do not know what is the difference.

:crying:
[Android Apps and Games] Snowknight26:
Is it possible to have a toggle for this? After you made this change, every single cached album art now shows up in various places such as media sharing in Hangouts/Messages, as separate folders in Google Photos, etc.
[Android Apps and Games] bubbleguuum:
[MENTION=4532393]Snowknight26[/MENTION]

Google has made some compat breaking changes in Android 10 for Media Store handling, which I think they did not intend and are oversights.

Because if this, there is only one way on Android 10 to generate thumbnails for albums, using a new Android 10 API.

After looking into it, the cached thumbnails by this API are placed on internal storage in public folder Music/.thumbnails, as jpg files.

Using the Android 10 emulator, I could not have these thumbnails to show up in Google Photos nor BubbleUPnP's 'Images' subfolders, no matter how hard I tried.

To help better understand the situation and what can be done about it, can you do the following tests:

- verify that there are some jpg in Music/.thumbnails. This is important for this test

- go into Android settings > App & Notifications > See all N apps

- Enable 3-dot menu > Show System

- tap 'Media Storage' in the list, then 'Storage & Cache' and 'Clear storage'

- reboot

=> this forces the media store to rescan all media and can take a while (minutes).

After you have waited long enough, do you still have the thumbnails appearing in Google Photos, etc ?

Assuming they are still there, put an empty .nomedia file in the Music folder and redo the test above (all the steps).

Do thumbnails still appear then ?
[Android Apps and Games] Snowknight26:
That would prevent Google Play Music (and any other app I suppose) from playing music from /sdcard/Music since MediaScanner would no longer index it, correct?

I followed the procedure and now every photo is showing up twice in Google Photos (woohoo..), and each cached album art file still shows up in places that use MediaStore.

I then did the same procedure after adding a .nomedia file to /sdcard/Music and as I suspected, GPM doesn't show any music, but at least I can't see the cached album art anywhere.

Now to figure out this Google Photos mess..
[Android Apps and Games] bubbleguuum:
Yup. I meant to put .nomedia in Music/.thumbnails instead. But please first do the test without it as I explained because I do not see this issue in the emulator.
[Android Apps and Games] Snowknight26:
I updated my post before I saw your reply.

I did the procedure a 3rd time, this time with .nomedia in /sdcard/Music/.thumbnails but the results were the same as if the .nomedia file didn't exist.

The problem appears to be that MediaScanner picks up the Folder.jpg file in /sdcard/Music/BubbleUPnP/media/<album>.

Based on MediaScanner.java, any folder that begins with a "." is ignored, which would mean that the issue isn't the /sdcard/Music/.thumbnails folder after all.
[Android Apps and Games] bubbleguuum:
Yup, thanks for confirming the .thumbnails is ignored (as it should).

So yes, this is coming for these Folder.jpg files in /sdcard/Music/BubbleUPnP/media/<album>.

Assuming you have downloads here, BubbleUPnP triggers the MediaScanner on every audio file

downloaded and ...cover (Folder.jpg). Hence them appearing in the database as images. It is obviously a bug (not related to Android 10) and I will fix

it for next update. But normally, if you clear data for 'Media Storage' and let it do a rescan, they should not reappear (assuming MediaScanner is smart enough to not add them to the Image database) ! I suppose this is not the case ?
[Android Apps and Games] Snowknight26:
Correct, they reappear.

Additionally, I checked the SQLite database /data/data/com.android.providers.media/databases/external.db and saw each Folder.jpg in the 'files' table.
[Android Apps and Games] bubbleguuum:
Hhmm I cannot reprod this: If i clear data for 'Media Storage' and reboot, it does not index any Folder.jpg in Music/BubbleUPnP.

if you look at the code you posted, line 1484 (function isNoMediaFile()), Folder.jpg should be discarded.

If you look with a file manager, is Folder.jpg listed with that exact casing ?
[Android Apps and Games] Snowknight26:
Yep, "Folder.jpg" with that exact case.

Now that I've looked at a few folders under /sdcard/Music/BubbleUPnP, I think I found another bug. When setting a certain cache size in BubbleUPnP (say 1GB) and the cache limit is reached, playing more music (which caches more songs) causes the oldest(?) files to be deleted. However, the Folder.jpg file and the directory remain. I have several dozen album folders inside the Music/BubbleUPnP folder that only have Folder.jpg in them.
[Android Apps and Games] bubbleguuum:
Aaah so you use Music/BubbleUPnP/media for the BubbleUPnP Server cached downloads it seems. I thought these were manually triggered downloads (3 dot menu on item > Download).

Default location for the BubbleUPnP Server cache is Android/data/com.bubblesoft.android.bubbleupnp/cache/media, hence me being confused.

OK for that bug letting stale Folder.jpg files, I will fix it. Do the indexed Folder.jpg happen to not be just these standalone files in a folder, or do you also see Folder.jpg for which there are music files in the same folder ?
[Android Apps and Games] Snowknight26:
I thought I remember you having to change the default directory to /sdcard/Music/BubbleUPnP/media for some Android 9 compatibility issue, maybe to have GPM pick up the files?. But you're right, now that I went into BubbleUPnP's settings and selected "use default folders for each media type" for "cache folder", it reverted to /sdcard/Android/data/com.bubblesoft.android.bubbleupnp/cache/media.

I went ahead and moved the contents of folders /sdcard/Music/BubbleUPnP/media to /sdcard/Android/data/com.bubblesoft.android.bubbleupnp/cache/media and I'm curious to see if this'll fix the issue.

The latter. Folders that have a Folder.jpg as well as <hex>.mp3 files have the Folder.jpg indexed.
[Android Apps and Games] bubbleguuum:
I could finally reproduce this issue (using Music/BubbleUPnP/media as cache folder). It doesn't make any sense why it happens (caching music does NOT trigger the MediaScanner on Folder.jpg), but at least now I can investigate.

I've also had Folder.jpg in a manually downloaded folder (in Music/BubbleUPnP/Albums) now appear in Google Photos while it previously did not.
[Android Apps and Games] bubbleguuum:
[MENTION=4532393]Snowknight26[/MENTION]

After investigation, I think this is a bug of and Android Media Scanner: it seems to not ignore Folder.jpg and index it as an image/photo.

It happens with BubbleUPnP not involved:

- copy to the Music root folder a music album folder containing Folder.jpg:

Music
Some Album
Folder.jpg

- reboot

- go into Google Photo and see that Folder.jpg is listed as new image

Another Android 10 fail regarding the Media Store. The third that I encounter...
[Android Apps and Games] Snowknight26:
Thanks for looking into it. Guess I'll go back to using /sdcard/Music/BubbleUPnP/media as the default cache directory so that GPM picks up the music, despite the Folder.jpgs being indexed as well.
[Android Apps and Games] bubbleguuum:
As you wish. If you use the default Android/data/com.bubblesoft.android.bubbleupnp/cache/media, the media scanner will not scan it automatically and you will not see Folder.jpg (but the tracks will still be

added to the Database when cached). But this folder will be removed on app uninstalled (or reinstall).

I also have fixed the empty album bug with only Folder.jpg: now, to enforce max cache size, the app deletes full albums (starting with least recently played) instead of individual tracks.
[Android Apps and Games] classical11:
Long delays and errors when playing to local BubbleUPnP renderer

Hi,

I have an issue playing music to the local renderer that is part of BubbleUPnP. The version of the app is 3.3.4 (arm64-v8a).

The music is served via MinimServer to the BubbleUPnP local renderer on my phone.

The server is installed on a mini PC and is connected via Ethernet. Both the server and phone are on the same subnet. (I also set up BubbleUPnP Server on the same Mini PC as MinimServer, if this is relevant for this issue).

I can browse the music library (by album art) - scrolling through is smooth and the album covers get updated quickly.

The issues arise when I start playing tracks. There is a long delay until the tracks start playing after every new track selection, play/pause, etc. If I interact with the app too quickly (e.g. I press on the next track button too quickly), the app becomes very unresponsive and I get an error: "Current state of service prevents invoking that action. timeout waiting for Playing.".

How can I attach logs to this thread?

Logs on pastebin:

https://pastebin.com/0U74jebA

https://pastebin.com/5H8micdU

(Note the second one, prev_log.txt, is the one that captured the error.)

Thanks for your help.

Update (12 Oct): I've just discovered that wifi is extremely slow on my router, about 20Mbps, 15 times slower than what I expect to get with the phone as the client. Does the local BubbleUPnP renderer buffer the whole track before it starts playing? That would explain the delay - for a 25MB flac track, I get a delay of about 10 seconds, which about right for a 2.5 MB/s transfer rate. I need to figure out why the router is so slow.
[Android Apps and Games] Snowknight26:
Does that mean that if I already have 100 of tracks in /sdcard/Android/data/com.bubblesoft.android.bubbleupnp/cache/media (that I manually moved from /sdcard/Music/BubbleUPnP/media), BubbleUPnP won't add those existing tracks to MediaStore, only ones that it caches in the future?

If yes, does that mean I would have to manually play those 100 tracks from the BubbleUPnP Server (that correspond to each of the cached files) to add those to the cache, or will it still not work then?
[Android Apps and Games] bubbleguuum:
[MENTION=4532393]Snowknight26[/MENTION]

No need: when you enable/disable 'Settings > Internet access with BubbleUPnP Server > Add to Android Library' it adds/removes all cached files from the Media Store.

So for moving the cache folder do this:

- disable 'Add to Android Library'

- move the cache folder

- set the new location in BubbleUPnP

- enable 'Add to Android Library'
[Android Apps and Games] Snowknight26:
Ironically those steps deleted all the .mp3s under the new directory (but not the Folder.jpgs). Oh well, just a cache. :)

Edit: This doesn't seem to be working. I have the default cache folder specified and "Add to Android Library" checked but none of the cached music shows up in other players.

Additionally, there's an issue where the cover art shows up in BubbleUPnP but not in the notification, even though the covert art is also cached in the default cached directory. See attached screenshot.
[Android Apps and Games] bubbleguuum:
[MENTION=4532393]Snowknight26[/MENTION]

Confirming that using the default cache folder (Android/data/com.bubblesoft.android.bubbleupnp/cache/media) is not working for adding tracks

to the Media Store. At first I thought it was Android 10 specific, but I could reproduce it on Android Pie as well.

The reason is that Android refuses to scan any media file in Android/data/ subfolders. It even puts a .nomedia file

in Android/data, that you cannot remove (if you do, it recreates it). This is for good reasons: to avoid app media files

invading the Media Store. It was not always like this apparently. So the cache folder must be outside of Android/data/, anywhere else where there is not a .nomedia file in

the parent folders. I will fix it by changing the default cache location back to Music/BubbleUPnP/media.