Old 06-05-2008, 12:10 PM   #1 (permalink)
Experienced Member
 
LedZepp's Avatar
 
Join Date: Mar 2007
Posts: 976
LedZepp has a spectacular aura aboutLedZepp has a spectacular aura about
Default [Beta] Sleep Timer

Do you like to listen to music before going to sleep, but often find your battery drained when you wake up? Then this is perfect for you.
Choose the number of hours, minutes, and seconds you would like to listen to your music, then choose either your whole collection randomized, A certain Artist, A certain Album, or a Certain playlist. And your off, the time left will be displayed on the screen.

How to use:
The first screen you will see is the amount of time you would like to set.
Choose hours first(you may leave any of these at zero), then click the center button to move to the next amount. After you enter in the seconds, you will be taken to the music selection screen. Use left and right to navigate between Random, Artists, Playlists, and Albums. Press up/down to move to the previous/next choice, hold the button down to move faster(it goes pretty fast). Press the center button when you found what you want to listen to and you will be taken to the last screen. It displays the time left. Press up/down to adjust volume and press left/right to move between songs.
At anytime you may press the back button to move back a screen(or for the time set it will move back to the previous time set).
Note: If you press back when on the last screen(time left screen) you will be taken back to music selection and your timer will be reset to what you had chosen, it will not continue.
When the time left is 0, it will exit the game and restart your zune. If you want it to shut down instead of restarting, when the timer starts just switch the hold button to on and it will stop it from starting back up when it shuts down.

Simple, yet useful.

Rar Zip

*Please do not redistribute without my knowledge.

Last edited by LedZepp; 06-05-2008 at 12:51 PM.




LedZepp is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old 06-05-2008, 12:23 PM   #2 (permalink)
Jr. Zuner
 
Join Date: Jan 2008
Posts: 40
mikehobo is an unknown quantity at this point
Default

Awesome! Except, all it really does is restarts the zune, instead of shutting it down. Either way it's useful.




mikehobo is offline   Reply With Quote
Old 06-05-2008, 12:29 PM   #3 (permalink)
Super Zuner
 
saab900's Avatar
 
Join Date: Aug 2007
Location: Kickin it on the east coast
Posts: 1,600
saab900 has a spectacular aura aboutsaab900 has a spectacular aura about
Default

Awesome idea bro! + rep, too bad you cant program it to shut down but still awesome, im probably gonna use this alot!
__________________

http://www.zuneboards.com/forums/req...d-section.html
Quote:
Originally Posted by Volpe Sinatra
He speaks and types Alex, a language entirely separate from English.
Quote:
Originally Posted by ACE
Hey if you press up, up, down, down, left, right, left, right back, play, back, play, and then center....you're an idiot...




saab900 is offline   Reply With Quote
Old 06-05-2008, 12:33 PM   #4 (permalink)
Experienced Member
 
LedZepp's Avatar
 
Join Date: Mar 2007
Posts: 976
LedZepp has a spectacular aura aboutLedZepp has a spectacular aura about
Default

To shut it down, when the timer starts turn the hold button on.
I think that stops it from starting back up

Edit:
Confirmed, this stops it from starting back up




LedZepp is offline   Reply With Quote
Old 06-05-2008, 12:45 PM   #5 (permalink)
Jr. Zuner
 
Join Date: Jan 2008
Posts: 40
mikehobo is an unknown quantity at this point
Default

Alright sweet!




mikehobo is offline   Reply With Quote
Old 06-05-2008, 12:53 PM   #6 (permalink)
Experienced Zuner
 
Join Date: May 2008
Posts: 122
Huntsman85 is on a distinguished road
Default

Change...

String timeLeft = ts.ToString();

to

String timeLeft = ts.Hours.ToString() + " hrs " + ts.Minutes.ToString() + " mins " + ts.Seconds.ToString() + " secs";

This will cause less seziures

Last edited by Huntsman85; 06-05-2008 at 12:56 PM.





Huntsman85 is offline   Reply With Quote
Old 06-05-2008, 01:08 PM   #7 (permalink)
Experienced Zuner
 
Join Date: Jun 2008
Posts: 141
sk8er209 is on a distinguished road
Default

sweet my brother uses an ipod and listens to it when he goes to sleep and drains his battery. i'm going to really use this to make fun of his ipod :]




sk8er209 is offline   Reply With Quote
Old 06-05-2008, 01:52 PM   #8 (permalink)
Zuner
 
bjmiller121's Avatar
 
Join Date: May 2008
Posts: 74
bjmiller121 is on a distinguished road
Default

does the backlight stay lit while the music is playing?
__________________




bjmiller121 is offline   Reply With Quote
Old 06-05-2008, 02:26 PM   #9 (permalink)
Experienced Zuner
 
Join Date: May 2008
Posts: 122
Huntsman85 is on a distinguished road
Default

http://cid-7f1c1f2f3bec9e12.skydrive...SleepTimer.zip

Created by: LedZepp

Updates include...
New User Controls (up, down, right, left, back)
Volume Display
New Timer display

These are just a couple updates that I did. Needs a bit of polish to become really nice. Maybe adding in Zune Blade.

Last edited by Dizzy; 06-06-2008 at 01:27 PM.





Huntsman85 is offline   Reply With Quote
Old 06-05-2008, 03:00 PM   #10 (permalink)
Jr. Zuner
 
Sk8ierBoi's Avatar
 
Join Date: Jun 2008
Posts: 44
Sk8ierBoi is on a distinguished road
Default

Ohhh thanks for this! The sleep timer will be pretty helpful.. I hate waking up and seeing my battery drain =D




Sk8ierBoi is offline   Reply With Quote
Old 06-05-2008, 04:18 PM   #11 (permalink)
Experienced Member
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 803
ShotgunSnipist has a spectacular aura aboutShotgunSnipist has a spectacular aura about
Send a message via AIM to ShotgunSnipist
Default

PLEASE PLEASE PLEASE MAKE AN ALARM CLOCK!!!!
It can even be the opposite of this!
Just set hours minutes seconds until the music starts!
(It'll be on my dock so I won't be worrying about battery.)
__________________
Invisible Text. =P



ShotgunSnipist is offline   Reply With Quote
Old 06-05-2008, 04:32 PM   #12 (permalink)
Pending
Support Team
zB Programmer
Elite Zuner
 
Marshillboy's Avatar
 
Join Date: Nov 2006
Posts: 2,220
Marshillboy is a name known to allMarshillboy is a name known to allMarshillboy is a name known to allMarshillboy is a name known to allMarshillboy is a name known to all
Default

Quote:
Originally Posted by ShotgunSnipist View Post
PLEASE PLEASE PLEASE MAKE AN ALARM CLOCK!!!!
It can even be the opposite of this!
Just set hours minutes seconds until the music starts!
(It'll be on my dock so I won't be worrying about battery.)
I don't think that's possible...
__________________
Quote:
Originally Posted by Adam Frucci
And you know what? Macs are too hip. Oh, look at me! I do graphic design! I wear women's jeans and hang out in coffee shops! I'm a DJ! Well good for you. My computer is not a fashion statement. It's a computer.



Marshillboy is offline   Reply With Quote
Old 06-05-2008, 04:35 PM   #13 (permalink)
Experienced Member
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 803
ShotgunSnipist has a spectacular aura aboutShotgunSnipist has a spectacular aura about
Send a message via AIM to ShotgunSnipist
Default

How is it not?
If people can program this then it seems pretty easy to make the count down START audio playback instead of hold the back button.
__________________
Invisible Text. =P



ShotgunSnipist is offline   Reply With Quote
Old 06-05-2008, 05:33 PM   #14 (permalink)
Experienced Member
 
LedZepp's Avatar
 
Join Date: Mar 2007
Posts: 976
LedZepp has a spectacular aura aboutLedZepp has a spectacular aura about
Default

