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

What do you want to do with MX Player and BubbleUPnP?

If you do want to listen to music, then I recommend using only BubbleUPnP.

If you want to play a video locally and stream the audio with Audio Cast, I do not recommend this because the latency (the time between audio *should* be played and it *is* played) is quite high and enjoying movies is...difficult

I do not know why Audio Cast with MX Player does not work. This should be asked in the MX Forums (at least I think so)

Regards,

Mynacol
[Android Apps and Games] Fledermaus43:
Hi,

This issue has probably been raised a number of times in the former 1190 pages, but I didn't have the resource to scroll through it all, so I'll lay it there, hoping for some compassionate help : I have BubbleUPnP 2.8.4 installed on an Xperia phone, with license. Worked fine playing NAS-stored music through network to streamer and hi-fi until the past few weeks, when, for some reason, the library (folder arborescence on the NAS) did not update any more on the phone display.

Tried to suppress the cache, tweaked and untweaked every setting I could, uninstalled/reinstalled the app, rebooted the NAS, reloaded the library a number of times, to no avail : the library displayed is still two monhs ago's, and no error message whatsoever.

On the other hand, JRiver media center on the PC works fine with same network and NAS, including real-time updating of the library.

So I wonder, where does BubbleUPnP look for fresh data when reloading ? Is there something on the NAS tht could prevent it to access them ? Or some workaround I didn't get ?

Thanks & regards,

Fledermaus43
[Android Apps and Games] bubbleguuum:
BubbleUPnP displays folders and items as the media server returns them.

If items are missing, the media server is not scanning the new files for some reason.

If these new file/folders are in a location the media server is not monitoring, you may have

to configure the media server so it scans these locations.

Some media servers allow to force a rescan or rebuild of their database via their configuration UI when they have one.
[Android Apps and Games] Budgie2:
I now have Rpi3 with IQaudIO DAC+ hat running openELEC os (and separate power amplifier,)set up as a dedicated renderer with wifi connection from my main AP. I did the Tweak you advised and although I understand openELEC is based on Kodi I do have gapless playback, at least I have not yet experienced a jarring gap. I have no idea how this works but am grateful that it does.

Meanwhile and reason for posting is that I am having new problems with BubbleUPnP control point not maintaining contact with the RPi renderer. I find I am having to re boot the RPi to get the icon to appear on the list of renderer devices. It can disappear if not being used so when I go back to the app the icon has gone and I need to reboot again. What process is it that keeps the link alive? The major change has been a new AP which I suspect my be interfering. All set (in my ignorance) with Kismet and Wireshark to try and diagnose the problem but I would appreciate help and advice as I am well beyond my pay grade here.

Regards,

Budgie2
[Android Apps and Games] bubbleguuum:
Could indeed be a temperamental router not playing nice with either the Rpi or your Android device.

This is often not easy to troubleshoot. possible tips:

- reboot the router

- make sure the router's firmware is up to date

- use a wired connection for your RPi if possible and not already the case

- if using the 2.4GHz WiFi band try 5 Ghz (if possible), or vice versa

- check your WiFi reception with WiFi Analyzer

- if there's a setting called 'IGMP snooping' on your router, disable it
[Android Apps and Games] bubbleguuum:
[MENTION=2823899]derobert[/MENTION]

Next BubbleUPnP Server update will allow to set a custom certificate. Just tested it and it works great.

Like Apache and other popular web servers, certficates are files in PEM format and it is possible to specify intermediate certificates up to the root CA.

Next, make BubbleUPnP Server work properly behind a reverse proxy.
[Android Apps and Games] Budgie2:
Hi bubbleguuum, I wish you a Very Happy New Year and many thanks for the instant reply. Your last comment about trouble shooting is indeed correct. The background to all this is an apparent failure of a wifi bridge link to part of my subnet which has on it a Linn SekritDSM and my not being able to control it using BubbleDS (Next). However it all used to work very well and I suspect there has been a change in the wireless environment, hence my reference to Kismet et al.

I installed the new AP which is dual band in order to reduce congestion on 2.4GHz hoping this might solve the problem but alas it didn't.

Rather than try and solve the wifi bridge/Sekrit problem directly I thought I would familiarise myself with the protocols involved using the RPi which had been working well and see if the same problems appeared. To some extent they have but meanwhile in response to your suggestions:-

The AP is rebooted with every change in configuration, of which there have been several.

