Select Songs by path

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Posts: 35
Joined: Wed May 12, 2004 8:39 am

Select Songs by path

Post by workhorse149 » Wed May 12, 2004 3:59 pm

Using a script how can I select songs from the database by the path. Then I want to loop thru that subset and change the paths.

Posts: 5395
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic

Post by jiri » Sun May 16, 2004 12:50 pm

Using SDB.Database.QuerySongs( 'SQL condition here') you get a SDBSongIterator object - a result of the query. Methods of this objects are EOF, Item and Next and their usage is quite clear.

Should you need any clarification, let me know.


Post Reply