aboutsummaryrefslogtreecommitdiff
path: root/moc_library.c
AgeCommit message (Collapse)Author
6 daysAdd libmoc playback commands and Athena widget UIHEADmasterCalvin Morrison
Extends moc_library with playlist tracking and thread-safe playback commands (play/pause/stop/next/prev/playlist add/remove/clear), and adds moc_xaw.c, an Athena widget UI with a directory browser and live playlist view. Also taller default window and playlist rendering in moc_x11. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2023-02-27use $HOME for socketCalvin Morrison
2022-07-27cleanup some printfsCalvin Morrison
2022-07-27auto reconnect, cleaup code, handle some edge casesCalvin Morrison
2022-07-27cleanupCalvin Morrison
2022-07-27reset moc structure on stopCalvin Morrison
2022-07-27libmocCalvin Morrison
our previous attempt ran into issues where we have two loops, a GUI loop and the MOC loop. I rewrote this into lib_moc which has it's own thread that manages the MOC socket connection and exposes the interface to a client program via a moc object. all you need to do is call moc_init(); Pretty cool, still runs into issues regarding autoconnect and some other problems.