Quote:
Originally Posted by Huntsman85 View Post
Change...

String timeLeft = ts.ToString();

to

String timeLeft = ts.Hours.ToString() + " hrs " + ts.Minutes.ToString() + " mins " + ts.Seconds.ToString() + " secs";

This will cause less seziures
Your not supposed to be looking at the timer when your sleeping so it really doesnt matter.

Quote:
Originally Posted by bjmiller121
does the backlight stay lit while the music is playing?
It does but if you want i can program the middle button to hide the timer and therefore making the whole screen black.




LedZepp is offline   Reply With Quote
Old 06-05-2008, 05:40 PM   #15 (permalink)
Experienced Zuner
 
DareckT's Avatar
 
Join Date: May 2008
Posts: 127
DareckT is on a distinguished road
Default

Well it would be pretty simple to make it into an alarm clock but umm who doesn't already have an alarm clock? lol Anyway what it couldn't do obviously is turn the zune on. But i'm sure it could work as long as you have it plugged in to your wall because your zune would probobly be dead by morning. But hey i'd use it for taking naps ;]




DareckT is offline   Reply With Quote
Old 06-05-2008, 06:51 PM   #16 (permalink)
Jr. Zuner
 
Join Date: Jun 2008
Location: Australia
Posts: 41
ravenator is on a distinguished road
Default

Thank you! Such a simple feature, so useful, so... needed!




ravenator is offline   Reply With Quote
Old 06-05-2008, 06:57 PM   #17 (permalink)
Experienced Member
 
ShotgunSnipist's Avatar
 
Join Date: May 2008
Location: Colorado
Posts: 803
ShotgunSnipist has a spectacular aura aboutShotgunSnipist has a spectacular aura about
Send a message via AIM to ShotgunSnipist
Default

Quote:
Originally Posted by DareckT View Post
Well it would be pretty simple to make it into an alarm clock but umm who doesn't already have an alarm clock? lol Anyway what it couldn't do obviously is turn the zune on. But i'm sure it could work as long as you have it plugged in to your wall because your zune would probobly be dead by morning. But hey i'd use it for taking naps ;]
Of course everyone has an alarm clock. But would you rather wake up to annoying ear breaking bells or Hells Bells by ACDC?
__________________
Invisible Text. =P



ShotgunSnipist is offline   Reply With Quote
Old 06-05-2008, 11:10 PM   #18 (permalink)
Jr. Zuner
 
Join Date: Jun 2008
Location: Australia
Posts: 41
ravenator is on a distinguished road
Default

Quote:
Originally Posted by ShotgunSnipist View Post
Of course everyone has an alarm clock. But would you rather wake up to annoying ear breaking bells or Hells Bells by ACDC?
Hmm, tough question. :p - hehe, nah acca dacca are alright


Btw: Something to turn the screen off would be really useful!

Last edited by ravenator; 06-05-2008 at 11:14 PM.




ravenator is offline   Reply With Quote
Old 06-06-2008, 12:12 AM   #19 (permalink)
Squirt
 
brute games's Avatar
 
Join Date: May 2008
Posts: 12
brute games is on a distinguished road
Send a message via AIM to brute games
Default

cool but i wish the backlight would be able to turn off and a better music selection. oh and does anyone else have problems with their hold button not working? mine is really hard to set you need to like push it down really hard and then right and now it wont ever work anymore.(i have a 80gb)
__________________
------------------
\/click signature for shooter platformer Day.of.Madness v2.4\/

created with gamemaker v.6




brute games is offline   Reply With Quote
Old 06-06-2008, 03:14 PM   #20 (permalink)
Zewbie
 
Join Date: Nov 2007
Posts: 8
BRoemer is on a distinguished road
Default

Quote:
Originally Posted by LedZepp View Post
It does but if you want i can program the middle button to hide the timer and therefore making the whole screen black.

Yes please



BRoemer is offline   Reply With Quote
Reply

Bookmarks

Thread Tools