Commit graph

102 commits

Author SHA1 Message Date
Björn Stenberg
457b8a0a67 Added configurable disk spindown. The disk will also now not spin down while you are running around in the dir browser or pressing buttons in the wps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1987 a1c6a512-1295-4272-9138-f99709370657
2002-08-26 13:21:14 +00:00
Björn Stenberg
f1bf9e7286 Now doesn't try to play non-mp3/m3u files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1960 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 22:15:51 +00:00
Daniel Stenberg
aa458aa9d8 MENU_DISK_CHANGED is the new value for telling disk content might have
changed


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1949 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:41:25 +00:00
Daniel Stenberg
b285076925 Remade the menu system slightly. All functions invoked from menus now use
the Menu typedef as return type, and *ALL* menus that intercept USB connect
can then return MENU_REFRESH_DIR so that the parent (any parent really) that
do file or dir-accesses knows that and can do the refresh. If no refresh
is needed by the parent, MENU_OK is returned.

Somewhat biggish commit this close to 1.3, but we need to sort out this
refresh-after-usb-connected business.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1948 a1c6a512-1295-4272-9138-f99709370657
2002-08-23 12:32:52 +00:00
Daniel Stenberg
634551ffeb statusbar bug fix when going to the menu from the dir browser
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1933 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 22:53:12 +00:00
Daniel Stenberg
053d904645 Bill Napier's patch slightly remodelled. This adds a setting called
"Show hidden files" that if enabled will show files with the hidden
attribute and/or starting with a dot in the dir browser. If the setting
is set to Off, files/dirs starting with a dot or that have the hidden
attribute set will be... yes, hidden.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1926 a1c6a512-1295-4272-9138-f99709370657
2002-08-22 15:47:30 +00:00
Daniel Stenberg
01bc8e682a play_list() is now modified to accept a playlist index that is either
meant in the unshuffled list or in the shuffled. There's an extra
parameter giving that info (which of course only makes sense when
shuffle is enabled).

