Read The Bleepin’ Manual
OnSong® Trapper Keeper (But Cooler, Srsly)
The OnSong® Binder file format is how OnSong hauls a song, a set, or your whole embarrassing book of songs between libraries. Like the OnSong® Archive it carries ALL the stuff needed to rebuild things somewhere else — song text, attachments, styles, settings, transposition & annotations (yes, even your doodles) — but where an archive is one big mystery blob, a binder is a folder of regular ol' files. That means you can read it, poke at it, & stuff the media a song needs right in there with the song, no matter what gadget you're rockin'. Srsly. Platform-agnostic. Fancy, amirite?
The OnSong® Binder file format rocks a file extension of either .onsongbinder or .binder, & a MIME type of application/onsong-binder. Memorize that. There will be a quiz. (There won't be a quiz.)
Peek Inside the Sausage
A binder is a ZIP archive. Unzip one & ZOMG you'll find a folder named after the item's identifier, containing:
manifest.json— the item itself, serialized. Every bleepin' property OnSong knows about it, in the same shape the OnSong web API uses. Nerds rejoice.- Its file, if it has one. An attachment keeps its original filename, so a PDF or an MP3 inside a binder is just... a PDF or an MP3. Shocking, we know.
- Folders for its kids, named after what they are —
songs,attachments— each holding more folders of EXACTLY the same shape.
That structure repeats all the way down, like a musical Russian nesting doll: a set holds songs, a song holds attachments, & each is a folder with its own manifest chillin' beside its own files. A binder holding a book of two hundred songs is the same format as one holding a single chart. No special treatment. Everybody's equal. Aww.
Inside a manifest, pointers to kids get a $binder. prefix, so a reader can tell the difference between a value that belongs to the item & one that points into a folder next door. You're welcome, readers.
Yummy Toys It Hauls Around
- Songs — the chord chart & everything stapled to it.
- Sets — the songs in their order, plus the set's own arrangement. Bossy little thing.
- Books — a whole freakin' collection. Hoarder mode: ON.
- Attachments — PDFs, images, audio, & any other file tied to a song. You can pick just the attachments that are actually in use instead of every version ever added. Marie Kondo would be proud.
Binder or Archive? Fight!
Both faithfully round-trip a library's content, so the choice comes down to what you need from the file:
- OnSong® Archive is the old-timer format. Use it when you need to play nice with earlier versions of OnSong. Grandpa says hi.
- OnSong® Binder is the shiny new hotness. Use it for sharing with newer versions of OnSong — & when you wanna crack the file open & look around like a nosy neighbor.
Gettin' Stuff In & Out
Binders import like any other file: open one from Files, Mail, AirDrop, or a cloud service & choose OnSong. Importing a binder that holds a set recreates the set & every song in it; importing one that holds a single song adds that song. Magic? Nope. Just good engineering. (Okay, a little magic.)
To make one, hit Share & pick OnSong Binder as the format. Easy peasy. Even you can do it.
Binders are also what OnSong Connect zips between devices when one device begs another for a song or a set, so the very same format chillin' in your Files app is the one zoomin' across the network. Fancy!
Because a binder is a ZIP of plain JSON & ordinary media files, it's the format to grab when you need to see what OnSong ACTUALLY stored — or when something that ain't OnSong needs to read your stuff. Nosy robots, we're lookin' at you.