Trick mediaplayer to play MP3 streams? - G1 General

Hi, is there a way to trick the standard mediaplayer to play a mp3 stream rather than a file?
The mediaPlayer Object from the SDK just takes any source not matter if the link points to the lokal filesystem or a link to a website. But I don't get it to work :/
I try to play http://www.motor.de/extern/motorfm/stream/motorfm.mp3 for example and I tried to put it into a m3u playlist. But the mediaDetectorServer (or whichever) always deletes this file. Any other ideas?
[Edit] Before someone asks: I try to use this for my alarm clock to get woken up by internet radio.

You are a brave man. Do you really want to risk being late to work because 3G/Edge/Wifi was down?
Sorry, I don't have an answer to your problem. I use StreamFurious for my Internet radio needs.

You know anything about linux? Create a fifo named "something.mp3", dump the network stream into the fifo, play the fifo. Should work. I'm not going to bother trying though since it really doesn't matter to me. If you don't know what I said, then google search is your best friend.
tulamidan said:
Hi, is there a way to trick the standard mediaplayer to play a mp3 stream rather than a file?
The mediaPlayer Object from the SDK just takes any source not matter if the link points to the lokal filesystem or a link to a website. But I don't get it to work :/
I try to play http://www.motor.de/extern/motorfm/stream/motorfm.mp3 for example and I tried to put it into a m3u playlist. But the mediaDetectorServer (or whichever) always deletes this file. Any other ideas?
[Edit] Before someone asks: I try to use this for my alarm clock to get woken up by internet radio.
Click to expand...
Click to collapse

Hm... dunno sound like a bit of a hassle to me. Might work all right though wit gScript. Hm...
Well I'm having a try with modifying the source of the musik.apk and/or the alarm.apk let's see how far I get.

Related

Streaming .asx files ?

Is it possible ?
Have used the site http://wwitv.com in the past for free tv feeds and thought it would be cool to see if they ran on my wizard. The page wasnt coming up as displayed on my pc so I copied one of the links and pasted it into WMP10 in my wizard http://wwitv.com/ip_tv/7831.asx I think it was but WMP kept giving an error message about file format or some such.
Is streaming asx possible. I have seen people saying they are getting radio asx streaming is video different ?
If im truthful I dont really know what asx is as I thought it was just a streaming format like ram but I keep coming across info about playlists.
Anyone else managed to get something similar to work and how ?
P.S Have done a search about this but Im getting more and more confused if anything.
asx streaming should work.
The asx files on wwitv are generated by a server side script (ASP...I guess) and I think wmp 10 can't handle this.
try http://www.pocketpcmedia.com
You'll find a lot of links to streaming tv and radio
Thanks for that. Gr8 site.
was able to view the link you posted (servecast - price-drop.tv) using TCPMP with no hassle...
McHale said:
was able to view the link you posted (servecast - price-drop.tv) using TCPMP with no hassle...
Click to expand...
Click to collapse
Wont work for me Get an unknown file format message.

Streaming video in WMP....help..:)

Hi,
I'm using the Orb app from www.orb.com, which allows you to stream any media you have on you pc over the net. It allows me to stream my videos with wmp on my EXEC!!!!
However, here's the problem... The video is encoded by orb to a lower resolution than 640x480 and therefore cannot be displayed full screen in wmp.
I have 2 questions to hopefully give me a way of fixing my problem...
1. Is there any other media plyer for the exec that can play stream files?
2. If not, is there a way to modify wmp in any way with a reg/hex editor to make it display full screen?
cheers guys!!
P.S is there anyway to watch the stream from shoutcast tv in WINAMP on the Exec??
what's the URL in WMP?
orb is awesome ... i'm using it to stream live tv to my laptop from my MCE server, but how do you get it to stream to the EXEC?
when i try, pvplayer intercepts the .sdp file and then buffers to give me a low res .3gp display ... which over Wifi is pretty poor. as usual, any help appreciated ...
TIA
you don't put any URL into wmp directly, you have to browse to my.orb.com in pocket IE and then browse to your videos and thn just select the file....wmp will open up automatically....
To make sure it opens your video in wmp, you have to go into the setup section on my.orb.com and make sure that windows media player is set as your favourite player.
Only the problem with that is, is that you can't full screen it! Can anyone help with my original question?
Must admit tho ORB is awesome!!
P.S do you connect via wifi??? If you do can you check and see if you can get the videos to stream with realone player....cos then you'd be able to get full screen. I don't have wifi yet so can't test....
Let me know if that works!
yup, selecting windows media worked fine - somehow i had expected the setting to be server side! sorry didn't get a chance to check out real player ... maybe later today.
ok, regarding resize problem in WMP mobile - this is a known bug and since WMP is in ROM, you'll need to wait for HTC to provide fix ... maybe!
in the meantime, you may want to install TCPMP http://www.softpedia.com/progDownload/TCPMP-Download-29994.html
and do a reg hack to switch default player, as follows:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\Rai\:WMPLAYER
change String 1
from wmplayer.exe
to
"\Program Files\TCPMP\player.exe"
or
"\Storage Card\Program Files\TCPMP\player.exe" if its installed on SD.
you will need at least version 0.71 o TCPMP which understands WMP10 http streams.
voila - full screen in landscape live streaming!
hi
just tried the modified registry entry and......zilch! can you confirm that the settings above work?
thanks
mikey mike
copy it exactly and it will work, quote symbols, capitals etc....
I had the same problem and hit my head when i relised that it was such a simple thing to fix.
firebutice said:
copy it exactly and it will work, quote symbols, capitals etc....
I had the same problem and hit my head when i relised that it was such a simple thing to fix.
Click to expand...
Click to collapse
I also had this problem. TCPMP worked great, but I could not get it to be the default. Then I tried keying it in exactly as posted on another thread including the quotes and it has worked great.
It is nice to have full screen. I use it to watch cable TV via gprs and wifi using orb. And also to watch saved TV shows or DVD's. Too Bad WMP does not have full screen. WMP seems to work better over GPRS.
It doesn't work on my MDA Pro. I have changed the string 1 like written above, but my defoult player is still WMP. I use TCPMP 0.71. Have tried program "My Extension" too, but WMP is still the defoult player. What culd be the reason?
After reading this thread ive downloaded ORB and got everything working but i want to use TCPMP as my default player (for full screen), but because im such a dummy i dont know how to do a reg hack. I have TCPMP already so can someone tell me where to start with this reg hack thing. Please Thankyou.
Thanks for the reg change. Just made the change exactly as posted above inlcuding the speech marks and it works great. ORB is a lot more useful with full screen video.
Have to make sure that you kill off media player before you test it either by a reset or some sort of task manager. Just using the X to close it isnt enough.
use phm (free) or by resco explorer to do the registry changes.
if youare a big user of these devices your going to need it.

Need help determining what may have caused VM to stop playing in email!

OK, here's the backround info. My wife uses her T-Mobile MDA to log onto her jobs email server via EDGE. Her voice mails are automatically sent to her email, and she's been able to check her email on her MDA and be able to play them in the media player. All of a sudden, she says she's now getting an error message saying that a component is missing (I don't have the phone with me now). So, she calls me and asks me what I did to her phone. I have no idea what would cause this to stop working. Can someone help me brain storm? I know I should have the phone with me to describe exactly what the message is but I'm not able to get it from her at the moment. Just trying to think of some possible reasons.
Her phone is using the original T-Mobile USA ROM, we just added the following programs recently: 1) NoteM (which didn't work properly) 2) TodayAgenda 3) Smartbutton 4) Oxios Hibernate.
I also removed two programs: some T-Mobile Hot Spot manager (never uses wifi) and the other, I can't remember what it was. It was sofware that's been on the phone since we bought it new but I didn't think she needed it. I can't remember what it is for the life of me.
So, if someone has a suggestion, please let me know. Also, is there a list of all programs that came stock on the MDA?
OK. This is the error message I get when I try to download the WAV file for the voice mail: "The file 'VOICEATT' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. You might need to reinstall or restore this file."
It let's me download the file now but when I try to play it, I get the message above. Also, the file just has a generic white piece of paper look to it with the MS icon in the middle. She says this was working fine before, it just stoped working this week. BTW, I also added .NET Framework to her device last week as well. Added this because I couldn't get Smart button to work without it. She said it used to open in the Media player, no problems. Any ideas what might be causing this? Looks like the file is not recognized anymore.
Also, I just downloaded the same file to my Artemis and it shows up as a windows wave file icon. No problems playing it on my desktop or my phone. But the MDA will not recognize the file no matter what. What's even more strange is that I can play the file with MS Notes? It still has the same generic icon, but I can play the files in Notes, but not in WMP. What could have caused WMP to stop recognizing wave files? I can still play her MP3 on her storage card in WMP though.
Also, I added a Security Prompt Bug Fix to turn off the security. Before I added this, it wouldn't even let me download the file. Now it downloads but I just can't play it.
shawndh said:
OK. This is the error message I get when I try to download the WAV file for the voice mail: "The file 'VOICEATT' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. You might need to reinstall or restore this file."
It let's me download the file now but when I try to play it, I get the message above. Also, the file just has a generic white piece of paper look to it with the MS icon in the middle. She says this was working fine before, it just stoped working this week. BTW, I also added .NET Framework to her device last week as well. Added this because I couldn't get Smart button to work without it. She said it used to open in the Media player, no problems. Any ideas what might be causing this? Looks like the file is not recognized anymore.
Also, I just downloaded the same file to my Artemis and it shows up as a windows wave file icon. No problems playing it on my desktop or my phone. But the MDA will not recognize the file no matter what. What's even more strange is that I can play the file with MS Notes? It still has the same generic icon, but I can play the files in Notes, but not in WMP. What could have caused WMP to stop recognizing wave files? I can still play her MP3 on her storage card in WMP though.
Also, I added a Security Prompt Bug Fix to turn off the security. Before I added this, it wouldn't even let me download the file. Now it downloads but I just can't play it.
Click to expand...
Click to collapse
we just went to avaya voip at work and now get VMs in our email as well. i had the same issue, and couldnt figure out why WMP couldnt play WAV files... doesnt make sense. but anyways i installed TCMP (http://www.freewareppc.com/multimedia/tcpmp.shtml) and set it to be the default player for everything... when opening up wav files it still says unsupported codec. what the hell can it play if it can't play wav files? i ended up going to a different WM6 build where WMP would work (tested it just now). so the only thing i can suggest is finding a CAB for WMP and installing again or play around with the ten million WM6 builds...
ndn715 said:
we just went to avaya voip at work and now get VMs in our email as well. i had the same issue, and couldnt figure out why WMP couldnt play WAV files... doesnt make sense. but anyways i installed TCMP (http://www.freewareppc.com/multimedia/tcpmp.shtml) and set it to be the default player for everything... when opening up wav files it still says unsupported codec. what the hell can it play if it can't play wav files? i ended up going to a different WM6 build where WMP would work (tested it just now). so the only thing i can suggest is finding a CAB for WMP and installing again or play around with the ten million WM6 builds...
Click to expand...
Click to collapse
I downloaded Conduits Meda Player and it plays the files but it wont automatically play the files when you click on them. I could not find a setting that would make it automatically open and play the file - it would just open the program. Then you had to open the folder where the file was stored. Since I also discovered that the Notes program would play the WAV files, I just uninstalled the Conduits prog, and now I'm having my wife just use notes instead. It's a little cumbersome, but until I can find a media player that can open automatically and play the darn files, may as well use Notes.
shawndh said:
I downloaded Conduits Meda Player and it plays the files but it wont automatically play the files when you click on them. I could not find a setting that would make it automatically open and play the file - it would just open the program. Then you had to open the folder where the file was stored. Since I also discovered that the Notes program would play the WAV files, I just uninstalled the Conduits prog, and now I'm having my wife just use notes instead. It's a little cumbersome, but until I can find a media player that can open automatically and play the darn files, may as well use Notes.
Click to expand...
Click to collapse
Since audio is basically all you need, try this great little app. This is the updated version, and has a settings option to play at open.
Enjoy!
8125
2.25.11.1
shawndh said:
I downloaded Conduits Meda Player and it plays the files but it wont automatically play the files when you click on them. I could not find a setting that would make it automatically open and play the file - it would just open the program. Then you had to open the folder where the file was stored. Since I also discovered that the Notes program would play the WAV files, I just uninstalled the Conduits prog, and now I'm having my wife just use notes instead. It's a little cumbersome, but until I can find a media player that can open automatically and play the darn files, may as well use Notes.
Click to expand...
Click to collapse
By the way TCPMP does have a setting to "play at open"
In TCPMP go to Options>settings
[pict1]
Select page>player check box at play at open. Tap OK [pict2]

Coding to Play streaming PLS (ShoutCast)

Hey folks, I'm trying to write an app to play a PLS stream from a ShoutCast server, any advice? I'm able to stream standard MP3s using the MediaPlayer class, but it doesn't seem to work with PLS files.
Hi,
a PLS file is a playlist file not an actual media(sound/video) file, you can open it with your favorite text editor. To be able to listen to a stream you need to be able to decode the media type(AAC,MP3,WMA,...) thats what codecs are for
Yeah, I know, I tried using the adress in the .pls but it wasn't playing/nor throwing an error. I was pretty sure it was a valid codec being used (it works fine with a static mp3 path), so I guess I'll have to check with the settings on the ShoutCast server.
Thanks for the reply.
I'm interested in that idea of being able to listen to streams on the go. I did a quick google search and found out that there already is a stream player for android out there, called AntPlayer.
I think it's available on the market, and if the source is open maybe you can take a look.
I'm going to look it up on the market and see if it plays di.fm streams
Droidlive?
Yeah, I found a few that can do it, but haven't found any open source options yet. I'll look into AntPlayer. I'm trying to create an app for our university's radio station.
Any updates? I'm looking to do the same.
Same problem here!

HD2 and Online Radios

I'm not able to listen to online radios which I was able to do with my old T-Mobile Wing. What do I need to do?
tuss said:
I'm not able to listen to online radios which I was able to do with my old T-Mobile Wing. What do I need to do?
Click to expand...
Click to collapse
You mean like Slacker? What exactly can't you do? (sound not coming out, no connection, etc)?
egzthunder1 said:
You mean like Slacker? What exactly can't you do? (sound not coming out, no connection, etc)?
Click to expand...
Click to collapse
The website of online radios doesn't display correctly.It says something like this page is formatted by google. Do I need a flash player or something?
You should have a program called slacker on your phone
tuss said:
The website of online radios doesn't display correctly.It says something like this page is formatted by google. Do I need a flash player or something?
Click to expand...
Click to collapse
what's the exact url of the site? and which browser did you use on your phone to access it?
As far as stopping Google from formatting your pages, do this:
Open opera and perform a google search
Scroll to the bottom of the search results and look for the link called "Settings"
(You may have to zoom in to click the link)
Under "Format web pages for your phone", click "Off"
(I also click "Off on "SafeSearch" and "Save Recent Locations")
Voila, all webpages will now be formatted via opera instead of Google.
sirphunkee said:
what's the exact url of the site? and which browser did you use on your phone to access it?
Click to expand...
Click to collapse
Unfortunately, I am not allowed to post URLs, but I use Opera. I got rid of that Google formatting, but there is still no sound. It looks like Windows Media Player plug-in for Opera is missing. How to get it?
tuss said:
Unfortunately, I am not allowed to post URLs, but I use Opera. I got rid of that Google formatting, but there is still no sound. It looks like Windows Media Player plug-in for Opera is missing. How to get it?
Click to expand...
Click to collapse
Ok, I got the URL you PM'd (http://local.trio.ee/ot/mp3/mp3player/elmarwmp.html) and opened it in my desktop browser first. It did just open a WMP plugin and started an mp3 stream, but it took quite a while to buffer at first, and kept needing to pause and re-buffer every minute or so...so it looks like the feed isn't that stable to begin with.
Now, I tried opening that url directly in WMP on the phone, and it wouldn't play it...it started to open, then just gave an "error has occured" message and wouldn't play it. So, even if there is a 'wmp plugin' for opera (I've never seen one), it probably wouldn't help in this case since the onboard WMP doesn't seem capable of playing it anyway.
Some of the other common media players (TCPMP/Coreplayer, nitrogen, etc) might be able to open that url and play the stream, but I don't have any on hand right now to test. Each of them has an option to "open URL", just find that and put that address in and see if they can do it any better.
EDIT: The stream that the player at that URL starts is this: http://striiming.trio.ee:8008/elmar.mp3?stream=elmar&format=mp3. I tried that in WMP as well, it said the file was corrupt or in a format it couldn't play. Opera offered to open the file, and did play the music, but it only played the current track being streamed (that stream seems to serve up a rotation of ~3MB mp3's) once it finished downloading the whole mp3.
sirphunkee said:
Ok, I got the URL you PM'd and opened it in my desktop browser first. It did just open a WMP plugin and started an mp3 stream, but it took quite a while to buffer at first, and kept needing to pause and re-buffer every minute or so...so it looks like the feed isn't that stable to begin with.
Click to expand...
Click to collapse
Desktop browser? What is that?
tuss said:
Desktop browser? What is that?
Click to expand...
Click to collapse
He meant he used his Desktop computer before he tested on his phone. Lol
sirphunkee said:
Ok, I got the URL you PM'd (http://local.trio.ee/ot/mp3/mp3player/elmarwmp.html) and opened it in my desktop browser first. It did just open a WMP plugin and started an mp3 stream, but it took quite a while to buffer at first, and kept needing to pause and re-buffer every minute or so...so it looks like the feed isn't that stable to begin with.
Now, I tried opening that url directly in WMP on the phone, and it wouldn't play it...it started to open, then just gave an "error has occured" message and wouldn't play it. So, even if there is a 'wmp plugin' for opera (I've never seen one), it probably wouldn't help in this case since the onboard WMP doesn't seem capable of playing it anyway.
Some of the other common media players (TCPMP/Coreplayer, nitrogen, etc) might be able to open that url and play the stream, but I don't have any on hand right now to test. Each of them has an option to "open URL", just find that and put that address in and see if they can do it any better.
EDIT: The stream that the player at that URL starts is this: http://striiming.trio.ee:8008/elmar.mp3?stream=elmar&format=mp3. I tried that in WMP as well, it said the file was corrupt or in a format it couldn't play. Opera offered to open the file, and did play the music, but it only played the current track being streamed (that stream seems to serve up a rotation of ~3MB mp3's) once it finished downloading the whole mp3.
Click to expand...
Click to collapse
Well, for some reason, I'm not able to play any radio stations anymore. Please let me know what URLs work for you, so that I can test?

Categories

Resources