[GH-ISSUE #439] [Feature Request] Add TRACK_NAME, ARTIST_NAME env vars when running Started/Changed player events #280

Closed
opened 2026-02-27 19:29:48 +03:00 by kerem · 0 comments
Owner

Originally created by @ceuk on GitHub (Feb 27, 2020).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/439

Having the track name and artist exposed via the started/changed player events would be really handy for a number of use cases as contextually, it seems like really relevant information when responding to these particular events (example).

Is this a good idea?

Wish I could help.. my rust is awful (I guess you could say.. rusty 😁). Would it be possible to leverage AudioItem to at least grab the name?

Originally created by @ceuk on GitHub (Feb 27, 2020). Original GitHub issue: https://github.com/librespot-org/librespot/issues/439 Having the track name and artist exposed via the started/changed player events would be really handy for a number of use cases as contextually, it seems like really relevant information when responding to these particular events ([example](https://github.com/Spotifyd/spotifyd/issues/522)). Is this a good idea? Wish I could help.. my rust is awful (I guess you could say.. rusty :grin:). Would it be possible to leverage [AudioItem](https://github.com/librespot-org/librespot/blob/b86c317ac902cc9c711523a5fe00a2bdfdbdf337/metadata/src/lib.rs#L61-L69) to at least grab the name?
kerem 2026-02-27 19:29:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#280
No description provided.