This should make resume work with play-all-dir in shuffled mode.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1889 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 15:08:01 +00:00
Daniel Stenberg
a816e4624a store the correct index in the resume info when we fire up a single song in a
directory


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1838 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 08:13:58 +00:00
Björn Stenberg
1b05752a3f Always remove double-height when resuming
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1826 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 20:27:36 +00:00
Markus Braun
c41dcb9ae9 Now using lcd margins instead of a line offset for displaying status bar.
Needed to support fonts smaller than 8 pixels.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1823 a1c6a512-1295-4272-9138-f99709370657
2002-08-20 19:39:55 +00:00
Björn Stenberg
f210606c8f Expanded resume options: off/ask/on
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1797 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 10:57:55 +00:00
Björn Stenberg
7113ec01b3 Fixed bad resume_index in dirs with both folders and files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1789 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 15:23:57 +00:00
Björn Stenberg
52dc182b81 Fixed double-height problem and broken fwd/rew.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1788 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 15:06:50 +00:00
Björn Stenberg
6224cdb166 Added resume. Works in dirs and playlists, shuffled or not. Resumes mid-song, but press pause on players before you shutdown so they get a chance to store the position on disk. Recorders use RTC ram. Todo: Time display is wrong after mid-track resume and ffd/rew is not handled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1787 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:41:47 +00:00
Markus Braun
cb6bafd1f2 F3 now toggles global_settings.statusbar
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1768 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 14:12:32 +00:00
Linus Nielsen Feltzing
5917e8157a Now we can have up to 400 files in a directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1761 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 12:28:52 +00:00
Björn Stenberg
f385e36a05 Getting a few pixels more filename display width by using a smaller cursor icon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1723 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 20:55:08 +00:00
Björn Stenberg
e33d66a3ac Tell user when limits are reached
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1692 a1c6a512-1295-4272-9138-f99709370657
2002-08-12 22:52:19 +00:00
Björn Stenberg
6752ee445b Added remote vol up/down as next/prev navigation keys
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1688 a1c6a512-1295-4272-9138-f99709370657
2002-08-12 18:28:51 +00:00
Björn Stenberg
cd225736f9 First version of loadable fonts patch by Alex Gitelman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1666 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 09:17:47 +00:00
Björn Stenberg
c960330ebf Fixed indexing bug in build_playlist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1622 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 19:03:14 +00:00
Björn Stenberg
079b2d1865 Moved globals back into dirbrowse() now that dirlist hack is gone.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1612 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 12:06:38 +00:00
Björn Stenberg
75864367e2 Removed peek_next_track()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1611 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 12:05:17 +00:00
Linus Nielsen Feltzing
e10fc4c86c Now adjusts if the cursor goes off-screen on status bar changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1609 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 10:46:10 +00:00
Linus Nielsen Feltzing
1e02e98d4a Compensates the starting position for non-mp3 files in the playlist build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1606 a1c6a512-1295-4272-9138-f99709370657
2002-08-08 06:42:02 +00:00
Björn Stenberg
c1d9b15607 Removing scroll acceleration for the release (don't worry, I've saved the patch)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1603 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 20:51:37 +00:00
Markus Braun
de8fbf00a8 Added status bar to file browser and wps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1582 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 10:35:26 +00:00
Linus Nielsen Feltzing
8abcf1bd20 Changed playlist API again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1575 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 06:04:24 +00:00
Daniel Stenberg
5c507e94f0 C99 code breaks compiling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1571 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 18:38:14 +00:00
Eric Linenberg
9b7de87653 rushed it. missed one little bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1569 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 18:24:20 +00:00
Eric Linenberg
8415ab9a74 added support for players for high speed browsing, but will not be much faster than the default
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1567 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 18:16:54 +00:00
Eric Linenberg
9e91b95c7a added a speedup for browsing long directories
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1565 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 18:11:00 +00:00
Linus Nielsen Feltzing
4a4f17f416 Now builds a RAM-based playlist when playing a directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1561 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 13:10:51 +00:00
Daniel Stenberg
82a1cad9b8 no longer stop playback when trying to 'exit' the root directory, the
player version can't stop playback in the dir browser now but requires a
switch into the wps. The Recorder version however now stops playback when
OFF is pressed in the dir browser.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1545 a1c6a512-1295-4272-9138-f99709370657
2002-08-06 09:25:45 +00:00
Linus Nielsen Feltzing
f140b200ba The new button handling filtered out the USB_CONNECTED message
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1470 a1c6a512-1295-4272-9138-f99709370657
2002-07-27 20:55:39 +00:00
Linus Nielsen Feltzing
b3d0b6ea2a Better button and play status handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1464 a1c6a512-1295-4272-9138-f99709370657
2002-07-27 19:41:58 +00:00
Linus Nielsen Feltzing
51782eb436 Safer dir reread after USB mode, by Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1445 a1c6a512-1295-4272-9138-f99709370657
2002-07-25 11:33:32 +00:00
Linus Nielsen Feltzing
fe689a8541 First crude status display for Players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1408 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 22:45:20 +00:00
Linus Nielsen Feltzing
b81adc40c0 Now rescans the dir when sort_case is changed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1403 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 16:44:06 +00:00
Linus Nielsen Feltzing
c132c48677 Loudness, Superbass and sorting patch by Heikki Hannikainen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1401 a1c6a512-1295-4272-9138-f99709370657
2002-07-22 16:39:17 +00:00
Björn Stenberg
bd44e60197 New sort: Dirs first, then files. And case insensitive.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1376 a1c6a512-1295-4272-9138-f99709370657
2002-07-17 11:25:04 +00:00
Björn Stenberg
ad7de31660 Fixing the bugs introduced by last commit.
Using attributes for M3U and MP3 instead of checking filenames.
Chops extensions only on display, not in cache.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1374 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 15:30:23 +00:00
Björn Stenberg
761d6840b6 MP3/M3U filter update: Now filters out hidden files and directories and also cuts the extension off of m3u and mp3 files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1373 a1c6a512-1295-4272-9138-f99709370657
2002-07-16 14:40:27 +00:00
Linus Nielsen Feltzing
8c57ad9c38 Adjusted a few buffer sizes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1360 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 22:46:38 +00:00
Linus Nielsen Feltzing
6b91b7ea57 Relative path playlist patch by Mat Pritchard
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1342 a1c6a512-1295-4272-9138-f99709370657
2002-07-05 12:48:17 +00:00
Linus Nielsen Feltzing
14d63b7fdc Now only reacts to UP/DOWN keypresses if there are files in the directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1316 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 23:08:48 +00:00
Linus Nielsen Feltzing
dad6d76ef2 Wrapping patch by Bill, Matthew and Lee
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1311 a1c6a512-1295-4272-9138-f99709370657
2002-07-02 18:03:00 +00:00
Linus Nielsen Feltzing
c4c52f8209 WPS screen now handles USB detection
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1282 a1c6a512-1295-4272-9138-f99709370657
2002-07-01 11:06:23 +00:00
Linus Nielsen Feltzing
da501ee329 Removed USB handling from simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1271 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 16:27:39 +00:00
Linus Nielsen Feltzing
8523a441b4 Even better USB handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1267 a1c6a512-1295-4272-9138-f99709370657
2002-06-30 14:12:27 +00:00