Skip to content

About

The Counter Part to BabakCast

Resources

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

BabakPlayer

BabakPlayer is an Android companion app for BabakCast. It imports shared media parts (for example from WhatsApp), preserves receive order, and plays them continuously as one playlist.

Download

Website

Features

  • Share-to-import: receive one or many files from WhatsApp or any other app that can share them.
  • Strict import order: the queue follows the order of the share payload, with no filename resorting.
  • Continuous playback of audio and video as one playlist, with autoplay-next and a seek interval you can set.
  • Google Cast to Nest speakers, Chromecast and other Cast devices on the same Wi-Fi network.
  • English and Persian interface, with the Persian layout running right-to-left.
  • Local-first: no account, no cloud sync, no backend. Removing a file or a playlist removes it from BabakPlayer only; your original files stay where they are.

Relationship with BabakCast

  • BabakCast: splits and shares media parts.
  • BabakPlayer: receives and plays parts in strict import order.
  • Compatibility note: Optimized for imports generated by BabakCast.

Supported Media Formats

  • Audio: mp3
  • Video: mp4, mkv, mov, webm

Share-to-Import Flow

  1. Select one or many files in WhatsApp (or another app).
  2. Tap Share and choose BabakPlayer.
  3. BabakPlayer adds them to a playlist: it keeps a reference to the original file when Android allows it, and otherwise copies the file into app-private storage.
  4. Import summary shows imported/skipped counts and total size.
  5. Press play once for continuous queue playback.

App Tabs

  • Player: import summary, playlist browser, and smooth playback controls.
  • Settings: theme mode, language, autoplay-next, seek interval, and summary behavior.
  • About: app purpose, compatibility details, version, and project links.

Google Cast

  • Cast music and video to Google Nest speakers, Nest Mini, Chromecast, and other Cast-enabled devices on your local network.
  • A Cast button appears in the player screen when compatible devices are available.
  • Playback position and queue transfer seamlessly between your phone and the Cast device.
  • Requires the phone and Cast device to be on the same WiFi network.

Playback Behavior

  • Queue order follows incoming share payload order.
  • Autoplay-next can be toggled in settings.
  • If one file fails decode, it is marked failed and skipped.
  • Works with mixed audio and video queues when supported by device codecs.

Localization

  • Built-in languages: English and Persian (fa).
  • Persian UI runs in RTL layout automatically.

Storage and Removal Behavior

  • Import: BabakPlayer asks Android to keep read access to the shared file and plays it from where it is. If Android does not grant that, or for files shared from WhatsApp, it copies the file into app-private storage under files/imported_media.
  • Playlists (titles, order and item details) are stored as metadata in files/playlists/index.json in app-private storage.
  • Remove file: removes the item from the playlist. The file itself is not deleted.
  • Remove playlist: removes the playlist and its items from the list. No media file is deleted.
  • Original files stay in device storage. Copies under files/imported_media are not deleted when you remove an item or a playlist; they stay until you clear the app's data or uninstall the app.
  • If a referenced file no longer exists, its entry is dropped from the playlist the next time the playlists load.

Privacy

  • Local-first: no account, no cloud sync, no backend requirement.
  • Shared files are referenced where Android allows it and otherwise copied into app-private storage.
  • Removing a file or a playlist removes its entry from BabakPlayer; it does not delete the original file or the copies kept in app-private storage (see Storage and Removal Behavior above).
  • No analytics, crash reporting or advertising.

Read the full privacy policy.

Build

Debug build

./gradlew assembleDebug

Release build (signed)

Set required environment variables:

  • KEYSTORE_PATH
  • KEYSTORE_PASSWORD
  • KEY_ALIAS
  • KEY_PASSWORD

Then build:

./gradlew assembleRelease

CI smoke check

./gradlew buildSmoke

Contributing

Local setup, git hooks, the build and test commands, coding style and the pull request checklist are in CONTRIBUTING.md. Bugs and ideas go to the issues page.

License

Apache-2.0 | © 2026 Cocode | BabakPlayer

About

The Counter Part to BabakCast

Resources

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages