yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] captainprog:
Hi,

I have a nicely working BubbleUPnP Server setup, running on a Raspberry Pi.

I've just managed to set up an infra-red remote for the Pi, with the plan that I'll be able to use it to quickly pause the music (say, if I get a phone call, or if the WiFi goes down, etc etc.)

I can use the IR remote to send commands to the Pi as if they were being typed into the command line.

So, I need to know how to send commands to the BubbleUPnP server from the command line. Initially, I just want to be able to do 'pause/play', 'next track', 'previous track', 'volume up', 'volume down'.

Is this possible from the command line?

Edit: scripts are fine too. I can have the IR remote execute a script (as this can be done via the command line), but the end-goal is the same; to control the renderer without a GUI.
[Android Apps and Games] bubbleguuum:
reread my previous answer carefully and have a look a this thread:

http://forum.xbmc.org/showthread.php?t=86307

XMBC issue.
[Android Apps and Games] Metkis:
Hi, I'm suffering these exact same symptoms, however the FLAC's i'm trying to play do not have any embedded artwork (I checked with tagscanner). Running on a Samsung Galaxy S on android 2.2. Any ideas? I can't seem to play any of the FLACs that I have. Otherwise, I am loving this app. Thanks, Metkis.
[Android Apps and Games] bubbleguuum:
I don't think this is related to artwork as I could not reproduce the problem. Can you record a log file and send it to me (see first post of this thread for instructions to enable logging). Thanks!
[Android Apps and Games] Phoenix09:
Just noticed a couple issues:

1. Sorting is case sensitive, lowercase and [ are sorted to the bottom.

2. If an artist is in the library with different capitalization, each different one will be shown.

3. When viewing an artist, if there's another artist with the same album title, it'll show that artist in the list instead (though opening it still goes to the right one).
[Android Apps and Games] bubbleguuum:
Your Media Server returns track/folders in this order. The app list them in the order the server returns them.
[Android Apps and Games] Aqua1ung:
Would you be able to stream music over the Internet using this application?
[Android Apps and Games] :
Just updated to the latest version, and all I can ask is...can we have this interface in BubbleDS? Pleeeeeeeasee...? :D

Secondly, just a tiny bug, bit rates for AAC are being reported wrongly. At least for the ones I have tried. If I want 4233Kbps bit rates I'll stick with my FLACs...;)

See the attached screenshot for evidence.

Thanks :)
[Android Apps and Games] bubbleguuum:
Yes, install BubbleDS 1.2.0 beta as explained in the first post of this topic

From the screenshot looks like Twonky sends a bogus bitrate. It is not a first, a few other Media Server sends bogus bitrates which is only used for display so no real side effect. Anyway thanks for reporting, I added more voodoo broken bitrate detection discarding anything higher than 320Kpbs for lossy codecs.
[Android Apps and Games] skyes113:
Does the regular control (play, pause, next) work via bluetooth?

The control on my bluetooth speaker doesn't seems to work.
[Android Apps and Games] bubbleguuum:
No it doesn't. Adding this to the todo list.

0.9.9.13 is out on the Market, mainly fixing AAC not playing in many cases:

local renderer: fixed AAC sometimes not playing

Library: cleanup menu for non playable items (images)

removed touchscreen requirement

bug fixes

fixed rare crashes
[Android Apps and Games] lado44:
Hello, thanks for the great app, definitely would pay for this compared to other free or paid competing apps. Great simple easy to use GUI. Tested on HTC Inspire and Samsung WiFI Galaxy Tab.

I am using this with Foobar UPnP server on Windows 7 for 16bit 44.1KHZ FLAC playback (decoded to WAV). Successful play from Foobar to Android or from Foobar to Foobar with no issue. There were occasional buffering issues which I attribute to my WLAN, they happen with other apps.

Only issue is is Library search does not work with Foobar which I imagine falls under the generic Library Search known issue. However Foobar UPnP Media Library is highly configurable which obviates most searching.

This app will let me easily control an HTPC cabled to my receiver without having to turn on the TV to see the display, and also playback music on the phone or tablet on the 2nd floor connected to powered speakers. Exactl what I was looking for.

Awesome work!!!
[Android Apps and Games] akispavlopoulos:
Hi!

I have purchased an android tv box and it works fine with wi-fi on! Can you make it work with ethernet cable? My android box has standard wired lan port and I prefer this over wifi. Is this possible?
[Android Apps and Games] lado44:
Doh! Just realized you are also the dev for the Foobar UPnP plugin! That's great to hear, I will be putting both to the test.

