yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] darkmaster_101:
Well it's hard to say, I stream music all day, so how many songs where in the cache? I have no idea

How many songs where in the cache for the artist? 0

It just started to happen suddenly for an artist I hadn't played since the cache update, then it appeared to effect all the artists I tried.

My mobile convert bitrate is 128kb/s

I've enabled loggin and the cache to see if I can recreate it, if I get anything before I leave for work i'll let you know.

---------- Post added at 04:49 PM ---------- Previous post was at 04:21 PM ----------

It appeared to happen again.

You should now have an email from me with a log file, hope it helps. :fingers-crossed:
[Android Apps and Games] bubbleguuum:
Issue understood and fixed in the next release that will be available soon.

Until then as a workaround, if you are using streaming over mobile, set "Settings > Network and settings > Max cache size" to 0, to disable

the SD card file cache.
[Android Apps and Games] Snowknight26:
I don't have a log of when it happened, but someone BubbleUPnP cached a track as 0 bytes.

On a similar note, I noticed that the cache folder has several empty folders. It might be best to check for and delete empty folders after deleting the tmp files.

And finally, does this log give you any indication as to why the none of the tracks I tried to play actually played aside from the one named 'Sugar'? I'm guessing 'Adrastus' couldn't be played back because the cached size was 0 bytes, but not sure about the other(s).
[Android Apps and Games] bubbleguuum:
Thanks for the report.

I see how 0 byte tracks can happen somehow, and I will fix that.

As for the track "Adrastus" not playing, it fails trying to update the file modification time with this unusual error:

cannot touch file '/storage/sdcard0/BubbleUPnP/cache/media/James Dymond - Imperium _ Adrastus/0bfd923f0b6099e0fa6cf35e6a672794.mp3': java.io.IOException: Unable to set the last modification time for /storage/sdcard0/BubbleUPnP/cache/media/James Dymond - Imperium _ Adrastus/0bfd923f0b6099e0fa6cf35e6a672794.mp3

It is a hint that the file is not readable thus failed to be served, thus no playback. I'll have to check on my Nexus7 to see if it is something Jelly Bean related.

The track "Headliner (Original Mix)" did not play (it seems you manually stopped playback 18s after hitting play) but for a different and unknown reason. Maybe super slow data link ? Do you have any issue with tracks not playing when disabling the file cache ?

Subsequent tracks failed to play due to the remote end closing the connection after a few seconds for an unknown reason. Could be the mobile operator http proxy getting in the way. This need more log traces. I will test on JB and see how it goes.
[Android Apps and Games] jalsing:
remote control video files

Hi,

I have BubbleUPnP installed on two separate android devices (tablet, phone) what I'd like to do is browse my Server (MediaTomb for instance) with BubbleUPnP on my phone, and send it to be rendered by BubbleUPnP on my tablet (via MX Player)

This does in fact work, except the media controls don't work, ie pause, etc. My only option is to long press the pause button to STOP. I'd like to be able to pause,rewind, ff, etc. I'm getting a popup along the lines of "the current state of service prevents invoking that action. Pause is not supported" (Error code: 501)

This seems possible from the description but I've had no luck in any combination (I've tried multiple video players.) It does work if I'm playing music.

Also, if I pick my XBMC installation on my Windows PC as the renderer, the controls do work.
[Android Apps and Games] fabrice_35:
save list in Select library

Hi,

MediaTomb is installed in a DSM-G600 NAS Server and he is invisible in server list from BubbleUPnP as long as there other media server is not started in the LAN.

If i start a another media server (example the LG DP1B ) MediaTomb became visible in BubbleUPnP. Other, if i start PC (windows xp) MediaTomb became visible. MediaTomb is immediately visible from another device, such than LG DP1B

I do not know is a bug from BubbleUPnp, but can you add a option to save server list, because if i loaded a playlist previously saved from Mediatomb i can play media even if media server is not visible in devices list, consequently i think it is possible to browse his library even if server not visible in devices list.

Regard.

ANDROID 2.2 HAIPAD M8

LG DP1B

DSM G600 (MEDIATOMB)

SAMSUNG UE26EH4510 SMART TV
[Android Apps and Games] bubbleguuum:
This is a known limitation. What you described is expected as third party video Android players do not provide a way to be controlled beyond Play or Stop (unlike all external renderers like XBMC).

