• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ChoPro metadata fields
#4
There's an old saying, attributed to Jon Postel: "Be liberal in what you accept, and conservative in what you produce."
The ChordPro reference implementation uses the C-library function strtok with ": " (colon + space) as delimeters. Therefore it accepts all of the following:
Code:
{columns 2}
{columns:2}
{columns: 2}
{columns : 2}
{ : columns ::: 2 : }

This also means that
Code:
{title: My Song}

specifies the title as "My Song" with no leading spaces.
Johan
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply


Messages In This Thread
ChoPro metadata fields - by sciurius - 05-27-2015, 09:24 PM
RE: ChoPro metadata fields - by Zubersoft - 05-28-2015, 04:44 PM
RE: ChoPro metadata fields - by DTownSMR - 05-30-2015, 01:26 AM
RE: ChoPro metadata fields - by sciurius - 05-30-2015, 03:03 AM
RE: ChoPro metadata fields - by Zubersoft - 05-30-2015, 08:58 AM



Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.