yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] bubbleguuum:
By the way you are using OpenJDK instead of the Oracle JRE which is usually recommended if available.

I believe it would work out of the box with the Oracle JRE although it can probably be made to work with the OpenJDK with a small tweak.
[Android Apps and Games] speedle26:
bubbleupnpserver.sh:

#!/bin/sh
# Start and stop BubbleUPnP Server.

DEFAULTFILE=/etc/default/bubbleupnpserver
COMMAND=/usr/share/bubbleupnpserver/launch.sh

if [ -f "$DEFAULTFILE" ]; then
. "$DEFAULTFILE"
else
USER=root
DATADIR=/root/.bubbleupnpserver
HTTP_PORT=58050
HTTPS_PORT=58051
fi

# Make sure daemon is started with system locale
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG
fi

OPTS="-dataDir ${DATADIR} -httpPort ${HTTP_PORT} -httpsPort ${HTTPS_PORT} -nologstdout"

#exec su -s /bin/sh -c 'exec "$0" "$@"' ${USER} -- ${COMMAND} ${OPTS}
exec ${COMMAND} ${OPTS}

launch.sh:

#!/bin/sh

HOMEDIR="$(dirname ${0})"
cd ${HOMEDIR}

if [ "x$JAVA_HOME" != "x" ]; then
JAVA="$JAVA_HOME/bin/java"
else
JAVA="java"
fi

# to make sure ffmpeg is found and used if present in start directory
export PATH=.:${PATH}

# -Xss256k: thread stack size. 256K reduces per-thread memory usage and may prevent "java.lang.OutOfMemoryError: unable to create new native thread" on some systems
# -Djava.awt.headless=true: required for image transcoding to work on headless systems (eg no X-Window libraries)

exec "${JAVA}" -Xss256k -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dfile.encoding="UTF-8" -jar BubbleUPnPServer.jar $*
[Android Apps and Games] bubbleguuum:
Thanks. It looks like a bug in recent headless OpenJDK package (jre7-openjdk-headless).

Try to install the non-headless OpenJDK, whose package name should be jre7-openjdk.
[Android Apps and Games] speedle26:
Thanks. I already have jre7-openjdk 7.u40_2.4.1-2 installed. Maybe I'll try having bubbleupnpserver run on my Raspberry Pi instead of on my Arch box.

---------- Post added at 10:23 AM ---------- Previous post was at 10:13 AM ----------

Actually - I've found it runs fine when I run launch.sh directly. Any ideas on why that might be?
[Android Apps and Games] ChJ65:
Fine. I however get unmanaged mime-type octet-stream... so bubbleupnp cannot play.
[Android Apps and Games] bubbleguuum:
What filemanager app did you use ?

forgot that you can also load m3u playlists browsing the "Filesystem" folder of the local media server but this requires the license.
[Android Apps and Games] bubbleguuum:
Maybe it works only if Xorg is up and running which migth not be the case at boot time ?
[Android Apps and Games] ChJ65:
Your suggestion, es file explorer 3.0.5.1.
[Android Apps and Games] bubbleguuum:
Weird, it works properly here with a .m3u file.

Can you send me your playlist file (bubbleguuum at free.fr) ?
[Android Apps and Games] sofakng:
First off, thanks for this AMAZING app... (and server software)

I've been reading the specifications for UPnP (because I'm curious and a software developer) but I'm a little confused on something...

When I use BubbleUPnP and select [Info] on my Media Servers, it displays a list of audio and video formats. What does this mean and why is it listed at the server level?

