yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] nift4:
Hi [MENTION=3373153]bubbleguuum[/MENTION] again. I'm having some problems with IceCast2. I set up an m3u8 on my MinimServer, I can click on the playlist and on the stream but it only says No transcoder found. The stream is mp3. Even with mp3 extension. And other players can play that, too. (I am playing to the local renderer.) Disabling FFmpeg transcoding was useless.

EDIT:

Ah, the OpenHome local player works wonderfully (with and without FFmpeg transcoding)
[Android Apps and Games] bubbleguuum:
[MENTION=9942894]nift4[/MENTION]

Can you send a log file of the stream not playing with the local renderer ? See first post of this topic for logging instructions.
[Android Apps and Games] baseendje:
Thank you! I just learned that you can basically open any youtube playlist in youtube music by simply adding music. in front of the url. Very useful!

I did come across a small bug however: while playing the youtube content (which was indeed aac encoded m4a) the content ran trough ffmpeg even though my phone natively supports both m4a and aac (and I have bubbleupnp set to only use ffmpeg for non natively supported audio formats). The same happens when I open an aac encoded m4a from within the bubbleupnp content browser. Now the interesting part is that when I open the exact same file with my file manager and choose bubbleupnp to play the file, it played without transcoding and correctly recognized it was aac encoded.

This is a bit unfortunate because the transcoding is a significant burden on my battery life such that I am pretty sure it would run out of juice halfway trough my day.

For testing I renamed the .m4a file to .aac and opened it from within bubbleupnp which resulted in the correct behavior: playing without transcoding. This makes me suspect that there is something going wrong with the interpretation of the meta data. Though renaming works for my own files, of course this does not solve the issue for content from youtube. I hope you could look into this issue.

Kind regards, B
[Android Apps and Games] bubbleguuum:
[MENTION=10583489]baseendje[/MENTION]

It's actually AAC in a DASH container which is an uncommon and weird format that most renderers do not support.

Recent versions of Android do support it for local playback, but older versions probably don't.

That's why and for simplicity it is force decoded to WAV by FFmpeg (regardless of settings), to make sure it plays everywhere.

FFmpeg decoding does not take that much more battery than system decoders which still have to decode it to PCM.
[Android Apps and Games] nift4:
Will send one soon (TM)
[Android Apps and Games] nift4:
[MENTION=3373153]bubbleguuum[/MENTION] Relevant line:

discarding unsupported mime-type: *

If that's not enough I'll email the full log.
[Android Apps and Games] taimei:
Apply FIR filter for FFmpeg in Audio Filters

[MENTION=3373153]bubbleguuum[/MENTION]

Hello,

Can't apply an arbitrary Finite Impulse Response(FIR) filter to FFmpeg's afir command to Audio Filters in BubbleUPnP Server ?

If that is possible, Room correction etc can be applied even in streaming playback track.

https://ffmpeg.org/ffmpeg-filters.html#afir-1

In MinimServer, i can apply FIR Filter with afir command.

https://www.stereo.net.au/forums/to...ion-with-upnp/?do=findComment&comment=4313420

https://forum.minimserver.com/showthread.php?tid=5109&page=3

However MinimServer can only adapt it to tracks on the local server.

Once this feature is available in Bubble UPnP Server's Audiro Filters, I can apply FIR Filter not only to local server but also to Tidal and Qobuz streaming tracks.

I would appreciate if you could work on this feature.
[Android Apps and Games] bubbleguuum:
[MENTION=9942894]nift4[/MENTION]

Modify the m3u playlist and add the codec (mp3) of the stream in the [] part of the #EXTINF line.

Example:

#EXTM3U
#EXTINF:-1,[;mp3] LOUNGE-RADIO.COM - swiss made
http://fr1.lounge-radio.com/lounge128.mp3

This will force MinimServer to set a proper mime-type.
[Android Apps and Games] bubbleguuum:
[MENTION=8254262]taimei[/MENTION]

That's not possible to enter it in the "Audio Filters" in current version because this particular filter requires special syntax.

Might look into it.
[Android Apps and Games] taimei:
Thank you!:)
[Android Apps and Games] bubbleguuum:
[MENTION=8254262]taimei[/MENTION]

I have implemented it although it a less complete way than MinimServer.

In the next update of BubbleUPnP Server you will be able to specify MinimServer syntax

