Commit graph

110 commits

Author SHA1 Message Date
Daniel Stenberg
79a6cb67ba include sprintf.h when we use snprintf()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3271 a1c6a512-1295-4272-9138-f99709370657
2003-02-15 00:03:23 +00:00
Björn Stenberg
39f7b66ca4 Added Genre+Year to ID3 viewer, and added the viewer to the main menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3234 a1c6a512-1295-4272-9138-f99709370657
2003-02-11 15:03:28 +00:00
Björn Stenberg
c81286ad29 New default wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3230 a1c6a512-1295-4272-9138-f99709370657
2003-02-11 12:57:13 +00:00
Daniel Stenberg
c84a21dbf6 fix the scroll on the player again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3193 a1c6a512-1295-4272-9138-f99709370657
2003-01-30 07:23:20 +00:00
Björn Stenberg
b82241b970 Show status stopped after playlist ends
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3178 a1c6a512-1295-4272-9138-f99709370657
2003-01-28 22:33:55 +00:00
Daniel Stenberg
d5934e09a4 avoid division by zero (appears in the sim at times)
fixed dynamicly updated scrolling lines


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3177 a1c6a512-1295-4272-9138-f99709370657
2003-01-28 17:00:49 +00:00
Mats Lidell
74cc9e41fa Remove use of rockbox-mode.el in local variables list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:56:06 +00:00
Kjell Ericson
767d604bcd Removed unnecessary calls to lcd_stop_scroll().
Changed all lcd_scroll_pause() to lcd_stop_scroll().
Updated the tree system for new scroll-behaviour.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3154 a1c6a512-1295-4272-9138-f99709370657
2003-01-23 14:28:16 +00:00
Kjell Ericson
fa22295598 Fixed WPS-screen for player.
Debugging to be done by Mats Lidell.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3149 a1c6a512-1295-4272-9138-f99709370657
2003-01-22 12:48:12 +00:00
Kjell Ericson
c8e0fff99f Cleaning up code for Player.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3075 a1c6a512-1295-4272-9138-f99709370657
2003-01-13 11:48:41 +00:00
Kjell Ericson
739d4010a0 The progress char for Player could been undefined.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3074 a1c6a512-1295-4272-9138-f99709370657
2003-01-13 11:43:53 +00:00
Kjell Ericson
c11b90fa49 Adapted player code for new Rocklatin character set.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3051 a1c6a512-1295-4272-9138-f99709370657
2003-01-10 09:55:50 +00:00
Björn Stenberg
cf1317c336 Added id3 version wps tag: %iv. Fixed id3v1 parsing bug.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2967 a1c6a512-1295-4272-9138-f99709370657
2002-12-09 15:01:37 +00:00
Björn Stenberg
9367862246 Added wps tags %ps (shuffle), %bl (battery level) and %bt (estimated battery time left)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2952 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 15:37:07 +00:00
Björn Stenberg
a5587d0298 Added ID3 tag 'genre': %ig
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2950 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 15:21:18 +00:00
Björn Stenberg
345f7c62ba Added ID3 tag 'year': %iy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2949 a1c6a512-1295-4272-9138-f99709370657
2002-12-05 14:55:14 +00:00
Linus Nielsen Feltzing
c099eb40b3 Now also displays WPS lines without format codes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2809 a1c6a512-1295-4272-9138-f99709370657
2002-11-05 23:49:08 +00:00
Daniel Stenberg
0d0828b18e font_get() and lcd_update_rect() are bitmap functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2786 a1c6a512-1295-4272-9138-f99709370657
2002-10-31 07:42:36 +00:00
Linus Nielsen Feltzing
a02ffd5afa Some peak meter optimizations
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2784 a1c6a512-1295-4272-9138-f99709370657
2002-10-30 23:01:27 +00:00
Markus Braun
789faa6a59 Fixed red build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2780 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 14:47:42 +00:00
Linus Nielsen Feltzing
fd0cc3b2b1 Phil Pertermann's dB peak meter patch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2774 a1c6a512-1295-4272-9138-f99709370657
2002-10-29 12:09:15 +00:00
Markus Braun
bc254fe95f Added multiline scroll support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2729 a1c6a512-1295-4272-9138-f99709370657
2002-10-21 13:14:25 +00:00
Mats Lidell
fcf08a1ce6 Simulator can display progress bar (No progress though)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2703 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 15:06:42 +00:00
Robert Hak
73926ef5e5 %pn now allows for conditional checking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2698 a1c6a512-1295-4272-9138-f99709370657
2002-10-17 09:34:48 +00:00
Robert Hak
f9d3d1cd91 added %pn (playlist name) to wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2651 a1c6a512-1295-4272-9138-f99709370657
2002-10-15 11:49:15 +00:00
Mats Lidell
1305c88d18 Made code more like C89.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2582 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 11:39:36 +00:00
Mats Lidell
3c8aaec40a Player simulator should now handle progress bar (if there was progress
in the simulator.)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2577 a1c6a512-1295-4272-9138-f99709370657
2002-10-11 11:08:52 +00:00
Björn Stenberg
a0bf4f1744 Added progress meter to default player wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2560 a1c6a512-1295-4272-9138-f99709370657
2002-10-10 12:46:09 +00:00
Björn Stenberg
227253cfe4 'Reset settings' now also resets wps, font and language (although you have to reboot to get back to the old language).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2552 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 23:13:25 +00:00
Björn Stenberg
d4b884e7e0 'End of song list' message now displays for 1 second and then exits to file browser.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2551 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 22:05:41 +00:00
Daniel Stenberg
d035a9b0bc the playlist variables are now all static, and the wps code use the new
playlist_amount() function to get amount of songs in the current list.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2549 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 13:42:59 +00:00
Linus Nielsen Feltzing
ecf7d95086 The wps_loaded flag was set too early
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2538 a1c6a512-1295-4272-9138-f99709370657
2002-10-09 05:26:36 +00:00
Björn Stenberg
dea31222b8 Added persistence of last .wps, .fnt and .lng file played in /.rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2535 a1c6a512-1295-4272-9138-f99709370657
2002-10-08 15:42:40 +00:00
Björn Stenberg
a6d0abb602 Repeat off/all/one toggle. By Hardeep Sidhu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2498 a1c6a512-1295-4272-9138-f99709370657
2002-10-04 08:48:20 +00:00
Björn Stenberg
8254249380 Don't keep trying to load a non-existing default.wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2444 a1c6a512-1295-4272-9138-f99709370657
2002-09-29 22:37:27 +00:00
Linus Nielsen Feltzing
34a1efc4a1 WPS loading only worked is WPS had been shown at least once before
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2439 a1c6a512-1295-4272-9138-f99709370657
2002-09-27 11:24:47 +00:00
Daniel Stenberg
f7c3ffa537 peakmeter is lcd-bitmap only
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2438 a1c6a512-1295-4272-9138-f99709370657
2002-09-27 10:18:48 +00:00
Linus Nielsen Feltzing
bb572c4412 Philip Pertermanns peak meter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2436 a1c6a512-1295-4272-9138-f99709370657
2002-09-27 09:31:31 +00:00
Björn Stenberg
a4c3b03f15 Removed lcd_getfontsize(). Removed font parameters to lcd_putsxy and lcd_getstringsize.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2403 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 18:04:15 +00:00
Linus Nielsen Feltzing
f077710b86 New mpeg_status() function replaces mpeg_is_playing()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2379 a1c6a512-1295-4272-9138-f99709370657
2002-09-24 07:49:16 +00:00
Björn Stenberg
505eca76e6 New language/string handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2327 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 14:08:05 +00:00
Daniel Stenberg
93b231c693 Greg Haerr's new loadable font. No more #ifdef font-style, removed old
propfont and loadable font code. New font file format.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2269 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:33:59 +00:00
Björn Stenberg
25f0b3b777 Added support for %d4 to %d9 in the WPS format string.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2226 a1c6a512-1295-4272-9138-f99709370657
2002-09-07 12:34:10 +00:00
Björn Stenberg
11fbddb5b6 Removed hard-coded time display on recorder and added %pb progress bar tag instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2218 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 23:17:02 +00:00
Daniel Stenberg
88aeb7140c custom wps without an ending newline should still be OK
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2173 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 14:17:41 +00:00
Robert Hak
8877c66498 minor line fix, line length > 80 chars
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2163 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 03:54:13 +00:00
Justin Heiner
ba349223bf wps-display.c
* Made 'Remaining Time' count correctly when doing FF/REW.
    * Fixed bug in player_progressbar that caused Illegal Instruction
      if the FF/Play went past the end of the song.
wps.c
    * Removed 'if(lastbutton!=BUTTON_LEFT)' from track changes.
      It was causing tracks to not change unless button was pressed
      numerous times quickly :-)
    * For player, changed BUTTON_STOP to BUTTON_STOP | BUTTON_REL.
      Since stop is also the key to turn the device off, we don't want
      it to go to the dir browser unless the stop button is released.
settings_menu.c
    * Changed the minimum disk spindown time to 3 seconds, due to
      reported problems if set below that.
makefile.vc6
    * Fixed the VC makefile to work with both Recorder & Player again.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2159 a1c6a512-1295-4272-9138-f99709370657
2002-09-04 01:51:09 +00:00
Björn Stenberg
0976b57c49 Fixed broken build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2134 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 13:32:31 +00:00
Björn Stenberg
1a682bedad Renamed "wps.config" to "default.wps".
Added *.wps loading from dir browser.
Added ugly 'wps' icon. :-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2131 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 12:46:32 +00:00
Björn Stenberg
40d866bd9e Fixed build errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2113 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 20:08:08 +00:00
Björn Stenberg
26964fd957 Merged Magnus Holmgren's wps.config code.
Moved wps.config from root to /.rockbox dir.
Removed WPS display setting.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2111 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 19:50:45 +00:00
Mats Lidell
616b93ddd5 Strange ifdef for SIMULATOR removed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2107 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 14:21:01 +00:00
Björn Stenberg
d7339c4a94 Removed sim warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2095 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 11:54:19 +00:00
Justin Heiner
1c00dd8212 whoops, got rid of player_progressbar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2094 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 05:32:38 +00:00
Justin Heiner
4a72e643da Attempt at fixing reds in sims
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2093 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 05:24:32 +00:00
Justin Heiner
b5025a8c40 USB Related:
Consolidated some more of the USB code in the WPS.
    Have backlight turn offf when USB Connected.
menu.c:
    LINE_X was set wrong for player.
settings_menu.c / wps-display.c:
    Added 1 Line ID3+. Has progress bar & Kbps.
    Renamed some of the WPS options to be more readable.
wps.c / wps-display.c
    Fixed problem with FF/REW when 'Remaining Time' is on.
    Added %pb to the WPS mix. Player progress bar thingy.
    Thanks to whoever fixed my PLAYER_PROGRESS function :-)
    Changed how volume changes on player (works better now).
    General cleanup of Custom WPS code.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2091 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 04:58:35 +00:00
Markus Braun
77ef07c3f5 Killed warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2085 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 14:03:17 +00:00
Daniel Stenberg
99b69bf7d9 Psyco Dedman's player progress-bar fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2082 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 13:08:37 +00:00
Mats Lidell
62613fc376 id3->album is checked for null before use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2081 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 13:04:54 +00:00
Björn Stenberg
6131a3cc0d Moved display portions of wps.c into new file: wps-display.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2079 a1c6a512-1295-4272-9138-f99709370657
2002-08-30 11:04:41 +00:00