Some updated feedback... Now having some issues connecting to Foobar uPNP on the Samsung WiFi Galaxy tab. Intermittently Bubble does not "see" The Foobar server or Renderer, when other Devices on the network do. However even Samsung AllShare and 2Player seemed to be having some issues at the same time. I also tested a stock Samsung Captivate and had no issues with Foobar to Bubble or Foobar to AllShare communication. More testing needed on my side to determine if this is a network or Foobar issue. Thanks again.
[Android Apps and Games] andrewfg:
BubbleUPnP problems with Whitebear

Hi Bubbleguum,

One of your customers is trying to use BubbleUPnP with my Whitebear media server. And he reports that when BubbleUPnP does a random track Search() query on Whitebear's ContentDirectory, BubbleUPnP reports an error -- even though Whitebear is returning a perfectly valid and on time SOAP response.

If I e-mail you the respective log file of the transaction, could you please have a look at it, and let me know what is going wrong?

---

AndrewFG
[Android Apps and Games] bubbleguuum:
Hi Andrew,

Thanks for reporting.

I installed Whitebear + Squeezbox center and found the cause of the search request failing. Here's the SOAP of the initial search request emitted by BubbleUPnP to retrieve the number of items on the Media Server:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<s:Envelope
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<u:Search xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
<ContainerID>0</ContainerID>
<SearchCriteria>upnp:class derivedfrom "object.item.audioItem"</SearchCriteria>
<Filter>*</Filter>
<StartingIndex>0</StartingIndex>
<RequestedCount>1</RequestedCount>
<SortCriteria></SortCriteria>
</u:Search>
</s:Body>
</s:Envelope>

To this request Whitebear reply without error, but with NumberReturned=0 and TotalCount=0.

It turns out it doesn't like SearchCriteria: upnp:class derivedfrom "object.item.audioItem", but will work as expected without the surrounding quotes: upnp:class derivedfrom object.item.audioItem.

I reread the grammar for SearchCriteria in the ContentDirectory spec and the quotes are required.

---------- Post added at 09:56 AM ---------- Previous post was at 09:34 AM ----------

This is on the todo list. Can you confirm if WiFi and ethernet are mutually exclusive (you cannot have them both enabled at the same time) ?
[Android Apps and Games] akispavlopoulos:
I confirm that I can't have them both enabled at the same time.

Thank you for your answer!
[Android Apps and Games] andrewfg:
Hi Bubbleguum,

Thanks for the feedback and the testing. You were obviously using the release version of Whitebear, whereas I am working with a newer build (currently in beta). This new build does already resolve the issue with the surrounding quotes on the SearchCriteria. However acccording to one of our common customers, even this new build has problems.

Unfortunately, since I am new to this forum, I am not yet allowed to post the url where you can download the new build, however I can tell you that the path and document name would be ../downloads/test.zip ;-)

---

AndrewFG
[Android Apps and Games] bubbleguuum:
This version works fine with random tracks.

I noticed that searching for albums whose artist contain a particular string will always return all albums:

(upnp:class derivedfrom "object.container.album.musicAlbum" and upnp:artist contains "window")

Other search queries seems to be fine.
[Android Apps and Games] andrewfg:
Great news!!

However, unfortunately as I mentioned earlier, we have a common customer who still claims to have a problem. I will get a log from him, and post it later on this forum.

Yes I expected that.

Basically Squeezebox Server can only resolve a limited range of search criteria; so when searching in albums, it can only search on album title, and when searching in artists it can only search on the artist name, etc. This means that it cannot resolve mixed searches like your example.

So as a general rule wherever the second search term is not resolvable by Squeezebox Server, Whitebear ditches the second search term and asks Squeezebox Server for everything that matches the first search term only...

---

AndrewFG
[Android Apps and Games] andrewfg:
Hmmpf...

I tried to post the error log on this forum; but the log contains <res> tags that have urls in them; and being new to this forum I am not allowed to post urls...

So I sent you a PM instead.

---

AndrewFG
[Android Apps and Games] bubbleguuum:
Enable video transcoding (performed by BubbleUPnP Server) in Android BubbleUPnP: 'Settings > Network and settings > Video transcoding' section
[Android Apps and Games] bubbleguuum:
The only thing I can think of is a firewall blocking BubbleUPnP Server advertising the OpenHome renderers. Try again after turning the firewall off temporarily to test this possiblity.

