Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
X-Raym committed Apr 1, 2016
1 parent 522f099 commit 7852a5f
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
* Forum Thread URI:
* REAPER: 5.0
* Extensions: None
* Version: 1.1
* Version: 1.2
--]]

--[[
* Changelog:
* v1.2 (2015-12-16)
+ Sorting option
* v1.1 (2015-12-16)
+ Minimalist report
+ Possibility to delete duplicates sources
Expand All @@ -28,6 +30,7 @@

-- USER CONFIG AREA --------------
duplicates = false -- (true/false): define if you want to have only different sources, or all takes sources.
sorting = true -- (true/false): sort the results by alphabetical order or not
----------------------------------

function Msg(val)
Expand Down Expand Up @@ -89,6 +92,10 @@ function main()
sources = table_unique(sources)
end

if sorting then
table.sort(sources)
end

-- Display results
for i, source in ipairs(sources) do
Msg(source)
Expand Down

0 comments on commit 7852a5f

Please sign in to comment.