summaryrefslogtreecommitdiff
path: root/apps/playlist.c
AgeCommit message (Collapse)Author
2006-10-09Adds random folder advance option. RESETS SETTINGS. Refer to ↵Jonathan Gordon
random_folder_advance_config wiki page for more info git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11158 a1c6a512-1295-4272-9138-f99709370657
2006-10-05Add CPU boost tracker to see where boosts are coming fromSteve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11125 a1c6a512-1295-4272-9138-f99709370657
2006-09-18Fixed problem with first_index being incorrectly updated when prepending ↵Hardeep Sidhu
tracks. Fixes example 1 in B#6005. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10996 a1c6a512-1295-4272-9138-f99709370657
2006-09-16New scheduler, with priorities for swcodec platforms. Frequent taskMiika Pekkarinen
switching should be more efficient and tasks are stored in linked lists to eliminate unnecessary task switching to improve performance. Audio should no longer skip on swcodec targets caused by too CPU hungry UI thread or background threads. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
2006-09-15Only maintain the last insert position after the playlist has started. ↵Hardeep Sidhu
Fixes B#6004. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10955 a1c6a512-1295-4272-9138-f99709370657
2006-09-14Playlist resume no longer uses voice file buffer.Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10944 a1c6a512-1295-4272-9138-f99709370657
2006-09-10Patch #5770 by Dominik Riebeling: Skip BOM in playlists. Add '.m3u8' as a ↵Magnus Holmgren
supported playlist extension. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10917 a1c6a512-1295-4272-9138-f99709370657
2006-08-15Finally, the new button action system is here, thanks to Jonathan Gordon. ↵Linus Nielsen Feltzing
Some button mappings have changed and other things may break. Comments should go to the forum, http://forums.rockbox.org/index.php?topic=5829.0 or the mailing list. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10582 a1c6a512-1295-4272-9138-f99709370657
2006-08-12Better UI response with playlist operations.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10544 a1c6a512-1295-4272-9138-f99709370657
2006-08-10Only sync playlist once when adding bunch of files from tagcache.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10508 a1c6a512-1295-4272-9138-f99709370657
2006-07-18Patch #5179 by Sebastian Henriksen and Hardeep Sidhu - Playlist catalogLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10232 a1c6a512-1295-4272-9138-f99709370657
2006-06-12Store playlist index for prepended/appended tracks in control file. Fixes ↵Hardeep Sidhu
resume problem with these tracks and insert shuffled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10115 a1c6a512-1295-4272-9138-f99709370657
2006-05-30Always set first_index to value stored in settings when resuming. Fixes ↵Hardeep Sidhu
incorrect index problem when resuming an insert_shuffle'd playlist. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10024 a1c6a512-1295-4272-9138-f99709370657
2006-05-15Boost cpu when performing large insertions or saving playlist to diskHardeep Sidhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9942 a1c6a512-1295-4272-9138-f99709370657
2006-05-11Return immediately if we have no control commands to flush. Fixes erroneous ↵Hardeep Sidhu
playlist control update error when inserting tracks git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9912 a1c6a512-1295-4272-9138-f99709370657
2006-05-09Only flush and reload tracks after the playlist has started. Fixes B#5312.Hardeep Sidhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9895 a1c6a512-1295-4272-9138-f99709370657
2006-05-05Fixed bug with playlist_skip_entry when track to be skipped was less then ↵Hardeep Sidhu
current index git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9879 a1c6a512-1295-4272-9138-f99709370657
2006-04-30Fixed problem with incorrect first index after resumeHardeep Sidhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9835 a1c6a512-1295-4272-9138-f99709370657
2006-04-30Fixed playlist control corruption on dircache systemsHardeep Sidhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9834 a1c6a512-1295-4272-9138-f99709370657
2006-04-23Don't call playlist_start() when changing directories on swcodec devices. ↵Hardeep Sidhu
Fixes problem with previous dir not working. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9774 a1c6a512-1295-4272-9138-f99709370657
2006-04-20Fixed problem with forced reload of dircached filenames when playlist is sortedHardeep Sidhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9738 a1c6a512-1295-4272-9138-f99709370657
2006-04-20No need to force a sync of control file until playlist has started. This ↵Hardeep Sidhu
should improve tagcache playlist creation performance on Archos devices (esp. Ondio). Also fixed a small bug in playlist_set_current. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9735 a1c6a512-1295-4272-9138-f99709370657
2006-04-19Allow insert shuffled option for directories when playlist is empty. Based ↵Hardeep Sidhu
on patch #3011 by Jonathan Gordon. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9728 a1c6a512-1295-4272-9138-f99709370657
2006-04-18Fix dir skipping with new playback arch. Enable dir skipping on ipod with a ↵Brandon Low
couple of difficult combos (select|right/left) or short-long left / short-long right. The latter causes stuck in pause sometimes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9720 a1c6a512-1295-4272-9138-f99709370657
2006-04-18Minor fix for insert_shuffle when playlist is emptyHardeep Sidhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9716 a1c6a512-1295-4272-9138-f99709370657
2006-04-18Fixed problem with auto change directory not working when browsing pluginsHardeep Sidhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9715 a1c6a512-1295-4272-9138-f99709370657
2006-04-03Fixed problems with playlist buffer full handlingHardeep Sidhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9454 a1c6a512-1295-4272-9138-f99709370657
2006-04-03Fix for repeat shuffle on SW codec devicesHardeep Sidhu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9453 a1c6a512-1295-4272-9138-f99709370657
2006-04-01Thorough .lang rework: Removed all deprecated strings, combined string which ↵Jens Arnold
were only split because long ago we had no splash(), sorted strings into logical groups to ease the transition to langv2. Bunped binary .lng version. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9398 a1c6a512-1295-4272-9138-f99709370657
2006-03-30Fix 64bit warningsJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9375 a1c6a512-1295-4272-9138-f99709370657
2006-03-30Dircache support for simulator also.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9365 a1c6a512-1295-4272-9138-f99709370657
2006-02-09Currently playing playlist can now be overwritten. Save playlist screen ↵Hardeep Sidhu
defaults to this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8641 a1c6a512-1295-4272-9138-f99709370657
2006-02-05Added a cache for playlist control commands. On non-dircache systems, ↵Hardeep Sidhu
behaviour should be the same as before (all commands except shuffle flushed immediately). On dircache systems, commands are only flushed when disk is accessed or during shutdown. This especially reduces disk accesses when playing queued files and should fix the problem with gapless playback. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8584 a1c6a512-1295-4272-9138-f99709370657
2006-01-21AB-repeat mode for software codecs. Accessible through menu as a repeat ↵Brandon Low
mode, with buttom mappings much like those on other rockbox targets for now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8409 a1c6a512-1295-4272-9138-f99709370657
2006-01-19iriver: Better fix for the previous problem, stop playback if nextMiika Pekkarinen
song is not immediately available, don't flush buffer when changing to next directory, git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8393 a1c6a512-1295-4272-9138-f99709370657
2005-12-05kill gcc4 warningsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8162 a1c6a512-1295-4272-9138-f99709370657
2005-12-01iRiver: Fixed several problems with playback on track skipping & loading:Miika Pekkarinen
* Correctly detecting codec type from metadata. * Skipping incorrect tracks correctly if there are more than one unloadable track. * Fixed internal ram skipping when codec switching is required. * Fixed hang if no files in playlist is playable. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8116 a1c6a512-1295-4272-9138-f99709370657
2005-11-21One more fix to revert a part of an incorrect change from the previous commit.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8023 a1c6a512-1295-4272-9138-f99709370657
2005-11-21The previous commit didn't fully fix the problem. Now it should haveMiika Pekkarinen
been fixed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8022 a1c6a512-1295-4272-9138-f99709370657
2005-11-21Fixed playlist skipping of incorrect files and playback engine not toMiika Pekkarinen
hang if codec loading fails. Also displaying a "Loading..." message on resume and not calling queue_post too often. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8021 a1c6a512-1295-4272-9138-f99709370657
2005-11-17Fix to the previous commit: Pointers were not always correctly erased.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7932 a1c6a512-1295-4272-9138-f99709370657
2005-11-17Added dircache support to playlist. Now playlist filename pointers areMiika Pekkarinen
automatically accuired from dircache. WPS UI response with dircache enabled should be instant. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7931 a1c6a512-1295-4272-9138-f99709370657
2005-11-11fixed a bug in folder skipping preventing a feature to work in some casesAnton Oleynikov
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7815 a1c6a512-1295-4272-9138-f99709370657
2005-11-10iRiver: more robust folder skip routines + folder navigation on main unit viaAnton Oleynikov
either PLAY+LEFT/RIGHT or short then long LEFT/RIGHT git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7810 a1c6a512-1295-4272-9138-f99709370657
2005-11-06some multi-screen work in playlist.c, properly formated splash.hKevin Ferrare
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7766 a1c6a512-1295-4272-9138-f99709370657
2005-11-02patch 1328447: folder skip routines in playlist API plus next/prev folder ↵Anton Oleynikov
navigation for iRiver's remote git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7735 a1c6a512-1295-4272-9138-f99709370657
2005-10-21We reserved two bits instead of one bit for the new skipped attribute.Miika Pekkarinen
Fixed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7648 a1c6a512-1295-4272-9138-f99709370657
2005-10-21iRiver: Fixed broken items skipping on playlist: Now skipping andMiika Pekkarinen
marking them as bad instead of deleting the entries from playlist. Faster buffered track skipping and preventing glitches from previous tracks (still something might occur though, please report them). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7647 a1c6a512-1295-4272-9138-f99709370657
2005-08-29Renamed CONFIG_HWCODEC and MASNONE to the more appropriate CONFIG_CODEC and ↵Jens Arnold
SWCODEC, respectively. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7416 a1c6a512-1295-4272-9138-f99709370657
2005-08-21Patch #1105616 by Ray Lambert - A-B Repeat for Archos studio/recorder, still ↵Linus Nielsen Feltzing
not 100% complete, but I wanted to commit it before the 2.5 feature freeze git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7380 a1c6a512-1295-4272-9138-f99709370657