BTW it is normal for "Windows 7 PC " to not see the OpenHome renderers as it has no idea what they are, unlike regular UPnP AV renderers.
[Android Apps and Games] bubbleguuum:
You are right, the -async 1 option is required for streams not started from the start (like usually the case with movies), which is the case of these IPTV streams I believe.

I will fix it in the next version to always launch with -async 1.

Let me know if you're running the server on Windows or some other platform for a possible workaround to specificy the async option.
[Android Apps and Games] leenukes:
I think they are running it on Linux given the use of the ps command.
[Android Apps and Games] starfire:
Your correct, I disable the Windows XP firewall and the OpenHome renderer appears.

So I guess I need to add some setting to the firewall, I have rules for ports 58050 and 58051 already... Any idea what's needed?

Thanks.
[Android Apps and Games] akispavlopoulos:
Hi!

I have bought a new LG TV (the LM62 series) and when I select a music track from foobar's library to be played in my tv through bubbleupnp it plays fine if it is mp3. If it is flac or ape, I can hear the music from my tv, but the time bar stays still in both my tv and bubbleupnp. I guess it has to do with the transcoding profil. How can I fix it? Or do you want any log files? I have also another "problem" with this tv and foobar's upnp but I have posted it in foobars forum. Have a look when you have time. Thank you!
[Android Apps and Games] starfire:
Never mind I fixed it by adding BubbleUPNP server to the windows firewall - might be worth seeing if that could be automated.

I also didn't realise that it would open ports in my router via upnp automatically :good:
[Android Apps and Games] bubbleguuum:
You can use the trick below:

1. download this wrapper ffmpeg shell script and place it into BubbleUPnP Server install dir. Edit this file if the real ffmpeg executable is not located in /usr/bin.

2. make this shell script executable: chmod +x ffmpeg

3. modify launch.sh to read:

#!/bin/sh

export PATH=`pwd`:$PATH

java -Djava.net.preferIPv4Stack=true -jar BubbleUPnPServer.jar $*

Now BubbleUPnP Server will launch the ffmpeg wrapper script in place of the real ffmpeg executable

4. launch BubbleUPnP Server with launch.sh
[Android Apps and Games] bubbleguuum:
It is automated (at install time) although I'm not sure it works in every case

Port 58050 and 58051 are not used by the OpenHome renderers (a random port is used by each OH renderer , but this is LAN functionality only).
[Android Apps and Games] toniw:
I am running on Linux. Would love to see a quick workaround...
[Android Apps and Games] bubbleguuum:
refer to post #1188 above
[Android Apps and Games] toniw:
Yes, thank you, saw that too late, and being a new member of XDA I got bitten by some post-editing delay rules :-)

I tried the workaround. I must admit I am a bit ashamed that I didn't think of that solution myself...

Anyway, I'm happy to report that the fix works great. Audio and video are now perfectly in sync while watching live IPTV.

Thanks for the pointer!
[Android Apps and Games] Knorz:
Stream URL with WDTV

Hi,

I have some problems to use the Stream URL function together with my WDTV live. If I add a Stream URL e.g. to listen to a Webradio stream like "http://mp3-live.dasding.de/dasding_m.m3u" nothing happens, after a while BubbleUPnP shows "Action timeout". If I send the same URL to WMP on my Win7 Laptop it plays fine. Any ideas what could be the problem here and how to solve it? Listening to Webradio without using the WDTV GUI would be really nice.

Thanks a lot...
[Android Apps and Games] starfire:
I've got it all working now, thanks for your help.

I do actually see the OpenHome renderers on my Windows 7 PC, they appear under "Other Devices" section from the Network Computers & Devices.
[Android Apps and Games] zcs72:
Thanks, that worked. I had tried the higher settings assuming, since my Inc2 is capable of 720p that setting ( or at least the 360) would work. used 240p/128k and it streams perfectly with good quality. I should have been more thorough, sorry. the first few seconds is distorted, but then clears up. Any way to resolve this?

Thank you so much for your help. your products are outstanding. i will be buying the license for my wifes phone and donating for the server side on Windows. the more I use this, the more impressed i become with the capabilities, many options for use. Thanks again
[Android Apps and Games] bubbleguuum:
the "Add stream URL" function does not current work with URLs that are containers for other URLs (eg .m3u, .asx etc). It has to be a direct stream URL.

