Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Power Hour plugin?
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Power Hour plugin?  (Read 5566 times)

Offline johnz1

  • Member
  • *
  • Posts: 13
Re: Power Hour plugin?
« Reply #15 on: November 29, 2007, 06:52:05 PM »
soooooo, anyone interested in making a power hour plugin?  ;D

not to change the subject or anything...
Logged

Offline theli

  • Developer
  • Member
  • *
  • Posts: 129
Re: Power Hour plugin?
« Reply #16 on: November 30, 2007, 02:59:23 AM »
Damn! what IS "power hour plugin" ?
Ok... i found it .. but why do you want it in rockbox?
« Last Edit: November 30, 2007, 03:06:21 AM by theli »
Logged
Please, read the manual and wiki!!!!
search before you ask on forums!!!!

Offline johnz1

  • Member
  • *
  • Posts: 13
Re: Power Hour plugin?
« Reply #17 on: November 30, 2007, 12:31:40 PM »
simple: portable power hour

right now I carry around a laptop loaded with MP3's, winamp, and GMan's Power Hour plugin for Winamp.  It would be really nice to have it on my MP3 player
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Power Hour plugin?
« Reply #18 on: November 30, 2007, 12:54:56 PM »
It doesn't seem like that difficult of a plugin to write -- not that I'm volunteering or anything.   :D

Correct me if I'm wrong, but you basically just want to step through a set of track changes separated by a minute (perhaps with configurable start times).
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline johnz1

  • Member
  • *
  • Posts: 13
Re: Power Hour plugin?
« Reply #19 on: November 30, 2007, 01:11:36 PM »
Quote from: Chronon on November 30, 2007, 12:54:56 PM
It doesn't seem like that difficult of a plugin to write -- not that I'm volunteering or anything.   :D

Correct me if I'm wrong, but you basically just want to step through a set of track changes separated by a minute (perhaps with configurable start times).

Exactly.  Configurable start times would be very nice (I usually do a random time between 10-60 seconds).  I want to be able to load a playlist, turn on shuffle, and go.
Logged

Offline jswetzen

  • Artist
  • Member
  • *
  • Posts: 113
Re: Power Hour plugin?
« Reply #20 on: December 08, 2007, 01:56:16 PM »
I've made a quick and dirty powerhour plugin: it starts at 20 seconds, counts down to 0, "Drink!!" flashes for a few seconds and it counts down from 60 seconds down to 0 etc.

This is my first plugin, so it's very simple and is only tested on the iPod simulator. I have also borrowed code from some other plugins.
I won't play this game myself (I don't drink), but it was an easy first project and I think it's functional. If someone wants to develop it further, you can consider this a rough draft.

I've attached the source file.
* powerhour.c (2.85 kB - downloaded 122 times.)
« Last Edit: December 11, 2007, 05:22:47 AM by jswetzen »
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Power Hour plugin?
« Reply #21 on: December 08, 2007, 05:00:48 PM »
In all honesty, did you think it was *accidental* that we didn't allow .rock extensions, and that we'd simply be okay with you renaming it to .txt, or did you think it wouldn't be noticed?

Patches should be posted to the tracker. Anything compiled should be handled via the unsupported builds forum (plugins need to be built for a specific player, as well as often needing to roughly match the version of Rockbox on that player).
Logged

Offline johnz1

  • Member
  • *
  • Posts: 13
Re: Power Hour plugin?
« Reply #22 on: December 10, 2007, 07:57:32 PM »
jswetzen, thank you SO much for taking the time to make the plugin.  I can't wait to try it out.  Hopefully it will be usable on the Gigabeat.

Can someone post the compiled plugin in the Unsupported Builds forum?
Logged

Offline jswetzen

  • Artist
  • Member
  • *
  • Posts: 113
Re: Power Hour plugin?
« Reply #23 on: December 11, 2007, 03:56:48 PM »
Llorean: Honestly, I didn't think at all. I just heard about a million voices in my head whispering "How do I use it?", "But I don't know how to compile!", "Could someone please post the compiled plugin?". But I apologize for my thoughtlessness, it won't happen again.
Logged

  • Print
Pages: 1 [2]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Power Hour plugin?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.138 seconds with 22 queries.