`convOut=-i /path/to/convolution/filter.wav -lavfi afir=gtype=gn` as

`convOut=/path/to/convolution/filter.wav afir=gtype=gn` in the 'Audio Filters' field.

But unlike MinimServer It does not support wildcards for the filter WAV files, for using the one

matching the samplerate of the input audio.

This convolution filter is applied after all eventual other filters (such as ReplayGain and resampling).
[Android Apps and Games] nift4:
Worked, thanks!
[Android Apps and Games] taimei:
[MENTION=3373153]bubbleguuum[/MENTION]

No wildcard functionality is required.

According to the description of MinimServer, FFmpeg seems to automatically resample the Filter when the sample rate is different.

When applying a convolutional filter after processing such as upsampling, if FFmpeg refers to the original sample rate before upsampling, the sample rate of the resampled filter may not match.

Also, MinimServer recommends FFmpeg 4.1 or later.

https://minimstreamer.com/userguide.html#Convolution filtering

Thank you for your cooperation.
[Android Apps and Games] bubbleguuum:
[MENTION=8254262]taimei[/MENTION]

It's not FFmpeg that handles the wildcard and the choice of the correct filter based on input samplerate: it is MinimServer.

Anyway, I have implemented the wildcard for doing the same. The only difference with MinimServer is just that if there is no filter file matching exactly

the samplerate of the input, no convolution filter will be applied.
[Android Apps and Games] taimei:
[MENTION=3373153]bubbleguuum[/MENTION]

Yes, I understand that the wildcard feature is that of MinimServer.

There was a description that FFmpeg automatically resamples the filter file according to the sampling rate of the input file. It seems to be a feature of FFmpeg, not a feature of MinimServer.

So I didn't think need the wildcard feature and thought it would make your job easier.

Am I misunderstanding about these things?

But if you implement it the way you think is best, I'm fine with that.

Thank you for your dedication to this feature.
[Android Apps and Games] msssm:
Hi, I have issues streaming Opus:

High quality https://st01.sslstream.dlf.de/dlf/01/high/opus/stream.opus starts streaming after a long while even with a fast network connection.

Low quality https://st01.sslstream.dlf.de/dlf/01/low/opus/stream.opus times out and fails streaming.
[Android Apps and Games] bubbleguuum:
BubbleUPnP Server 0.9-update38 is available.

Changelog

It will automatically update itself within 24h unless you disabled auto-updates.

In any case, you can manually update it Settings / Update and click the "Check for updates" button.
[Android Apps and Games] bubbleguuum:
[MENTION=5756797]msssm[/MENTION]

There's indeed a problem, need to look deeper into it.

Assuming you are playing on your Android device (Local Renderer) you might have better luck playing the http streams (rather that https).
[Android Apps and Games] taimei:
[MENTION=3373153]bubbleguuum[/MENTION]

I can't login to Qobuz with OpenHome Rederer created by BubbleUPnP Server 0.9-update38.

The following error occurred.

qobuz: Network problem: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I imported and corrected the TLS certificate myself.

The procedure to correct is as follows. (macOS)

Install InstallCert
# cd /usr/local/etc
# git clone https://github.com/escline/InstallCert
# cd InstallCert

Import certificate
# java InstallCert www.qobuz.com:443
# keytool -exportcert -alias www.qobuz.com-1 -keystore jssecacerts -storepass changeit -file www.qobuz.com.cer
# sudo keytool -importcert -alias www.qobuz.com -keystore /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre/lib/security/cacerts -storepass changeit -file www.qobuz.com.cer

Confirm Imported certificate
keytool -list -keystore /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre/lib/security/cacerts | grep www.qobuz.com
[Android Apps and Games] bubbleguuum:
[MENTION=8254262]taimei[/MENTION]

Thanks for the report. New version accesses Qobuz API via https instead of http.

The Java 8 version you use is very old (1.8.0_05). Updating to the latest Java 8 for mac should

fix it, as it will have the missing certificates.
[Android Apps and Games] taimei:
[MENTION=3373153]bubbleguuum[/MENTION]

