yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] wewen:
Maybe it's just me getting servioo profiles wrong. When I'm trancoding with servioo it doesn't get good. Seems like if you want to pass subtitles in servioo you have to enable transcoding. Or am I doing someting wrong?
[Android Apps and Games] boboz123:
Multiple Renderers

Hi Guys,

First of all fantastic app - has been a real joy using it thus far. Secondly if this has been answered before I apologise….

I have been using Bubbleupnp with the Ariic Airmusic, it works fantastically and with the Xposed module I can listen to Spotify with perfect clarity.

As this has been working so well I am considering purchasing a second Airmusic so that I can listen to the same playback from my phone to two (or possibly more in the future) renderers in different rooms of the house.

Is this possible and if so will the audio being played be synced correctly?

If not possible is there a way to do this?

Many thanks in advance
[Android Apps and Games] bubbleguuum:
Audio Cast only supports playing to 1 device at a time. Even if it was possible to play to more than 1 device, they would not play in sync.
[Android Apps and Games] ech68:
Another UPnP server problem

So I've reported (or at least posted on an XBMC forum) this issue - that it's clear their UPnP server isn't quite up to snuff, at least not wrt XBMC plugins, but I've now found that while I can serve up the same Apple Trailers content via a Plex Media Server Channel through UPnP, to an XBMC client or a WDLXTV device, if I use BubbleUPnP and try to get it to play on the ChromeCast, it fails with a different error in the server logs:

[qtp120171709-62 ] INFO - 19:01:50.898 - k : Content-Type: video/mp4
[qtp120171709-62 ] INFO - 19:01:51.249 - k : ffprobe process started, timeout: 30000 ms: ffprobe -show_format -show_streams -seekable 1 h**p://192.168.1.13:32469/object/4cf573de2b6a7f2c56ba/file.mov
[qtp120171709-62 ] WARNING - 19:01:51.559 - k : ffprobe error exit code=1
[qtp120171709-62 ] WARNING - 19:01:51.560 - k : ffmpeg output:

ffprobe version N-61445-gdded5ed Copyright (c) 2007-2014 the FFmpeg developers
built on Mar 14 2014 05:12:40 with gcc 4.6 (Debian 4.6.3-1)
configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32 --extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static' --extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx
libavutil 52. 66.101 / 52. 66.101
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 34.101 / 55. 34.101
libavdevice 55. 11.100 / 55. 11.100
libavfilter 4. 3.100 / 4. 3.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
h**p://192.168.1.13:32469/object/4cf573de2b6a7f2c56ba/file.mov: Invalid data found when processing input

[qtp120171709-62 ] WARNING - 19:01:51.561 - e : ffprobe or ffmpeg failed, redirecting as fallback: h**p://192.168.1.13:32469/object/4cf573de2b6a7f2c56ba/file.mov: java.io.IOException: ffprobe error exit code=1
[qtp120171709-62 ] INFO - 19:01:51.562 - e : redirecting to h**p://192.168.1.13:32469/object/4cf573de2b6a7f2c56ba/file.mov

... so it looks like ffprobe is choking on it. Any suggestions or workarounds?

Thanks,

-ech
[Android Apps and Games] bubbleguuum:
I tried ffprobe (on Windows) on a random iTunes movie trailer URL served by Plex, and it worked.

Can you tell me what trailer extactly gave you this error ?
[Android Apps and Games] muesli79:
Ok, I will have a look. Thanks for your reply (and your great app)!
[Android Apps and Games] ech68:
All trailers I've tried have failed - but I'm using bubbleupnp server on linux, using the ffmpeg/ffprobe binaries mentioned in your server faq, dropped into the /opt/bubbleserver directory, and they show as the ones being used in the server logs.

The one I just tried is "Joe", the trailer, found by navigating Apple Movie Trailers/Just Added/Joe.