The device is an Engenius ECB1750 and firmware is the latest available for Europe. There is an openWRT build available at the risk of bricking it so I am not going there yet!

The Rpi works without any problems using copper connection but as I am trying indirectly to trouble shoot the wifi bridge and no copper connection is available to replace it due to building constraints, I must persevere with wifi.

Rpi only has 2.4GHz AFAIK.

Reception may be an issue for the bridge mentioned above but not for the RPi which is only a few metres away from AP. Will be doing physical tests soon with scanner but phone meter suggests all OK although environment is very noise with several other devices showing including one unrecognised on same frequency channel as AP. I have the MAC address but no other info yet. For further investigation but given the proximity of the Rpi I do not think this is the root cause.

No IGMP Snooping option on AP control pages but there is Multicast to Unicast Stream Conversion which, given I believe UPnP uses multicast, I have disabled. Hope this is correct.

One question I have is what keeps the link between renderer and control point alive. With my DS problem this was lost once the DS was put in standby but I could still ping it and the DHCP handshake all seemed fine with all correct Bootp packets present and correct. I haven't yet looked at packets to and from Rpi as these are on wifi so I have to set up hardware and kismet.

Please if you have any suggestions as to where to look first I would very much appreciate them.

Budgie2
[Android Apps and Games] Budgie2:
Hi bubbleguuum, Please ignore my statement above that I am using openELEC. Not true, I am using upmpdcli as YOU advised. Hence brilliant gapless playback. (sorry I forgot about a great chunk of time I put into getting upmpdcli to work correctly and it was only last July. Hope it is not a symptom of early onset alzheimers!)

Have made a bit of progress with my wifi problem by tweaking some of the AP settings. Rpi and SekritDS now seen for a whole day including putting into standby (for DS) and waking up again. Now all I need to do is crack the problem with songcast between problem DS and other Linn DS devices on lan.
[Android Apps and Games] EPa:
Hi bubbleguuum, it's me again with JRiver and the artwork not loading/displaying problem.

I wrote it only happens on my marshmallow device.. wrong. It happens on ics and kit kat also.

I managed to grab an interesting manifestation in video: artwork shown in landscape and vanishing in portrait.

What I did:

- Started BubbleUPnP cleared cache (from library settings), and enabled logging. Then exited it.

- Made changes to a folder of music (The Witcher soundtrack) on the server.

- Started BubbleUPnP again then the problem appeared.

- Excited BubbleUPnP, saved the log (log1.txt)

- Because I wanted you to see the problem I decided to record the screen. Started recording and started BubbleUPnP again.

- Got to the problem, exited, stopped recording. Saved the new log (log2.txt)

Here's the video (it's not publicly searchable). Problem at the 46th second:

https://youtu.be/Ee0VT9EOcT8

Emailed you the logs.
[Android Apps and Games] strenker:
Download MythTV recordings via BUPnP Android App from BUPnP Server

Hi,

many thanks for BubbleUPnP and server. Its really great. I use it to stream my MythTV recordings via Chromecast to my TV set and when I am on business trips i connect to the server via internet.

But when I try to download MythTV recordings (MPEG Transport Streams including "ffmpeg unknown" streams and subtitle streams) with transcoding via BubbleUPnP server (Gentoo Linux) to my Android device it does not work because Matroska seems to have no support for "unknown" and subtitle streams.

I grep'ed for the ffmpeg command line BubbleUPnP server uses for transcoding and was successful amending the command line. I would work fine if two ffmpeg parameters will be added:

-ignore_unknown

and

-map -0:s

A complete working ffmpeg command line looks as follows:

ffmpeg -ignore_unknown -async 1 -seekable 1 -i INPUT-URL -map 0 -map -0:s -map -0:d -map -0:t -vcodec libx264 -preset medium -vf scale=trunc(oh*a/2)*2:360 -acodec libmp3lame -ac 2 -ab 128000 -f matroska -

Many thanks in advance for a fix in a future maintenance release of BubbleUPnP server.

Kind regards,

Stefan
[Android Apps and Games] margaretiak:
Hey,

I have an issue, did everything to create a log, but the folder doesnt have that .log. Using android tablet.

So my problem is I believe quite common. "No http stream found" trough kodi. Some addons work, some dont. Is there any possible fix on request or any other fix?

Ive bought this app just for that and It doesnt work :-/

