yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] bubbleguuum:
Thanks for the log file. It doesn't show anything wrong on the BubbleUPnP side which sends the stream to the philips.

Did you try to wait longer like 30 or 60s to check if the stream eventually plays ?

Also make sure that your Philips renderer runs the latest firmware available for it. It might be worth retrying after a reboot.

URL openend with "Add stream URL" must point to a stream URL or a playlist URL (m3u and others).

My guess is that the ampache url points to a web page.
[Android Apps and Games] bubbleguuum:
After investigating the matter, I'm implementing audio/video track selection for transcoded MKV videos (selectable dynamically when playing such a video in Android BubbleUPnP), with preservation of embedded subtitles.

In Android BubbleUPnP, you can already control transcoding performed by BubbleUPnP Server in the Settings > Network And Settings > Video Transcoding section.
[Android Apps and Games] pinkwoolsun:
That is very good to hear :D

I thought that only was for the stream to bubble android and didn't apply to external renders send by the app :victory:
[Android Apps and Games] bubbleguuum:
Sorry I didn't see you wanted to stream transcodes to your TV. These options are indeed only for the local renderer.
[Android Apps and Games] vampyrex13:
I use MX Player Pro. Subtitles work when on the local network, but not when on a remote network. Any idea what would cause that?
[Android Apps and Games] xdescartes:
The renderer runs the latest Firmware available, was reset and restarted and waiting for the box leads to a "action timed out" Error. Seems that Philips make use of minihttpd, so this is what the referer says if using the box from Firefox. Should I investingate it a little more (when I'am back at home)?

As I can figure it out, it points to ownclouds ampache interface. This is what the following post mentioned:

, see forum_owncloud_org/viewtopic_php?f=3&t=3821#p18883

As en_wikipedia_org/wiki/Ampache#Extensions_.2F_APIs and ampache_org/wiki/dev:xmlapi stats, I think BubbleUPnP must be able to get along with this api for handling ownclouds ampache-URLs. Would be a nice feature.

Best regards

xdescartes
[Android Apps and Games] Andre Gosselin:
Problem when queing multiple instances of a track inside a playlist

I experienced the following problem with BubbleUPnP playlists. If multiple instances of a track are queued to a playlistist, playing will not advance past the track preceding the second instance of a track previously played, but loop back to the first instance. For example, given the three tracks: A, B, C queued in the following order: "A,B,A,C", track A will be played, followed by B. But then, the FIRST instance of A will be played, not the 2nd one. In effect, BubbleUPnP will loop forever over the A,B sequence starting the playlist, and never advance to the A,C sequence ending the list.

In the playlist tab, when track A is played, the second instance is also highlited and marked as being played.

Queing multiple instances of a track is not as strange as it may appears, as it can prove helpful when one wants to compare interpretations by multiple artists. You start with a first hearing, and then repeat some tracks to help pinpoint differences between them. Playlists can then be used to preprogram your hearing session, but for that, multiple instances of a track must be correctly handled.

Can this problem with BubbleUPnP be fixed ?

EDIT. I forgot to mention that I was using a network rendering device (Simaudio Moon Mind 180). I was curious about what the outcome would be after wrapping the device as an OpenHome server with the help of BubbleUPnP server. This time, the A-B-A-C playlist plays as expected from start to end. Alas, OpenHome does not (yet) support gapless playback, which is a very serious drawback for me. So I still hope you can fix the problem in the absence of BubbleUPnP server.

Regards
[Android Apps and Games] japr1:
Error downloading image from server

Hi,

I have got the same problem with displaying images. I got an error message "Error downloading image from server

" sometimes. The second attemp of display the same jpeg file is successful. It seems the problem is on the server site because I got the same error message from tablet and my phone too. Doesn't matter if using UPNP or Internet connection.

Did you solve the problem?

Thanks
[Android Apps and Games] bubbleguuum:
See post #3091 for a possible explanation.

Are your subtitles embedded in the video file (for example in a MKV) or are they external subs (srt) ?
[Android Apps and Games] bubbleguuum:
The thing is that from the POV of BubbleUPnP, everything looks fine: it delivers the audio data to the Philips but the Philips doesn't go into the PLAYING state. So it makes it hard to understand/troubleshoot for anyone other than Philips...
[Android Apps and Games] bubbleguuum:
This is a known bug. I generally fix bugs, but this one is special and requires some non trivial rewriting that has the potential to break (introduce new bugs) some more important stuff. So for now it remains.
[Android Apps and Games] bubbleguuum:
Is that also with a Fritzbox media server or some othe media server (which one ?).

If you can reproduce this error reliably I can send you a test version of BubbleUPnP with more logging.
[Android Apps and Games] bubbleguuum:
I just implemented audio/video track selection for the next release of BubbleUPnP and BubbleUPnP Server, when streaming transcoded videos. All subtitles (except for some very specific 'styled' subs, rather rare) are also preserved in the transcoded video and selectable in MX Player or BS Player as usual

It works of course for MKV but also for any other video format allowing multiple tracks (for example: MPEG-TS).

It has been semi epic to get working but it works great.

Now when you play a transcoded video, if it has more than one audio or video track, a dialog let you choose which tracks you want to include in the transcode. All combinations are possible for flexibility.

For example with a video having 2 audio tracks and 1 video track you can

choose just 1 audio track and the video track (the most common case)

choose the 2 audio tracks and the video track (the 2 audio tracks are transcoded to mp3 and selectable in the video player)

choose only 1 audio track. In that case you hear only audio when playing that video

choose only the video track. In that case you get a video without audio
[Android Apps and Games] vampyrex13:
Embedded. It seems that if I switch to software renderer, subtitles work. If I switch back to hardware renderer, subtitles continue to work until I change videos.
[Android Apps and Games] cdavman:
Google music interaction

Hi,

I've been using bubbleupnp on a nexus 7 to play my Google music on a onkyo cr-n755 stereo and it has always worked really well. However, I recently bought a new album on Google play and for some reason when attempting to play this new album I get the "resource not found (716)" error when it attempts to move to the next track. If I hit play it will then generally start to play, but won't automatically move to the next track without throwing this error.

I should say this also occurs when playing to the local renderer (the nexus 7).

This doesn't happen on any previous album I own on Google music. Is this a coincidence or has Google perhaps changed the way it stores new music or something?

Any advice would be greatly received.
[Android Apps and Games] bubbleguuum:
Have you enabled Settings > Local Media Server > Use Proxy ? If not, can you enable and tell if the problem persist ?

If after enabling this setting you still have this problem, please send me a log file with that error (leave "Use Proxy" enabled so I can see requests). See first post of this topic for instructions for logging.
[Android Apps and Games] xdescartes:
OK, I understand. In which format ist the audio data delivered to the box on side of BubbleUPnP?

Best regards

xdescartes
[Android Apps and Games] bubbleguuum:
It is a 128K mp3 stream for the station you were playing in that log.

Nothing exceptional but that kind of stream doesn't have a size in bytes, unlike regular mp3 files and maybe that confuses the renderer.

Does your renderer play a regular mp3 stored on a media server (or stored on your phone and served by the local media server) ?
[Android Apps and Games] japr1:
Error downloading image from server

I am using Windows Media Server (Windows 7). I can reproduce the problem, please send me the test version with brief list of logging procedure and I will create a debug file for you. Do you prefere debug on UPNP network or internet network? The problem is on both.

Thanks
[Android Apps and Games] Stardust71:
Great, waiting to see it published! :D
[Android Apps and Games] cdavman:
Hi, when I first started having the problem I played with the use proxy setting and a couple of others and the problem still occurred.

Last night though whilst trying to obtain a log I was unable to repeat the issue. Everything worked fine. Bit of a long shot, but is it possible it was an issue on Google's end when trying to access the music?

If it happens again I'll be sure to capture a log and send it over.
[Android Apps and Games] bubbleguuum:
I will, but not before Saturday
[Android Apps and Games] bubbleguuum:
It could be because there are too many http redirects for some stream links, which can be variable between play sessions. The proxy will accept up to 5 redirects. In any case if you can reprod it, please send me a log.
[Android Apps and Games] Patchey:
thanks

Hello all,

FIRST OFF

THANK YOU SO MUCH FOR THIS APP SIR, I've tried mad apps for my DLNA thing, and this one... just blows my mind....

things I want to point out...

When I stream to my tv, using my built in video player, If I minimize the player, the movie stops, this one, keeps playing, and I can control it from notification bar, just amazing...

Also, this app is very stable, and THE ONLY APP, that even IF I CLOSE THE APP, the movie keeps playing, and WHEN I OPEN THE APP AGAIN!, it gets the info the seek bar, the volume, and everything right!, so I can seek in my movie even if I closed the app...

OTHER APPS, if it crashes, I lost control of my movie from my phone, this one... I can FORCE CLOSE APP, open it AND BAM magic... love it...

NOW LASTLY !!! LOCKSCREEN CONTROLS, sir, I love you, but this isn't working correctly.. and this guy finally made it work for me...

So far I used this app only to stream movies, and videos, NEVER ever EVER did I see the lockscreen controls... and well, It was driving me crazy

Mostly because... this app does everything I can possibly dream off, and works stable, smooth, quick, perfect, GJ sir for making this.

and the ICS lockscreen controls was an option that I really wanted, but it never worked...

UNTIL I played a song on my tv, and BAM the lockscreen pops, and after that, the lockscreen controls remained, no matter what I played, weather it be video or music or w/e it was there, so

I thank you for your comment it helped me get the lockscreen, I don't mind playing a song before playing all my movies and enjoying my time

However I would like you to fix this, so that I can just start playing my movie and get lockscreen control,

BUT AGAIN AGAIN AND AGAIN I WILL SAY THIS

I LOVE THIS APP

I LOVE YOU FOR MAKING THIS APP

and TY sir for pointing out how to get the lockscreen to work.

I shall purchase it asap. ty ty ty :))) please fix that lockscreen issue and again I have to say it, love this app, takes a **** on iMediashare

(( which brings me to another thing, can you allow it to stream youtube to the tv? like imediashare?? or possibly make another app for streaming tubes to the tv, if this app can do this, then imediashare is getting uninstalled, I only use it to play youtube stuff to my tv... ))
[Android Apps and Games] KC Boutiette:
Apart from these and some other small problems, can anyone confirm that BubbleUPnP is working in general with the Philips Fidelio/Streamium products? Especially the Philips WAS6050?

As I live in Eindhoven, yesterday I went to te actual Philips Store in the PSV (Philips Sports Association) stadium. I asked wether the Fidelio AW3000 would work with 3rd party UPnP apps and the salesman said: No, it works only with MyRemote :silly:
[Android Apps and Games] amatala:
Client streaming profile not used

Hello,

I'm sorry if this question was asked before but it's not easy searching through 300+ pages... ;)

Here it is: I'm using foobar2000 with the foo-upnp plugin to stream to my Marantz AV7005 processor. I have created a streaming profile for my processor based on the client identification string so I can activate specific processing for this client (like a specific DSP chain).

When using the remote of my AV processor to browse and connect to the foo-upnp server, the streaming profile gets activated correctly.

However, when using the Bubble uPnP Android application to select foobar as server and the AV7005 as client, the default streaming profile is always used and my DSP chain does not get activated.

How can I use the Android App to control my AV processor while still using the streaming profile I have created for this device on the server?

Thanks for your help!
[Android Apps and Games] xdescartes:
Could confirm that AW5000 is working with BubbleUPnP like a charme, with the limitation of the reported. Uncredible "rock solid" and I wonder why Philips does not licence this app for the customer as a "white labeling" solution, rather than coding the AirStudio-App in a poor way. Philips app is slow and unstable like a beta.

Regards

xdescartes
[Android Apps and Games] mw911:
Feature request

Hi, just bought the app and I've noticed one thing: Would it be possible in a future version to define a default Renderer as soon as it gets detected? When my phone loses the network connection the renderer is set to the local one even after my original one gets re-detected. This is quite annoying. Same thing for the library but in my case the name of the library starts with "a" so it is always the first one.

Thanks
[Android Apps and Games] xdescartes:
Yes, this is no problem. Philips uses (amongst others) TuneIn (tunein_com) for radiostreams. I read the routerlogs and the AW5000 uses

opml_radiotime_com

1live_akacast_akamaistream_net

swr-mp3-m-swr3.akacast.akamaistream.net

to stream radio. 1st one is XML for the station-categories, 2nd and 3th is the stream with help of http://en_wikipedia_org/wiki/Akamai_Technologies

Is this usefull?

Best regards

xdescartes
[Android Apps and Games] demoleon:
Track repeating problems

