mirror of
https://github.com/misiektoja/spotify_monitor.git
synced 2026-04-25 22:55:52 +03:00
[PR #17] [MERGED] Option to use a flag file to indicate activity status of user #29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/misiektoja/spotify_monitor/pull/17
Author: @tomballgithub
Created: 7/4/2025
Status: ✅ Merged
Merged: 7/6/2025
Merged by: @misiektoja
Base:
dev← Head:flagfile📝 Commits (3)
1c1917eOption to use a flag file to indicate activity status of user9d20b5eDelete flag file when monitoring endsfc05419Merge branch 'dev' into flagfile📊 Changes
1 file changed (+38 additions, -1 deletions)
View changed files
📝
spotify_monitor.py(+38 -1)📄 Description
Allows optional file pathname that will be created when the user is active and will be removed when inactive.
This allows other tools/scripts to monitor the existence of this file to know the state of the user.
I've tested this in Windows with relative and absolute file paths. The code should be OS independent.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.