summaryrefslogtreecommitdiff
path: root/apps/playlist.c (follow)
Commit message (Collapse)AuthorAge
* 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
* Retrieve the first_index from playlist when updating resume settings instead ↵Hardeep Sidhu2002-10-11
| | | | | | of incorrectly using start_index git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2575 a1c6a512-1295-4272-9138-f99709370657
* the playlist variables are now all static, and the wps code use the newDaniel Stenberg2002-10-09
| | | | | | | 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
* added playlist_amount(), no longer trying to stop insane looping in theDaniel Stenberg2002-10-09
| | | | | | | | playlist code, that should be done by the mpeg thread (or somewhere). The playlist code just can't know when to stop. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2548 a1c6a512-1295-4272-9138-f99709370657
* Store the first index of the playlist and use it when calculating the next ↵Hardeep Sidhu2002-10-06
| | | | | | index in repeat off mode so that shuffled dirplay works correctly when "play selected" is enabled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2514 a1c6a512-1295-4272-9138-f99709370657
* Repeat off/all/one toggle. By Hardeep Sidhu.Björn Stenberg2002-10-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2498 a1c6a512-1295-4272-9138-f99709370657
* New language/string handlingBjörn Stenberg2002-09-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2327 a1c6a512-1295-4272-9138-f99709370657
* Added play_selected optionLinus Nielsen Feltzing2002-09-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2323 a1c6a512-1295-4272-9138-f99709370657
* adi is stupid improvementsRobert Hak2002-09-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2266 a1c6a512-1295-4272-9138-f99709370657
* efficiency improvementRobert Hak2002-09-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2265 a1c6a512-1295-4272-9138-f99709370657
* Only handle # comments in file based playlistsLinus Nielsen Feltzing2002-09-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2264 a1c6a512-1295-4272-9138-f99709370657
* Flush and reload preloaded tracks if playlist changesHardeep Sidhu2002-09-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2259 a1c6a512-1295-4272-9138-f99709370657
* modified the playlist system slightly:Daniel Stenberg2002-08-28
| | | | | | | | | | playlist_peek() returns info relative the current index playlist_next() advances the index back or forth (this breaks the build, mpeg fixes are pending) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2022 a1c6a512-1295-4272-9138-f99709370657
* When toggling shuffle from on to off while a playlist is playing, update the ↵Hardeep Sidhu2002-08-26
| | | | | | current playlist index to the new index of the current song git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1977 a1c6a512-1295-4272-9138-f99709370657
* Removed typedefBjörn Stenberg2002-08-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1958 a1c6a512-1295-4272-9138-f99709370657
* playlist_next() now returns NULL on excessive 'step' amountsDaniel Stenberg2002-08-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1940 a1c6a512-1295-4272-9138-f99709370657
* play_list() is now modified to accept a playlist index that is eitherDaniel Stenberg2002-08-21
| | | | | | | | | | | 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
* Now using lcd margins instead of a line offset for displaying status bar.Markus Braun2002-08-20
| | | | | | | Needed to support fonts smaller than 8 pixels. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1823 a1c6a512-1295-4272-9138-f99709370657
* When shuffle is ENABLED. And you press PLAY in a dir, the selected songDaniel Stenberg2002-08-19
| | | | | | | | | | | | | | | | | is now the first song to get played. To do this, we first remember which song that was selected, shuffle the list and then find the selected song in the shuffled list and play that. This will have some interesting side effects if the song ends up for example last in the shuffled list when we consider not always doing repeat-all as then it'll reach the end of the playlist after one song. We could optionally put the selected song first in the playlist and then shuffle all the rest, as that would possibly be closer to what people will assume it will do. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1803 a1c6a512-1295-4272-9138-f99709370657
* Added resume. Works in dirs and playlists, shuffled or not. Resumes ↵Björn Stenberg2002-08-16
| | | | | | 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
* Now we can have up to 400 files in a directoryLinus Nielsen Feltzing2002-08-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1761 a1c6a512-1295-4272-9138-f99709370657
* Gained about 128 KB buffer space by removing malloc() and the heapBjörn Stenberg2002-08-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1726 a1c6a512-1295-4272-9138-f99709370657
* Tell user when limits are reachedBjörn Stenberg2002-08-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1692 a1c6a512-1295-4272-9138-f99709370657
* Support double negative wrap (with a half nelson)Björn Stenberg2002-08-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1632 a1c6a512-1295-4272-9138-f99709370657
* Allow reverse playlist wrap in repeat modeBjörn Stenberg2002-08-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1626 a1c6a512-1295-4272-9138-f99709370657
* Prevent negative playlist.indexBjörn Stenberg2002-08-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1623 a1c6a512-1295-4272-9138-f99709370657
* Fix for double-slash fixBjörn Stenberg2002-08-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1614 a1c6a512-1295-4272-9138-f99709370657
* Removed the extra slash between the dir and filename for relative pathsLinus Nielsen Feltzing2002-08-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1608 a1c6a512-1295-4272-9138-f99709370657
* Added status bar to file browser and wpsMarkus Braun2002-08-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1582 a1c6a512-1295-4272-9138-f99709370657
* Changed playlist API againLinus Nielsen Feltzing2002-08-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1575 a1c6a512-1295-4272-9138-f99709370657
* RAM-based playlists addedLinus Nielsen Feltzing2002-08-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1559 a1c6a512-1295-4272-9138-f99709370657
* Magnus Holmgren's fix that now enables us to toggle shuffle on/off from theDaniel Stenberg2002-08-02
| | | | | | | menu and it'll "take effect" immediately when needing to reload the playlist. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1526 a1c6a512-1295-4272-9138-f99709370657
* support for relative paths in playlists by Brian King <brking@charter.net>Daniel Stenberg2002-08-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1506 a1c6a512-1295-4272-9138-f99709370657
* Slightly improved shuffle algorithm. Patch by Hardeep SidhuLinus Nielsen Feltzing2002-07-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1397 a1c6a512-1295-4272-9138-f99709370657
* Absolute playlists with backslashes now workLinus Nielsen Feltzing2002-07-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1392 a1c6a512-1295-4272-9138-f99709370657
* New vastly improved random algorithm: Mersenne TwisterBjörn Stenberg2002-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1377 a1c6a512-1295-4272-9138-f99709370657
* Relative path playlist patch by Mat PritchardLinus Nielsen Feltzing2002-07-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1342 a1c6a512-1295-4272-9138-f99709370657
* Now uses global_settings.playlist_shuffleBjörn Stenberg2002-06-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1233 a1c6a512-1295-4272-9138-f99709370657
* account for white space at the end of a filenameRobert Hak2002-06-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1225 a1c6a512-1295-4272-9138-f99709370657
* Added next/previous trackBjörn Stenberg2002-06-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1211 a1c6a512-1295-4272-9138-f99709370657
* no time.h, no time() not even in simulatorsDaniel Stenberg2002-06-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1040 a1c6a512-1295-4272-9138-f99709370657
* Made playlist shuffle an option instead of an actionBjörn Stenberg2002-06-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1031 a1c6a512-1295-4272-9138-f99709370657
* Added backslash and drive letter supportBjörn Stenberg2002-06-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1029 a1c6a512-1295-4272-9138-f99709370657