Skip to content

sample data seeding system for fresh installs (issue #141)#211

Draft
sreeshanth-soma wants to merge 4 commits intoopenbroadcaster:5.5-developfrom
sreeshanth-soma:sample-data
Draft

sample data seeding system for fresh installs (issue #141)#211
sreeshanth-soma wants to merge 4 commits intoopenbroadcaster:5.5-developfrom
sreeshanth-soma:sample-data

Conversation

@sreeshanth-soma
Copy link
Copy Markdown
Member

Sample Data Seeding System (Issue #141)

Adds a profile-based sample data seeding system for fresh Observer installs.

What's included

Profile system — JSON-based profiles stored in core/data/profiles/. Adding a new profile like French radio or Digital Signage is just a new folder, no code changes needed.

English Community Radio profile seeds:

  • 20 categories
  • 291 genres across Music, Images, Video, SFX and PSA Audio
  • Users (admin, basic_user, manager) with permission groups
  • Client settings and media format settings
  • 3 custom metadata fields (Internal Memo, Physical Tags, Day Parting)
  • 4 playlists including a Live Assist board
  • Sample Player with 8 daily recurring shows

CLI commands

  • ob seed list — list available profiles
  • ob seed run <profile> — seed a profile

Admin UI — Import Sample Data button in admin panel, no command line needed

Notes

  • Fully idempotent, safe to run multiple times, skips existing data
  • Tested on local 5.5-develop and verified on sandbox server
  • Profile data extracted and mapped from Pyrate 3 reference DB

@sreeshanth-soma sreeshanth-soma marked this pull request as draft May 1, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant