This github contains a dataset collected and the tool to track music listening sessions.
Check here and follow the steps: https://www.last.fm/api/webauth
Add your credentials to the environment variables:
''' LASTFM_API_KEY = "YOUR API KEY" LASTFM_API_SECRET = "YOUR API SECRET" '''
notebook_explore_data.ipynb: Notebook of explorations of the data done for the paper can be viewed for reproducability.
/data/id_user: User ID with user answers of registration survey
/data/id_tracks: Extracted track information from LFM2b page while recording session
/data/id_states: Recorded states of the user at the start and end of each session
/data/id_sessions: user id, state ids, songs ids, and completion status of songs
Please cite this paper:
Hausberger, Anna, Emilia Parada-Cabaleiro, and Markus Schedl. "Why Context Matters: Exploring How Musical Context Impacts User Behavior, Mood, and Musical Preferences." Proceedings of the 33rd ACM Conference on User Modeling, Adaptation and Personalization. 2025.
https://dl.acm.org/doi/full/10.1145/3699682.3728354
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