EDIT: I just tested using the latest BubbleUPnP server on windows and have the same failure errors there as well. I'm using Plex version 0.9.9.7 on linux, and the Plex Channel is "Apple Movie Trailers".
[Android Apps and Games] ermacwins:
Yes you're right but why is ut hidden? Can you make it show by default or an option to? Also the timer on right doesnt count down like it does within the app. Is this a restriction of the widget?
[Android Apps and Games] bubbleguuum:
This feature was added in KitKat lockscreen music controls. It is part of Android and cannot be changed.
[Android Apps and Games] bubbleguuum:
It worked for me on Joe.

provdided you did not restart Plex in-between (otherwise replace the URL below by the failing URL in the log file), what is the output of:

wget -S --spider http://192.168.1.13:32469/object/4cf573de2b6a7f2c56ba/file.mov
[Android Apps and Games] ech68:
Spider mode enabled. Check if remote file exists.
--2014-04-02 13:58:23-- http://192.168.1.13:32469/object/4cf573de2b6a7f2c56ba/file.mov
Connecting to 192.168.1.13:32469... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Content-Length: 174263723
Content-Type: video/mp4
Date: Wed, 02 Apr 2014 17:58:24 GMT
Cache-Control: max-age=3544
Accept-Ranges: bytes
Connection: close
Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.11
Length: 174263723 (166M) [video/mp4]
Remote file exists.
[Android Apps and Games] bubbleguuum:
It's alright.

And if you execute ffprobe in the server's directory ? :

./ffprobe -show_format -show_streams -seekable 1 http://192.168.1.13:32469/object/4cf573de2b6a7f2c56ba/file.mov
[Android Apps and Games] ech68:
# ./ffprobe -show_format -show_streams -seekable 1 http://192.168.1.13:32469/object/4cf573de2b6a7f2c56ba/file.mov
ffprobe version N-61445-gdded5ed Copyright (c) 2007-2014 the FFmpeg developers
built on Mar 14 2014 05:12:40 with gcc 4.6 (Debian 4.6.3-1)
configuration: --prefix=/root/ffmpeg-static/32bit --arch=x86_32 --extra-cflags='-m32 -I/root/ffmpeg-static/32bit/include -static' --extra-ldflags='-m32 -L/root/ffmpeg-static/32bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared --disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype --enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx
libavutil 52. 66.101 / 52. 66.101
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 34.101 / 55. 34.101
libavdevice 55. 11.100 / 55. 11.100
libavfilter 4. 3.100 / 4. 3.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
http://192.168.1.13:32469/object/4cf573de2b6a7f2c56ba/file.mov: Invalid data found when processing input

Looks like the ffprobe binary isn't so good... as when I replace ./fbrobe with /bin/ffprobe that comes as part of an rpm w/o my distro (or another repo), I get valid output.

Actually, it appears to be intermittent - sometimes the file is there (via wget -spider) and then next time it's gone (zero length) and I get the invalid data error, so it's probably not an ffprobe problem.
[Android Apps and Games] bubbleguuum:
Weird. I had no issue with the server's ffprobe (on Ubuntu).

What happens if you remove the -seekable 1 option ?
[Android Apps and Games] ech68:
It's still flaky - sometimes OK, sometimes fails. I'm getting the same behavior (again) using a windows version of the plex media server with the same trailers plugin/channel.
[Android Apps and Games] BuffMcBigHuge:
Hey Bubble,

It seems there is a further issue that is more important than online connectivity.

I am unable to play any type of video file from a local UPNP server (in my case, Universal Media Server or UMS). I can play the videos fine if my renderer is local, (HTC One & MX Player). If I set my renderer to Chromecast, I can see in my UMS on the PC that the video becomes active, but then stops. On my Chromecast screen, I see that the video attempts to start, but then stops, and shows the BubbleUPNP logo.

Is it because the Bubble Server and Universal Media Server are on the same PC? Or should that matter? I do understand that UMS also transcodes the files... but I turned off that option, and attempted to forward unencoded files... but with the same result.

Screen recording of the issue:

https://dl.dropboxusercontent.com/u/3168310/SCR_20140402_155522.mp4

1) I play the video fine in my Local Renderer.