I'll see if I can get the MX player devs to allow more commands like Pause and Seek to make the integration much better.
[Android Apps and Games] bubbleguuum:
No issue with mediatomb discovery here using v0.12.1.

Mediatomb probably does not see search requests from BubbleUPnP for whatever network issue. But it will notify its presence on the network periodically, hence appear late in BubbleUPnP.
[Android Apps and Games] fabrice_35:
Right, but can you add option to save server list and reload automatically at start without re-scan ? Just add button to re-scan / refresh server list ?

And i think BubbleUPnP will start quickly!

Regard.
[Android Apps and Games] eniac0:
Feature request

Hi there, first offf, thank you for such a great piece of software. in my home, literally every file i have is on my nas, for many reasons. that means that software like these that allows me to read/browse my stuff from my phone, tablet is absolutely critical and you've done a fine job with it.

Here are two features it doesn't have yet, like most upnp players out there actually.

1. I'd like to be able to share pictures on facebook or G+ straight from Bubble Upnp. Here at home, like i said, everything is on a nas and we carry a tablet pretty much everywhere. Currently, bubble upnp allows to download one or more image locally, then, using another software, i can go to the download directory and share them. but to me that is counter productive because it involves downloading my stuff and is a long operation. Being able to share stuff on the various social sites has become close to a standard feature on all new media consumption software out there. so i think this would give an edge to bubble upnp, since like i said, other android upnp players do not support this as well.

2. like i said, at home, everytthing is on a nas. ive converted my entire cd library to mp3 and it sits on my nas. using an older android phone, ive installed bubble upnp on it and plugged the phone as a line-in to my home stereo. using my tablet or current phone, i can then order my old phone to start playing some music streamed from my nas. this works well. except that for some reason, the wi-fi shutsdown after a time and it means i have to walk all over to my living room to wake up the phone to re-activate the wifi. Again this is counter-productive. would it be possible to code some nugget in bubble that would force the wifi to stay on? (toggle)

Thank you for your consideration,
[Android Apps and Games] jalsing:
I would be extremely grateful. Thanks!
[Android Apps and Games] Snowknight26:
Does BubbleUPnP Server resize images using ffmpeg? Is the quality configurable?

The main reason I ask is because I noticed that under the BubbleUPnP Server\Cache directory, I see two different image types: small thumbnail used for the Library view in BubbleUPnP and the large image used for Now Playing. Strangely, the small thumbnail size isn't always constant (166x166, 167x167, 175x175, etc.), nor is the large image (650x650, 500x500, 744x744, etc.).

Another anomaly is the file size of the image in BubbleUPnP\media\cache on Android - it doesn't seem to match the size of the file that BubbleUPnP Server has cached.

For example:

folder.jpg in my music library: 1488x1488, 1452KB

thumbnail in BubbleUPnP Server's cache (random filename): 166x166, 14.7KB

large image in BubbleUPnP Server's cache (random filename): 744x744, 201KB

folder.jpg in BubbleUPnP's media cache: 744x744, 1064KB

Shouldn't the file sizes be identical?

Is there a way to configure the JPG quality/resolution/resizing algorithm (seems to be nearest neighbor and looks really bad) of the transcoded images?

Is thumbnailWidth supposed to be manually added to configuration.xml or should it already be there?
[Android Apps and Games] bubbleguuum:
To answer your questions I must explain some of the internal of Android BubbleUPnP and BubbleUPnP Server

It doesn't use ffmpeg for resizing. Image quality (jpeg compression between 0 and 100) is only configurable for viewing photos (in Settings > Network and settings > Image Quality). This setting do not apply for thumbnails and album full covers.

For these, hardcoded parameters are used, which are different for WAN and LAN request. The main goal being to reduce size drastically for mobile so everything is as fast as possible.

Let's call "q" the jpeg compression quality between 0 and 100, and "w" a width hint parameter passed to BubbleUPnP Server giving the minimum width of the image it should generate (final width can be higher, see below).

For full cover images (Now playing screen):

- on mobile: w=500 and q=80. This is hardcoded. BubbleUPnP Server serve the original full cover from the target media Server, rescaled and compressed taking into account w and q.

- on LAN: BubbleUPnP Server serve the unmodified full cover from the target media Server

For thumbnails, it depends on the thumbnailSize parameter (default value: 160).

- thumbnailSize=0, BubbleUPnP Server doesn't replace the eventual thumbnail defined by the target Media Server. Android BubbleUPnP will use the thumbnail URL defined by the target Media Server if there is one. Othewise it generates a thumbnail from the full cover (could be slow on mobile, but done only once if the local thumbnail cache is enabled)

- thumbnailSize > 0: BubbleUPnP will generate a thumbnail from the target Media Server full cover with w=<thumbnailSize> and q=80.

Size is not constant because the final resized image width x height is a lower integer multiple of the original image width x height.

For example with w=500 (w parameter discussed above) and orignal image being 1200x1200, the rescaled image would be 600x600.

For the two last image in your list, yes they should. It is just that I forgot to specify the q parameter for the Folder.jpg image in the media cache, which I will fix. For now, this Folder.jpg image is only used to make the Android Media Scanner happy so it finds a cover to asociate to cached tracks added to the Android Library.

Yes, for thumbnails. Just set thumbnailWidth to 0. You'll have to add it to the conf file manually as it is only present with its default value on newer installs.

No for album coverrs on the now playing screen on mobile connections, because of the hardcoded w=500 and q=80 values.

For the resizing algorithm I will have to check which one is used in BubbleUPnP Server and if final quality can be improved.

It would help you make screenshots showing "really bad" cover quality so I can have an idea of what you mean.
[Android Apps and Games] bubbleguuum:
A rescan is always done when you enter the Devices tab. As to saving the server list, no.
[Android Apps and Games] Snowknight26:
Sorry, I meant to say just for the last two. I naturally wouldn't assume the thumbnail nor the transcoded images to be identical to what's in my media server's library.

I may have been exagerating it being really bad, but still lower quality than I'd prefer. Here are a few examples:

Original image:

Thumbnail found in BubbleUPnP Server's cache:

Full size image found in BubbleUPnP Server's cache:

'Full size' image resized from original in Photoshop using Bicubic, quality=7 (approximately the same size as the one above):

Thumbnail image resized from original in Photoshop using Bicubic, quality=7:

Thumbnail image resized from original in Photoshop using Nearest Neighbor, quality=7:

Thanks for the detailed explanation though.
[Android Apps and Games] bubbleguuum:
Thanks, I'll check the parameters for the resizing algorithm to reduce artifacts.

Your cover is perfect to show these.
[Android Apps and Games] sirs2k:
Can you add a ability to pause the player when the phone rings???

When my phone rings BubbleUPNP is in the background and by the time to switch to it to pause and then pick up the call, it has rang out lol

Unless of course I run to the other room...

That would be a huge bonus! :)
[Android Apps and Games] LesPaul1962:
Missing sort feature ???

I really like this program but I'm missing one feature.

Entering my music files via Genre -> Artist the titles are shown and not sorted by album. Is it possible to show the albums first (or at least sort them by album).

This would make the program 100% for me..

Greetz

Les
[Android Apps and Games] SorryGoFish:
I can't figure out how to seek when playing a movie. Maybe it's the player I'm using (VLC beta). Is this something I can hope to do (by sliding the progress bar), or is it not possible over UPnP? Thanks.

Edit

Another issue for me. I can't display images from my phone to my XBMC server. The XBMC server gives this error in the log:

09:23:15 T:2585729856 ERROR: CFileCurl::CReadState::eek:pen, didn't get any data from stream.
09:23:15 T:2585729856 WARNING: FillBuffer: curl failed with code 7
09:23:15 T:2585729856 ERROR: CFileCurl::CReadState::eek:pen, didn't get any data from stream.
09:23:15 T:2585729856 ERROR: Texture manager unable to load file: http://21.42.86.232:57645/external/images/media/12792.jpg
09:23:15 T:2989352768 WARNING: FillBuffer: curl failed with code 7
09:23:15 T:2989352768 ERROR: CFileCurl::CReadState::eek:pen, didn't get any data from stream.
[Android Apps and Games] bubbleguuum:
Precise which player do you want to pause. Local renderer ? External renderer ?

Local renderer should pause itself on phone ring.
[Android Apps and Games] bubbleguuum:
Please precise:

- which device is the renderer

- which device is the Media server

- which device is the control point (running the BubbleUPNP instance for control)

Yes, all three can be difference devices...
[Android Apps and Games] bubbleguuum:
Good news: with some trickery I could get stock MX player to be fully controllable remotely: pause and seek are now working.
[Android Apps and Games] jmreed97:
Using bubbleupnp on an MK802II connected to a TV and using twonky beam on a Galaxy S 2 Skyrocket.

I have 2 issues.

1. When I beam over photos, they are always very small. Is there any way to make the readjust to full screen?

2. When I attempt to beam over youtube videos from twonky beam, nothing happens with bubleupnp.

Thanks for any help you a offer!!
[Android Apps and Games] bubbleguuum:
Works for me.

Are you sure that XBMC can access the ip address listed in your log ? It doesn't look like a LAN ip.
[Android Apps and Games] bubbleguuum:
Sort order is determined by your Media Server. See if you can change sort order in its configuration (improbable). What media server is it ?
[Android Apps and Games] bubbleguuum:
1. Should be doable easily with a "Share" button. I'll look into it.

2. Are you sure it is not just the app exiting on inactivity ? If you want an ever running renderer set "Settings > Advanced Settings > Kill on inactivity" to "Never" on your old phone. Let me know if you still have the problem after that.
[Android Apps and Games] Snowknight26:
Just had a chance to do a small test with 1.5.4p1. Even though I only played one track caching definitely seemed to work.

One small issue I ran into, though, was that after losing connection to the mobile network the cached Folder.jpg would not display. Only after reconnecting back to the mobile network for a few seconds did it show under Now Playing, but only under Now Playing.. nothing on the lock screen.

Examples:

Log of when it happened, if that helps: http://pastebin.com/raw.php?i=SY863FKM

And finally, another feature request. Would it be possible to show how much of the current track has been downloaded/streamed, maybe with a gray progress bar underneath the seek bar, similar to how YouTube does it? If that's not possible, maybe a toast notification as to when it's cached, or some other kind of indicator that the current track is cached?
[Android Apps and Games] jmreed97:
Ok... I don't have issue number 2 any more. Problem solved if I use imediashare instead.

But issue number 1 is driving me crazy... If I use bubbleUPnP to navigate my NAS drive and use a local render (on the MK802II), the picture is full screen. But when I use my SGS2 to beam the photo from the NAS (whether I use Twonky, imediashare or bubbleUPnP), it is always a small thumbnail type picture.

Is there a way to fix this or do I just need to deal with it?

Great app by the way! I don't pay for many apps, but this is well worth it!

Thanks!
[Android Apps and Games] bubbleguuum:
Yes indeed. It comes from the fact that now playing covers are *not* cached (while thumbnails are). The Folder.jpg of the cache is just used for the Android Media Scanner for now, so it has a cover to associate to your tracks.

To fix that I definitely need to cache full covers. Maybe not in 1.5.4 but the version after that.

The log shows also something weird although that doesn't have much consequence. Periodicatilly the app get notified by Android that the network connection goes mobile -> wifi -> mobile -> wifi -> mobile. All within 1s !

Hopefully the app still see mobile all the way since some other network API tells the connection is mobile while these fast notifications happen.

Yes that would be great. Even useful to see to which point you can seek in transcoded tracks (since these tracks can be locally seeked only to the point where they have been buffered).

I'll look into it.
[Android Apps and Games] bubbleguuum:
1. Twonky beam: I had not much success with it, I could only stream vimeo videos from N7 -> phone (wouldn't work the other way). Youtube did not work, not even to WMP or XBMC.

You can stream youtube using BubbleUPnP and the youtube app (share button) with the help of semperVidLinks

2. The image viewer in BubbleUPnP will display image in their unmodified size: suppose it receives a 160x160 image from a controller (twonky, imediashare, BubbleUPnP), it will display as that.

The renderer displaying the image cannot do anything as it just display the image URL it receives.

So it is probable the controller pickup a low res image.

Here's what you can do so I can check what resolutions are available for an image, and why a controller would not pickup the higher resolution version:

- in BubbleUPnP browse to a folder of images that you know are stored in high resolution on your Media Server

- pick an image, add it to a playlist (context menu > Add to playlist)

- send me the playlist (bubbleguuum at free.fr): it is stored on your SD Card in Android/data/com.bubblesoft.android.bubbleupnp/playlists, as a .dpl file. If you named the playlist "blargh", the file will be blargh.dpl.
[Android Apps and Games] YagMort:
Really good app.

Two question:

1. How about russian? I may help.

2. How about directory cover (for sitcomes) in Bookmark (manually installed by user), like i MovieBrowser?
[Android Apps and Games] SorryGoFish:
It looks like both of my issues were user-error, sort of. I'll try a bit more on my own before spamming this thread. Thanks for the replies.

Render: Phone (software: VLC beta)

Server: PC, XBMC

Control Point: Phone

To be clear, the in-VLC controls are not working. Let me try a more developed app.... okay, the built-in video player can seek. So I guess it's a video-player issue. False alarm (sorry about that).

Question: Which android video player do you recommend for non x264 movies?Edit Tried MoBo, happy with it, and it does seek also.

No. I have no idea where that IP came from (it's not my WAN ip) or any other ip I'm familiar with. That's why I think it may be the phone app... you know what, I bet it's my 3G IP.... yup. I probably started UPnP before WiFi was activated..false alarm (sorry)... but does it re-scan your network ever? How would I have connected via UPnP to my server if the app started up without WiFi enabled (and therefore no WiFi IP)?
[Android Apps and Games] Snowknight26:
Continuing with now playing covers quirks:

If for some reason the now playing cover is not downloaded before the current track starts, the previous track's cover is shown. I think it would be best to show the placeholder 'note' cover until the actual cover for the current track has been downloaded.

As always, thanks for your continued dedication.
[Android Apps and Games] petlin:
Mezzmo/Bubble UpNp/Win 2003 server

Sadly I´havent got any reply on my issue.

Isn´t there anyone who can give any useful tip on logfiles that can give any clue on why Bubble makes W2003 server "blueScreen"?

I have read the logfiles that I can find byt nothing give me any clue on what can be wrong.

If I can´t figure out/get an bugfix I have to Unistall this application and look for some that is Working....

So please help.
[Android Apps and Games] Snowknight26:
Few more cache issues:

I ran across an instance where only the first 10 seconds or so of a track were cached. As a result, only the first 10 seconds were ever played even after trying to replay the file from the playlist.

http://pastebin.com/raw.php?i=g3eFfnK2

At 18:00:46.653 the .tmp file was opened for writing then literally 10 seconds later (at 18:00:56.555) the .tmp file was renamed to .mp3.

Later on..

Also, another thing I noticed is that logging always starts at "18:00:00." I wasn't sure if this was intentional or not.
[Android Apps and Games] bubbleguuum:
Thank for the report. I don't know how this could happen, but I will add a check to avoid that. Which is to only rename the final cached file if its size match the Content-Length of the stream.

Does that track plays in full if you disable the cache ?

Will look into it but the hour value of log lines is not very important anyway
[Android Apps and Games] bubbleguuum:
MX Player and BSPlayer are also great.

That's defintely your mobile ip. I do not understand how it could be used for items sent to XBMC. Do you remember the sequence of operation when that error happened, in particular if you switched from mobile to WiFi at some point ?
[Android Apps and Games] bubbleguuum:
No idea sorry. And if w2003 crashes that's really a w2003 issue.
[Android Apps and Games] Snowknight26:
I was able to play the track in full after deleting that file from the cache, so I guess yes?
[Android Apps and Games] bubbleguuum:
Yes.

I think the incomplete file you got is a consequence of the mobile connection changing to WiFi while streaming. I cannot reproduce it though but I made sure it is detected for files that are not transcoded (impossible to detect for transcoded files for which length is not known in advance).

And I suspect the 0 byte file you got (and which are discarded now) is just the same problem.
[Android Apps and Games] Snowknight26:
When you say not transcoded, you mean by not transcoded by BubbleUPnP Server, correct? Transcoding by foo_upnp should still be fine, seeing as the track length was present in the slew of logs I previously posted?

Also, shouldn't the track mentioned in this log be cached, seeing as it was started when connected to a mobile network and was fully streamed?