I have forwarded the log file you requested. Today I had a track repeat and also playback stop completely twice during a session. Yesterday the CD I listened to played through without issue. Seems to work OK after PC reboot or foobar restart so maybe issue is with foobar.

Thanks,

John
[Android Apps and Games] Stardust71:
Transcoding performance

Hi,

I’m still playing around with the transcoding feature… :)

What I noticed is that my setup is not able to encode/stream high quality material in 720p mode (Bubble Android) without stuttering. Sometimes even 480p is too much.

I use:

Win 7 Prof 64bit

Phenom II X4 945

8 GB RAM

WLAN connection, to exclude bandwidth limitations

ffdshow 4500 (32 bit)

Latest Bubble UPnP Android/Server

Media servers: Serviio, Mezzmo, Tversity, Twonky and others

Renderer: BS Player, MX Player, Dice, VPlayer

The 360p mode runs OK, with average CPU load of ffmpeg at 60%. For 480p/720p this is 100%.

I tried playing around with the buffer sizes, no help there. Also tried 64 bit ffdshow.

I am aware that encoding puts a heavy load on the CPU. Still, are there some other possible tweaks to improve performance?

With respect to hardware acceleration (GPU), my understanding is that this is not supported by ffdshow for encoding.

So, is the only solution to buy a better CPU? :laugh:
[Android Apps and Games] bubbleguuum:
I will look into this lockscreen issue, thanks for the report.

For youtube, you can send videos to BubbleUPnP but you will need semperVidLinks: https://play.google.com/store/apps/details?id=com.semperpax.sempervidlinksFree

In youtube, play a video, use the share button to send the video to semperVidLinks. In semperVidLinks send the video to BubbleUPnP.
[Android Apps and Games] bubbleguuum:
The foo_upnp profile system only really works when the browsing device is also the playing device.

That's why it works when your Marantz is browsing but not when BubbleUPnP is browsing.

In the latter case, foo_upnp will use the BubbleUPnP streaming profile.

So if you want to browse using BubbleUPnP for playing on your Marantz, you must change the foo_upnp BubbleUPnP profile

to the same settings than the Marantz profile (if the BubbleUPnP profile is not listed in foo_upnp, delete foo_upnp.xml in your foobar install dir and restart foobar2000. You will lose previous configuration through).

If you only ever use BubbleUPnP to play to your Marantz then this is fine. However if you also want to play to BubbleUPnP using the local renderer or to some other external renderers, your Marantz profile settings will apply. There's no real solution to this problem, unless having 2 separate foo_upnp servers running in 2 foobar2000 instances, with different network names and settings.
[Android Apps and Games] bubbleguuum:
Can you give a full usage session example where you'd expect BubbleUPNP to switch to that default renderer ?

Are the network disconnections a normal thing, or unwanted disconnections due to an issue with your network ?
[Android Apps and Games] bubbleguuum:
I have no explanation why this renderer fails with that stream. It works with other renderers I could try.

Again, only Philips knows at this point.

Does all streams fail or only some ? Could you try playing a AAC shoutcast stream instead ?
[Android Apps and Games] bubbleguuum:
Transcoding videos can be very CPU intensive, especially transcoding 1080p.

You can control the quality of encoding, thus tweak the speed, by changing a value in configuration.xml (found in BubbleUPnP Server installed dir on Windows).

Look for the tag <x264preset>. The default value is "medium"

Other possible values are: "ultrafast", "superfast", "veryfast", "faster", "fast", "medium", "slow", "slower", "veryslow", "placebo"

Try values before "medium"

BubbleUpnP Server will automatically restart itself when configuration.xml is modified, if running under a Java7 JRE.

If running under Java6 you will have to manually restart BubbleUPnP Server for the change to take effect.

You can check which preset is used by looking at the log file, at the ffmpeg command line: the preset name will be in the command line.
[Android Apps and Games] bubbleguuum:
Thanks for the log. It shows some problems although I have no clear explanation for them.

It seems sometimes foo_upnp is not responding or slow to respond.

I will try to reproduce it on my setup.

How is your PC connected to your network: wired or wifi ?
[Android Apps and Games] mw911:
Thanks for replying to me comment and asking for more info:

Example 1:

I'm using Juice Defender in order to save battery on my phone which switches off network as soon as my phone powers off the screen. Once I power it on again network is enabled , BubbleUPnP detects all renderers but stays with I guess the first render / server it found.

