Preventing "sleep" while audio streaming? - Touch Pro2, Tilt 2 Windows Mobile General

Have had a TMO TP2 for about a month now, using the stock TMO rom, at least for now until the WinMo 6.5 stuff settles down a bit and I can make a good ROM choice.
The problem: Listening to streaming audio from the net (either over WiFi or mobile network, no difference) using either the wired or BT headset (no difference in behavior) on battery power. The phone will go to sleep and interupt the audio after the normal sleep timer expires. Only solution I have found is to keep touching the screen or other activity to keep the phone "awake", quite irritating. All other media feature operate as expected.
I use primarily Windows Media Player or Kinoma Play for the audio streaming. I have not tried to duplicate using local media files or the TF3D audio app since I don't store local media files on the phone. (have other devices and services for that, MS realease Zune software for WinMo for goodness sake!)
I used my previous WinMo phones like this with no problem (TMO Wing and MDA with various factory and cooked ROMS) with no issue like this. There seems to be a registry setting or some other tweak missing that tells the phone not to sleep when media is actively being played but I don't know where to find that setting.
Yeah, I could switch to a cooked ROM but that seems to be a "nuke it from orbit" solution when a simple "surgical strike" could do the trick.
Ideas anyone?

Have you installed the S2U2 sliding lock app?

http://www.conduits.com/products/player/

I'm having this exact same problem & have been trying to find the registry key for several weeks. I'm also assuming it's a simple registry entry as my previous Palm Treo 700wx never shut off when streaming music no matter what application I used. Now with the Touch Pro 2 it shuts off based on the control panel power settings even while streaming music. I know I can set the power option to never sleep, but if I do that my battery would drain much quicker. Also lots of times I'll forget to turn that option back on once I'm done streaming & it's very inconvenient. I'm currently using TCPMP to get around this problem, but would like to find a solution so it's not application specific.

did anyone figure this one out?

Regedit the following dword value:
Code:
HKLM\System\CurrentControlSet\Control\Power\BattPowerOff
Set it to 0 and soft-reset.

I have the same problem with S2U2 installed. The reg setting is there and i set S2U2 not to kill the power when locking.

Try this, It works with Pandora for me.

Fixed streaming sleep in Windows media player
RojasTKD said:
Try this, It works with Pandora for me.
Click to expand...
Click to collapse
This worked for me! Thank you much!
Sprint Touch Pro2 streaming through Windows media player.

cowboyjoet said:
This worked for me! Thank you much!
Sprint Touch Pro2 streaming through Windows media player.
Click to expand...
Click to collapse
Glad I could help. Enjoy!

RojasTKD said:
Try this, It works with Pandora for me.
Click to expand...
Click to collapse
Stock Tilt 2 and it worked for me as well

This is what the cab a few posts back actually changes.
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\State\Unattended]
"wav1:"=dword:00000000

wpbear said:
This is what the cab a few posts back actually changes.
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\State\Unattended]
"wav1:"=dword:00000000
Click to expand...
Click to collapse
Thanks! Good to know. A very simple registry edit.

I havent used this but has anyone used this when not using a wav file and has it gone to sleep. I just use "turn the light off" cab and screen lock combo to stream.

Related

Need help with media player 10 (Xda IIs)

Hi guys....need some help. With the old version of wmp 9 i could play music whilst the PDA was off (standby, i guess) thereby saving battery power. With wmp 10 as soon as i turn it off the music stops playing.
Any ideas, or am i stuck with leaving it on when playing music???
mplayer 9 also stop playing if you turn it off
but you can turn off the screen if you set a shortcut to one button
look in mplayer10's options i'm sure it support that too
where do i get the wmp10 for xda2s?
Search the wiki for Blue Angel and you will find the latest 1.40 ROM which contains WMP 10. By the way, Gadget Boy, assign one of your hardware buttons to screen toggle like in WMP 9 and you can listen to music while the screen is off!
HTH
Fin
does anyone has the upgrade file? or anyone has extracted from the rom?
findus said:
...... By the way, Gadget Boy, assign one of your hardware buttons to screen toggle like in WMP 9 and you can listen to music while the screen is off!
HTH
Fin
Click to expand...
Click to collapse
Which function do i assign? Seems to be different than old version!!
Thanx