If I understand correctly, each Content Item has a media type (i.e. the codec/container), but why does the Media Server list supported formats at the server level?
[Android Apps and Games] speedle26:
My box is headless - so no Xorg :(
[Android Apps and Games] Fieperskaivu:
I was using 1.72, after seeing your comment I upgraded to 1.90, but so far I'm having the same result. I'll send you my log now, thanks for taking a look.
[Android Apps and Games] bubbleguuum:
The list of supported format by the Media Server is not used by BubbleUPnP. It is just displayed in the Info dialog as an indication to what the Media Server claim to support. It is much less important than the same list for a renderer which determine what it can play.
[Android Apps and Games] ChJ65:
I should have mentioned that the m3u file resided on a cloud mounted directory... which I now am informed is not supported.
[Android Apps and Games] jontp2:
windows pc as a renderer

Hi all, firstly allow me to say I am hugely impressed with bubble upnp and use it on my home network controlling music around the house and yes it streams no problem to my lg tv.

What I can't figure though is how to get my various pc's around the house and office to be recognised as media renderers.

I have tried with and with windows media player as well as media center but bubble doesn't see them.

It does see them as a libraries as soon as they are turned on but I can't stream to them.

Hopefully someone can offer some advice.

Many thanks.

Jon
[Android Apps and Games] arteu:
Is there a way to activate replay gain on the Android BubbleUPnP app? If not, can it please be added?

WMP has settings to enable it as a renderer, but you have to change your advanced sharing settings to make it work IIRC. WMP is too big a program to leave running all the time IMO. I usually set up foobar (w/ fooupnp plug-in) to run minimized on startup on computers I want to stream to.
[Android Apps and Games] pdf1964:
Hi,

I am running this beta. My server is a Synology NAS running MinimServer and BubbleUPnP server. I have had issues with tracks randomly stopping at the end of the current song and not advancing to the next track in the playlist. This occurs with both the standard and proxy versions of the server. Unchecking "Use Eventing" appears to stop this behavior, but then I have an issue with tracks repeating. I currently have "Renderer polling interval" set to 5000 at your earlier suggestion to stop the track repeating. I have now set this to the max of 10000 to see if that makes a difference and have logging enabled and have the Playlist in a repeat loop. If/when the tracks stop playing again I will send you the log file.

I love the UI enhancements of the beta version. The transparency is a really slick look and I really like what you have done with touch options for the album art on the "Now Playing" screen.

Thanks for everything. You have a fantastic app!

Paul
[Android Apps and Games] pdf1964:
I emailed you the log file. It went for well over 2 hours before it stopped playing this time.
[Android Apps and Games] bubbleguuum:
The problem still seems to be the same but happens after a longer time due to reduced polling: at some point the renderer does not respond to http requests anymore thus become uncontrollable.

By enabling eventing and setting polling to 10s, you reduced polling to the minimum, that's why the problem now happens a lot later.

When controlled gaplessly, a repeating track is a symptom of a renderer not responding for a time. This mess up gapless track advance and start again from the current track when current track finishes. I'll see if I can workaround it to play next track but it is a bit tricky.

It would be great you report to the manufacturer the fact that the renderer becomes unresponsive after too many http requests triggered by constant polling. This is a real problem.

You should report also another issue when eventing is enabled that is unrelated to the polling problem and has no consequence on track advance. The renderer sends invalid (unparsable) XML;

Manufacturer: Electrocompaniet
Model Description: EC streaming module
Model Name: EC-ASM1
Model Number: 1.0
bad XML: <Event xmlns="urn:schemas-upnp-org:metadata-1-0/AVT/">
<InstanceID val="0">
<NextAVTransportURI val="http://192.168.2.134:58050/stream/audio/2f37fe5d6f4e84b871295e1fa7ade5f6.wav"/>
<NextAVTransportURIMetaData val="<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:sec="http://www.sec.co.kr/"><item id="0$Artist$22$0$11" parentID="0$Artist$22$0" restricted="1"><upnp:class>object.item.audioItem.musicTrack</upnp:class><dc:title>Space and Time</dc:title><dc:creator>Big Daddy Love</dc:creator><upnp:artist>Big Daddy Love</upnp:artist><upnp:albumArtURI>http://192.168.2.134:58050/stream/image/506b0d89b659690ac82a1a206449aa3e</upnp:albumArtURI><upnp:genre>Country</upnp:genre><upnp:album>To The Mountain</upnp:album><upnp:originalTrackNumber>12</upnp:originalTrackNumber><dc:date>2010-01-01</dc:date><res protocolInfo="http-get:*:audio/x-wav:*" bitsPerSample="24" bitrate="264600" sampleFrequency="44100" nrAudioChannels="2" size="12993668" duration="0:00:49.000">http://192.168.2.134:58050/stream/audio/2f37fe5d6f4e84b871295e1fa7ade5f6.wav</res></item></DIDL-Lite>"/>
</InstanceID>
</Event>
[Android Apps and Games] bubbleguuum:
here's video showing initial Chromecast support:

https://plus.google.com/115387584836830082266/posts/5EJxY36ymvr
[Android Apps and Games] pdf1964:
I will report to the manufacturer. My Electrocompaniet dealer has already sent them some info I shared about this. I will forward your more detailed explanation as well. One point of clarification, are you saying the playback stopping completely and not advancing to the next track AND the repeating track issue both have the same root cause?

As always, thank you for your help!

Paul
[Android Apps and Games] pinkwoolsun:
I have the same problem. I queue up 50 mp3 tracks and set it to play to windows media player. But after playing a few tracks it stops advancing to the next. And getting transition code 701 if i click on a track to play.:confused:
[Android Apps and Games] Snowknight26:
Galaxy Nexus running Android 4.3.

I think I noticed it when on T-Mobile's network but it's still present when on Wi-Fi. Media was from foo_upnp and BubbleUPnP Server.

Issue:

Compared to:

I can't reproduce it now either. Gah.
[Android Apps and Games] hajkan:
Hi

Can you provide a direct apk download link for those who do not have play account?

thanks
[Android Apps and Games] bubbleguuum:
Thanks.

It is the 4x2 widget truncated to 4x1, no wonder some part is missing =).

