[Q] Send *all* music/audio over DLNA - Android Q&A, Help & Troubleshooting

Hey all
I'm very much interested in being able to send my music/audio from my phone to a DLNA renderer on my home network. There are plenty of individual apps out there to do this, such as BubbleUPnP, Twonky, etc, or even indeed the music app built in to my HTC One X. However what I'm wondering is if there's a way to have all music/audio re-directed over WiFi to a DLNA renderer?
What I'm looking for would be something similar to when you plug in headphones or connect a Bluetooth audio device: any application that plays media has the audio directed to the headphones or bluetooth connection, instead of the internal phone speaker - that's exactly what I want, but with the audio being directed over WiFi to a DLNA renderer. I'd configure the app/service/whatever to send all audio over DLNA, and then it doesn't matter whether I'm using Dogcatcher, Spotify, the built-in Music app or Google Music - all audio automatically gets directed to the DLNA renderer.
Having to use yet another app on top of the various media applications I already use is a real pain; plus I highly doubt any of the existing applications will support Spotify streams (Twonky and BubbleUPnP don't), and I had little success when experimenting with Twonky yesterday. As mentioned my built-in music app already does this so I'm already part of the way there, but I'd like it to be system-wide rather than app specific.
The DLNA renderer I'll be using will either be a standard PC running XBMC, or a headless Raspberry Pi embedded Linux computer; either way they'll both be fully UPnP/DLNA compliant.
To be honest, I don't even know if this is possible; I have a feeling that it'll have to be on a per-application basis. But hey, no one ever learned anything by not asking questions

BLCollier said:
Hey all
I'm very much interested in being able to send my music/audio from my phone to a DLNA renderer on my home network. There are plenty of individual apps out there to do this, such as BubbleUPnP, Twonky, etc, or even indeed the music app built in to my HTC One X. However what I'm wondering is if there's a way to have all music/audio re-directed over WiFi to a DLNA renderer?
Click to expand...
Click to collapse
Capturing audio emitted by any app is not possible on Android. There's no API to do it. Probably because Google did not want apps to be able to do it.
Since capturing audio is perfectly possible on a PC, that's in line with the dumbing down of general computing.

bubbleguuum said:
Capturing audio emitted by any app is not possible on Android. There's no API to do it. Probably because Google did not want apps to be able to do it.
Since capturing audio is perfectly possible on a PC, that's in line with the dumbing down of general computing.
Click to expand...
Click to collapse
Cheers for the reply; at least I know there's no point in further googling!
Looks like it'll have to be on a per-app basis then.

It is possible, with root access
BLCollier said:
Hey all
I'm very much interested in being able to send my music/audio from my phone to a DLNA renderer on my home network. There are plenty of individual apps out there to do this, such as BubbleUPnP, Twonky, etc, or even indeed the music app built in to my HTC One X. However what I'm wondering is if there's a way to have all music/audio re-directed over WiFi to a DLNA renderer?
What I'm looking for would be something similar to when you plug in headphones or connect a Bluetooth audio device: any application that plays media has the audio directed to the headphones or bluetooth connection, instead of the internal phone speaker - that's exactly what I want, but with the audio being directed over WiFi to a DLNA renderer. I'd configure the app/service/whatever to send all audio over DLNA, and then it doesn't matter whether I'm using Dogcatcher, Spotify, the built-in Music app or Google Music - all audio automatically gets directed to the DLNA renderer.
Click to expand...
Click to collapse
With root access you can get to the system audio, but as far as I know only apps that output this via airplay currently exist...

Related

VLC Stream & Convert - Awesome new market app...

Only been playing with it for a little bit, but there's a new VLC compatible streaming client available on the Market called VLC Stream & Convert.
It allows you to run VLC on a client on your lan (be sure to add the Web control interface from VIEW/ADD INTERFACE) and connect to it. You can either remote control VLC from the phone....or..you can stream video to your phone from the client side app with a simple filesystem browser.
Though the realtime conversion and streaming isn't the best quality it's most definitely handy and orders of magnitude more seamless than dealing with DLNA.
Maybe everyone else isn't a hardcore media geek with terabytes of video spread about a home lan like me. But this addition to the market makes me happy!
Thought I'd share.
Scott
This looks really cool. Will definitely try this tomorrow after work!
Sent from my SGH-T959 using XDA App
masterotaku said:
Only been playing with it for a little bit, but there's a new VLC compatible streaming client available on the Market called VLC Stream & Convert.
It allows you to run VLC on a client on your lan (be sure to add the Web control interface from VIEW/ADD INTERFACE) and connect to it. You can either remote control VLC from the phone....or..you can stream video to your phone from the client side app with a simple filesystem browser.
Though the realtime conversion and streaming isn't the best quality it's most definitely handy and orders of magnitude more seamless than dealing with DLNA.
Maybe everyone else isn't a hardcore media geek with terabytes of video spread about a home lan like me. But this addition to the market makes me happy!
Thought I'd share.
Scott
Click to expand...
Click to collapse
You may have just solved a problem for me... I am having some issues though.
I have it installed and working. I find my VLC player through the app and can start videos no problem, but there is no audio.
What AAC encoder are you using on your system? Im running on Win7 and cant seem to get it working.
ritalin said:
You may have just solved a problem for me... I am having some issues though.
I have it installed and working. I find my VLC player through the app and can start videos no problem, but there is no audio.
What AAC encoder are you using on your system? Im running on Win7 and cant seem to get it working.
Click to expand...
Click to collapse
On all the PC's on the home lan I now only ever install VLC, Media Player Classic Home Cinema, and FFDSHOW. VLC's built in AAC decoder generally handles things fine, but if it gets confused (in the case of some encodes with weird FOURCC headers) FFDSHOW usually picks up the slack externally.
I'll run through my collection (it's well over 3 terabytes now so it might take a bit) and see if I run across anything with AAC that this stumbles over. I'm running Win7 x64 on this laptop, so it'll be my guinea pig.
I have a good idea of a few known encodes I have with weird AAC audio header info, primarily because they also won't play natively correctly in the phone's built in video player or rock player. I'll let you know what I find out.
EDIT: Well that didn't take long. It seems that the same encodes with .AAC audio that give the built in player grief (as well as Rockplayer) also refuse to have their audio play correctly in this streaming app. Even more interesting, these all play natively within VLC on the desktop. However, VLC, FFDSHOW, and my universal backup plan when encountering weird stuff that won't play (KMPlayer) all use LIBFAAD for .AAC decoding. Upon further investigation it appears that some .AAC profiles (there are actually six baseline types of .AAC audio...go figure) aren't properly supported by Android's native .aac parser (found this info on DoubleTwists support forums).
Looks like this is a native flaw in Android itself at this point. Going to investigate further. Thank god that there are literally only a handful of encodes in my collection that have this problem or I'd be pulling my hair out.
Can someone show me how to use this to stream over 3G??
I opened ports on my router and got my WAN IP entered but it won't let me connect.
Did you enable the Web Interface in VLC on the client PC? It is not on by defaut.
Start VLC on a PC on your lan, go to the VIEW menu....ADD INTERFACE...WEB INTERFACE. With that selected the android client should automatically find the VLC instance running on your lan connected PC. This assumes no additional firewall is blocking the app on the PC.
I got it working pretty good using wifi inside my network, so I think VLC is setup properly.
What I'm trying to do is to stream through t-mobile 3G.
I did the port forwarding in my router, but couldn't get the app to connect my home PC via 3G.
I've been able to get it to connect via 3G here, though only HTTP audio streaming seems to work. RTSP video streaming seems to be broken via 3g, and again this appears to be an Android issue from what I'm reading.
vcxzfdsa said:
I got it working pretty good using wifi inside my network, so I think VLC is setup properly.
What I'm trying to do is to stream through t-mobile 3G.
I did the port forwarding in my router, but couldn't get the app to connect my home PC via 3G.
Click to expand...
Click to collapse
masterotaku said:
I've been able to get it to connect via 3G here, though only HTTP audio streaming seems to work. RTSP video streaming seems to be broken via 3g, and again this appears to be an Android issue from what I'm reading.
Click to expand...
Click to collapse
From the dev's site, found here
"Why does rtsp streaming not work over 3G?
Some operators don't allow rtsp on their network. Http streaming should work instead but for videos you can only stream the audio track."​
If its true that t-mobile is blocking RTSP then that sucks. Im going to play with it tomorrow and see for myself.
If this doesnt work then Im back to square one. I really wanted to find a way to use the Twonky media server I already have setup and streaming. I have been streaming videos to friends and family for about half a year now. My Fios 30mb up 30mb down even allows me to stream 720p content over UPNP without so much as a hiccup.
First person that can manage to remove the wifi only option in AllShare gets access to my collection. . I have been trying to find it but im not really sure what im looking for in the code.

[Q] AirPlay App For Android?

Is there any kind of app that acts like Apple's AirPlay? I would love to see something similar on Android. I've read about a home entertainment system from google that is in the works.
For the meantime... Has anyone found an app that does something similar? Outputting the device's screen to a DLNA TV or receiver would be awesome. But at least something to stream audio? I have a Sony BR player with DLNA and I can sync with DLNA to play any stored music on my phone, but I would love to play my Google Music stuff on the TV and sound system wirelessly. I have tried browsing to the site on the tv but it crashes everytime I try.
Any ideas?
Take a look at Skifta and/or 2Player. Both allow you to set DLNA source and target when playing music. I use Skifta on my Evo 3D to set my Synology NAS as the DLNA source and pick music for playback on my XBMC HTPC (my DLNA target). Works well.
thornd7 said:
Take a look at Skifta and/or 2Player. Both allow you to set DLNA source and target when playing music. I use Skifta on my Evo 3D to set my Synology NAS as the DLNA source and pick music for playback on my XBMC HTPC (my DLNA target). Works well.
Click to expand...
Click to collapse
I tried looking at 2Player, but from what I can tell it only plays the music stored on the device. If I wanted to use Google Music, it wouldn't work, right? Or am I missing something?
2Player can source music from any DLNA music source on your network. You had wifi turned on and checked the drop down box at the top of the 2player screen for alternate sources, right?
Fairly certain Google Music doesn't have an option to push content. If it does, I've never seen it. Hopefully, they'll add that at some point. I do like their interface.
I don't what kind of phone your on. I'm using HTC Evo 3D (Sprint.. but hacked with ICS and Sense 3.6). HTC's "Connected Media" app can also DLNA pull/push Music, Photos, and Video to network devices.
Maybe try that..
thornd7 said:
2Player can source music from any DLNA music source on your network. You had wifi turned on and checked the drop down box at the top of the 2player screen for alternate sources, right?
Fairly certain Google Music doesn't have an option to push content. If it does, I've never seen it. Hopefully, they'll add that at some point. I do like their interface.
I don't what kind of phone your on. I'm using HTC Evo 3D (Sprint.. but hacked with ICS and Sense 3.6). HTC's "Connected Media" app can also DLNA pull/push Music, Photos, and Video to network devices.
Maybe try that..
Click to expand...
Click to collapse
Yeah sorry, I've got the Epic 4g Touch (SGSII) on Sprint.. The phone has AllShare which would do a great job if I had music stored on the device. My problem is I use Google Music for everything.
FWIW, another app with AirPlay like functionality is doubleTwist. Don't think its going to help with the Google Music thing though.
No, this is limited by the chipsets. Currently the only chipset that allows for this is the TI OMAP 4460 in the Galaxy Nexus. Although the chipset has the capability it has not been developed to be usable yet.
I had been looking for an app like this for the longest time. I'm not sure who was able to crack the Airplay sender protocol, but there are now several options for streaming music FROM Android to any AirPlay receiver. I tried a couple and found AOA to be the most compatible with my setup
https://play.google.com/store/apps/details?id=com.nav.aoaservice
The other two install a service (all the ones I tried require root access), but I found them to not work or not be compatible with my current ROM. AOA was and it works great.

Audio source dlna workaround

I'm looking for a way to stream audio from my S3 to a DLNA capable device. I know, a "popular" topic, I know I can use bubble, skifta, etc.. to play file locally on my phone on dlna devices, that works fine, but what I'd like is a way to get Pandora, Spotify, or really any other app to stream to the dlna device( XBMC fyi ). Ultimatly I don't understand why we don't have a way to take whatever is playing on the phone, regardless of the app, and redirect the audio to another device( Video would be great too, but not getting my hopes up ). Personally I feel this is the one thing Apple users have over us, and the one thing I miss from switching to android a couple years ago.
So does anyone know if there is a mixer, app, or ROM that will take whatever is on the audio source and redirect it to dlna, kind of like bluetooth will play anything also, however I'm not a fan of the bluetooth audio quality at all. Currently I'm running CM10 and AOKP most of the time, if ROM choice matters.

[Q] Google Music over DLNA or WiFi

So Google Music App can stream to Bluetooth perfectly fine but not DLNA or over WiFi. Seems like it should be able to stream DLNA or WiFi if it can handle Bluetooth. Any technical reason why it cannot? I have only been able to get it to play over Bluetooth, Headphones or connect directly to Media device but not DLNA or WiFi the most ideal connections. With the infamous Nexus Q I believe it could connect and stream via WiFi but that is the only instance I am aware of. So outside of buying a discontinued Nexus Q our all powerful devices are crippled? Any insight or help would be greatly appreciated.
Any developer out there that wants to make some money, please develop an App to accomplish this. 20,000 songs on my Google Music account and I you limit how I can play my music.
bubbleupnp
The Google music app will not do what you want, but BubbleUPnP in the play store is the best DLNA app out there and can directly access music you have stored on Google music and stream that over DLNA (along with many other talents, it really is a great app!)
atkoj said:
The Google music app will not do what you want, but BubbleUPnP in the play store is the best DLNA app out there and can directly access music you have stored on Google music and stream that over DLNA (along with many other talents, it really is a great app!)
Click to expand...
Click to collapse
Yeah, but you'll have to purchase BubbleUPnP. Now, that wouldn't be a big deal, it's just that I prefer the Google Play Music app for Google music streaming, hence by resorting to 3-rd party apps such as BubbleUPnP you end up fragmenting your playback environment. I'd frankly love to see Google's app doing DLNA streaming as well, hence I'm with antwan30184 on this. Furthermore, if not acting as a DLNA server, at least DLNA client would still earn kudos with me.
You can try AirPlay/DLNA Receiver (PRO) too, it's work fine to me.
My guess is that Google intentionally limits this functionality to bolster Chromecast.
There's an app called "Cast to UPnP/DLNA for GMusic" that runs as a service and will allow you to cast DLNA devices through Google Music. It's strange, but if you have it running on one device on your network, all devices will be able to cast to the DLNA device through Google Music.