2) The video simply does not play on the Chromecast, from the same Media Server. Pressing play does nothing, and it simply shows the Bubble logo.
[Android Apps and Games] ech68:
I've noticed that if I wait a while and do the same query again, then the first time, I get a valid response from the server and ffprobe succeeds, however if I try again immediately (or constantly keep trying the same command every second in a loop) the command fails. It seems the PMS server is doing something to keep from being queried about the same content too often.

This probably doesn't impact other servers as they just get the url and show it once, but running ffprobe first tickles this misbehavior. Maybe you've tuned your Plex Media Server (or it's older than the current one)?
[Android Apps and Games] bubbleguuum:
You are right. II can reproduce the problem now. First ffprobe works and subsequent ones fail for some time until it works again once, then repeat...

It is not even specific to ffprobe: playing to MX Player shows the same behaviour: first play works, subsequent play immediately after the first one fails with "cant'play this video".

It can even be shown making 2 http requests in sequence:

$ wget -S --spider http://192.168.42.29:32469/object/7de789a8f6a0ccd7e56d/file.mov
Spider mode enabled. Check if remote file exists.
--2014-04-02 22:06:50-- http://192.168.42.29:32469/object/7de789a8f6a0ccd7e56d/file.mov
Connecting to 192.168.42.29:32469... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Content-Length: 179865978
Content-Type: video/mp4
Date: Wed, 02 Apr 2014 20:06:52 GMT
Cache-Control: max-age=3405
Accept-Ranges: bytes
Connection: close
Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.11
Length: 179865978 (172M) [video/mp4]
Remote file exists.

$ wget -S --spider http://192.168.42.29:32469/object/7de789a8f6a0ccd7e56d/file.mov
Spider mode enabled. Check if remote file exists.
--2014-04-02 22:06:57-- http://192.168.42.29:32469/object/7de789a8f6a0ccd7e56d/file.mov
Connecting to 192.168.42.29:32469... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Content-Type: video/mp4
Date: Wed, 02 Apr 2014 20:06:57 GMT
Cache-Control: max-age=75
Accept-Ranges: bytes
Content-Length: 0
Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.11
Length: 0 [video/mp4]
Remote file exists.

Notice how the response differs and it returns Content-Length: 0 for the second response.

So something is acting funny on the Plex side. This should probably be reported to Plex as I doubt this is intended.
[Android Apps and Games] rasmuspekar:
It works now!!! THANK YOU SO MUCH =)
[Android Apps and Games] ech68:
Looking a little closer - I can even get similar behavior if I try to use the plex web client to play a video, stop it and play it again right away - I get redirected to the webpage for the trailers. So there seems to be something of a throttling mechanism getting triggered here. Not exactly sure how the plugin itself avoids it (maybe local caching?).

I notice that I _can_ repeatedly run ffprobe against the offending url if I sleep 31 seconds between each attempt. I was hoping to put in a hack - a shell script ffprobe wrapper to sleep 31 seconds and then execute the real ffprobe binary - but can't really test that this would work because bubbleupnp server will only wait 30s before force-quitting ffprobe. Any chance that ffprobe timeout could be made a config option?

Of course I'm starting to come to the conclusion that this particular plugin and/or its backend is not so terribly friendly now.
[Android Apps and Games] Yoshi8765:
bubbleguuum, I'm still having this issue. Just a reminder.
[Android Apps and Games] myoo-at-xda:
transcoding for all ?

Hi. I'm using miniDLNA und BubbleServer on SuSE-Linux and can stream some video-clips, music and pictures to my Samsung-TV with my android device. That works fine. BubbleUPnP supports transcoding for cromecast by now to get things running which are not supported natively. Is it possible to get the transcode running for streaming to other devices too ? As far as i figured out, i can only transcode media to my local (android) renderer. Would be great to stream all unsupported media to my TV with transcode on-the-fly too.
[Android Apps and Games] mkdr:
What is the default user/password?? Ive installed the server on ubuntu and cant login first time on 58050, because it wants a login I never setup yet. The install page also doesnt say anything about a default username, you should change that.
[Android Apps and Games] bubbleguuum:
It shouldn't ask for a login/password if you use the LAN ip address of the server to connect (eg 192.168.x.x).
[Android Apps and Games] bubbleguuum:
Difficult to help you here. Is it a foobar2000 playlist that you are loading or a playlist from another Media Server ?