Oh my god! :(

I assumed that Java was updated to the latest version by the Java Control Panel of macOS. It still says Java 8 is up to date. (attached screenshot)

I downloaded and installed the latest Java SE 14 Thank you.

The new Audio Filters feature that uses the convolution filter audio file works correctly.

I prepared convolution filter files for each sample rate from 44.1Hz to 192kHz and specified a wildcard. It's all working fine.

Also, ReplayGain works correctly when streaming from Qobuz.

I'm able to listen to music very comfortably by applying room correction and adjusting the volume level of each song with these functions. Sincerely thank.

By the way, please tell me some.

When did Tidal and Qobuz start to include ReplayGain information in their tracks? I've purchased songs from the Qobuz store before, but they didn't include ReplayGain information.

Also, as far as I can see the meta information and the log when Qobuz was streamed, I think that the information of ReplayGain that is currently acquired is Track Gain, but can you not acquire Album Gain?

I would be happy if also Album Gain could be apply for streaming playback.
[Android Apps and Games] bubbleguuum:
[MENTION=8254262]taimei[/MENTION]

Qobuz/TIDAL ReplayGain info is not part of the stream FLAC tags but transmitted by the API as part of a track metadata.

That's why it required special support compared to tags based ReplayGain processing.

Album gain is not provided, thus track gain is always applied whether you enable track gain or album gain in the configuration.
[Android Apps and Games] msssm:
You are right, using the http:// links, the issue is gone and stream plays fine. I wasn't aware that the SSL layer is such a big load for a recent Android device.

Btw. I found 2 other issues here: There is no way to edit the target URL of a bookmark in a saved playlist. Then editing the name, the new name is only displayed after restarting BubbleUPnP. And I always miss some direct "Add URL" on a saved playlist. You always need to add the URL to the playlist and then save that item to a saved playlist.
[Android Apps and Games] bubbleguuum:
[MENTION=5756797]msssm[/MENTION]

I've made a fix for the https issue.

Also fixed editing the name not reflected after exiting the popup.

I have not added a "Add Stream URL" menu action to the 'Saved Playlist' 3-dot menu because it has some complications.
[Android Apps and Games] ranperry:
Was support for pdf booklets with MinimServer removed?
[Android Apps and Games] taimei:
I see, I understand that Track Gain parameter are provided by the API. I hope that APIs such as Qobuz will also provide Album Gain in the future.

Thanks to you for ReplayGain support for BubbleUPnP on these services.
[Android Apps and Games] bubbleguuum:
No it wasn't.
[Android Apps and Games] Airman8:
Connection failed over home wifi

I'm getting a confusing error when trying to connect to bubbleupnpserver over my home wifi via the android app.

On wifi, when I run the connection test it says "the remote server could not be joined", and the address it's trying to connect to doesn't make sense. Basically, it's trying to append my WAN IP address to the host server, so I get something like:

"Failed to connect to mydomain.com/123.123.123.123", where 123.123.123.123 is the IP address provided by my ISP. Obviously that address doesn't make sense.

Edit: I figured something out: I changed my phone's wifi connection to a static IP and pointed it at my local DNS server, and that fixed it. I think it has to do with the fact that I can't get my ISP-provided router to point to my local DNS server, so I have to manually specify it.
[Android Apps and Games] V3nd:
App crashes with large playlists.
[Android Apps and Games] Lubensius:
My BubbleUPnP server installation stopped working and throws an error during startup.

what does this mean?

The Linux is quite old an Ubuntu 14.04.6 LTS.

Thx for your feedback.
[Android Apps and Games] bubbleguuum:
[MENTION=1804805]Lubensius[/MENTION]

You probably have Java 7 installed and need to update to Java 8 or higher. To verify use 'java -version' command.
[Android Apps and Games] simonMBUK:
Switching MinimServer 2 profiles

[MENTION=3373153]bubbleguuum[/MENTION]

MinimServer 2 added the ability to configure multiple profiles—although only one active at a time—so rather than have to manually change the configuration every time you just have to switch between them.

I was wondering whether you could develop a profile switching feature within the Library section of BubbleUPnP where, for MinimServer, the 'Rescan library' currently is?

I raised it in the MinimServer forum (forum.minimserver.com/showthread.php?tid=5781) and simoncn stated that there was already an api developed for the Melco product, so I believe everything is there that you'd to integrate with.
[Android Apps and Games] bubbleguuum:
Probably. I asked Simon details on the API.
[Android Apps and Games] Lubensius:
Thx bubbleguuum,

'java -version' showed Version 7.

I did a manual installation of java 8 (https://askubuntu.com/questions/56104/how-can-i-install-sun-oracles-proprietary-java-jdk-6-7-8-or-jre) and it is running again. :D
[Android Apps and Games] msssm:
Hi, the last update has broken/removed the X Close button on the notification item again. There was a bug in the past about Xiaomi devices, which I have (with an Android 9 custom rom). Then the X button was working for a long time, but has disappeared now. I can't even find the configuration option anymore.
[Android Apps and Games] bubbleguuum:
[MENTION=5756797]msssm[/MENTION]

This is collateral damage for fixing Xiaomi devices with MIUI 12 (Android 10) crashing in system UI with that setting enabled (due to the special notification Style it requires and MIUI 12 being a bugfest).

The 3.4.10.1 update blacklists all Xiaomi devices unconditionnaly for having this setting.

Next app update will only blacklist Xiaomi devices running MIUI, if I can find a reliable way to detect that. I had a way to detect MIUI on Android < 10 but it is not working after that.

In the meantime, you can revert to 3.4.10 available on apkmirror.com, if you absolutely need that feature (you can still exit the app with Menu > X icon).
[Android Apps and Games] msssm:
This all does not sound like a neat homogeneous API if single devices need to be blacklisted:) Moreover I have nothing from MIUI as I only have the hardware but a custom rom (HavocOS).

The X is quite useful, but I learned that I can make BUPnP also close by removing from recent apps list by option.
[Android Apps and Games] bubbleguuum:
Well, Android has a tad of device or manufacturer specific quirks or issues, although rarely as severe than a system Style notification crashing the whole System UI and requiring a reboot.
[Android Apps and Games] SteveDinn:
Positioning strings showing up in subtitles on Chromecast

Hey. I posted about this a little over two years ago, but I thought I'd ask again. This is literally the only issue I have ever had with BubbleUPnP. Sometimes, if a line in an ssa/ass embedded subtitle or file is prefixed with a positioning string (i.e., "{\an8}") it displays it literally instead of positioning the subtitle accordingly.

If you think it's still not worth doing, well, I guess I can't do anything but stomp my feet and pout. Either way, thanks for all these years of a great product.

Steve.
[Android Apps and Games] bubbleguuum:
[MENTION=9048933]SteveDinn[/MENTION]

Positioning is not handled at all as the ssa/ass is converted to WebVTT and cannot be easily (if at all), so no plan for that.
[Android Apps and Games] Svenny68:
Just two short questions about album artworks:

When playing an album that has multiple artworks inside like folder.jpg, back.jpg and cd.jpg how would BubbleUPnP handle these? Would "Now Playing" cycle through those images automatically or could I manually cycle through them somehow? I'm running KODI and MiniDLNA, both configured to stream multiple artworks, but only get to see the folder.jpg image. Is there a "slideshow" option for local artworks?

And second, how do I force BubbleUPnP to reload / refresh the album artwork? It seems to store a thumbnail somewhere (I'm using the Android version on my phone) and even when the DLNA server streams a new artwork for this album, it does not refresh. Is there a cache? How could I delete it?

Thanks a lot for your wonderful app, I really love it and appreciate your work.

Sven
[Android Apps and Games] thedicemaster:
the lack of positioning support does create issues for some subtitles that heavily rely on it.

some will trigger subtitles at the top of the screen for comments while showing normal subtitles at the bottom.

when the positioning is removed these both shift to the bottom, but if they get separate but overlapping timing this means the subtitles will physically overlap on screen.[0:10-0:50 subtitle 1][0:30-1:00 subtitle 2]

would it perhaps be possible to detect these overlaps, and make them dodge each other?

either by sticking them together as 1 line with their combined timing. [0:10-1:00 subtitle 1, subtitle 2]

or by creating an extra subtitle that combines them for the overlapping period. [0:10-0:30 subtitle 1] [0:30-0:50 subtitle 1, subtitle 2] [0:50-1:00 subtitle 2]
[Android Apps and Games] bubbleguuum:
[MENTION=6001941]Svenny68[/MENTION]

UPnP/DLNA media servers can send multiple artwork links as part of the metadata (in XML format) they sent to the app for an item. Most will only send a single link though.

Even if a media server sent multiple links, BubbleUPnP just supports the first one and ignore the others.

There is no support for multiple artwork and no plan for it.

More > gear icon > LIbrary > Clear thumbnail cache.

If after that you still see old artwork, then you need to trigger a rescan/refresh on the media server side.
[Android Apps and Games] Uoppi:
Please consider providing an option for adjusting album art size in BubbleUPnP Android. Unfortunately, only text size can currently be tweaked.
[Android Apps and Games] zyhk:
Google Cast (Audio Mirroring) to DLNA Conversion

Hello [MENTION=3373153]bubbleguuum[/MENTION]. I have a new feature request.

I'd like to transmit Amazon Music to my DLNA(& Google cast) receiver. Till now, I can transmit the Music (44.1 kHz) to my AV receiver via Google cast (audio mirroring) bit-perfectly (perhaps), but the receiver lacks significant features in case of Google cast connection. In order to use full features, DLNA connection is needed. (Although Amazon Music app and Chromecast built-in are on my receiver, they sound poor in comparison to 44.1 kHz Google cast (audio mirroring))

I think it could be achievable if BubbleUPnP converted Google cast (audio mirroring) to DLNA. (Besides, Chromecast devices now resample 44.1 kHz audio mirroring to 48 kHz one, but BubbleUPnP could bypass the resampling.)
[Android Apps and Games] bubbleguuum:
[MENTION=10791751]zyhk[/MENTION]

It's not technically possible to do that, as the Google Cast protocol has heavy encryption preventing to make a software Google Cast device.
[Android Apps and Games] zyhk:
Thanks for your reply.

There are several Google cast (screen cast only) receivers on Google play store, and they can transmit mirrored audio. Are they illegal?
[Android Apps and Games] bubbleguuum:
Google cast mirroring is its own thing (not really familiar with it) and might be possible to emulate (apparently it is if such apps exists).

What is not possible is to make a full blown software Google Cast device that would be seen by apps with cast support as such and interchangeable with a real Chromecast.
[Android Apps and Games] beaminge:
Hi, could you add the following features please?:

Sort by date & time of file

Option to reload library automatically every 24 hours

Thanks!

Ronan
[Android Apps and Games] mperezm77:
I just bought the license of the android APP and everything seems to work except when I try to send a 4k video to a 1080p chromecast. In that case the screen regains black.

The same video on a 4k chromecast embedded in a Sony TV plays fine.

Does it means that bubbleupn is not able to transcode the video from 4k to 1080p?

I tried with a oneplus 7t phone and a galaxy tab s6 lite and both devices shows the same result.

Is it possible to fix it?

Thanks!
[Android Apps and Games] bubbleguuum:
[MENTION=936797]mperezm77[/MENTION]

BubbleUPnP can transcode 4K to 1080p but it has to be offloaded to 'BubbleUPnP Server' for performance.

Are you using 'BubbleUPnP Server' for transcoding ?

If so please send me (bubblesoftproducts@gmail.com) its log file (BubbleUPnPServer.log.0, located in install directory) after attempting to play that problematic 4K video to your Chromecast.
[Android Apps and Games] mperezm77:
No, I was not using the server. I thought BubbkeUPnP installed in my phone was enough. I guess it isn't right?

What would be the minimum graphic car able to transcode from 2160p to 1080P?

Thanks!
[Android Apps and Games] Uoppi:
When trying to view a PDF via URL hyperlink from within BubbleUPnP Android and if the name of any of the folders in the path contain a period, the PDF can only be opened as a file download via a web browser. In every other case, the PDF can correctly be opened directly in a PDF viewer (e.g., Drive PDF Viewer) by tapping the hyperlink.

Is this an Android limitation or is BubbleUPnP's handling of URLs somehow involved (in other words, whether a download or direct launch is triggered)?

I'm talking of the digital booklet hyperlinks that MinimServer appends to the Desc. field. One option is for me to simply remove all periods from folder names. However, if this is a BubbleUPnP thing that can be solved, I would rather not start mass editing anything.
[Android Apps and Games] bubbleguuum:
[MENTION=5110543]Uoppi[/MENTION]

It's a limitation in the Manifest of apps not showing up when there are multiple dots and they are matching on file extension. This is a widespread problem as it requires special care in the Manifest and most apps do not do it. The web browser does not match on file extensions thus not affected.
[Android Apps and Games] Uoppi:
Thanks for the quick response!

I can use Foobar2000 to easily filter by %directoryname% and mass edit the folder names in the path to omit periods.