[PR #17] [MERGED] Option to use a flag file to indicate activity status of user #29

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

📋 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: devHead: flagfile


📝 Commits (3)

  • 1c1917e Option to use a flag file to indicate activity status of user
  • 9d20b5e Delete flag file when monitoring ends
  • fc05419 Merge 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.

## 📋 Pull Request Information **Original PR:** https://github.com/misiektoja/spotify_monitor/pull/17 **Author:** [@tomballgithub](https://github.com/tomballgithub) **Created:** 7/4/2025 **Status:** ✅ Merged **Merged:** 7/6/2025 **Merged by:** [@misiektoja](https://github.com/misiektoja) **Base:** `dev` ← **Head:** `flagfile` --- ### 📝 Commits (3) - [`1c1917e`](https://github.com/misiektoja/spotify_monitor/commit/1c1917e15a3626e0ffa9ea82be4d734676db5be6) Option to use a flag file to indicate activity status of user - [`9d20b5e`](https://github.com/misiektoja/spotify_monitor/commit/9d20b5eaf0474f8577e8b76fdb8be4b4ee6b979a) Delete flag file when monitoring ends - [`fc05419`](https://github.com/misiektoja/spotify_monitor/commit/fc05419442b8ed2a1416edfdbe2fc0f809c911e7) Merge branch 'dev' into flagfile ### 📊 Changes **1 file changed** (+38 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `spotify_monitor.py` (+38 -1) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:07:48 +03:00
Sign in to join this conversation.
No labels
Stale
bug
pull-request
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/spotify_monitor#29
No description provided.