Discrepancies in patadata.sbc
Opened this issue · 3 comments
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.
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)
Please keep the feedback coming : it helps us make patacrep better !
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?