Closed catharsis closed 8 years ago
@chelmertz suggested utilizing something like mkdir to initiate searches. I kindof like the KISS-iness of that idea.
Something like mkdir search/query
would then create a directory query
, with the results as its content.
However, this would make it pretty hard to search for something containing a slash /
; though that's an issue that needs to be dealt with regardless.
23784b8303cf16 implements this. I'm closing this general issue, in order to make way for more use-case specific issues.
I'd like to see if implementing a "search" file with ioctls (for the various types of searches supported by libspotify) could be a way forward as a story for searching. Such an entity could materialize directories in the various browse dirs, depending on the type of result and return a list of paths to those "result" directories.
This would probably benefit from some kind of script to invoke the correct ioctls based on some parameter. I'm imagining something like:
spotifile search --artist "Refused"