It it on the LAN or over the Internet ? etc...
[Android Apps and Games] bubbleguuum:
Can you report the problem to Plex ? because only them can fix it as there is no reason for repeated requests on these URLs to not work.
[Android Apps and Games] mkdr:
It does. I am tunneling through ssh, so there seems to be a bug, that it thinks I am a WAN user. The tunnel is just bound locally to 127.0.0.1:58050. The default login was Admin Admin btw, with big letters, I had to google that. Please put it on your page. Also the config web frame has still some bugs, it seems not saving everything, you have to for example hit enter, then change something, and press apply. For example if you change the dns, and password and press apply, it doesnt save both. Also the checkboxes seem to save by changing them? You should say that or add a global apply button doing every change. You should add a command line way of setting a user/password. Can I just edit the cofig xml with a htpasswd encryption? Also the server is running as root/config files under /root, why? Also, why isnt there a way to deactivate the http and just use https, why do both have to be enabled?

Can the bubbleupnpserver btw also share media by itself? I dont mean the clients on android devices. If not, why? Or how do I do that? I dont see an option for it. I dont mean sharing other upnp servers, I just mean it act as a standalone server itself.
[Android Apps and Games] Yoshi8765:
I'm running fb2k on a laptop at home that has the bubbleupnp server on.

I'm trying to access a playlist on that fb2k program (at home) on a fb2k in school using upnp. So it's over the internet.

I can see all the playlists fine, so I doubt it's a connection problem. As I said, all the other playlists that I try to access come up fine.

This is the view from the school computer. I've loaded up the playlist "Untitled" by clicking on it: http://puu.sh/7UCKe.png

I've tried the same thing with the playlist "library" which is the one I'm having issues with....

Interestingly enough, when I tested it out just now to make a screenshot, it actually worked.... I guess it was just a one-time problem...

http://puu.sh/7UCXY.png
[Android Apps and Games] acamposxp:
GDrive xml subtitles in mp4

There is a project in progress towards the BubbleUpnp support the srt subtitles (converted to xml) that are manually added to the Stream (mp4 and avi) on Google Drive (through the subtitle tracks Manager)?
[Android Apps and Games] eyeconic:
Fedora issues

Hi guys:

I purchased the Android app and would love to get the server up and running. I have an vanilla i5 running Fedora 20.

I tried the older version RPM and it does not detect any media servers. I'm a tad dysfunctional with media but assumed that it would identify both the plex and rygel servers that are running on the machine. The status page is all blanks as well - including "Network" and "Status." I did RTFM. With respect to v 8.2:

[dch@acer BubbleUPnPServer-0.8.2]$ ./launch.sh

Apr 03, 2014 11:41:43 PM com.bubblesoft.bubbleupnpserver.server.Main initDataDir

INFO: data directory: /home/dch/Downloads/BubbleUPnPServer-0.8.2

Apr 03, 2014 11:41:43 PM com.bubblesoft.bubbleupnpserver.server.Main run

INFO: starting BubbleUPnP Server 0.8.2...

Apr 03, 2014 11:41:43 PM com.bubblesoft.bubbleupnpserver.server.Options load

INFO: loaded configuration file: /home/dch/Downloads/BubbleUPnPServer-0.8.2/configuration.xml

logging to file enabled

[main ] INFO - 19:00:00.05 - Main : starting BubbleUPnP Server 0.8.2...

[main ] INFO - 19:00:00.09 - Main : java.home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.5.1.fc20.x86_64/jre

[main ] INFO - 19:00:00.10 - Main : java.version: 1.7.0_51

[main ] INFO - 19:00:00.10 - Main : file.encoding: UTF-8

[main ] INFO - 19:00:00.11 - Main : default charset: UTF-8

[main ] INFO - 19:00:00.406 - UpnpServiceImpl : >>> Starting UPnP service...

[main ] INFO - 19:00:00.407 - UpnpServiceImpl : Using configuration: com.bubblesoft.bubbleupnpserver.server.Main$a

[main ] INFO - 19:00:00.424 - RouterImpl : Creating Router: org.fourthline.cling.transport.RouterImpl

[main ] WARNING - 19:00:00.431 - NetworkAddressFactoryImpl : Network interface reports it is not multicast capable: lo

[main ] INFO - 19:00:00.457 - StreamServerImpl : Created server (for receiving TCP streams) on: /192.168.1.3:58610

[main ] INFO - 19:00:00.459 - MulticastReceiverImpl : Creating wildcard socket (for receiving multicast datagrams) on port: 1900

[main ] SEVERE - 19:00:00.483 - ACRA$a :

Stack trace:

org.fourthline.cling.transport.spi.InitializationException: Could not initialize MulticastReceiverImpl: java.net.BindException: Address already in use

at org.fourthline.cling.transport.impl.MulticastReceiverImpl.init(SourceFile:83)

at org.fourthline.cling.transport.RouterImpl.<init>(SourceFile:125)

at org.fourthline.cling.UpnpServiceImpl.createRouter(SourceFile:99)

at org.fourthline.cling.UpnpServiceImpl.<init>(SourceFile:83)

at com.bubblesoft.bubbleupnpserver.server.Main.run(SourceFile:342)

at com.bubblesoft.bubbleupnpserver.server.Main.main(SourceFile:179)

[main ] SEVERE - 19:00:00.504 - ACRA$a : exiting server on uncaught exception...
[Android Apps and Games] tmpghost:
BubbleUPnP with Plex an subtitles

Hi

I'm using BubbleUPnP with Plex Media Server and MX player.

But every external subtitles can't be played except the embedded subtitles in mkv.

I saw BubbleUPnP chromecast supports external and embedded subtitles but BubbleUPnP does not support that with MX player?
[Android Apps and Games] Straubi:
I use BubbleUPnP with Chromecast and Galaxy Note 3. After some minutes runnig, BubbleUPnP will lost the connection to the chromecast. I can not stop the video. Then I close BubbleUPnP, restart it, and then I can control the Chromecast.

Why?
[Android Apps and Games] bubbleguuum:
Not sure what you mean exactly. External srt on Google Drive (and other cloud services) for playing to Chromecast (or MX Player) are already supported provided it has the same file name than the video (minus the extension) and that you browse Google Drive using BubbleUPnP to play the video.

Embedded subs are also supported for cloud videos as long as BubbleUPnP Server is running on your network.
[Android Apps and Games] bubbleguuum:
Good question. Is your phone rooted ? Did you install any app that could mess with Google Play Services (battery saving apps, apps that mess with wakelocks or app permissions, ...) ?

In any case you can send me a log file to the point the connection is lost (see first post of this topic for instructions).
[Android Apps and Games] bubbleguuum:
This error tell you that the server is already running, probably the previous RPM version.

Uninstall the RPM and it should be fine.
[Android Apps and Games] bubbleguuum:
External srt for playing to MX Player are supported only if the media server (Plex) reports subtitles to BubbleUPnP. Unfortunately Plex doesn't report subs with UPnP, that's why it doesn't work. Other media servers such as Serviio and Twonly do support it.

Embedded subs in MKV always works with MX Player regardless of the media server hosting the video. It works because MX Player extracts the subs from the MKV itself.
[Android Apps and Games] bubbleguuum:
Ok, it is possible there is a bug asking for the password when connecting through a ssh tunnel.

When connecting with https, https is used for everything except for streaming URLs, for compatibility reasons. This is in the doc somewhere.

No. From the doc: BUBBLEUPNP SERVER IS NOT AN UPNP AV MEDIA SERVER.
[Android Apps and Games] acamposxp:
Subtitles in Google Drive + Chromecast

You know the "Manage subtitle tracks" Google Drive?

None of the subtitle tracks that includes this way is running in AVI and MP4 (pos upload).

So could it work in MKV when the subtitle was built BEFORE uploading.

I have some videos in Google Drive and subtitles in the same folder of Google Drive with the same name as the video, but the Chromecast not recognize. There is a tutorial on how it actually works?
[Android Apps and Games] thor41:
hi,

thx for this cool app. it works perfect on my mediapad 7".