See screenshot on how it should appear (minus the stop button than I just added recently).

What happens if you remove the 4x2 widget and readd it, does it still appear truncated ?
[Android Apps and Games] bubbleguuum:
Yes, the same cause: renderer failing to handle http requests, if only temporarily.
[Android Apps and Games] Dreamweaver:
I have a problem with browsing files in local LAN with the latest beta.

It works with the BubbleUPnP-Server but not with the local media renderer (Synology Disk Station).

Catlog: https://www.dropbox.com/s/ct98wcvxu74ospp/2013-08-05-09-03-25.txt

Edit: I use XPrivacy but I can also disable it and the problem occurs....
[Android Apps and Games] bubbleguuum:
I doubt it is a problem in BubbleUPnP since the NAS returns a http internal error.

Can you try to reboot it to see if the problem goes away ?
[Android Apps and Games] Dreamweaver:
Hi Bubbleguuum,

thanks. I restarted the whole NAS - maybe it is enouth to restart the DLNA Package. Will try it next time.

Thanks - next time I will check it before I post :o

I really like swiping the volume. Thanks again!

---------- Post added at 10:41 AM ---------- Previous post was at 10:37 AM ----------

One small thing: I can swipe the volume but if I am in an outer area it shows me the information about the file - maybe it is better to use a specific screen-corner for this information because it happens so many times that I want to swipe the volume and get the file-Info. Or maybe double-tap?
[Android Apps and Games] bubbleguuum:
Agreed, something must be done here.

In the meantime, to avoid this you can disable cover tap action in Settings > Now Playing > Tap cover action.
[Android Apps and Games] neutro_b:
Long shot feature request

Hi and thank you for making this app. It's pretty much perfect in my opinion.

Here's a long shot feature request. I mainly use the app as a control point to push content from a media server to a media renderer. The media renderer is an Onkyo AVR. Annoyingly, this AVR doesn't wake itself from standby upon receiving a stream. I must either turn it on manually or use the awful Onkyo app to send the appropriate wake-up command.

It would be awesome if I could turn the AVR on from within BubbleUPnP. I guess there is either no UPnP standard for turning on a remote media renderer, or the Onkyo AVR doesn't follow existing standards if they exists. One way to achieve what I propose would be an option to send a custom command to the renderer. It would be the user's responsibility to find the appropriate code of course. But once set up, you could turn on/off the media renderer from within the app.
[Android Apps and Games] Snowknight26:
Ah, you're right. Not sure why I resized the 4x2 one to 4x1. Either way, it's fine now.

Out of curiosity though, is removing a widget supposed to start the BubbleUPnP service (I saw: "Warning: logging is enabled" when I removed it)?
[Android Apps and Games] pdf1964:
I have opened a case yesterday with Electrocompaniet. Doesn't look like anyone picked it up yet. Not sure where their support is located but I would guess Norway. Will let you know what I hear.

Thanks,

Paul
[Android Apps and Games] twochannel:
Great to see this! Thanks for the preview, I'm glad you were able to get your hands on a Chromecast sooner than later. Can't wait for the updates to the app and server.

Thanks,
[Android Apps and Games] nimmzwei:
Hi Bubbleguuum,

just wanted to give this a quick bump, as it seems, I posted this during your vaccation time:

I'm running Bubbleupnp on a Nexus Q and there is only one feature I'm really missing atm: Any way to refresh / rebuild the GoogleMusic database on the Q remotely. Perhaps an option to auto-refresh at start-up would be possible?

Thank you for this great app. BTW just watched your video on your work with the Chromecast and it looks amazing!

Cheers

nimmzwei
[Android Apps and Games] bubbleguuum:
That's not that easy...it may use Wake on LAN or some custom UPnP action.

