yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] lashni:
bubbleguum has a ticket open upstream (#2474) concerning ffmpeg behaving badly with mkv attachments when directed to stdout, this is a hackish and pretty fragile workaround for that problem. I'm an anime geek so I can't live without my ssa styles & muxed fonts.

Basically it overrides ffmpeg by placing a shell script with that name in '/usr/share/bubbleupnpserver', the script runs ffmpeg in the background and output is directed to a file instead of stdout. The python script then reads from that file and redirects to stdout. Python script requires psutil library but you can easily rewrite that if it bothers you.

End result is that it preserves on-the-fly encoding, the file is sent with the font attachments still muxed and you get pretty styling.

Works for me with: minidlna + bubbleupnp server, bubbleupnp android + mxplayer pro

EDIT: this will break bubbleupnpserver at startup as it attempts to determine ffmpeg capabilities, so rename the 'ffmpeg' bash script before and after server starts or rewrite the bash script to handle this intelligently

#!/bin/bash

FILE=/tmp/streaming.mkv
LOG=/home/lashni/.bubbleupnpserver/ffmpeg.log

rm -f $FILE
/usr/bin/ffmpeg -async 1 -i $6 -map 0 -vf scale="trunc(oh*a/2)*2:480" -vcodec libx264 -preset medium -acodec libmp3lame -ac 2 -ab 128000 -nostdin -f matroska $FILE >/dev/null 2>$LOG &
PID=$!

while [ ! -f $FILE ]
do
sleep 1
done

/usr/share/bubbleupnpserver/tail.py $FILE $PID

#!/usr/bin/env python2

import os
import sys
from functools import partial
from psutil import pid_exists
from time import sleep

def binary(f, pid):
# while ffmpeg building file
position = 0
while pid_exists(int(pid)):
with open(f, 'rb') as file:
file.seek(position)
for byte in iter(partial(file.read, 1), b''):
sys.stdout.write(byte)
position = file.tell()
sleep(0.1)
file.close()
# ffmpeg done, smash it
with open(f, 'rb') as file:
file.seek(position)
for byte in iter(partial(file.read, 1), b''):
sys.stdout.write(byte)
file.close()

if __name__ == "__main__":
binary(sys.argv[1], sys.argv[2])
[Android Apps and Games] bubbleguuum:
OpenJDK is dead slow on ARM (vs Oracle JRE) and not very recommended.

Not a good idea indeed. Try to find precompiled ffmpeg binaries, which may be difficult for such platform.

An ARM CPU is not going to be powerful enough to transcode anything else than audio (including audio in videos). So depending on what you want to transcode this may not be viable.
[Android Apps and Games] bubbleguuum:
What makes you think it doesn't support pictures ?
[Android Apps and Games] stspvs:
Oh it's my mistake, sorry.
[Android Apps and Games] iondjp:
How to Use DPL Playlists Elsewhere

I have been a BubbleUPNP licenced user for years. Usually with love and affection, sometimes with frustration, but always loyal.

Forgive me for what I expect has been discussed and buried in this forum, but I have scoured the internet (including this forum) and I can not find a simple basic answer to following question:

Is there a way to export (or convert) my BubbleUPnP playlists to another format so I can use them on my DLNA home server and home media player/renderer etc.? :fingers-crossed:

I sense that it is possible to 'serve' the playlist from my tablet via BubbleUPnP, but I want to be able to do it without my tablet or BubbleUPnP.
[Android Apps and Games] patrick.brage:
got it with the latest update great work !
[Android Apps and Games] yuny14u:
Pugoplug

I purchase the app, its really great!. I know its been ask, but it would really great if pugoplug cloud can be added. thanks again for great app.
[Android Apps and Games] Bluecharge:
Just purchased because its really great work:good:

Heres my question: I have an issue if playing a playlist to my Squeezebox Boom (renderer). It's running via its Logitech server from PC, it starts playing the first song but remains with it constantly repeating. So its not jumping to the next song of the playlist and I have manually to click next. At the moment thats not very comfotable ;)

Just to make clear, this only affects the Squeezebox (old but blowing sound!) and probably has its roots in the serversoftware, which is running on PC.

Is there any solution possible?

Thank you!
[Android Apps and Games] jhb50:
After playing a Video Now Playing is always wrong

I have posted multiple times regarding this bug. I have just tested again with the 2.0.6 release and it remains broken, which makes it impossible to figure out where you are and what is playing..

Simply stated if I tap a video it will always start to play(regardless of the "Item Tap Action"), and it does not get added to the playlist(like audios do), so when I return to Bubble, the "Now Playing" shows a headset rather than the video selection.

If I put the video in the playlist first with a long press, and then play it using the play icon, on return to Bubble the "Now Playing" still shows a headset but the >> button will change to show the video that is playing per the "playlist".

Conversely, if I tap a song, it will play (per the "Item Tap Action")and it is added to the playlist, and it will display in "Now Playing"(per the "Play displays now playing") so audio works fine, but if I then tap a video to play, on return to Bubble, the "Now Playing" still shows the previous audio selection and even pressing >> does not show the video selection.

So as you can see, the logic for video is missing a number of the comparable audio actions, which are necessary for it to work in a consistent fashion..

I would be nice if you could fix these video problems so I can avoid testing each release. Thanks.
[Android Apps and Games] riffinman:
Some mp3 files won't play

I'm having trouble playing certain mp3 files with BubbleUpnP. From what I can tell the files that don't play are virtually identical to other files that do play (192k/44.1khz). The files won't play via Chromecast, the local renderer and when I try to download them I get an error message. I can play the files locally on my pc - so I know they exist.

I created a log file, and the BubbleUpNp appears to find the file (and album cover), but I get the "instantaneous no play" visual on screen (with CC)

Any insight would be greatly appreciated.

Thanks for help and great software - I am finally able to bridge the office (where my media library is) and the living room (where my good speakers are).
[Android Apps and Games] riffinman:
Replying to my own comment - more info: This does not appear to be a file type issue. I moved the file to another folder and it played. I can't figure out why the path should matter.
[Android Apps and Games] tcat007:
I just started using this app to cast movies from TV portal. Works great, but any .flv file does not show up from the movies folder. Mkv files do and play nicely. But if I open the flv file from my file explorer it asks what app to use, I select Bubbleupnp and it plays fine. Just wondering why that file type is not recognised within the app before I buy it.
[Android Apps and Games] Phrodini:
Great application
[Android Apps and Games] Sajoo:
Great app.

But why is google music, ect. in local media renderer folder?

I think there should be folder only for cloud sources but not in the local media renderer folder.
[Android Apps and Games] sordna:
UPNP/DLNA renderer software

Hi,

does anyone know of any software to make a linux computer act as a DLNA renderer advertising itself, so that it appears as a renderer in BubbleUPnP ?

My goal is to cast photos and videos from my phone to my computer screen.
[Android Apps and Games] bubbleguuum:
XBMC should do it. Make sure to enable the UPnP renderer in its settings.
[Android Apps and Games] bubbleguuum:
If you mean that you have a .flv file stored on your device and that is didn't appear in the local media server's "Videos" subfolders, that's normal as these file types are not indexed by the Android media scanner.

However, .flv would be listed in the "Filesystem" folders and you would be able to play it from here. Browsing the "Filesystem" folders requires the license.
[Android Apps and Games] bubbleguuum:
That could be a filesystem permission issue on your PC where your files are stored. In particular if using WMP as the media server as it can be annoying with that.
[Android Apps and Games] bubbleguuum:
The logic for handling videos played to Android using a third party video player is different than the rest due to technical limitations and difficulties.

Tapping a video for local playback always spawn the video app chooser (or start it immediatly depending on settings).

Playlist of videos for local playback is not implemented (it works fine with external renderers such as TVs, etc): videos have to be played one by one manually.

When a video plays in the video player app, the videos player app take over and *is* the controller. The Now Playing screen is not updated to reflect playback state.

All of this is due to the fact that it is not possible to get the playback state from the third party video app, which is kind of a black box.
[Android Apps and Games] bubbleguuum:
Make sure "repeat track" is not enabled in BubbleUPnP (icon in the Now Playing screen). Eventually clear the data of the app or reinstall it. Check that repeat track is not enabled on the Squeezebox. Alternatively, use Whitebear instead of the Squeezebox UPnP plugin (disable it in thet case), as it is more reliable.
[Android Apps and Games] bubbleguuum:
You can access "Saved playlists" from other UPnP control points (on your PC, other devices) but it requires BubbleUPnP running.

There's no easy way that I can think of to export/comvert BubbleUPnP playlists. You could use server-side stored playlists instead. For this you need a media server able to handle m3u playlists (MinimServer can do it) and build your playlists on your PC with whatever software able to create m3u playlists. Then you will be able to both access these playlists in BubbleUPnP (browsing the media server) and on your PC (as regular m3u playlists)
[Android Apps and Games] NigelF2014:
Library not showing Videos/Photos from Twonky 7.2.7

Have been using BubbleUPnP very happily for a long time for music but have used it for video and photos in the past, too.

Now however, the Bubble Library for my Twonky server (7.2.7 on QNAP NAS) shows only Music: it does not let me access Videos or Photos, even though these are configured and show up in the raw web access to the Twonky server.

Am I missing something? Using BubbleUPnP 2.0.6 on Moto G 4G and Nexus 7 2012 both under Android 4.4.4
[Android Apps and Games] bubbleguuum:
Try restarting Twonky or your NAS.
[Android Apps and Games] NigelF2014:
Thank you: a restart did fix it, but it is a bit odd as I had already restarted Twonky in the process of checking, and all media types were showing up in Win Media Player. Anyway, all sorted: thanks again.
[Android Apps and Games] bubbleguuum:
I noticed Twonky rarely not showing all top level folders. Maybe it happens when it is scanning, difficult to say. In general a restart fixes it.
[Android Apps and Games] dark0shark:
foobar and BubbleUPnP, Device detection

Hi all,

running latest foobar with components foo_upnp and foo_out_upnp under Win 8.1 32bit. BubbleUPnP on my Nexus 7 will not be dicovered by foobar as an Output Device unless I activate the "OpenHome renderer" option in Local Renderer of BubbleUPnP. Is that common?

Best greetings, Martin
[Android Apps and Games] jhb50:
Thanks for your reply, but I see no reason why tapping a video, could not put the video in the playlist, just as music does(perhaps after clearing it first if using the local renderer), before you spawn the player, nor can I see any reason why, that playlist content would not display in "Now Playing" when I return from the player, just as music does, because as I posted above that video title is there if I tap the >> icon. Since playback is one video at a time, you do not need the playback state from the player, because the playing video is there by definition in the playlist. This would make bubble consistent for all media types. Could you look at this again? Thanks.

PS. Please verify my account so I do not need to wait 5 minutes between posts per the following.

"•To prevent spam to the forums, new users must wait five minutes between posts. All new user accounts will be verified by moderators before this restriction is removed"
[Android Apps and Games] toshiuser:
Google Music: All tracks of an artist

Hi,

I purchased this app and I think it is a great piece of software. Absolutely stable and with all the functions I was looking for, great!

There is only one thing that I can't figure out: While streaming from google play music, how can I (within the library) view and select all tracks of a certain artist?

If I go to the artist view, choose an artist, it shows all the albums of this artist. In google's "play music app" there is an option to view all tracks of the selected artist. This makes it easy to create playlists of this artist without needing to open each and every album.

Where can I find such an option within bubbleupnp?

Thanks in adavance.

toshiuser
[Android Apps and Games] sordna:
Thanks, while XBMC worked beautifully on a Mac (photos, music, videos all worked) on Linux it didn't work. Trying to play music or videos didn't do anything, and for photos XMBC responds by showing a black screen.

Any other UPnP self-advertising renders for Linux you might know of ?
[Android Apps and Games] kickurd:
hanging / lagging when starting video (from usb)

I'm using Bubble as a server and render combination on a android stick. If i start a video from my phone, bubble randomly hangs after trying to start the video. I'm not sure where it hangs, whether it's Bubble or MX player, however, I used Bubble server in combination with ArkMC (another upnp renderer) in combination with Bubble on my phone, and didn't have any problems then. I tried the same with my tablet, but the same thing, it just hangs. Going back, and then starting the same file again, it does play, so its not the file.

Would love to get some help, tried to search the forum thread, but it's sooo huge.

I'm using a hdmi stick, mk908ii, with a mk3188 chip ( i think). The media is stored via usb on the tv stick. Android 4.2 i think.

thanks!
[Android Apps and Games] cybermage1:
Chromecast: Audio but no Video

I've got two videos both with identical codecs used and identical format profiles, frames, etc.

One was produced with mkvmerge version 6 and it works fine.

The one produced with mkvmerge version 7 will play audio with a black screen. Source is minidlna server local to the BubbleUPNP server. Goal is to play on Chromecast. Plays fine in VLC for Windows, so I know the video is really there.

A bit of investigation shows that Bubble wasn't trying to transcode it, which is probably correct but apparently I have found the one .mkv file that doesn't work on Chromecast despite identical settings.

Anyway, I forced the bitrate lower than what was in the file to try to force Bubble to transcode it and got this (similar results from ffmpeg packaged with Bubble server, and the latest PPA build from ffmpeg.org:

Here's the mediainfo:
[Android Apps and Games] baja.ja:
pls, back to support gingerbread. ....
[Android Apps and Games] xeros2:
Video serving got broken on 2.0.6, after upgrade from 2.0.4 for older LG TVs (models like LX6500, LX9500, LE85xx, LE75xx, LE55xx, PK9xx, PX9xx). None of the video folders or files are visible on 2.0.6 (worked fine on 2.0.4 - tested few times with app reinstallation, cache & settings cleanup, network & TV restarts).

Also photo serving to those TVs is buggy on both 2.0.4 & 2.0.6 (haven't tested older version, besides 1.8.6, which is not recognised by TV at all) - list of photos & their thumbnails is OK, but photos can't be viewed full size (broken file - tested on many different jpeg files, different sizes, which work locally from USB connected to TV).
[Android Apps and Games] bubbleguuum:
See first post of this topic for link to v1.8.6, last version to work on 2.x
[Android Apps and Games] bubbleguuum:
Coincidentally I've fixed this video folder bug this morning. The bug was introduced in 2.0.5 and may happen with some browsing devices.

Not sure what's wrong with photos. You can send me a log, trying to view a photo (see first post of this topic for logging instructions).
[Android Apps and Games] bubbleguuum:
If you can upload this video somewhere I can download it I will have a look (bubbleguuum@free.fr for sending me the link).
[Android Apps and Games] bubbleguuum:
Weird, XBMC works fine on Windows too. I cannot think of something else on Linux (which doesn't mean it doesn't exist).

Maybe it is worth investigating a bit more with XBMC ?
[Android Apps and Games] bubbleguuum:
That's not common and I do not see this issue on my system (Win 7).

No idea why enabling the OpenHome renderer would make the regular renderer appear in foobar2000.
[Android Apps and Games] bubbleguuum:
You can only access the content of your Google Music library (uploaded tracks + All Access) and playlists in the local media server "Google Music" folders.

If you want access to all Google Music you must use Audio Cast (Settings > Audio Cast) and the Google Music app. It requires root and Xposed.
[Android Apps and Games] toshiuser:
Google Music: All tracks of an artist

That's exactly what I am doing. What I am missing, is a list of all my uploaded and purchased tracks for a certain Artist (e.g. all uploaded and purchased tracks of Artist "John Lennon"). I am not using "All Access".

Can this be achieved without "root and Xposed"?

Sorry for asking again, but I wanted to be more precise with my question...

Thanks, toshiuser
[Android Apps and Games] OrTiN:
Hi,

can you implement the possibility to give short names for mounting points (Settings>Local Media Server>Filesystem>e.g. Custom Mount Point 1). Currently the full path of the mounting point is shown under "Media". Would be nice to be able to replace the full path by only a word. In my case I want to see only podcast, not "blablabla>blablabla>podcast" .
[Android Apps and Games] sorepinky:
Hey Bubbleguum, with JRiver's volume control disabled, BubbleUPnP's volume slider shows the volume as -1 instead of 0. If you then change JRiver to "Internal Volume" Bubble UPnP shows it correctly.
[Android Apps and Games] finneko:
Is there any change to get user configurable jumping forward or rewind when playback video? Now long press jumps 30 seconds. I like to set time to 60 or 90 seconds. Any possibility to get this with future releases?
[Android Apps and Games] yuny14u:
Pogoplug

I like the app. Any chance on adding pugoplug cloud?
[Android Apps and Games] haggis999:
Hi bubbleguuum,

If I view the Now Playing screen in landscape mode on my Samsung Galaxy Note 2 then the volume control slider bar is obscured by the bottom tabs. This is not a problem in portrait mode.

The bottom tabs are perhaps a little taller than necessary, so reducing their height might offer part of the solution.

David
[Android Apps and Games] Svenny68:
Artwork question

Hi Bubbleguum,

I love your app and use it to stream music from my WD MyBookLive DLNA server to my Pioneer XC-HM71-K. Works like a charm, but for some albums it shows no cover artwork. I have a seperate "cover.jpg" file for every folder of my media library. Now I wonder:

- is this a problem of my WD drive? Does BubbleUPnP,look inside the actual folder or does it rely on the media server to "stream" the artwork?

- could this be due to the filetype or filesize? I tried with "cover.jpg" and "folder.jpg". Any restrictions?

Any hint would be greatly appreaciated, thanks a lot in advance :fingers-crossed:

Sven
[Android Apps and Games] CassandraN:
Headset button support

I'm using the latest BubbleUPNP with an Etymotic hf5 headset. The button on the headset will not pause or advance tracks, even though these features work in the Google Play Music app. Is this expected behaviour? If so, are future versions likely to support the headset button? Thanks.
[Android Apps and Games] Lubensius:
Hello Bubbleguum, since a few day the licence doesn't work reliable. Sometimes the license accepted sometimes not. Any suggestions?
[Android Apps and Games] sonic8or:
Was looking forward to a "skip-back 10 or so seconds" function in the future updates. Thanks!
[Android Apps and Games] FlamingGoat:
I've just purchased this for android. My problem is I generally freeze/disable Google apps so shortly after I do that I lose the paid for features. Is there any way around this, say a local licence file that can be placed somewhere?
[Android Apps and Games] muesli79:
Photos full screen on the renderer but grid view on tablet

Love the new grid view!

But one feature request: For presenting photos on a DLNA TV it would be great if there was an option to keep BubbleUPnP in grid or list view on the Android device when opening an image. That means the photo is full screen on the TV but on the tablet or phone I still see the overview of all images in the folder instead of the photo full screen, too. So one could easily choose which photo to present next on the TV. Would this be possible in a future release?

Best wishes, Müsli
[Android Apps and Games] mhagnumdw:
Specify the time is best.

--

MhagnumDw
[Android Apps and Games] bubbleguuum:
I understand your request which make sense now with the grid view. Although no promise.
[Android Apps and Games] bubbleguuum:
There are reports of headsets not working. Getting headset media buttons presses can be hit and miss due to how Android route them and

other music apps possibly interfering (consuming key presses).

I do not have a headset but will get one for better testing.
[Android Apps and Games] bubbleguuum:
BubbleUPnP rely entirely on the media server send album art URLs for items. Folder.jpg (filename case might be important) is almost universally recognized by most media servers. If you add Folder.jpg files, it may need a manual rescan of the server so it can see it and make sure to restart BubbleUPnP or use Menu > Reload in Library.
[Android Apps and Games] bubbleguuum:
No chance.
[Android Apps and Games] bubbleguuum:
I'll look into making the duration configurable.
[Android Apps and Games] bubbleguuum:
-1 is the unitialized volume value if the app fails to get the renderer's volume or if it doesn't notify its volume.

What's the point of disabling "JRiver's volume control " and where it can be disabled ?
[Android Apps and Games] finneko:
Thank you. I just love this app and configurable jump would make it perfect. :)
[Android Apps and Games] pichongallego:
Access Denied

Hi,

I've just installed the server on a Synology NAS. I have also opened port 58050 the same way I opeed ports 5000 to 5004 for other NAS applications but I get the error message in the image attached when I try to open the application.

Any ideas?

Thanks a lot in advance for your help.
[Android Apps and Games] jeofrey:
OpenHome renderers vs. playlist with different artists.

Hi,

I use MinimServer(NAS)->OpenHome renderers(NAS)->foobar2000 renderer(PC) and android BubbleUpnp application.

I have album with following tracks (id3tag):

artist: Neelix, albumartist: Neelix, album: album_name

artist: Neelix, albumartist: Neelix, album: album_name

artist: Neelix, albumartist: Neelix, album: album_name

artist: Neelix, albumartist: Neelix, album: album_name

artist: D.J Test, albumartist: Neelix, album: album_name

artist: Neelix, albumartist: Neelix, album: album_name

If I add this album to playlist then I can see in playlist three albums with same album name.

1st album with track 1-4, 2nd album with track 5, 3th album with track 6.

If I set albumartist to different name as artist e.g. Neelix_ then there is everything OK with 1 album in playlist.

If I use only foobar2000 renderer(without OpenHome) or android BubbleUpnp local renderer then there is only 1 album in playlist too.

joefrey
[Android Apps and Games] bubbleguuum:
Thanks for the report. There is indeed a bug in some cases with album artist serialization when album artist = track artist (for some tracks), causing this issue.

The fix will be in the next BubbleUPnP update.
[Android Apps and Games] bubbleguuum:
Googling this error says it can be a problem with a firewall, proxy connection or security suite blocking stuff.