yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] bubbleguuum:
@lordearl

I am assuming this report is only for Qobuz HiRes streaming ?

For your setup, I recommend making the R8 renderer OpenHome by enabling (on the R8) More > Gear icon > Local Renderer > (OpenHome Renderer section) > Enable.

Then on your controlling Android device running BubbleUPnP, control the OpenHome R8 renderer.

The advantage is that it simplifies playback with no need to keep the controlling BubbleUPnP running for Playlist tab track advance to be performed, as the R8 will take care of it.

If you still get stutters, on the R8 try changing 'More > Gear icon > Local Renderer > FFmpeg audio decoding' to 'All audio formats'. This will make the R8 use FFmpeg to decode the Qobuz FLAC to WAV, rather than Android's FLAC decoder which may have issues with HiRes FLAC decoding over http. This does not cause a loss in audio quality.

Finally, make sure to apply instructions in More > Gear icon > Disable system battery optimization, for proper operation when screen is off.
[Android Apps and Games] lordearl:
Thanks for the help!

This certainly gives a stable playback but appears to resample everything to 16/44.1, does it do the same for you?

I'm hoping to achieve bit-perfect playback here, thx!
[Android Apps and Games] bubbleguuum:
@lordearl

On the R8 you need to change 'More > Gear icon > Local and Cloud > Qobuz > WiFi/Eth audio quality' to a HiRes choice.
[Android Apps and Games] lordearl:
Ok thanks, confirm 16/44.1 and 24/96 are working fine but 24/192 is stuttering/glitching. I've tested the same files with USB Audio Player Pro on the R8 and there are no playback problems. Any other settings we can change?

Also, I've used the UAPP renderer and tested playing high res files from another android device with BubbleUPNP and the playback resamples to 16/44.1 for some reason.
[Android Apps and Games] imjinman:
Hiya, I'm getting a code 600 error when trying to play quobuz albums. I exit bubble and restart and seems to work then.

Also I can't add quobuz tracks to existing playlists. Only can create new playlist

thank you
[Android Apps and Games] bluntman420:
I have everything working perfectly except ffprobe keeps failing to extract video info (unauthorized) so i cant seek during any videos casted to chromecast. Win 11 7950x rtx 4090 server running on windows machine android app on phone. Anything I can do to fix ffprobe not working? Thanks.
[Android Apps and Games] mbze430:
I tried what every suggested in my "launch"... but didn't work.

From the Buffalo board, they suggested that I put the "launch" script in /etc/rc.d/extensions.d

That is where "launch" is located at.

But still it doesn't automatically start Bubble Server on reboot.

What else should I check for?

NOTE: I have figured out from my Mac I can issue this command to get it running temporarly:

ssh root@192.168.69.5 /usr/local/bubbleserver/bubble.sh start
[Android Apps and Games] winxi:
Did you create the script bubble.sh yourself, or did you download the Synology package? The Synology package contains special scripts and files made for Synology NASes, you are supposed to download the file BubbleUPnPServer-distrib.zip and extract it into the folder /usr/local/bubbleserver. Now modify launch.sh the way manonmoon suggested ant try to run it with

sh usr/local/bubbleserver/launch.sh

If this works, create a startup script (you can name it arbitrarily) containing

#!/bin/sh
sh usr/local/bubbleserver/launch.sh

and put it into /etc/rc.d/extensions.d. Now you should be done.

winxi
[Android Apps and Games] mbze430:
yeah I am using the Synology NAS version because some of the ARM from Synology uses the same as my Linkstation which is the Marvell Kirkwood. I'll try the other package.

I also have another question, not sure if anyone can help me here with it. But it's regarding FFMPEG. I have optware running on my Linkstation LS-VL, but the FFMPEG ipkg is super duper old. I tried getting the git from videolan.org, and tried compiling my own, but it always fail (I don't know how to properly compile it anyway, it always fails when I try doing the configure anyway).

My questions is.. anyone have a pre-compile FFMPEG that works on Marvell Kirkwood?

------------------------------------------------------------

UPDATE:

I removed the Synology package and installed the generic one... and made the changes to launch.sh as suggested. Now I am getting this