As a workaround you can download the .m3u, open it and use one of the listed streaming URL.
[Android Apps and Games] bubbleguuum:
Didn't notice that. Which video player app are you using ?
[Android Apps and Games] bubbleguuum:
You're right, I didn't know that.
[Android Apps and Games] Bertellio:
Thanks for your app, I use it to browse sd media files (music) from PS3 player. It is the only app that works for me. I tried skifta before, but it didn't work.

I wonder if there is any possibility to have this app working only as media server, without other features, in order to save some battery...if that make any sense, of course. I'm learning to use this app.

Thanks in advance.
[Android Apps and Games] bubbleguuum:
Other features of the app do not use the battery significantly unless you use them. If you use the app only as a Media Server, the app should kill itself if it is unused (not serving files or being browsed that is) after 15 mins of inactivity by default (you can configure this delay in Settings > Advanced Settings)
[Android Apps and Games] dez93_2000:
Hi Bubbleguuum,

A couple of quick things about volume:

1. If I change volume on the bubble app on my control point phone using the volume buttons on the phone (nexus 5x) the display on the phone jumps back & forth in an unstable way, rather than just going up or down as expected. Renderer is a Nexus S with bubble on it, plugged into speakers. I feel like this is a bug. What's the best way to report better than this? Video of behaviour plus... log files from control phone and renderer phone? This post looks similar but not sure it's relevant.

2. Volume changes with hardware keys: only works if the bubble app is in focus. I guess Upnp doesn't have a dedicated volume 'channel' like alarms / notifications / media / cast do on android? Is there any way to workaround this? I saw this post which leads me to believe maybe I could/should have a lock screen app, but not sure if these are still a thing in android 7.1.1.

Thanks!
[Android Apps and Games] khinsen:
I have massive battery problems as well. Can't say if it's the last update as I started to use BubbleUPnP seriously only in late December. If I reboot my phone and check the battery status an hour later (without having run any app and in particular not BubbleUPnP), I see BubbleUPnP as using 85% of total battery power. When I use the phone regularly, the display takes a larger share, so BubbleUPnP goes down to about 60%. Killing the app is the only way I found to solve the problem for now.
[Android Apps and Games] EPa:
About search:

any suggestions about media servers with extended search support? For example, I would like to be able to search for music using the mood tag (I tag all of my music religiously)

So far the big player JRiver and the up and coming Mezzmo don't seem to have extended search support so I have little hope for other servers out there, but who knows?

JRiver (although internally has the most extensive search system) dlna wise only searches the Title tag, and (surprisingly) Mezzmo returns results for Title and Artist.

Does anybody know of media servers with more extensive (BubbleUPnP initiated) search support I could try?

[MENTION=3373153]bubbleguuum[/MENTION] how come the "Albums by..." search option (from the now playing and playlist screens) returns no results, whereas I do get results if I search manually from the library screen? Is it some specially formatted string that BubbleUPnP sends that the server doesn't understand (like album artist=...)?
[Android Apps and Games] mahalubu:
Trying to play gapless on Teufel/Raumfeld Soundbar

Hello,

I'm an enthusiastic user of the app „BubbleUPnP/DLNA (Lizenz)“ as a control point on my Android smartphone (HTC 10) in conjunction with MinimServer and BubbleUPnP Server on my NAS (Synology DS211). That works great with some renderers (for example Denon Receiver X4200) in my network!

However, I have problems using my Teufel/Raumfeld speakers („Speaker S“ and „Soundbar“). Those speakers I basically see twice in BubbleUPnP, for example

„Büro“ and „Speaker Büro“

„Wohnzimmer“ and „Speaker Wohnzimmer“

where the names „Büro“ for my Speaker S and „Wohnzimmer“ for my Soundbar are defined in the Android Raumfeld-App belonging to the Teufel speakers. I don't see the prefix „Speaker“ in the Raumfeld-App, but only in BubbleUPnP control point as well as in server.

More important for me is the Soundbar, because it can play gapless - and besides it sounds better than the little Speaker S…

Now there are 4 possibilities with the help of BubbleUPnP-Server - but none of them works really good:

„Wohnzimmer“

=> gapless does not work (there are gaps between the tracks - by the way flac files in CD quality), but track and time control work perfect

„Speaker Wohnzimmer“

=> gapless does work, but track and time control does not work - I see no time-, not even a track-advance!

„Wohnzimmer (OpenHome)“

