Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discrepancies in patadata.sbc #48

Open
Grahack opened this issue Sep 26, 2016 · 3 comments
Open

Discrepancies in patadata.sbc #48

Grahack opened this issue Sep 26, 2016 · 3 comments

Comments

@Grahack
Copy link
Contributor

Grahack commented Sep 26, 2016

Hi,
I'm new to patacrep so please forgive the noise if I'm wrong.
As I understand it, patacrep.sbc should always list the files in the songs dir.
Here is the diff between the .sbc file and the actual content of songs :
patadata.sbc.missing.txt

Differences are missing files and five typos:

  • les_ogres_de_barback/rue_de_panam.sg
  • michel_fugain/un_beau_roman.sg
  • michel_polnareff/goodbye_maryloo.sg
  • the_animals/the_house_of_rising_sun.sg
  • the_mamas_and_the_papas/california_dream.sg

BTW, is there a utility to generate this (or other) .sbc files? This patadata.sbc could/should be generated IMHO.

@oliverpool
Copy link
Contributor

I'm new to patacrep so please forgive the noise if I'm wrong.

You are totally right and very welcome !

Differences are missing files and five typos:

patadata.sbc has not been updated for a while (and I think we should delete it)

BTW, is there a utility to generate this (or other) .sbc files? This patadata.sbc could/should be generated IMHO.

Yes : patacrep/patacrep#232 !
It's a little bit hidden, but it should work : patatools content items <songbook_name> (patatools should be included in the documentation)

@oliverpool
Copy link
Contributor

Please keep the feedback coming : it helps us make patacrep better !

@Grahack
Copy link
Contributor Author

Grahack commented Jul 12, 2017

patatools content items <songbook_name> doesn't do what I want: it extracts the content of a .yaml file but I'd like to ls the songs directory and build the content section of a .yaml (or .sbc for this issue) file.
I had a look at patacrep.tools.content and it may be too heavy of a task to implement my feature where I could just find songs | grep ".sg\$" >> target_file and do the finitions with my fav editor.

One last question: what are .sbc files for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants