Read The Bleepin’ Manual
OnSong® Binder (a.k.a. Your Digital Sheet Music Stash)
The OnSong® Binder file format is basically how OnSong plays hot potato with songs, sets, & whole books between libraries. Like the OnSong® Archive it's got everything you need to rebuild the content somewhere else — the song text, attachments, styles, settings, transposition & annotations — except unlike an archive (which is one giant mystery blob, ZOMG), a binder is just a folder of boring regular files. That makes it readable, inspectable, & able to schlep the media your song depends on right alongside the song itself in a platform-agnostic way. Fancy, amirite?
The OnSong® Binder file format rocks either a .onsongbinder or .binder file extension, & a MIME type of application/onsong-binder.
What's Hidin' in There
A binder is a ZIP archive. Unzip one & boom — you'll find a folder named after the item's identifier, containin':
manifest.json— the item itself, all serialized & stuff. Every property OnSong knows about it, shaped exactly like the OnSong web API uses it.- Its file, if it's got one. An attachment keeps its original filename, so a PDF or an MP3 inside a binder is literally just that PDF or MP3.
- Folders for its children, named after what they are —
songs,attachments— each holdin' more folders of the exact same shape.
That structure keeps repeatin' all the way down: a set contains songs, a song contains attachments, & each is a folder with its own manifest chillin' beside its own files. A binder holdin' a book of two hundred songs looks exactly like one holdin' a single chart. Wild, right?
Inside a manifest, references to children get marked with a $binder. prefix, so a reader can tell the difference between a value that belongs to the item & one that's pointin' into a folder next to it.
What It Lugs Around
- Songs — the chord chart & everything stuck to it.
- Sets — the songs in their order, with the set's own arrangement.
- Books — a whole collection, baby.
- Attachments — PDFs, images, audio, & any other file hangin' out with a song. You can cherry-pick only the attachments actually in use instead of every version ever added. Smart move.
Binder Or Archive? (The Throwdown)
Both round-trip a library's content faithfully, so it's really about what you need from the file:
- OnSong® Archive is the old-school format, & that's your move for compatibility with earlier versions of OnSong.
- OnSong® Binder is the new hotness. Use it for sharin' with newer versions of OnSong — & especially when you want a file you can crack open & peek inside.
Importin' & Exportin'
Binders import like any other file, fam: open one from Files, Mail, AirDrop, or a cloud service & pick OnSong. Importin' a binder that holds a set recreates the set & every song in it; importin' one that holds a single song just yeets it into your collection.
Wanna make one? Hit Share & pick OnSong Binder as the format. BOOM.
Binders are also what OnSong Connect sends between devices when one device asks another for a song or a set, so the same format chilling in your Files app is the one travellin' over the network. Full circle, yo.
Because a binder is literally just a ZIP of plain JSON & ordinary media files, it's the right format to grab when you need to see what OnSong *actually stored — or when somethin' else needs to read your content & it ain't OnSong.*