-
-
Notifications
You must be signed in to change notification settings - Fork 1
Usage
kavinthangavel edited this page Apr 22, 2025
·
10 revisions
This guide covers the various ways to use Simkl Scrobbler.
# Initial setup (only needed once)
simkl-mps init
# Start tracking in foreground mode
simkl-mps start
# Launch in system tray
simkl-mps tray
# Run as a background service
simkl-mps service
# Check service status
simkl-mps service-status
# Process pending offline items
simkl-mps process-backlog
# Show all available commands
simkl-mps --helpsimkl-mps startRuns silently in the background. This is the standard way to run the application for regular usage.
simkl-mps trayRuns as a system tray application, allowing you to:
- Start/stop monitoring
- Process the backlog
- View logs
- Exit the application
simkl-mps serviceRuns as a background service with no UI. Useful for headless operation or when you want the application to run independently of user sessions.
# Install as a system service
simkl-mps install-service
# Uninstall the service
simkl-mps uninstall-service
# Check service status
simkl-mps service-statusThis installs the application to run automatically when your system starts, with platform-specific implementations:
- Windows: Registry startup entry
- macOS: LaunchAgent
- Linux: systemd user service
# Show detailed help
simkl-mps --help
# Show application version
simkl-mps --version
# Run with debug logging
simkl-mps start --debug
# Use a specific config file
simkl-mps start --config /path/to/config.envCheck these files for troubleshooting:
# Main application log
[APP_DATA_DIR]/kavinthangavel/simkl-mps/media-player-scrobbler-for-simkl.log
# Detailed playback events
[APP_DATA_DIR]/kavinthangavel/simkl-mps/playback_log.jsonl
Where [APP_DATA_DIR] is platform-specific:
- Windows:
%APPDATA% - macOS:
~/Library/Application Support - Linux:
~/.local/share
You can set these environment variables to customize behavior:
| Variable | Purpose | Default |
|---|---|---|
SIMKL_CLIENT_ID |
Custom API client ID | Built-in ID |
SIMKL_ACCESS_TOKEN |
Manual access token | Auto-generated |
SIMKL_LOG_LEVEL |
Logging verbosity (DEBUG, INFO, etc.) | INFO |
SIMKL_POLL_INTERVAL |
Window check frequency (seconds) | 10 |
SIMKL_COMPLETION_THRESHOLD |
% to mark as watched | 80 |
- Run
simkl-mps initto set up your Simkl account - Test with
simkl-mps startto ensure detection works in background mode - For daily use, either:
- Use
simkl-mps trayfor easy access to controls - Install as a service with
simkl-mps install-servicefor automatic startup
- Use
The following diagram illustrates how the different run modes operate:
graph TD
A[Simkl Scrobbler] --> B[Background Mode]
A --> C[System Tray Mode]
A --> D[Service Mode]
A --> E[System Service]
B -->|No UI| F[Standard Tracking]
C -->|Tray Icon| G[Control Panel]
D -->|No UI| H[Independent Tracking]
E -->|Auto-start| I[Boot Tracking]
F --> J[Simkl API]
G --> J
H --> J
I --> J
style A fill:#f9d5e5,stroke:#333,stroke-width:2px
style J fill:#d5f5e3,stroke:#333,stroke-width:2px