dirname: invalid option -- 's'
Try `dirname --help' for more information.
Unable to access jarfile /root/BubbleUPnPServer.jar

my ${HOMEDIR} is root.. not /usr/local/... should I just remove ${HOMEDIR} and replace it with the static directory where BubbleUPnPServer.jar is located?

Not sure why dirname -- 's' is not working either

Also, if I run

java -jar BubbleUPnPServer.jar &

within /usr/local/bubbleserver/ it does run, but again, if I terminate my Putty session or Terminal (MAC) it just quits everything. I have to issue a ssh command from my MAC (I haven't figure out how to do it from a Windows machine yet).
[Android Apps and Games] winxi:
As BubbleUPnP Server is a pure Java application, it doesn't depend on the platform you are using, as long as the JRE is installed.

Modify launch.sh according to this post, then perform the steps described in this post. Note, that if you create these script files in windows, use Notepad++ and save the files in Unix format (Edit -> EOL Conversion -> Unix) and note that you have to put

#!/bin/sh

on top of these script files.

If this doesn't work, describe exactly what you have tried (what you have entered in the shell), which script files are involved, the location and the content of the script files and the error messages you receive.
[Android Apps and Games] twinkybot:
The hint with the 50 entries was it. Meseems I was using a directory which had less then that and therefore I had no scrollbar. Thanks.

Now, back to my other queries.

1. Is it possible to show the track number. E.g. for some Audiobooks one must see them, because the need some interaction depending on the track numbering.

2 .Furthermore I noticed that there are gaps between tracks. Is there an option to enable a fluent playback?

3. Will there be support for MPD, so I can select the server as renderer?

I read about bubbleUPNP Server and I cannot see the connection. Can you tell me what the difference is to MPD and how it fits into following architecture:

Linux Server, Apache Server, MiniDLNA, MPD (and AmpAche)

Thanks and have a nice day.
[Android Apps and Games] mbze430:
As of right now... if I use the script that is suggested, I get the following error. (I am using VI within my Buffalo Linkstation to make any edits)

ok here is where everything is located.

this is my $PATH:

root@LSHOME:~# echo $PATH

/opt/bin:/opt/sbin:/usr/local/jre/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin

(as you can see my java is in /usr/local/jre/

Java runs fine

BubbleUPnPServer is located in /usr/local/bubbleserver/

executing

java -jar BubbleUPnPServer.jar &

*WORKS* but terminate itself when I disconnect from Putty or Terminal

executing

./etc/rc.d/extensions.d/launch.sh

gives me the follow:

I think it doesn't like these lines in the script:

DIRNAME="$(dirname ${0})"

HOMEDIR="$(cd ${DIRNAME} ; pwd)"

Let me know what else info you guys need
[Android Apps and Games] winxi:
Once again: extract BubbleUPnPServer-distrib.zip into the folder /usr/local/bubbleserver. Now, the original file launch.sh should be in this folder (and not in ./etc/rc.d/extensions.d). Don't move this file, but modify it to

#!/bin/sh
HOMEDIR="$(dirname ${0})"
cd ${HOMEDIR}
java -Xss256k -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -jar ${HOMEDIR}/BubbleUPnPServer.jar $*

It is important that launch.sh resides in the same folder with BubbleUPnPServer.jar.

Now try to run /usr/local/bubbleserver/launch.sh. If this test is successful, you can create a startupscript bubble.sh which contains

#!/bin/sh
sh usr/local/bubbleserver/launch.sh

Put this file to /etc/rc.d/extensions.d/bubble.sh.

If you don't follow these steps exactly, it will be difficult to help.
[Android Apps and Games] bubbleguuum:
1. Track numbers are not shown currently. Can you explain in whih context you'd want the track number to be shown and exactly why, so I can understand your use case better.

2. Gapless playback may come for the local renderer but only for devices running Android 4.1+

3. MPD uses it's own client/server protocol different than upnp. There seems to be a project called MPD-UPnP that makes it a renderer and a media server but I'm not sure how well it works.
[Android Apps and Games] twinkybot:
1. I need it for interactive audiobooks where you have to open a certain track according to the context. Lets say you are given a choice between left or right door. And if you choose to open the left door, you'll have to select track 7 from CD1 otherwise track 2 from CD10. It's like those old books where you had to jump to certain chapters depending on your choices. Quite funny :)

2. okay

3. thanks for the info. I'll look into MPD-UPNP and I will try the bubble UPNP Server.
[Android Apps and Games] mbze430:
Ok I have done EXACTLY what you have suggested. If I run the scripts within a terminal (individually).. they all run fine. So I think the script is working properly (?).

but if I reboot my NAS and let it go through it DOES NOT load the BubbleUPnPServer

Is there a log I can get during boot that I can copy & paste?

-------------------------------------------------------------------------------------------------------------------------------------------------------

NOTE: When I try to do my "workaround" method

I get this now...

$ ssh root@192.168.69.5 /etc/rc.d/extensions.d/bubble.sh
/usr/local/bubbleserver/launch.sh: line 4: java: command not found

As well as this:

$ ssh root@192.168.69.5 /usr/local/bubbleserver/launch.sh
/usr/local/bubbleserver/launch.sh: line 4: java: command not found
[Android Apps and Games] winxi:
Hi, please try to specify the full java path for the java binary in launch.sh, i.e. change line 4 to

/usr/local/jre/bin/java -Xss256k -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -jar ${HOMEDIR}/BubbleUPnPServer.jar $*
[Android Apps and Games] mbze430:
DONE. However, reboot still do no start BubbleUPnPServer. But my "alternative" method now works. I can issue command:

ssh root@192.168.69.5 /etc/rc.d/extensions.d/bubble.sh

and it will load up.

So why isn't my NAS starting the script in /etc/rc.d/extensions.d ??
[Android Apps and Games] bubbleguuum:
Ok. I'll add an option to make the track number part of the track title.
[Android Apps and Games] manonmoon:
Did you check if your bubble.sh file has exactly the same permission and owners set as the other files in the extension.d folder?

Just for verification it might also be worth to add the line

usr/local/bubbleserver/launch.sh

into one of the other scripts in the extension.d folder. If that works something must be wrong with the bubble.sh file (permissions etc.)
[Android Apps and Games] MemoryController:
Can you please support streaming with srt to Showtime?

Sent from my GT-I9100 running CM10
[Android Apps and Games] bubbleguuum:
BubbleUPnP Server 0.6.2 is released !

I've finally made Ubuntu packages for easy install / updates. Refer to the updated documentation on how to install. Let me know if you encounter any issue with this package.

There is also now a standalone ffmpeg Linux binary available that can just be downloaded and dropped in the server's installation directory to provide transcoding without relying on the distro ffmpeg.

0.6.2

Ubuntu package in PPA repository. Downloadable ffmpeg static binary for Linux

Synology NAS: updated package scripts. Fixed image transcoding filling temp directory

fixed adding port forwarding rules using UPnP IGD not working anymore

fixed FLAC transcoding to MP3 not working if FLAC contains embedded album art, with newer versions of ffmpeg

on Java 7, modifying configuration.xml restarts the server automatically to take into account the changes

added advanced options in configuration.xml:

openHomeUseEventing: if true, the OpenHome renderer uses eventing instead of polling to get renderer state

openHomeTimeTaskPollingIntervalMs: polling interval in ms. Use higher values with problematic renderers (Pioneer)

thumbnailWidth: width of generated thumbnails in pixels (default: 160). Set to 0 to disable
[Android Apps and Games] mbze430:
you know I was just thinking about that.. sticking an execution line in to one of the other script that I know works already during start. I will give that a try

----UPDATE----

So I decided to stick the following in to my twonky.sh (since I know my Twonky server always run fine). twonky.sh is located in my /etc/init.d/

cd /usr/local/bubbleserver
sh /usr/local/bubbleserver/launch.sh

Whelp, BubbleUPnPServer did NOT run, but my Twonky Server loaded just fine. BUT!!! HERE IS THE BIG BUTT!

When I use the following line:

cd /usr/local/bubbleserver
exec /usr/local/jre/bin/java -Xss256k -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -jar BubbleUPnPServer.jar $*

TWONKY SERVER WILL NOT LOAD! NOR BUBBLEUPNP! So this means..... I have no idea what that means...

-----------OTHER UPDATE FROM BUFFALO FORUM-----------

I got a reply from the Buffalo Linkstation forum, but I have no idea what it all means if it's internal.

The dirname is from /opt/bin/dirname
[Android Apps and Games] warhead1978:
@bubbleguuum

I sent you a PN... didn't you read the message?
[Android Apps and Games] winxi:
As a last resort, try to specify the full path of BubbleUPnPServer.jar in launch.sh instead of extracting the directory with dirname:

#!/bin/sh
cd /usr/local/bubbleserver
/usr/local/jre/bin/java -Xss256k -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -jar /usr/local/bubbleserver/BubbleUPnPServer.jar $*

and add just

sh /usr/local/bubbleserver/launch.sh

to the twonky startup script.
[Android Apps and Games] manonmoon:
Thanks a lot for the great work. Pioneer VSX921 is now working fine!
[Android Apps and Games] bubbleguuum:
@imjinman

You can if you wish send me a log file, triggering that error 600. See first post of this topic for logging instructions.

BubbleUPnP does not support modifying/creating Qobuz playlists as it is not a goal to replicate 100% of the functionality of the Qobuz app. So Qobuz Playlist management must be done in the Qobuz app (which you can also use to share track/albums/public playlists to BubbleUPnP for playback if that's more convenient).
[Android Apps and Games] bubbleguuum:
@bluntman420

Can you send me (at bubblesoftproducts@gmail.com) the BubbleUPnP Server log file, BubbleUPnPServer.log.0 located in the install directory, after triggering such error ?
[Android Apps and Games] bubbleguuum:
Did you change 'FFmpeg audio decoding' to 'All audio formats' in BubbleUPnP on the R8 ?
[Android Apps and Games] lordearl:
Yep I got it working over the weekend.

Congratulations on an absolutely fantastic piece of software, it is mind-blowing in terms of the functionality you have managed to include in this package!!!
[Android Apps and Games] bluntman420:
I sent the server log as requested. I managed to get seek to work but i still get the error and warnings in server log from ffprobe.
[Android Apps and Games] bluntman420:
Scratch that. Only got seek to work for one video.
[Android Apps and Games] wetxxx:
I'm looking for polish translation for BubbleUPnP. It's some open project to translate this stuff?
[Android Apps and Games] bubbleguuum:
@wetxxx

There is no such project. For a full translation, there is an awful lot of strings to translate and it's rather tedious. When I did the English->French translation, it took forever.

That's why the number of current translations is limited, most done by (paid) professional translators.
[Android Apps and Games] wetxxx:
Ok from polish i know most people who was used to BubbleUPnP. So maybe in the futrem You consider translate to Polish language.
[Android Apps and Games] jim_pap:
Hello all. I have the licensed version of BubbleUPnP casting to a Yamaha MusicCast device, from a Synology DS and I a very happy with it as it leaves Yamaha's own app way behind in terms of usability and configurability. I 'd like to suggest 2 features:

1. I think most ex-Winamp users will miss the combination of Now Playing simultaneously displayed along with Playlist and Library (or both). Ok, I admit that showing all 3 items simultaneously would be rather counterproductive on Android devices, due to the smaller screen and the lack of mouse. Still I think it would quite user friendly to have a "Mini Now Playing bar" always present at the bottom of the screen, in Library and Playlist screens, at least for tablet devices. In Library it is already implemented as an option (the Mini Library Player), however it misses the back button, volume control and it is impossible to activate it when the library listing does not fill the screen. So I am suggesting to add an option for permanently showing (a more usable version of) Mini Player at the bottom of the screen, in Playlist and Library.

2. It would be nice to remember the current Library folder on application restart (although, admittedly, that feature would introduce some issues with temporarily non-available network libraries).

Thank you
[Android Apps and Games] jim_pap:
And two possible bugs (both when playing tracks from Synology NAS, running DSM 7.1 and Media Server 2.04):

1. In the Now Playing screen, when I repeatedly forward to next tracks (without waiting for a few seconds, on each track), sometimes Bubble Upnp is lost between tracks, especially if I also use the backward button. In that case, there is a discrepancy between the track title shown as playing and the actual track being played. Is this a caching problem? I can't find a related setting.

2. Composer tag is not shown in Metadata when playing from NAS. Since this tag shows up normally when local files are played, I suspect that Media Server DLNA does not send the Composer tag. In that case, it's not Bubble Upnp's fault. Can you confirm? Is there anyone out there who knows a remedy (without installing another DLNA server on my NAS)?

Thank you
[Android Apps and Games] bubbleguuum:
@jim_pap

1.

The mini-player was designed a long time ago and could sure see a few improvements, although I cannot say I'm a big fan of such mini-players, so no promise. For volume control, you can use hardware volume buttons from anywhere (when the app is in the foreground), although it might be less convenient on a tablet vs on-screen buttons. Volume buttons are also available in the BubbleUPnP notification.

2.

This has been asked a few times. I need to look into again but it less trivial to implement it properly than it may look to not make it cause unexpected problems or annoyances.
[Android Apps and Games] bubbleguuum:
@jim_pap

1. This is caused by each forward/prev track button tap stacking UPnP commands to the renderer to play each intermediate track. Ideally, presses in quick succession should discard intermediate tracks and only play the last track.

Another usability quirk that has been already reported and that I must look into.

Note that this is not a problem if you use forward/prev track buttons when the renderer is not playing.

2. Yes, the media server has to send Composer tag metadata at browse time. I do not think the Syno media server supports it.

MinimServer (https://minimserver.com) does, but that's another (excellent for music and very configurable) media server.
[Android Apps and Games] jim_pap:
bubbleguuum, thank you very much for the quick responding.
[Android Apps and Games] wetxxx:
Could add icon in shortcut for Your server on Synology NAS? When I take short cuts in tap bar in chrome can't see proper icon. Other stuff from synology has it. Thank you
[Android Apps and Games] 害怕的美少女:
I found a good apk! Can you add the Chinese language included in this apk file to a future update?
[Android Apps and Games] tkalfaoglu:
Great software. Registered.
[Android Apps and Games] lordearl:
Has anyone managed to play internet radio stations using BubbleUPNP? If so, what's the best way of integrating it?
[Android Apps and Games] bluntman420:
Was trying to get an issue fixed with the dev through email but I haven't gotten a reply in days. Regret buying this app now. Hopefully they contact me and fix this issue.
[Android Apps and Games] markjbrough:
Why can BUPP no see mOode?

I have moOde running over ethernet to a generic ISP ADSL modem/router. BUPP is running over wifi to an Amazon eero router which is then connected by e'net to the ADSL router. BUPP cannot see the moOde UPnP renderer (or vice versa). I reckon there's something firewally going on in the ADSL router and/or the eero router, which is stopping something getting between BUPP and moOde. I'm curious if anyone could suggest what sort of things to check on in the router(s).

I see in the ADSL router's admin pages that I can allow various protocols into various places. But out of the long list of protocols/services, UPnP doesn't appear. (There is a global setting for UPnP IGd, which is enabled.)

I am not requesting support - this is not a problem. I ask out of curiosity. I have implemented the obvious workaround - connect moOde directly to the eero.

This setup has worked well for years over wifi, but last week I decided to connect moOde over e'net. Probably not relevant, but (a) moOde is running on the Allo USBridge streamer (b) moOde is version 7.4.1 2021-10-02 (c) BUPP is running on Android 10.

Just puzzled and curious!
[Android Apps and Games] bubbleguuum:
@lordearl

Easiest way would be using the TuneIn app in conjunction with BubbleUPnP. In BubbleUPnP, go into 'Playlist tab > 3 dot menu > How to play Internet radio ?' for details.
[Android Apps and Games] bubbleguuum:
@bluntman420

Answered by e-mail. Sorry for the delay.
[Android Apps and Games] bubbleguuum:
@害怕的美少女

Can you tell if Chinese text in that APK looks like it was automatically translated with Google Translate (or some other automated translator) ?
[Android Apps and Games] bubbleguuum:
@markjbrough

Such issues can be tricky to troubleshoot.

Verify that nothing is blocking multicast UDP traffic on port 1900 which is used for device discovery. UPnP IGD settings in router are not related to UPnP AV device discovery.

Also on the routers, look for a setting called IGMP snooping and if you find it, disable it.

Make sure the router's firmware are all up to date.

Finally try to reboot everything.
[Android Apps and Games] bubbleguuum:
@jim_pap

Next/prev track buttons behavior when a track is playing will be finally much improved in the next app update, as you will be able to press these buttons in quick succession (less than 1s between presses) without all intermediate tracks being played briefly, causing lag and feeling clunky.

This works no matter how the next/prev track action is triggered: 'Now Playing' tab buttons, notification buttons, headset, widget, ...
[Android Apps and Games] dark0shark:
How about this idea for an additional feature?
[Android Apps and Games] bubbleguuum:
@dark0shark

Year is already displayed in landscape on tablets (alongside with genre).

I can extend that to landscape on phones as there is room for it.

In portrait on phones, it is more tricky as it requires its own line (for displaying both) and depending on what is already displayed and its length, it could get super crowded there...

Moreover, all metadata is just one tap (the cover) away.
[Android Apps and Games] dark0shark:
That is interesting. On my Lenovo Smart Tab M8 tablet neither genre nor year do show up in Landscape view. Not with native Synology DiskStation Server and also not with MinimServer as source. And there is no option to configure this in Now playing settings. However klicking on album art reveals that data, so they are accessible.
[Android Apps and Games] bubbleguuum:
@dark0shark

It's only for devices with smallest width > 600dp, so this tablet does not fit this criteria.

Anyway I've removed that limitation and in next update all devices will display year and genre in landscape.

I do not even remember why I put that tablet restriction it in the first place a very long time ago, but that 600dp was a criteria to detect early tablets.