I posted this in the old Atrix 4G forum, before this existed. I now have an a partial answer to C. More comments / questions embedded.
I just came from the Windows Mobile world and needed to research how to listen / watch live streams.
A) Trying to listen to streaming audio (mp3) from a webpage. Leaving the web browser stops the audio. Besides trying to find the stream in a separate program, is there a browser (or other way) to keep the music playing?
B) Is there a way to keep the music streaming with the screen off (to save battery power)?
>>Item A/B I have yet to find a webbrowser which will continue to play in the background or stream with the screen off. Other music programs do work.
C) Is there a way to get embedded WMV/WMA (http/mms/.wmv/.wma/.asx/.asp) to stream, embedded or kicked off from a webpage?
I still can't fine a program which a browser will kick off if the browsers doesn't support it internally for an embedded media file. Any ideas?
Regarding entering in URLs directly. Using XiiiaLive I am able to stream a *.pls file and *.asx file. And in order to get the *.asp file to work, I'm able to open the file in a webbrowser, which then kicks off XiiiaLive and it works.
Unfortunately, it only plays the audio of video streams (even an *.wma) and on a recorded stream, you still can't fastforward or rewind. This is the only program I have found on the market that seems to support the various playlists / wrappers. I haven't found such a player for video.
In order to play WAV voicemail files in email, I used Remote Wave. It currently has a bug, that you need to kill it between uses. They are working on it.
I have been using the phone during my runs and out of 6 runs I have yet to have music last the whole time. I have used iheart and I have used the radio and both times after about 15-25 mins it will stop. Don't know.if lose signal or if runkeeper is doing it but it pisses me off.
Do you have task manager set to kill any apps or your music player. If so that could be the cause.
No. Why would that help? Think too many going on so system shuts it down?
No I had similar problems with my OG. When I set it to kill a few apps I had accidentally set it to automatically shut off my music payer also and it drove me crazy till I found it.
Related
Ive tried playing a sound from the browser (and from a stand-alone webview from within an app) running on the emuator, but I get no sound.
Is this because the emulator cant play websound? Or is it not supported by the webbrowser at all?
Ive checked so that sound is enabled by clicking the buttons on the right side of the emulator, so that is not the issue.
This webpage has several methods for playing sounds embedded in an html-file. Thats what I tried.
http://www.phon.ucl.ac.uk/home/mark/audio/play.htm
i know the g1 is capable of streaming audio/video, so its not that the phone cant handle it, i just think its that the browser at its current state doesnt have support for running such stuff, but i believe the phone is more than capable and youll probably see it in the future
hey when we get flash, the flash player should play audio, and if they implement that into the browser, tada, websites with flash embeded audio would then play the audio, but keep in mind, sites with flash embeded audio sometimes make you load the entire .swf file and THEN play audio, which can sometimes be rather large files, so youll probably want to be on wifi at that point anyway
I used to be able to do this with pocketplayer in windows mobile. I just got an android phone today (G1, old but much better than my even older phone) and I wanted to be able to stream my music library to my phone. I already have the means to stream it to anything else using edna (http://edna.sourceforge.net/), which I managed to run as a service in the background.
The idea was to be able to access my music library on the phone's browser and then have it open the generated .m3u file using a music player. But I have yet to find a single music player for Android that can do this except maybe this app called "Just Playlists", which doesn't really work at all unless I download the playlist first. And it won't do that, it automatically opens them with the program.
So, I'm thinking of downloading subsonic to use as an mp3 server, but the thing is that I feel that it's unnecessary to have two mp3 servers running at a time. The only benefit is having it on my phone, but otherwise I can just use edna on another device, like a computer, and open the playlist files with VLC or Winamp.
Another problem I ran into with Just Playlists is that it won't preload the song titles/artists for the songs, so I'll be looking at the full URL waiting for it to scroll by so I can pick a song. This is if it works at all.
So, help? Anyone know of any apps?
Using CIFS to mount music shares
I've actually been trying to do a similar thing. I've been using cifs to mount my music folder onto my Desire. It seems like a slightly easier way to get access to the files than using edna, especially because it doesn't require any extra software.
I have been struggling to find a decent music player than can easily handle such a large volume of files. I'm using Winamp Beta for my music and whilst I can play files, I need to use a file browser to find the files I want to play.
I also can't find a way of playing the m3u playlists I have stored on my computer. I've used Audio Galaxy and this has the same problem (unless you're using iTunes). Subsonic has better support but it's pretty expensive.
has anyone found a working soultion for this yet? I have a set of m3u and pls files which are saved URL's of online radio stations, some from shoutcast, some from other sources that on Windows Mobile I used GS Player to listen to
Just Playlists seems to come the closest out of any apps I've tried to working but either gives me an unexpected error message when trying to open the file or it looks like it has opened it but I get no playback.
I've tried StremFurious, VLC S&C and I think one or two others but no luck yet, curious if others have a solution
thanks!
I have read on other forums where users report that their built-in default music player stops as soon as they switch away from the screen and others say the have no issue. So I guess this is a mysterious bug. It's driving me nuts. Any ideas in trouble shooting this?
no help here
Sorry mine won't turn off no matter what buttons I push. Matter of fact I can't figure out how to truly turn it off, all I get is pause. Without advanced task killer it just sits in the drop down menu, waiting.
I do have the other bug with it though, I can't sort by artist with a lot of music on there. 25gigs, hit artist and it crashes and says not enough memory. There is more than a gig free on both the internal and the external cards. Bummer.
As of today it now plays in the background. If I can figure out a rhyme or reason as to why it wouldn't before I'll report back.
jamespaulritter said:
As of today it now plays in the background. If I can figure out a rhyme or reason as to why it wouldn't before I'll report back.
Click to expand...
Click to collapse
Mine always played in the background. You must be confuse with stock video player which can't play in the background for obvious reasons.
foxbat121 said:
Mine always played in the background. You must be confuse with stock video player which can't play in the background for obvious reasons.
Click to expand...
Click to collapse
Nope, no confusion. When the program "Music Player" is launched a task manager shows that it is running but if the companion program, (whos name I cant remember) is not also running then the music will not play in the background. The companion program is launched by Music Player when an audio file is started. It has a similar name to Music Player. I believe it is named Sound Player and it has the same icon as Music Player.
If you start a playlist or album or whatever in the stock player and hit the home key it will show the music player now playin in the notification bar (where you can pause or skip songs. If you go back into the program and use the back button all the way out the program closes.
jamespaulritter said:
Nope, no confusion. When the program "Music Player" is launched a task manager shows that it is running but if the companion program, (whos name I cant remember) is not also running then the music will not play in the background. The companion program is launched by Music Player when an audio file is started. It has a similar name to Music Player. I believe it is named Sound Player and it has the same icon as Music Player.
Click to expand...
Click to collapse
Ok, now I know how you get confused. Sound Player and Music Player are two different apps. No, Music Player does not require Sound Player in memory. Sound Player can't play in background while Music Player can.
The only way to launch Sound Player is to use My Files File Explorer and open mp3 or other sound files directly. On the other hand, Music Player can only be launched from app launcher and it offers following additional features:
1. Support albums and playlists.
2. Support 5.1ch playback on headphones
3. Support playback on the background.
foxbat121 said:
Ok, now I know how you get confused. Sound Player and Music Player are two different apps. No, Music Player does not require Sound Player in memory. Sound Player can't play in background while Music Player can.
The only way to launch Sound Player is to use My Files File Explorer and open mp3 or other sound files directly. On the other hand, Music Player can only be launched from app launcher and it offers following additional features:
1. Support albums and playlists.
2. Support 5.1ch playback on headphones
3. Support playback on the background.
Click to expand...
Click to collapse
That was some odd notations I made while I had a task manager installed last week. I just tried what you said and you are 100% exactly right! Phweeeh thats a relief. I was worried it would go back to not working later. Thanks for the insight.
Mine skips a little bit when I use the stock camera app
waiting4gingerbread said:
Mine skips a little bit when I use the stock camera app
Click to expand...
Click to collapse
My music player shuts off when I launch the camera app. Gingerbread I think you found a legitimate bug.
Does anyone have a replacement for sound player (not music player) that can run in the background? I'm sick of having streaming podcasts end when I need to do something else with my phone.
BigJayDogg3 said:
Does anyone have a replacement for sound player (not music player) that can run in the background? I'm sick of having streaming podcasts end when I need to do something else with my phone.
Click to expand...
Click to collapse
I listen to podcasts with Doubletwist. Heard good things about something catcher as whell (dog catcher maybe?)
jamespaulritter said:
My music player shuts off when I launch the camera app. Gingerbread I think you found a legitimate bug.
Click to expand...
Click to collapse
I think that people who have very large music collections will find that the player shuts off when they go into certain applications. My feeling is that this is Android's internal memory manager subroutine figuring that the audio player is eating up way too much memory, most likely due to the database being loaded the entire time the player is running, and deciding to close that one program rather than ten others to free up the same amount of space. How much memory does your player eat up while running?
The Sound Player is opening instead of the Music Player
On my Vibrant, a .mpga file used to open using the Music Player but now the Sound Player is opening instead. My phone is completely stock, never rooted and no aps downloaded, but I can tell which player is opening: after the player opens, I close it and then press and hold the home key to see which program just opened by noting the first program name in the list of the 6. (The two player's interfaces look almost identical so it is easy to think that the Music Player is opening when the Sound Player is the one actually opening.)
Some possible clues to the cause: I had just used the sound recorder for the first time. It creates .amr files. The .amr files showed up in the Music Player's playlist, but the file wouldn't play; so I browsed directly to the file using Files, clicked on the .amr file and the Sound Player opened the file. But now the Sound Player its opening .mpga files instead of the Music Player and my Music Player's playlist is now empty. (At least that is what I think the sequence of events were.)
I imagine that resetting the phone to factory default would fix it, but I'll have to learn how to backup my address book, web favorites, and goggle map starred items.)
I posted here because I believe I have detected accurately what is happening (maybe not the cause, but the fact that the wrong player is opening), and you experts might be able to suggest a workaround or get the bug fixed.
jamespaulritter said:
I have read on other forums where users report that their built-in default music player stops as soon as they switch away from the screen and others say the have no issue. So I guess this is a mysterious bug. It's driving me nuts. Any ideas in trouble shooting this?
Click to expand...
Click to collapse
The mp3 must be in the music folder on the sdcard in order for music player to play in the background.
Not true. I've had music in other folders that got pulled into my music library.
Sent from my Samsung Captivate.
DnSl4 said:
On my Vibrant, a .mpga file used to open using the Music Player but now the Sound Player is opening instead. My phone is completely stock, never rooted and no aps downloaded, but I can tell which player is opening: after the player opens, I close it and then press and hold the home key to see which program just opened by noting the first program name in the list of the 6. (The two player's interfaces look almost identical so it is easy to think that the Music Player is opening when the Sound Player is the one actually opening.)
Some possible clues to the cause: I had just used the sound recorder for the first time. It creates .amr files. The .amr files showed up in the Music Player's playlist, but the file wouldn't play; so I browsed directly to the file using Files, clicked on the .amr file and the Sound Player opened the file. But now the Sound Player its opening .mpga files instead of the Music Player and my Music Player's playlist is now empty. (At least that is what I think the sequence of events were.)
I imagine that resetting the phone to factory default would fix it, but I'll have to learn how to backup my address book, web favorites, and goggle map starred items.)
I posted here because I believe I have detected accurately what is happening (maybe not the cause, but the fact that the wrong player is opening), and you experts might be able to suggest a workaround or get the bug fixed.
Click to expand...
Click to collapse
Try force a media scan to see if it fixes your Music Player playlist problem.
So my last cell phone was the HTC shadow from Tmobile. It was windows based and could do everything this phone can albeit with older hardware tech, yet I could play a youtube video or some streaming audio from a website then go back to the browser and start surfing the web and reading other sites, while the audio played in the background.
The G2x is my first android device and not only does the battery life suck, but now I find that I can't even multitask! I've searched if the G2x or any android device could stream music/audio and browse at the same time and found no adequate answer. The only one that gave me hope was to hold down the home key and you'd get the last 6 apps you've used, but this still it does not work, and the music/audio cuts off the moment I want to browse in another window.
Is there anyway to listen to an audio on one window, open another and surf the net, while the audio is still playing in the other window?
I don't know exactly which applications you're using, but this works fine for me with Pandora -- keeps right on playing while I browse.
I think he is trying to browse and use sound from a youtube video at the same time. I have never needed to do this. If you get an app like Pandora and Grooveshark you can stream music and do whatever you want at the same time.
Sounds like he is trying to stream audio from a website via the web browser. the web browser needs to be on screen with the screen on and unlocked for sound to stream.
however if you use an app like pandora or soundcloud you can let it run in the background
Yeah, I tried playing a Flash-based stream in the browser; the OP is right, as soon as I switched to a different window within the browser or switched to a different app, Flash stopped streaming. Same thing with YouTube. I don't know why. The hardware and OS are certainly capable of it, as shown by Pandora, etc.
Try SkyFire.
Back to the days I was using Nexus One 2.2. I was only able to play BBC iplayer with Flash background was SkyFire. When you get video prompt when you're about to play flash-based player, let SkyFire runs on its own way. In which you can play it in the background.
mingkee said:
Try SkyFire.
Back to the days I was using Nexus One 2.2. I was only able to play BBC iplayer with Flash background was SkyFire. When you get video prompt when you're about to play flash-based player, let SkyFire runs on its own way. In which you can play it in the background.
Click to expand...
Click to collapse
I've. Tried it on dolphin, skyfire, stock and other free browers and each time I play a video on YouTube or an audio mp3 stream from a particular site then try and open another window to browse the audio cuts of. Only when I make that window active will the audio video begin to stream again. This feature should be standard, since all windows mobile smart phones can do this, no problem.
I figured this out a few days ago. I had gotten tired of using the iheartradio app. It's bloated, and spams my phone. All I wanted it for was to listen to a couple of stations. On my computer, I went to the site of an iheartradio station and clicked the link to listen live. I clicked the button to start the station playing. Then I right clicked on the page and selected the inspect option. Then I clicked the network tab and looked for an entry to appear that has playlist.m3u in it. I right clicked on one of those entries and selected the copy link address option. Then I opened VLC, clicked media then the open network stream option. I deleted whatever was there then pasted the url I had copied earlier. Then the station started playing. I then saved the playlist as an xspf playlist. I open that playlist in VLC on my desktop machine or on my phone and it plays.
Earlier I tried making a m3u playlist using the same stream url, but only the part up to and including playlist.m3u8. VLC would play it for maybe a minute or so then stop.
I'm using Google Chrome for linux on my desktop and my phone is an LG Xcharge using Android Nougat.
Now I can listen to the stations I want and don't have the iheart app taking up valuable storage space on my phone, also this frees up memory.
im trying to do the same as you. all im trying to stream is dc101.1.
Below is the link. it plays in vlc and the sound is not 100% it fades in and out.. but it work
https://c8.prod.playlists.ihrhls.co...ds:true&playedFrom=324&devicename=web-desktop
I try to use the same link in logitech media server and it stops after a minute. I used the same link in vlc app on android and it plays and stops and plays and stops...not fluid stream at all..
IS there something i have to change? Can you try the above and see how it works for you?!?
thanks
It seems that apps are required for most functionality and very few things are built in.