Best regards
[Android Apps and Games] bubbleguuum:
Thanks for the report. Can you make a portion of such stream available for download and send me the link to bubbleguum@free.fr, so I can test ?
[Android Apps and Games] bubbleguuum:
Kodi is sending to BubbleUPnP an URL for which no video can be extracted. It happens with some addons that send

URLs that can only work on the machine on which kodi runs, or URLs that require extra authentication, or URL that expire fast.

I can look at it if you send me a log file, attempting to play a Kodi video that gives this error. See first post of this topic for login instructions.
[Android Apps and Games] bubbleguuum:
[MENTION=1622582]EPa[/MENTION]

Kind of reproduced erratic thumbnail behavior with MC 22, with the MC placeholder album art thumbnail showing up instead of

the proper thumbnail, sometimes.

Not sure yet if this is a MC issue or a BubbleUPnP issue with caching. I will look into it into more detail but this will be difficult to troubleshoot.
[Android Apps and Games] margaretiak:
Well, as I said, there is no log. I activated log writing, restarted app, it said that "warning loging to file enabled..", reproduced error, exited app, checked for the log and there is none.

Even tried reinstall, with the same result.

I have tried it multiple times..

Using rooted nexus7 on Android 6, storage permission granted.
[Android Apps and Games] bubbleguuum:
MTP on a PC can be wonky and the log file not listed even if present.

Look with your favorite Android file browser, on internal storage, at the location indicated in the first post.

You can email the file from there. Make sure to generate a new log file if you restarted the app since.
[Android Apps and Games] EPa:
Thanks, I thought so.

But this portrait vs landscape discrepancy is curious isn't it? I mean, isn't the same downloaded artwork, used by BubbleUPnP for portrait and landscape (as long as the view type remains the same)? It was either downloaded or not.. so at least this, must be on BubbleUPnP.

Anyway thanks, and I understand there are priorities.

Feature request: I know there is no way to rate songs through dlna, just wanted to throw this idea, maybe it could be done with the help of the BubbleUPnP server if the source of the song is on the same machine as the server?
[Android Apps and Games] strenker:
Hi,

many thanks for Your quick response.

The provided email address does not work, so I did send the requested link to bubblesoftproducts@gmail.com.

Kind regards,

Stefan
[Android Apps and Games] bubbleguuum:
The email address had a typo :/

Got the sample. Will look into it for a fix.
[Android Apps and Games] btje:
libx264

I got the notification "no (ffmpeg has no libx264 support)" some vids are not played trough my chromecast and I guess it is because off this?

I installed ffmpeg but obvious not the right one.

Is it possible to get this right for my synology 216play?
[Android Apps and Games] margaretiak:
So, I figured today(using it for two days), that bubbleupnp doesnt stream right from my nexus tablet to chromecast, but its using my PC to stream to chromecast. So I cant use it without PC. Is there any option how to stream straight to chromecast? I havnt changed anything in the settings, except installing some addons upnp wanted to install.

edit:

I reinstalled bubbleupnp on my android device and its working without pc again.

Well, could it be bubbleupnp server which I have installed? Im asking because I havnt set it up yet (because of ports I have to modify and I cant rly do it with my ****y router).

So my question is, how can I switch it? To control if I want to stream trough android or trough pc (when I want to watch higher bitrate movies).
[Android Apps and Games] bubbleguuum:
You could try installing ffmpeg from optware-ng (see the BubbleUPnP Server web page for instructions).

But i doubt you will get good video transcoding performance on this NAS as ffmpeg perform transcoding using the CPU only,

and this require a beefy x86 CPU.
[Android Apps and Games] bubbleguuum:
Yes, If Android BubbleUPnP detects BubbleUPnP Server, it will use BubbleUPnP Server to eventually transcode videos that would not play otherwise (or to honor a max target bitrate). You can disable this in Settings > Chromecast > Enable. Keep it enabled if you play videos not supported natively by Chromecast. If you just want to disable trancoding of high bitrate videos, disable Settings > Chromecast > Enforce max bitrate.
[Android Apps and Games] johsgjerde:
Hi bubbleguum.

Is there any chance Tidal masters could be accessed throughBubbleUPnP?

Would be great.

Thx for great software!
[Android Apps and Games] bubbleguuum:
For now it is only available from the desktop TIDAL app.

Even if TIDAL makes it available through API, there is virtually no renderer that supports

decoding MQA.
[Android Apps and Games] nileshgr:
I'm facing a weird issue - when playing a movie the play back stops all of a sudden. It is not due to battery optimization because it happens even when it is in foreground and screen is on.

I'm using bubbleupnp server for transcoding. The media file is on a server.

Moto Z Play running marshmallow.

Also I have bought license.
[Android Apps and Games] stayloa:
Hi there. I've changed my network setup recently to have a VPN always on which is causing BubbleUPnP server to see my lan ip as the vpn and not be able to resolve my dynamic dns name.

I have a proxy (socks and http) running on a vm which gives me access to my real ip which I use with some programs.

Locally, the server still works but I can't access it remotely. I've tried using proxycap but the seems to prevent both local and external access. Do you have any ideas?

I was thinking of installing the server on the VM as a last resort but the processing power won't be great. I'd ideally like just my external announcing to go via the proxy. Thanks!
[Android Apps and Games] bubbleguuum:
If you use a VPN, BubbleUPnP Server will act as if it was on the LAN. Assuming your Android device is connected to the VPN, in Android BubbleUPnP simply connect to the VPN LAN ip address of BubbleUPnP Server. If you have other needs or requirements, let me know.
[Android Apps and Games] bubbleguuum:
When this happen does the TV reverts to showing up the "BubbleUPnP" text on a black background ?

Is BubbleUPnP Server running on a wired machine ?

If you wish, you can send me (bubbleguuum@free.fr) the BubbleUPnP Server log file (BubbleUPnPServer.log.0, in the install dir on Windows), after playing a video and this problem happens.

and this problem happens.
[Android Apps and Games] stayloa:
Sorry if I wasn't clear. With the vpn on its fine for local devices but I like to access the server remotely too, so want the server to bypass the vpn essentially. Proxycap seemed to kill lan connectivity though.

Edit 1: So installing the server on the VM (win xp) seems the easiest solution. Only problem is that the server reports no audio transcoding available as no libmp3lame support. Any ideas? I used the installer and ffmpeg is in the install directory. I also installed a compiled ffmpeg static build and manually set the windows PATH. That had libmp3lame and hasn't made any difference. Recent ffmpeg builds haven't been compatible with xp I think. Not sure if that's it and how to get the server to look at my install and not the one installed with the installer?

Edit 2: Not sure many people will be using this with Windows XP, but since one of the 2015 builds, ffmpeg has been broken with Windows XP. I just downloaded the most recently working version fully compiled (ffmpeg-20150612-git-4af9eb4-win32-static if anyone is interested) and replaced the two ffmpeg executables from the bin folder with the ones in the BubbleUPnP Server installation directory. A quick restart and everything was working fine. Bubble - any issues with using an older ffmpeg build do you think?
[Android Apps and Games] matagou:
Youtube tracks to ChromeCast Audio device as OpenHome renderer

Hello bubbleguuum,

When trying to stream YouTube track to ChromeCast Audio device as Openhome renderer, there is an error message.

It would be very cool to support that way of playing YouTube tracks and playlists.

I've sent the logs from app and from server attached to your e-mail. The app is latest version licensed from Google Play. The server is the latest version also.

Thank you for this application.

Regards,

Andrei
[Android Apps and Games] EPa:
I second that!
[Android Apps and Games] bubbleguuum:
Got your logs. Will look into it but should be an easy fix.
[Android Apps and Games] bubbleguuum:
[MENTION=5943704]stayloa[/MENTION]

Not sure this can apply to your setup, but if you want BubbleUPnP Server to bind to a particular network interface (for example, not your VPN interface), you can use <lanIp>network_interface_ip_address</lanIp> in configuration.xml (and restart the server).

Do not replace ffmpeg.exe/ffprobe.exe in the installation directory directly because they can be automatically updated by BubbleUPnP Server.

Instead, edit BubbleUPnPServer.ini (in the installation dir) and add lines:

arg.2=-ffmpegDir

arg.3=/path/to/ffmpeg/directory

where /path/to/ffmpeg/folder points to the directory containing your ffmpeg/ffprobe binaries, for example:

c:\Program Files (x86)\BubbleUPnPServer\myffmpeg.

Then restart the BubbleUPnP Server Windows service (using the Start menu entries), and check the proper ffmpeg binaries have been picked up by looking