can you go n the device tab, long click on renderer, select info, open the description XML URL in a web browser and post the content ?
[Android Apps and Games] bubbleguuum:
The app receive a notification that that the widget is removed, thus is started.

It is not normal startup though as it doesn't start any UI nor the background UPnP service.
[Android Apps and Games] bubbleguuum:
No promise about that as it is really a corner case and require quite a bit of change.
[Android Apps and Games] nimmzwei:
Thanks for your fast reply. Yeah, the Q is indeed a bit on the corner side of things :D Totally understand your point there. Would just have been

the icing on the cake. It's just great that the Q is usable again thanks to CM and your great app.
[Android Apps and Games] bubbleguuum:
The device XML is interesting with this line

<microsoft:X_magicPacketSendSupported xmlns:microsoft="urn:schemas-microsoft-com:WMPNSS-1-0">1</microsoft:X_magicPacketSendSupported>

It is a way to tell that this renderer support WOL (Wake on LAN).

Can you try any WOL app and confirm that sending a WOL packet wake your Onkyo ?

I may add support for it, epecially since I've found WMP supports it (I guess with a WOL capable network adpater).
[Android Apps and Games] neutro_b:
It would be awesome. I'll try it as soon as I can and report back. I guess support for WOL makes sense anyway.
[Android Apps and Games] bubbleguuum:
v1.7.0 final is available in Google Play.

Thanks to everyone that submitted feedback / bug reports on the beta!

Changed from 1.7.0p2:

added Settings > About/Help > Follow on Google+

added Google Drive "Shared with me" folder

fixed hang when playing to OpenHome renderer

fixed issues with Devices > Menu > Disable discovery

added stop button to rich notification and 4x2 widget

added "Show fullscreen cover" action (long-click on cover > Show fullscreen cover)

fixed bogus swipe sensitivity, in particular for swiping volume on Now Playing cover

fixed a nasty crash
[Android Apps and Games] jhuff83:
I have everything setup but the app will not allow me to see all my files. It will not show any .mkv files at all. I bought the license as well thinking that was the issue but it was not. Alot of the files will not play either.
[Android Apps and Games] sensboston:
Hi, thanks for the great application!

I do have Google Nexus 7 (2013, JB 4.3) and Panasonic VIERA TC-L55E50.

