So the solution is to either 

  
-  Craft an advanced search query that returns all the special tracks
  and none of the regular tracks and then save that as a library.
-  Design an SQL query that similarly returns only the special tracks
  and hack the virtual libraries pref file (Thank you dbm204 for the
  detailed explanation. That is very useful).
-  Design an SQL query as above and hack the LibraryDemo plugin to
  include a library based on this query.
  

For each solution I would probably have to also design the opposite
query and a library based on that (i.e., to have a library that has only
the regular tracks).

If I am understanding correctly solution 1 is by far the simplest, but
it is also not as expressive as the two others. In particular with
solution 1 I would need to be able to distinguish the special tracks
simply on some tag (or collection of tags) such as the genre. I am not
sure this is a solution for me. A big part of the reason I want to sort
these tracks from the regular tracks is that they are generally badly
tagged :).

So solution 2 or 3 seems to be the way to go if I want to sort on the
directory structure. I am perfectly comfortable with doing SQL queries
and poking around the database to get it right, so that is not a
problem. I would however like to avoid having to deal with both perl and
the LMS plugin framework, which IMO both are kind of a mess :p. I would
probably go with solution 2 then.

Before I get going are there any additional trade-offs between the three
solutions I should be aware of? E.g., does one result in nice UI or
something like that?


------------------------------------------------------------------------
Guut_Boy's Profile: http://forums.slimdevices.com/member.php?userid=62318
View this thread: http://forums.slimdevices.com/showthread.php?t=106488

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to