summaryrefslogtreecommitdiff
path: root/apps/playlist.c (follow)
Commit message (Collapse)AuthorAge
* 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
* 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