Example 2:

I'm using the BubbleUPnP Server on my NAS in order to use OpenHome renderers. Now I use my phone to add items to the playlist and afterwards I intentionally shut down BubbleUPnP on my phone/tablet. After a while a start it again and have to select the Renderer and Library again which I was using before.

So it would be really helpfull to define a default renderer and a default library as soon as these gets detected after starting the app.
[Android Apps and Games] bubbleguuum:
BubbleUPNP generally saves the last active renderer/server and makes it active on restart, although for that specific case (Juice Defender turning off WiFi) it does not, as BubbleUPnP will clear the last used renderer when WiFi is going from on -> off, to handle some scenarios for working with no network or with a mobile connection where only the local renderer will be available. The last used media server is preserved though (I could check it).

I can probably proceed differently and keep the last used renderer in that specific case, so I will investigate it.

I'm not sure I understand exactly. You have the OpenHome renderer selected, exit the app, restart it, and this OpenHome renderer is not selected (all of this without Juice Defender getting in the way, which would clear the last renderer as explained above) ?
[Android Apps and Games] mw911:
I'd really appreciate if in such cases (losing network connection) it automatically selects the last renderer (maybe optionally to be set in the settings in order to not "disturb" other users. But I don't think I'm the only one using tools like Juice Defender ...)

I'm sorry - you are right. Restarting the app without losing network connection it re-selects the previously used library and renderer. I just wanted to give another scenario without me to test it first. But the comment above remains valid if such thing as a default renderer/library could be implemented.

Regardless if this could be done in a future version the app together with the server is really great! (Ok - the only thing besides would be to lower the cpu usage of the OpenHome Server as it uses between 5 and 20% of my nas even if it is not activley used to play media to a device)
[Android Apps and Games] demoleon:
Track repeating problems

The PC is connected to the network wired.

John
[Android Apps and Games] bubbleguuum:
Ok, I've changed it so if going from WiFi to no network or mobile connection, it doesn't forget the last LAN renderer used.

What NAS is it ? Normally it shouldn't use much CPU when idle (it just process UPnP devices appearance/disappearance network trafic)

If possible, can you give the output of:

cat /proc/cpuinfo

Also, do you have a lot of UPnP devices on your network ?
[Android Apps and Games] demoleon:
Track repeating problems

My PC is connected via wire. As a side note, I was using your BubbleDS along with dBpoweramp Rennaisance renderer and foobar as asset manager with no repeat problems. Unfortunately an update to the Rennaisiance renderer caused some other problems so that is why I wanted to try foobar renderer.

John
[Android Apps and Games] mw911:
That sound very promising. Waiting now for the next version to appear. Thanks!

Processor : Feroceon 88FR131 rev 1 (v5l)

BogoMIPS : 1196.85

Features : swp half thumb fastmult edsp

CPU implementer : 0x56

CPU architecture: 5TE

CPU variant : 0x2

CPU part : 0x131

CPU revision : 1

Hardware : Zyxel NSA-310

Revision : 0000

Serial : 0000000000000000

The CPU usage (only for the bubbleupnp server process) observed with "top" after waiting quite some time is as follows:

Only minidlna is running: between 0.7% and 1.0%

After turning on a Yamaha receiver (also OpenHome is configured for it) without playing anything: between 3.0% and 5.6%

This stays the same even if I turn on more upnp enabled devices like the TV or BubbleUPnP on my phone.

Exactly every 30 seconds the cpu usage jumps to at least 23% for a short time.

Maybe this all is supposed to be normal - I was just wondering that since the Bubble server is running my NAS gets noticibly warmer than before and I'd like it rather to be cool :)

Would it be possible to change these 30 seconds period no matter whatever the server is doing then? I was already searching the net but wasn't able to find any configuration possibilities.
[Android Apps and Games] xdescartes:
They fail all, regardless of format or bitrate. I'm not sure if philips really "knows"within the meaning of knowledge, but I'm aware of the fact that it is no problem onside og BubbleUPnP. You really do a great job :good:
[Android Apps and Games] bubbleguuum:
Edit configuration.xml and change "blastAliveInterval" from 30 to 0.

I think it is that settings causing CPU spikes which are normally unnoticeable on a PC but can be on a slower NAS.