search feature
Created by: paolobenve
Thinking on how to implement a search feature: we need a search virtual folders system, the 3rd virtual folders system after date and gps ones: the folders correspond to the words to search
In the scanner:
- for every word in the media name, add the media to the corresponding search folder
- for every word in the physical folder name, add the folder to the corresponding search folder as a subalbum
In js:
- when performing a search on one or more words, read the album(s) json files, intersect media and subalbums and save the result in a new js album with an appropriate name, and show it
- when showing a media from search, permit switching to the corresponding pyhisical folder, date and gps folders. If this switch is made, the user cannot go back to the search he/she came from.