[Q] Best music player to work with Google Music?

Hey guys,
I've been using GMusic for a while now, but I always found it very limited and not exactly to my taste.
Does anybody know a better music player that can load songs from GMusic?
danielfiller said:
Hey guys,
I've been using GMusic for a while now, but I always found it very limited and not exactly to my taste.
Does anybody know a better music player that can load songs from GMusic?
Click to expand...
Click to collapse
not sure if google put the music you buy onto your device or its streaming the music but you might want to take a look at cyangenmods apollo.
Trozzul said:
not sure if google put the music you buy onto your device or its streaming the music but you might want to take a look at cyangenmods apollo.
Click to expand...
Click to collapse
It streams all your library, and that's what special about it.
Apollo doesn't support Google Music streaming.
Any other suggestions?
danielfiller said:
It streams all your library, and that's what special about it.
Apollo doesn't support Google Music streaming.
Any other suggestions?
Click to expand...
Click to collapse
i think there is a way to get it onto your device thought, i got one of their free albums and it was on my device even though data and wifi was turned off. dig around in the files maybe?
The music that's cached is on your device, but digging through the files won't do anything unfortunately, each one deeply encrypted, believe I've tried
If you're responding to me, make sure to quote me so I get an immediate email
Trozzul said:
i think there is a way to get it onto your device thought, i got one of their free albums and it was on my device even though data and wifi was turned off. dig around in the files maybe?
Click to expand...
Click to collapse
There is a way to do that, but then I lose the whole point of streaming - not having the files taking up space on my device.
The files you found in Apollo were probably some temp cache files leftovers.
So no suggestions?
Maybe someone else knows about an app like the one I'm looking for?
Maybe even some plugin that enables players to stream from Google?
been trying to find something for a while with no luck... I think its a great service, and the app isn't even that bad, but sometimes I just need that music to stream through another music program for a certain feature or option... or just because I say so! lol
(Most of my music I uploaded to the cloud was flac, so it is played back as 320kbps... In some areas I get only 1 bar of 3g, and at worst music playback may pause for 5-10 seconds... but even this is a rare occurrence... Others have complained about the quality, but I think it's great considering I have the options set for high quality playback only and still don't have issues)
what I don't quite understand, is the talk of 'lack of an api' for Google Music streaming.....
However, Android app's for DLNA or other wireless streaming, such as Bubble UPnP, and this app which streams to 'Sonos'? wireless speakers: https://play.google.com/store/apps/details?id=dk.youtec.android.macronos&hl=en
They DO support streaming from google music - the actual CLOUD (sorry it bothers me that someone names an app Cloud Music Sniper and flaunts allowing access to google music, then turns out its for the OFFLINE available apps that you pin for offline access? Oh and shockingly there is an app called Offline Music Importer that works the same - except it doesn't piss me off by implying it can access anything associated with my music on the cloud!) /end rant
So why are these streaming apps like Bubble UPnP able to access my Google Play Music collection on the cloud so I can play it back through my home receiver - yet I can't get it to work with a 3rd party music player at all? Hell, all I honestly want is a stupid visualizer, preferably that I can set as a live wallpaper... but they only seem to work with 1 out of every 5 songs that plays.... regardless of offline or streaming... and that REALLY confuses me =/
purplekush said:
been trying to find something for a while with no luck... I think its a great service, and the app isn't even that bad, but sometimes I just need that music to stream through another music program for a certain feature or option... or just because I say so! lol
(Most of my music I uploaded to the cloud was flac, so it is played back as 320kbps... In some areas I get only 1 bar of 3g, and at worst music playback may pause for 5-10 seconds... but even this is a rare occurrence... Others have complained about the quality, but I think it's great considering I have the options set for high quality playback only and still don't have issues)
what I don't quite understand, is the talk of 'lack of an api' for Google Music streaming.....
However, Android app's for DLNA or other wireless streaming, such as Bubble UPnP, and this app which streams to 'Sonos'? wireless speakers: https://play.google.com/store/apps/details?id=dk.youtec.android.macronos&hl=en
They DO support streaming from google music - the actual CLOUD (sorry it bothers me that someone names an app Cloud Music Sniper and flaunts allowing access to google music, then turns out its for the OFFLINE available apps that you pin for offline access? Oh and shockingly there is an app called Offline Music Importer that works the same - except it doesn't piss me off by implying it can access anything associated with my music on the cloud!) /end rant
So why are these streaming apps like Bubble UPnP able to access my Google Play Music collection on the cloud so I can play it back through my home receiver - yet I can't get it to work with a 3rd party music player at all? Hell, all I honestly want is a stupid visualizer, preferably that I can set as a live wallpaper... but they only seem to work with 1 out of every 5 songs that plays.... regardless of offline or streaming... and that REALLY confuses me =/
Click to expand...
Click to collapse
found this baby:
http://forum.xda-developers.com/showthread.php?t=2169761
check it out
THANKS! Know a way to pick output device for the Web based version?
danielfiller said:
found this baby:
http://forum.xda-developers.com/showthread.php?t=2169761
check it out
Click to expand...
Click to collapse
WOW! thank you so much for letting me know about this! :good:
I'm definitely gonna check it out and see how the streaming quality compares...
[sometimes it makes the difference between playing and buffering when using the Google Play Music app's settings for mobile streaming - the High, Normal, and Low quality setting]
Regardless, this is a good step in a good direction... I know Bubble UPnP app and even some file explorer apps could access cloud storage, including the google music account - so I'm glad someone finally incorporated that in a way that let other music players on the device see the cloud storage as if they were local!
As exciting as it is, I'm also cautiously optimistic... While this means that Google's All Access music service will become much more attractive and viable for multiple device use compared to it's competitors --- there will, of course, be issues regarding protecting digital rights. Already I mentioned the 'misleading' programs that allowed ON DEVICE/'pinned' music from Google Music to be played in 3rd party players, and some convert the file to a properly labeled mp3. Considering Google Play Music already allows for All Access subscription users to do the same to songs within their entire catalog (that is, 'pin' it to the device for offline play - which was really a surprise to me), this means those same programs can now convert the All Access music that is pinned to allow offline play into proper mp3 files.... Thus with some coding to make the process faster, one can essentially download any song they want from All Access and keep it as an mp3 - altho it is only meant to be a subscription service and the option to pin music from all access is just supposed to allow access to the subscription service without signal or without eating up data from a data plan.
I guess that means if Google Music wants their music streaming service to succeed, rather than taking away support for 3rd party players - they must provide an official API and a better means of protecting the songs stored for offline playback using a database and/or file level encryption for the 'pinned' songs. I'd hate to see the ability to use the service on other players be stripped and locked down even more to a single player due to these kind of concerns that Google surely already sees as an issue and is likely brainstorming solutions.
Question:
On the topic of Google Play Music, does anyone happen to know of a similar solution regarding Google Music Streaming on a DESKTOP ??
I have found gmusic (not the iOS app), but a standalone program that sits in the system tray...
http://gmusic.codeplex.com/
Some of the chrome plugins actually offer better features (last.fm integration, lyrics, etc....), but the one I found that said it allowed use of media keys didn't work for me...
This is the only one I found that allows me to A) not get my music player lost in a massive field of tabs, and B) change songs while playing a game!
The Main Player window, although, is nothing more than a customized browser window (like the ability to view webpages within winamp and other programs). It is nice that it is a separate icon not mixed in among other browsers, supports media keys, can be minimized etc ----
The one major thing I'm still unable to find a solution for, is the ability to select (non-default) audio output device!!
I have always had my pc connected to my receiver/surround sound system since I got 'my own' computer, so being able to select the audio output is crucial for me when playing music, as I direct the music through digital output to the sound system, but still want to hear other audio through the output jack.
Many times I'll have -Music through digital optical output, -Game SFX through pc speaker output, and -Google Hangouts (for voice chat with teammates) through USB headset.
However it isn't as common for a game to have audio device options as it is for a music/media player.... and always remembering to alt-tab after the games started to change the the default device is a major pain!
(Not to mention even if I'm just listening to music, I don't want to hear audio from a random ad... esp when I can't track down the source of the ad among my tabs, and it is blaring loud out the sound system along with my music)
Many people have complained/requested this to be a feature of Google Chrome - of course the Google team reading these complaints are thinking from the perspective of a simple web browser, something that usually has no need for such a feature...
However, plenty have brought up the issue of Google's Music Service being web-based, and thus such a feature is needed.
I'm not quite sure it is an issue that needs to be addressed by the Chrome browser, but it should definitely be an option within the Google Music web app itself - similar to how one can choose their input and output device in Google Hangouts, which is also a web-app run within a browser.
Of course, the best solution for me would be to find someone that has created something similar to GMusicFS that allows the music to appear as if it is local (similar to google drive's client) or if one of the better music players (Winamp, Foobar, MusicBee, etc.) had an extension somewhere that allows adding cloud music services like Google Music.
Anyways,
@danielfiller Thanks so much for pointing me to that app!
(sorry to any mods about how this post isn't -exactly- a proper topic for its location. Its just that Google Music is cross platform, not limited to mobile devices. While my question does not relate to any mobile platform, it is regarding the exact same functions the android app provides for the exact same streaming service.)

Categories

Resources