Mantis Bug Tracker

View Revisions: Issue #228 All Revisions ] Back to Issue ]
Summary 0000228: Add a background worker for loading playlist files
Revision 2012-01-01 22:10 by ycastonguay
Description Add a background worker for loading playlist files. It must be cancellable by the user. Display the progress in a small modal window. For an example, check Foobar.
Revision 2012-01-01 08:21 by ycastonguay
Description Since the media files in the playlist might not be in the database, then a background worker should be added for loading songs in the background. It must be cancellable by the user. For an example, check Foobar.

The progress bar and button can be placed just under the buttons in the Playlist window.

Determine the process for adding files. Maybe they should be imported in the database after all? Anyway, it would look something like this:

1- Fetch all file paths from memory cache (or songs?)
2- Loop through playlist items; check if the song is in the memory cache
3- If not, read the audio file metadata

It would be nice if it didn't block the playback of the first songs, but that can be added later.


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker