mherger wrote: > > I could not figure out where 'library' names and SQL are stored (I > > suppose is where advanced searches are stored, but...). > > virtuallibraries.prefs in your prefs folder? > > > I saw the library_track table with the ID of the library, but is not > a > > FK and I miss the library table at all. There is a way to define a > > library just pasting a SQL statement? No needs to be in the UI, it's > > fine also if I have to edit some files. > > You should be able to edit that file, then restart LMS and re-run a full > > scan. > > -- > > Michael
Hi Michael, I tried but was not able to replace the query text with one based on other colums, like this one: --- _ts_vlid_6c11a475: 1421090725 _version: 0 vlid_6c11a475: id: advSrch_1421090725 name: Classica params: - 'file:///E:/Classica%' sql: INSERT OR IGNORE INTO library_track (library, track) SELECT '%s', id FROM ( SELECT me.id FROM tracks me WHERE me.url like ?) It just does not work, the library_table is empty and no virtual library phase is executed (showed) at scan time. I've then modified the LibraryDemo plugin itself and I've got it works, but any reinstall of 7.0 will override it, so maybe I have at least to rename it. Could you please point me to the correct/preferred way to operate? Thanks. ____________________________________________________________ SB+, Klimo Merlino + Kent Gold, Monitor Audio Studio 20 Gold SE+, Klimo reference and DIS Interconnect. ------------------------------------------------------------------------ marcoc1712's Profile: http://forums.slimdevices.com/member.php?userid=34842 View this thread: http://forums.slimdevices.com/showthread.php?t=101701 _______________________________________________ beta mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/beta
