HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
erikrichardlarson
unbox
Go2025–2025
erikrichardlarson / unbox

unbox

Log and display your rekordbox / Serato / Traktor / VirtualDJ / DJUCED / Mixxx / djay Pro tracks as they're played

2Distinct people
2Mentions
0Explicit recommenders
370GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Log and display your rekordbox / Serato / Traktor / VirtualDJ / DJUCED / Mixxx / djay Pro tracks as they're played

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2025-01-20 17:00:49 UTC to 2025-01-20 19:55:48 UTC.

012025-01-20 17:00:00 UTC to 2025-01-20 18:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJan 20, 17:002025-01-20 18:00:00 UTC to 2025-01-20 19:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJan 20, 18:002025-01-20 19:00:00 UTC to 2025-01-20 20:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJan 20, 19:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jan 20, 17:002025-01-20 17:00:00 UTC2025-01-20 18:00:00 UTC101
Jan 20, 18:002025-01-20 18:00:00 UTC2025-01-20 19:00:00 UTC000
Jan 20, 19:002025-01-20 19:00:00 UTC2025-01-20 20:00:00 UTC101

What Hacker News says

2 sources
Not sure whether that's the correct way but it seems to work. AFAICT, there is no "now_playing" field in the sqlite db - but tracks that start playing are added to the `PlaylistTracks` table. That means that if you started two tracks and then pause one or the other and restart it, no row will be added. Only adding a track from the library and then playing it will add to the PlaylistTracks list. (Is there a simpler solution I missed?) import sqlite3 import time from pathlib import Path home = Path.home() con = sqlite3.connect(f"{home}/.mixxx/mixxxdb.sqlite") cur = con.cursor() def get_track_name(): global cur trackid = cur.execute("SELECT * FROM PlaylistTracks WHERE id=(SELECT max(id) FROM PlaylistTracks);").fetchall()[0][2] trackname = cur.execute(f"SELECT * FROM library WHERE id={trackid};").fetchall
Read the rest
()[0][2] return trackname now_playing = get_track_name() print(now_playing) while True: if (np := get_track_name()) != now_playing: now_playing = np print(np) time.sleep(1) Edit: FWIW, unbox [1] uses the same approach. Edit 2: yes, I should have cleaned up my SQL statements. [1] https://github.com/erikrichardlarson/unbox/blob/2182f227a0fc...
In Mixxx: GPL DJ Software

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.