Menu

#47 STIL Length Restriction?

N-A
closed-wont-fix
None
5
2 days ago
3 days ago
Peter Dell
No

I had an issue today with an STIl entry, because (as it appears) the path or file name was too long

Works:

/Groups/Anschuetz_Eric_and_Weisgerber_John_and_Anschuetz_Robert/Sailing_Sailing.sap

COMMENT: Traditional song from the Atari 8bit game “Piracy II” by Anschuetz/Weisgerber/Anschuetz

Doesn't Work:

/Groups/Anschuetz_Eric_and_Weisgerber_John_and_Anschuetz_Robert/Sailing_Sailing_Over_the_Bounding_Main.sap

COMMENT: Traditional song from the Atari 8bit game “Piracy II” by Anschuetz/Weisgerber/Anschuetz

The 2nd version didn't show up in WASAP. Not sure where this issue is from or if there is a yet undocumented limitation.

Discussion

  • Piotr Fusik

    Piotr Fusik - 3 days ago
    • status: open --> closed-wont-fix
    • assigned_to: Piotr Fusik
     
  • Piotr Fusik

    Piotr Fusik - 3 days ago

    astil.c limits the number of characters per line to 100. I'm pretty sure the official spec (https://www.hvsc.de/download/C64Music/DOCUMENTS/STIL.faq) posed this limit (probably even stricter, at 80 or 90 characters), but I can't find it now for the filename lines (nor all lines).

    I'm against lifting it. By using paths this long, we can hit the 256 path limit on Windows.

    How about "Anschuetz_E_and_Weisgerber_J_and_Anschuetz_R" ?

     
  • Peter Dell

    Peter Dell - 3 days ago

    I only asked, because the STIL spec actually does not state anything about the path length explicitly. Only the tags ( "COMMENT: ") which are all 9 characters and the values (which are at most 90 characters) are mentioned. Effectively, the HVSC STIL uses 78 characters per line.
    I also didn't mean to change the limit, but add instead a check on my side, if there is a defined limit.

    I've added the details to https://asma.scene.pl/wiki/StilVsExtraSapTags

    How about "Anschuetz_E_and_Weisgerber_J_and_Anschuetz_R" ?

    I have to check my resolution for Coop-names, if it requires full names so it can map the individual artists for validation. Anyway paths are short enough for now.

     

    Last edit: Peter Dell 3 days ago

Log in to post a comment.

MongoDB Logo MongoDB