summaryrefslogtreecommitdiff
path: root/apps/playlist.c (follow)
Commit message (Collapse)AuthorAge
* Reverted to the earlier modulo method for creating a range of random ↵Linus Nielsen Feltzing2004-11-06
| | | | | | numbers, since the new method could generate too large numbers git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5386 a1c6a512-1295-4272-9138-f99709370657
* a hell of a commit: changed several HAVE_xx configuration flags into ↵Jörg Hohensohn2004-09-28
| | | | | | multiple choice values (keypad, tuner, CPU, h/w codec) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
* Redesigned the button handling. The code now uses symbolic function defines ↵Björn Stenberg2004-09-19
| | | | | | instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
* Added check for missing .rockbox directory to playlist code.Henrik Backe2004-09-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5063 a1c6a512-1295-4272-9138-f99709370657
* adjustment for the Ondio: button driver has an Odio part, for now it has a ↵Jörg Hohensohn2004-09-10
| | | | | | Player layout. Some fixes in the app code were necessary to remove dependencies of LCD, keypad, this wasn't independent everywhere. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5055 a1c6a512-1295-4272-9138-f99709370657
* Since open() does now handle O_TRUNC correctly, the previous fix is no ↵Jens Arnold2004-09-06
| | | | | | longer needed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5049 a1c6a512-1295-4272-9138-f99709370657
* Bug fix: Longish .playlist_control files got corrupted when doing ON->resume ↵Jens Arnold2004-09-01
| | | | | | after stop without rebooting first git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5033 a1c6a512-1295-4272-9138-f99709370657
* Reverted an erroneous const, and fixed & optimized relative path handling. ↵Jens Arnold2004-08-31
| | | | | | The bug didn't show up because FAT is inherently able to handle relative paths itself. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5028 a1c6a512-1295-4272-9138-f99709370657
* Const policed pointer arguments to functions, part 3Jens Arnold2004-08-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657
* Added extra error reportingHardeep Sidhu2004-08-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4981 a1c6a512-1295-4272-9138-f99709370657
* Slightly better randomness when shufflingLinus Nielsen Feltzing2004-07-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4922 a1c6a512-1295-4272-9138-f99709370657
* Abort resume if control file doesn't end with a newline. Fixes hang when ↵Hardeep Sidhu2004-07-14
| | | | | | resuming from a corrupt control file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4882 a1c6a512-1295-4272-9138-f99709370657
* Some code cleanupLinus Nielsen Feltzing2004-04-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4480 a1c6a512-1295-4272-9138-f99709370657
* Third step of the voice-UI: numerical settings are spoken (composed at ↵Jörg Hohensohn2004-03-19
| | | | | | runtime), needs new voicefont at the new location ".rockbox/langs/english.voice" git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4414 a1c6a512-1295-4272-9138-f99709370657
* First step of the voice-UI: the menus can talk. You need a "voicefont" file ↵Jörg Hohensohn2004-03-14
| | | | | | in .rockbox to use this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4381 a1c6a512-1295-4272-9138-f99709370657
* Fixed bug when inserting playlists where comment and empty lines were not ↵Hardeep Sidhu2004-01-29
| | | | | | being skipped. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4284 a1c6a512-1295-4272-9138-f99709370657
* Modified playlist handling to allow for multiple playlists to be edited at ↵Hardeep Sidhu2004-01-26
| | | | | | the same time. Added support in playlist viewer for viewing/editing playlists on disk (accessed via ON+PLAY->Playlist->View on a playlist). Added menu in playlist viewer for changing a few settings and saving playlist. Added File Options menu in playlist viewer ON+PLAY menu. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4276 a1c6a512-1295-4272-9138-f99709370657
* Added Benjamin Metzlers bookmarking feature (patch #669440)Björn Stenberg2004-01-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4227 a1c6a512-1295-4272-9138-f99709370657
* The splash() function's second argument (keymask) is now removed, as itDaniel Stenberg2004-01-08
| | | | | | | was not used by any code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4201 a1c6a512-1295-4272-9138-f99709370657
* Initial suppport for building Rockbox for Neo. The Neo has a differentDaniel Stenberg2003-12-12
| | | | | | | key layout so we need to check for this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4138 a1c6a512-1295-4272-9138-f99709370657
* Added viewer for currently playing playlist. Accessed from Menu->Playlist ↵Hardeep Sidhu2003-12-10
| | | | | | Options->View Current Playlist. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4124 a1c6a512-1295-4272-9138-f99709370657
* Don't write playlist shuffle settings immediately to disk. Instead, save ↵Hardeep Sidhu2003-12-09
| | | | | | them in global settings and only flush to disk when the playlist is modified \(e.g. insert,delete\). As part of the changes the resume index was changed from an int to a short to give an extra 2 bytes in RTC ram to be used for another playlist index. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4121 a1c6a512-1295-4272-9138-f99709370657
* table-driven internal handling of file types, so we can have many of themJörg Hohensohn2003-12-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4115 a1c6a512-1295-4272-9138-f99709370657
* Brian King's .rockbox browsing patchBjörn Stenberg2003-09-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3964 a1c6a512-1295-4272-9138-f99709370657
* Don't delete queued tracks in repeat one mode.Hardeep Sidhu2003-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3929 a1c6a512-1295-4272-9138-f99709370657
* The creation of the playlist control file failed when control_fd == 0Linus Nielsen Feltzing2003-07-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3814 a1c6a512-1295-4272-9138-f99709370657
* Allow playing even if we are unable to access the playlist control file ↵Hardeep Sidhu2003-07-06
| | | | | | (e.g. no .rockbox dir). However, dynamic playlists and resume will not work in this case. Also, there are no playlist options for m3u files when nothing is playing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3813 a1c6a512-1295-4272-9138-f99709370657
* Dos-style pathnames were being copied incorrectly.Hardeep Sidhu2003-07-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3800 a1c6a512-1295-4272-9138-f99709370657
* Added "Ask" option to recursive dir insert which, if enabled, will ask users ↵Hardeep Sidhu2003-07-02
| | | | | | whether they want to recursively insert selected dir. Also, renamed "Insert first" and "Queue first" to "Insert next" and "Queue next" respectively. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3799 a1c6a512-1295-4272-9138-f99709370657
* Added dynamic playlists. ON+PLAY->Playlist on a track, directory, or ↵Hardeep Sidhu2003-07-01
| | | | | | playlist from file browser to see available options. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3796 a1c6a512-1295-4272-9138-f99709370657
* The playlist buffer was too small, causing all kinds of weird errors when ↵Linus Nielsen Feltzing2003-05-29
| | | | | | playing large playlists git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3706 a1c6a512-1295-4272-9138-f99709370657
* Configurable dir browser file buffer size. No more 400-file limit. No more ↵Linus Nielsen Feltzing2003-05-09
| | | | | | whining. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3661 a1c6a512-1295-4272-9138-f99709370657
* Changed to runtime playlist initializationBjörn Stenberg2003-04-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3602 a1c6a512-1295-4272-9138-f99709370657
* init the playlist struct so that fd is -1 at startup, which then no longerDaniel Stenberg2003-04-23
| | | | | | | makes us close fd zero at startup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3595 a1c6a512-1295-4272-9138-f99709370657
* Keep the playlist open all the time, to reduce mid-song times caused by theDaniel Stenberg2003-04-23
| | | | | | | | | closure and reopening of the playlist. Consider this slightly experimental. Can you detect a speed difference? git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3592 a1c6a512-1295-4272-9138-f99709370657
* Better handling of next/prevLinus Nielsen Feltzing2003-04-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3528 a1c6a512-1295-4272-9138-f99709370657
* Improved responsiveness for dirplay, plus fixed a bug that could cause a ↵Linus Nielsen Feltzing2003-04-08
| | | | | | file handle leak, and sometimes playlist loading problems git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3518 a1c6a512-1295-4272-9138-f99709370657
* make use of the splash screen, kill displays we don't need anymoreRobert Hak2003-03-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3480 a1c6a512-1295-4272-9138-f99709370657
* The simulators can't use the mp3 buffer.Björn Stenberg2003-03-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3399 a1c6a512-1295-4272-9138-f99709370657
* I am silly. We need the dedicated buffer for ram playlists (dir play). Now ↵Björn Stenberg2003-03-07
| | | | | | only uses the mp3 buffer when loading a list from disk. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3398 a1c6a512-1295-4272-9138-f99709370657
* Wrong declaration order.Björn Stenberg2003-03-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3396 a1c6a512-1295-4272-9138-f99709370657
* Use mp3buf for playlist loading instead of a dedicated buffer. Speeds up ↵Björn Stenberg2003-03-07
| | | | | | loading and saves 16 KB ram. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3395 a1c6a512-1295-4272-9138-f99709370657
* Remove use of rockbox-mode.el in local variables list.Mats Lidell2003-01-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
* Use lang definition for shuffling.Mats Lidell2003-01-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3100 a1c6a512-1295-4272-9138-f99709370657
* Comments.Hardeep Sidhu2003-01-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3044 a1c6a512-1295-4272-9138-f99709370657
* The much-anticipated queue patch by Hardeep Sidhu. Queue a file by holding ↵Björn Stenberg2003-01-09
| | | | | | down PLAY on it while playing other music. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3040 a1c6a512-1295-4272-9138-f99709370657
* Remove bogus dirs from beginning of playlist file path. Patch by Hardeep Sidhu.Björn Stenberg2003-01-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3039 a1c6a512-1295-4272-9138-f99709370657
* %pn now allows for conditional checkingRobert Hak2002-10-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2698 a1c6a512-1295-4272-9138-f99709370657
* missed an snprintf argRobert Hak2002-10-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2656 a1c6a512-1295-4272-9138-f99709370657
* added %pn (playlist name) to wpsRobert Hak2002-10-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2651 a1c6a512-1295-4272-9138-f99709370657