Rockbox Development > Feature Ideas
day / night mode by hour
bluebrother:
--- Quote from: whiskers75 on January 08, 2013, 06:17:40 AM ---Moved code into daynight.c to avoid conflict. Now I just need that code to be run every hour.
--- End quote ---
Now you need that file to get actually compiled. By simply putting code in a new file you don't get it magically compiled. Furthermore, you need to code to be actually working. And last, simply running it every hour also isn't sufficient -- how is it supposed to behave if you turn off the player during day, then turn it on again at night -- if you're not turning it on at a new hour you'll need to wait until the next hour to change to night mode? That's not how people would expect this to work ...
And code building doesn't tell anything about it working :)
torne:
The problem isn't a "conflict", it's that you don't understand the difference between "if" and "#if" in C. #if is a preprocessor directive that is resolved during compilation. Your code does nothing at all as a result.
We're not trying to deter you from contributing, but it appears that you don't actually know the basics of the C language, and are just copying things from other places. This is unlikely to result in anything that actually works in most cases.
rbhawaii:
hi torne and everyone eles thanks for helping out , would you be able or willing to help bring this code to life, the way you think is best? I almost get the feeling that whiskers75 is trying hard but is not getting the proper motivation. i mean everyone wants to see this feature in rock box right? so why not help him out a little more then just telling him how hes doing it wrong. this is a very exciting feature for myself and many many rb users im sure, so lets all help each other as best as we can :)
i know nothing anyone has said so far was to discourage anything or anyone. i just get the feeling we can be helping each other "create something" and not just keep pointing out what someone did wrong.
i hope my message is not misread as mean or negative since it is not meant to come across that way.
kind regards
torne:
Actually, very few people have expressed a desire to see this feature in Rockbox. :)
Programming is a complicated skill and parts of it have to be re-learnt for every language you use. There's no way to just tell you what the right thing to do here is without just writing the code for you, and nobody will learn anything significant from that. How hard someone is trying is nothing to do with whether they have the required skills to succeed. A book on C programming would be far more helpful than one of us explaining how to accomplish this particular task.
rbhawaii:
Fair enough...
I cant say anything on this topic since i know nothing of it. So i take your word for it.
Im a computer technician and I have always come from a view point where if someone is trying to fix/build something and they need help then help them , and i always do in the most efficient manor and they are always grateful and the results are great. But maybe this does not apply to coding , oh well.
As far as the feature goes... it is a feature for people who drive with rockbox. The auto day night feature is very popular on almost every gps i have ever seen. i drive with rock box so much that i removed my car stereo and put 2 half din equalizers in its place. i dont need the radio nor cds nor tiny usb drives. rockbox is the ultimate mp3 player for me (except for android where GMMP is the best ever so far-sorry but honest)
and not many people requesting it... I dont know if there are statistics out there but how many people who install and use rb are on these threads? my guess is 1%? I still think if they had the feature many would love it and be grateful for it :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version