View Single Post
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#132
Originally Posted by Mitrandir View Post
If I added directory to a playlist, will I be able to delete individual song (which is in this directory) via long-press menu when in playing mode? I think no.
For now I would say no, maybe in the future it could remove the directory, add in all the files and then remove that one file. With some sort of warning first.


Originally Posted by Mitrandir View Post
We will need to store list of songs in playlist in some sort of database in order to not walk the directories at every startup. I think we could store that lists together with some metainfo (song length, mp3 tags, ...) in sqlite database. But the question is when to update this db? I'm sure that updating is going to be very expensive operation. So, is it ok to update song list only by user's request?
Last time I used xmms on my desktop it used a flat file to store all the songs along with some metadata. You could either use a separate sqlite database for each playlist or a flat file. The playlist should only be updated on request, otherwise you run into long start up times as it updates.


Originally Posted by Mitrandir View Post
How directory selector should look like? You're saying about list with checkboxes, does it means that you will need to mark all directories for the current playlist at one dialog? This would require some kind of tree-view which is not a good idea for thumb-oriented ui. I think it will be more convenient to add one directory at a time with the dialog that will display directory contents in a list (going into subdirectory when tapping on it)
The checkbox is to select files/dirs, each directory has a return to parent row at the top and tapping dirs changes the entire list. When you mark a checkbox it gets added to the database, when you go to a child or parent directory it scans the database and checks all selected files/dirs.

By checkbox I just mean some way of informing the user. Option A has a checkbox next to each file/dir, you tap the checkbox to select, tap dir to open and tapping a file does nothing. Option B could have a checkbox or simply highlight the row and tapping anywhere on a file/dir row toggles its state but a dir row also has an arrow on the right side and tapping it will open the directory.