ilesinge / shabda

Shabda is a semantic audio samples curator for livecoding software such as Estuary or Tidal Cycles
https://shabda.ndre.gr/
MIT License
17 stars 0 forks source link

Sort by license #1

Closed hellocatfood closed 2 years ago

hellocatfood commented 2 years ago

Can an option be added to filter the downloaded/collected samples by license type? This will be especially useful for users of the cli version who want to then use the samples in a commercial project and not be restricted by license.

ilesinge commented 2 years ago

This is definitely something useful, and it could be done since the license type is available in the API. Thanks for the idea ! I'll look into it.

ilesinge commented 2 years ago

This is now available on the web version, only some small work remains to revamp the CLI

hellocatfood commented 2 years ago

Great! Do you know how the cli version will work?

ilesinge commented 2 years ago

I expect it to be something like:

shabda_cli.py sample1:3,sample2 --licences=cc0

Would that work for you?

Ideally in the future with a simpler installation path.

hellocatfood commented 2 years ago

shabda_cli.py sample1:3,sample2 --licences=cc0

I think something like that would work. Was just wondering how it would handle lincenses that have multiple clauses e.g. cc-by-nc

ilesinge commented 2 years ago

It would be: shabda_cli.py sample1:3,sample2 --licenses=by-nc Multiple values (all accepted licenses) can be defined as such: shabda_cli.py sample1:3,sample2 --licenses=by-nc --licenses=by

Note that I just finished implemented it, I just need to update the README. It is available on the branch licenses_cli: https://github.com/ilesinge/shabda/tree/licenses_cli

ilesinge commented 2 years ago

Implementation now available on the master branch (fixed with https://github.com/ilesinge/shabda/pull/5 )