at BubbleUPnPServer.log.0.
[Android Apps and Games] stayloa:
@bubbleguuum - thank you so much - fantastic customer support! Binding to my primary network adapter should work perfectly for my setup so will give this a go first and foremost.

Just want to check that arg.2=-ffmpegDir should remain unchanged and I only need to modify the arg.3 if I stick with the VM route?

Thanks
[Android Apps and Games] bubbleguuum:
Not sure I understand your question. If you need your own ffmpeg, specify both arg.2 and arg.3 as I explained.
[Android Apps and Games] stayloa:
Sorry - I know I have to add both arguments. My ffmpeg is located at C:\ffmpeg so I should put in:

arg.2=-ffmpegDir

arg.3=C:\ffmpeg

I just wanted to check that I didn't need to edit the arg.2 text too and that is should stay as arg.2=-ffmpegDir

Thanks
[Android Apps and Games] bubbleguuum:
yes it should stay that way.
[Android Apps and Games] matagou:
Many thanks, much appreciated for prompt response. How this will be done? A new version or some custom settings in app on my phone? If I can contribute to it by testing, please let me know.
[Android Apps and Games] dark0shark:
On a Nexus 7 with AOSP Android 7.1.1 mounted at the HiFi as the Local Renderer I always get the popup message "Local Media Server could not be started" when starting music to play, although the option "Enable" in "Local and Cloud" / "Local Media Server" is deselected.
[Android Apps and Games] bubbleguuum:
This is super unusual but could happen if BubbleUPnP cannot bind to the required port or any other obscure socket error.

Try again after rebooting your device. If the problem persist, send me a log file triggering this error (see first post of this topic for instructions)
[Android Apps and Games] bubbleguuum:
BubbleUPnP Sever 0.9-update23 is available.

Changelog

.
[Android Apps and Games] EPa:
Hi,

I have random hick ups (stuttering) when streaming flac from

JRiver or Mezzmo on a Windows 7 laptop,

via my home WiFi,

to an older ICS Android phone (hard wired to my Denon)

Given the phone plays flac with no problems when the file is on the phone, and also if I immediately rewind when it stutters the stutter is not there, I suspect spiking traffic on my WiFi or simply a fluctuating quality of the connection.

So I enabled cache, only to see nothing being cached. Searched and found the above posts and response on this thread from years ago.

Do you think caching could help me?

If yes I too would request enabling cache for WiFi also. In my case implementation is simpler I think (but all would benefit from it since the above would be covered too), since my request is for any WiFi not just public ones.

Thanks

PS: BubbleUPnP is licensed and all transcoding off
[Android Apps and Games] bubbleguuum:
It's in BubbleUPnP Server 0-9update23. You can now send mp4 videos to Chromecast Audio, from youtube or other sources.
[Android Apps and Games] bubbleguuum:
Caching can now apply to home wifi (if you browse a media server managed by BubbleUPnP Server of course), but this apply only to lossy tracks (eg mp3) or lossy transcodes of lossless tracks, which you probably do not want if you want to play your FLAC unmodified.

Anyway this doesn't seem like a good fix to your issue, and it would be better to find the root cause.
[Android Apps and Games] EPa:
Thanks for the prompt answer. Is there any reason it's doesn't apply to lossless too?
[Android Apps and Games] bubbleguuum:
The reason is that it would take a lot storage and that caching was primarily implemented for streaming (lossy) over mobile connections, possibly slow, unreliable and metered.
[Android Apps and Games] EPa:
Well if an unreliable connection is my problem (can you think of something else I could investigate given the above? ), and if I am stuck with it (as in can't relocate end points), wouldn't a just-current-song-playing-cache help in situations like this?

In any case I always wondered what the standard dictates. How does a DLNA server decides when to stream the next batch of data? I don't even know if it is batches, just seems so to me from watching Mezzmo status.

If the renderer decides, is there the notion of a prefetch, kind of a lookahead that could be increased?
[Android Apps and Games] matagou:
Thanks, I will test in few hours and let you know.

Regards,

Andrei

It works. It simply works :). Many thanks for such prompt response.

I can assign one YouTube track or a YouTube playlist to BubbleUPnP app through "Share to" button of YouTube mobile app and the tracks appear in the playlist. Then I can open the BubbleUPnP from second smartphone and control the playlist from there. Then I can turn my smartphones off completely and the playlist will advance itself. This is awesome.

Regards,

Andrei