App works fine with local pictures taken by Nexus camera but failed to show pics located on the SkyDrive/DropBox (taken by Lumia 920 phone) on TV, VIERA shows error message "Invalid picture" (or "Invalid file", can't remember exactly). However in the app I can see pics thumbnails (it means app got a correct access to the cloud storage).

Will do more experiments today: will copy some pics to the local Nexus storage and try to view 'em on TV.

P.S. I can view these pics (photos taken by Lumia) on TV by using Nokia's "PlayTo" app for the Windows Phone, without any problem.

[UPDATE] Pictures from SkyDrive, downloaded locally, shows well on VIERA renderer. mp4 stream play well directly from SkyDrive.
[Android Apps and Games] sordna:
chromecast for gallery / slideshow

This is great, will we be able to use BubbleUPnP to view our photos via ChromeCast by swiping them and/or play them in a slideshow ?
[Android Apps and Games] classical11:
Now Playing screen improvement suggestions

Hi,

Thanks very much for this great application! I use BubbleUPnP in conjunction with MinimServer for classical music and it is working very well.

I am using the Galaxy Note 10.1 as the control point.

Regarding the Now Playing screen, I appreciate the changes you have made in the last version. However I have a few requests:

1. Show Album name on multiple lines if necessary to fit on the screen, similar to the way Title is shown.

This is important for me because I configured MinimServer to split the actual album into works. So in this case the Album name holds the Work name, which is even more important to me than the actual title (which holds the name of the movement).

2. Show Genre on the Now Playing screen

This would be very useful because I have configured MinimServer to send additional info in the Genre tag such as subgenre (i.e. chamber, orchestral, etc) and instrument, which would be nice to see on the Now Playing screen.

3. Nicer formatting of the Metadata

I find this particular feature extremely useful - especially your last change that allows users to get to it with a single touch on the cover! It would be nice though if it was a bit easier to read: e.g. displaying the information in a table and inserting some small gaps between tags. It would also be useful to show multi-tag values on different lines. (At least for large tablet screens where space is not an issue)

4. Be able to configure the order and font size of tags to be shown on the Now Playing screen

This would be a nice to have but not essential. The reason I'm asking is that for classical music the work name and composer are more important than the title and artist, so I prefer a different order: Album, Composer, Title, Artist, Genre (rather than Artist, Album, Title, Composer as it is now). It would also be nice to display the Album tag in a larger font than the Title.

Thanks again for all your hard work on making this application the best control point out there! Finally listening to classical music in digital form is actually a pleasure!
[Android Apps and Games] bubbleguuum:
Send me a log file sending Skydrive / Dropbox images to your TV (see first post of this topic for instruction)
[Android Apps and Games] bubbleguuum:
At some point yes, but the initial focus will be on audio / video.
[Android Apps and Games] bubbleguuum:
What media server store your MKV and to which renderer do you want to play MKV ?
[Android Apps and Games] ckraus000:
problems with 1.7.

Since update 1.7 i got problems with playback from Google Music when playing on my Sony bravia TV

Action SETAVTransportURI failed (code: 714), before the update it worked perfectly
[Android Apps and Games] bubbleguuum:
To check if this is not just an intermittent Google Music failure, can you install v1.6.11.1 (download) and check if it works ?

If it works with this version, send me 2 log files: one with 1.6.11.1 and one with 1.7.0 playing the same Google Music track to your TV (see first post of this topic for logging instructions)
[Android Apps and Games] ckraus000:
With 1.6.11.1it again works perfectly
[Android Apps and Games] bubbleguuum:
Ok, can you send me 2 log files as mentionned in the previous post, so I can compare ?
[Android Apps and Games] ckraus000:
ok. but i used 1.6.7 instead of 1.6.11.1 and it works also, hope it doesn't matter

p.s. send per email
[Android Apps and Games] superadz01:
bravia failure with you tube

Hello, latest update on xperia z tablet and nexus causes action 501 error when using you tube on a sony bravia kdl 40ex520. Rollback to 1.6.11 as above removes error.
[Android Apps and Games] bubbleguuum:
There seem to be a regression with Sony renderers and proxying. I'm looking into it.
[Android Apps and Games] superadz01:
Much appreciated. Love the app by the way. Scuppered without it :good:
[Android Apps and Games] jhuff83:
I just have the files on my windows 7 machine. Do I need something else special to play the files? I have MX player on the Nexus 7 tablet and the bubbleupnp server running on the machine w/the files.
[Android Apps and Games] bubbleguuum:
WMP doesn't manage MKV at all. Install Serviio and it should be fine playing to MX Player.

BubbleUPNP Server does not replace a media server like Serviio. You probably do not need it unless you want to access your media over the Internet.
[Android Apps and Games] cephario:
Google Music

I dunno but there seems to be an issue in the current version with Google Music playback.

My setup is using my LG TV as rendering device and Google Music as source. tracks get cut off at some point.
[Android Apps and Games] tommi.a:
Inactivity Timer doesn't kill BubbeUPnP

Hi,

first I want to say thank you for a really wonderful app!

But now to my problem:

I use BubbleUPnP as renderer and server for GoogleMusic on a Galaxy S with CM10.1 connected to my stereo.

Configuration is OpenHomeRenderer and inactivity timer is set to 30min.

Usually I control the renderer from a tablet where I configure the server to play album x. Then I close the controller on the tablet with Menu->Exit.

The server/renderer on the Galaxy S nicely plays the album and after the album ended I usually forget to Menu->Exit on the Galaxy S. On next day battery is quite low and what I see is that BubbleUPnP is still active though it should have been cancelled 30min after the abum ended on the day before.

Phone is in this situation not connected to charger and it's screen is off.

I'm aware that similar questions were already asked from time to time on this forum but sorry, the answers didn't really help me because I think in the described situation the inactivity timer should kill the app.

Thanks
[Android Apps and Games] 89mclarenstang:
google music

is there a way to remove all the google music from the apps database and start from scratch? i keep doing a sync and it doesnt seem to be updating my last added playlist. also the number of tracks shown in the settings menu is not the same as the number shown of the music website...i figured i would try resyncing from scratch but even after unchecking google music and restarting the app and turning it back on it still shows the same amount of tracks and my last added playlist is not changing.

thanks
[Android Apps and Games] bubbleguuum:
I vaguely remember someone reporting a similar problem months ago with a LG TV that would stop playing mid track for no reason.

There was no explanation since the app log didn't show any error. Maybe try to reboot the TV.
[Android Apps and Games] bubbleguuum:
I'll look into it.
[Android Apps and Games] bubbleguuum:
You can clear the app's data in Android settings and remove the BubbleUnP/cache/gmusic folder with any file manager