Select Songs by path

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

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

Select Songs by path

Post by workhorse149 »

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.
jiri
Posts: 5419
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

Post by jiri »

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.

Jiri
Post Reply