=> works exactly like „Wohnzimmer“ (that is: no gapless, though I have activated "gapless" in BubbleUPnP-Server while creating OpenHome)

„Speaker Wohnzimmer (OpenHome)“

=> this one was my hope, because gapless playback did function well without OpenHome, und the problems with track advance should be fixed with OpenHome...

But: most times playback doesn't work at all, there are errors or timeouts already while filling the playlist out of the library, and sometimes I have to restart BubbleUPnP on my Android.

Perhaps important: I do not get the possibility to mark „Speaker Wohnzimmer (OpenHome)“ as "gapless" in BubbleUPnP-Server - the checkbox is not active!

Some remarks:

'Settings > UPnP Tweaks > Use Eventing' is disabled in BubbleUPnP server,

'Settings > UPnP Tweaks > Enable gapless control' is enabled

With the Raumfeld-App the Soundbar does play gapless - so gapless basically works on the renderer. However the handling of the Raumfeld-App is awful especially while selecting music in the library, because it doesn't pass my (elaborated) selection tags configured in MinimServer, but uses a fix structure of data fields, which is not feasible at all, for example with Classical Music.

I hope someone can help -

thank you in Advance for your help getting my Teufel/Raumfeld Soundbar to fly with the awesome BubbleUPnP/MinimServer combination! :o

Markus
[Android Apps and Games] Mike-48:
Request: Preserve Library location on "back" key

After 4 years, BubbleUPnP is still the best such app I've found. Here is a small request.

From the Playlist screen, the Android "back" button leaves the program, and the current Library position is lost. Because the Back button is used so often in Android, this is a hard habit to break . . . many programs use it to switch screens, and I never intend to exit BubbleUPnP when I hit it.

My request is that the you make one of these changes:

"Back" button from the Playlist does nothing (disabled)

On program exit through Back, the Library position is saved

Back always returns to previous screen within BubbleUPnP, never exits the program (my preferred option)

THANK YOU for considering this change. ALSO, thank you for making BOOKLET ACCESS work with MinimServer.

Mike
[Android Apps and Games] dez93_2000:
I've seen bubble mention http://minimserver.com/ before. Problem might be with your hardware, e.g. for me, my synology NAS doesn't allow search through bubble, but I CAN search using their app (DS Audio or DS file). And then play with bubble not ideal but a potential workaround.

---------- Post added at 12:16 ---------- Previous post was at 12:09 ----------

Other options would be

- Back moves up heirarchically from Library to Playlist to Now Playing, then quits,

(and/or)

- If hitting back would cause the program to quit, add a dialog box "really quit?" Reddit Is Fun (I'm using the golden platinum premium version (stupid name) but might be the same for both) does this and it works well. Given that the user can quit by going back, hitting home, or hitting app list and either selecting another app or swipe-killing the current app, it's not like back NEEDS to close apps anyway...
[Android Apps and Games] bubbleguuum:
There is no way to do this from the command-line.
[Android Apps and Games] bubbleguuum:
[MENTION=1496529]dez93_2000[/MENTION]

1. I'm assuming you are controlling your Nexus S acting as a BubbleUPnP renderer, from another Android device running BubbleUPnP ?

In any case, "fluctuating" volume is unusual. You can if you wish send me a log file of this behaviour, recorded on the controlling device. See first post of this topic for logging instructions.

2. working hardware volume keys to control renderer volume when BubbleUPnP is in the background only works with the local renderer and Chromecast renderers. Making it work with UPnP/DLNA renderers would be technically possible but is not trivial. No plan for it currently.
[Android Apps and Games] dez93_2000:
1. Cheers dude, will do. Currently working fine, as is always the way when you want a bug to be reproduced!

2. Fair enough. Would be awesome if it could make it onto the 'To do someday' list, even if it's at the back!

Thanks as always for your excellent work.
[Android Apps and Games] bubbleguuum:
[MENTION=3865911]khinsen[/MENTION]

There are a few usage scenario that prevents 'Settings > Control > Kill on inactivity' to kick-in, thus leading to battery usage:

1. disconnecting a headset or a bluetooth audio output (leaving the app in a Paused state)

2. a networking change while BubbleUPnP is running and an external renderer is playing (for example going from a WiFi to a mobile data connection)

3. manually pausing playback and leaving it paused

1. and 2. are bugs and will be fixed in the next update.

Can you tell if you were in one of these scenario when you observed high battery usage ?