Do you know of a media player software that keeps playing when device in standby ?

Currently I'm using Windows Media Player 10 mobile, and when the device goes to Standby (to save battery), the player stops playing.
When I had the HTC Diamond the ROM I used had a tweak in it to allow Media Player to keep playing even in standby mode.
Do you know of a way to solve this problem with Media player, or can you suggest other player that can play in standby ?
Thanks.
S2P does it
Try A_C's S2P, the best mobile media player ever.
It turns off backlight automatically and is really great to use.
Enjoy!
Gien
Kinoma Freeplay all the way, most fluid and pretty interfrace you can get.
Mortplayer!
all player will auto "shut off" music in standby mode;
ONLY when u have earpiece plug in, then it wont cut off the music.
anyway, kinoma freeplay is very buggy.. mortplayer FTW
Pocket Player 4
mate, all these players mentioned above are good, but i've always felt the whole thing getting a bit sticky when they're running.
however (not perfect either) i would recommend Pocket Player 4. is the one i been using for a few months and cooking in my own roms. it plays everything from audio to video and has full support for online streaming.
it will carry on playing as normal when you put the phone in standby and will keep backlight on if you dont press the top button.
if youre listening to online radio via network it wont drop the connection - fantastic here in the uk where some of us have unlimited data - but it will stop if you're using wifi, but this has nothing to do with the app, by default, touch hd will drop wifi connection in standby mode.
it is skin changeable and i use the windows media player one, so i use different app but at least with same face.
the only bad thing about this app is that it takes about 20-40 seconds to load and for a moment you might think it isnt loading but it is. apart from that, it's all joy.
bigdeal88 said:
all player will auto "shut off" music in standby mode;
ONLY when u have earpiece plug in, then it wont cut off the music.
Click to expand...
Click to collapse
But I AM connected via bluetooth earpiece, and it does cut off the music (using windows media player), why ?
err... the TF3D player works fine over bluetooth when in standby!
skribzy said:
err... the TF3D player works fine over bluetooth when in standby!
Click to expand...
Click to collapse
Yes I know the TF3D works fine while in Standby, but it has a different problem.
Well, you could also try something else; use your favorite mediaplayer and let the screen be turned off when the device is faced down.
I use Gyrator to turn off the screen, no stand-by mode nessecary. When you need it be turned on again, press the on/off button.
As a slight aside, Resco Radio also works fine in standby. Just hit Disp Off.
Crackity Jones said:
As a slight aside, Resco Radio also works fine in standby. Just hit Disp Off.
Click to expand...
Click to collapse
"Display off" is not standby. There is a difference in battery usage between the two.
In standby/suspended mode the device is sleeping and all OS processes are suspended, therefore you can't have audio playback still active then.
In unattended mode, and this is what you are referring to, you can have audio playing while some other functionality is effectively disabled.
Since screen backlight is one of the major contributors to power consumption, turning the screen off is almost as good as running in unattended mode, don't exclude this option.
Sadly most players are not designed to fully take advantage of unattended mode. WMP IS aware of this mode though. However, with the variety of platforms around there's no easy way to make wave and bluetooth drivers remain operational in unattended mode.
Check out http://www.codeproject.com/KB/mobile/WiMoPower1.aspx for an article dicussing power state adjustments for various drivers in unattended mode. Be careful if you change anything, as the result may not be exactly as expected and effective power consumption may increase.
Thanks for the clarification stepw.
stepw said:
In standby/suspended mode the device is sleeping and all OS processes are suspended, therefore you can't have audio playback still active then.
In unattended mode, and this is what you are referring to, you can have audio playing while some other functionality is effectively disabled.
Since screen backlight is one of the major contributors to power consumption, turning the screen off is almost as good as running in unattended mode, don't exclude this option.
Sadly most players are not designed to fully take advantage of unattended mode. WMP IS aware of this mode though. However, with the variety of platforms around there's no easy way to make wave and bluetooth drivers remain operational in unattended mode.
Check out http://www.codeproject.com/KB/mobile/WiMoPower1.aspx for an article dicussing power state adjustments for various drivers in unattended mode. Be careful if you change anything, as the result may not be exactly as expected and effective power consumption may increase.
Click to expand...
Click to collapse
Well said, I was just about to type that up, but now you saved me the time and trouble.

Any way to auto play/pause music when audio cable inserted/removed?

Hey all,
During my last few trips in the car I've been using the aux input of my stereo to play music via the TF3D music tab, and it's been great. I was especially impressed when a call came through, the music paused, and upon answering it was already set in speakerphone mode with the audio coming through the stereo. Of course, the large screen also makes it very easy to choose music while driving, without diverting too much attention from the road.
Anyway, that got me in the mindset to always play in-car music in this way, which made me wonder if there was any way to make music automatically play when the audio cable is plugged in (assuming something's in the playlist or paused), and then automatically pause when said cable is removed. It would save that little bit of extra messing about at the start and end of each journey.
It seems like something that could be done through mortscript, but my attempts at searching have come up empty and I'm not skilled enough to write something myself.
Has anybody ever got this working, or is willing to try writing a mortscript to do it?
Much thanks in advance!
Max
S2P does this, it has settings that you can configure accordingly for it.
evorgevol said:
S2P does this, it has settings that you can configure accordingly for it.
Click to expand...
Click to collapse
+1 ! True !
evorgevol said:
S2P does this, it has settings that you can configure accordingly for it.
Click to expand...
Click to collapse
Sold! Thanks a lot!
Noiz said:
...to make music automatically play when the audio cable is plugged in (assuming something's in the playlist or paused), and then automatically pause when said cable is removed...
Click to expand...
Click to collapse
Where in S2P is a setting to enable this???
It's in S2U2 option..
There is a part for S2P 4 lines about it !
Well that explains why I couldn't get it to work just now. I'll download S2U2 too then. Thanks again.
No problem
Zepiii said:
It's in S2U2 option..
Click to expand...
Click to collapse
hmm ok..
are there more options I should know about ?
I thought S2U drains the battery ... but maybe you can convince me
S2u2 works great. I wouldn't worry about the battery drain it is minimal. The settings to work with S2P are near the bottom. Also S2U2 is constantly being updated. You should check it out, since ver 1.52 it has gotten really nice with animations and a very nice notifications.

Leave mp3 playing when turning off?

I've just flashed to the Jacko ROM, and am finding that if an mp3 podcast is playing it stops if I press the power button to turn off the screen. Does anyone know how I can configure WM to keep playing the podcast when I press the power button?
I was facing a similar problem with my origninal HTC TPII which came with default T-mobile ROM version.
I upgraded to the following ROM version today and I can now play the music in my media player while turning the device to sleep mode.
ROM Name : WWE RHODIUM Cookie Energy style
ROM Version : 03.Jul.2010 WWE
ROM date: 03/15/10
RADIO Version : 3.45.25.14
May be you can try the above ROM and see if it helps you..
Thanks for the suggestion. Funnily enough I just switched from the Energy ROM to Jackos ROM, mainly because it leaves me with 20Mb extra program memory! I'm not keen to go back to the Energy ROM for this reason.
Thanks for the reply.. I am a newbie and like mentioned earlier, I tried installing the Energy ROM today itself.. I have yet to try the other ROM's and will try them step by step once I am convinced which is better..
Your explanation gives me a valid reason to try Jackos ROM very soon..
Tried to help you, seems I got some additional knowledge.. Thanks again..
Haha, again a funny thread xD
I guess your problems with playing music while suspended are related to SD card problems. Format them, copy your music back to a folder and see if it works! I had never problems with playing music and turning my device off 0.o And I'm listing a lot to music with my headphones or BT headset while traveling.
Why not install the Sk_customs Keep the music playing .cab. It does exactly what you want without changing the rom.
Jackos said:
Haha, again a funny thread xD
I guess your problems with playing music while suspended are related to SD card problems. Format them, copy your music back to a folder and see if it works! I had never problems with playing music and turning my device off 0.o And I'm listing a lot to music with my headphones or BT headset while traveling.
Click to expand...
Click to collapse
Thanks for the suggestion. OK I just reformatted the memory card then copied everything back to it. Same problem - music stops when I turn off the screen.
Where can I find Sk_customs Keep the music playing? I've never heard of it before.
I ran into this problem and went through all the motions and in the end it was the card itself, the brand, I think it was a transcend 8gig. Got another card,different brand(Danelec or something) and the problem went away
itm said:
Thanks for the suggestion. OK I just reformatted the memory card then copied everything back to it. Same problem - music stops when I turn off the screen.
Where can I find Sk_customs Keep the music playing? I've never heard of it before.
Click to expand...
Click to collapse
Do you use a 3rd party multimedia player? I found that CoreCodec would not play while the screen is turned off (with the headphone plugged in), but HTC built in audio player plays it just fine.
Baylenthesky said:
Do you use a 3rd party multimedia player? I found that CoreCodec would not play while the screen is turned off (with the headphone plugged in), but HTC built in audio player plays it just fine.
Click to expand...
Click to collapse
I use Windows Media Player, but have also tried Pocket Player 4.1.
I'm pretty sure it's not the card that's the problem as it was working fine with the previous (Energy) ROM.
InRBigness said:
Why not install the Sk_customs Keep the music playing .cab. It does exactly what you want without changing the rom.
Click to expand...
Click to collapse
Any News on where to get this?
Cab would be great.
I found the file (don't remember where, and sadly it doesn't work for my phone). Oh wait, I just saw that this is a Tilt 2 thread (I have a Tilt 1): I came upon this thread by googling, not through the menus.
Again use the shk_customs keep the music playing cab does exactly what you want. I use the CorePlayer and it works perfectly for me to keep the music on when the screen or power is off.
Why use a piledriver like a rom change when a small hammer works fine.

Bluetooth Remote for PC

I have looked all over the place trying to find an app that would control windows media player or winamp or something of that nature via bluetooth. All the apps i have tried dont work. Anybody seen or heard of anything of this nature ? If not is anybody feeling froggy and would like to develop such an app.Id definitely throw some money your way if you managed to get it working. Basic controls such as rewind, fast forward play pause stop volume up/down. A bonus would be to see the playlist on the phone and be able to choose any song to play (basically emulating the "jump to file" feature of winamp). If we could get this to work on a htc hero that would definitely be worth a large sum of money.
EDIT: I apologize in advance if this is the wrong section for this but i did not see an "APP Development" thread.
ummm.... Gmote2, its been around since G1 days and works great as a media player controller, as well as a trackpad and keyboard.
Is there a reason you specifically want it to be bluetooth and not wifi?
Brutal-Force said:
ummm.... Gmote2, its been around since G1 days and works great as a media player controller, as well as a trackpad and keyboard.
Click to expand...
Click to collapse
Ive tried it and you have to see the mouse to control the pc and also if you use screen capture its not very smooth or efficient.
Valicore said:
Is there a reason you specifically want it to be bluetooth and not wifi?
Click to expand...
Click to collapse
And i want it bluetooth bcuz i dont always have my laptop with my home wifi. And i have not been able to pair ad hoc between the laptop and phone. Bluetooth is fast enough to create such an efficient app and keep it highly mobile at the same time.

Categories

Resources