-
-
Notifications
You must be signed in to change notification settings - Fork 1
Troubleshooting
kavinthangavel edited this page Apr 23, 2025
·
9 revisions
This document provides solutions for common issues with Media Player Scrobbler for SIMKL.
| Issue | Solution |
|---|---|
| "Command not found" after installation | Ensure Python scripts directory is in your PATH |
| Installation fails with permission error | Use pip install --user simkl-mps or create a virtual environment |
| Poetry installation fails | Ensure you have the latest version of Poetry (poetry self update) |
| Issue | Solution |
|---|---|
| Authentication fails | Check internet connection; verify correct PIN entry |
| "Invalid client ID" error | Your custom client ID might be incorrect; remove it from config |
| Token expired or invalid | Run simkl-mps i (or init) again to re-authenticate |
| Issue | Solution |
|---|---|
| Movies not detected | Ensure media player shows filename in window title |
| Incorrect movie matched | Include year in filename: "Movie.Title.2023.mp4" |
| No detection in fullscreen | Some players hide window title in fullscreen; use windowed mode |
| Multiple files show as one movie | Ensure filenames are clearly different |
| Issue | Solution |
|---|---|
| Position not tracking | Configure player web interface (see Media Players) |
| Movies not marked as watched | Check completion threshold setting; verify internet connection |
| Tracking stops unexpectedly | Check logs for errors; ensure player keeps window title visible |
| VLC position not detected | Verify web interface is enabled and accessible |
| Issue | Solution |
|---|---|
| Media player not recognized | Verify player is in the supported list |
| Application doesn't start | Run simkl-mps t (or tray) to see error messages |
| Issue | Solution |
|---|---|
| AppleScript permission errors | Grant accessibility permissions in System Preferences > Security & Privacy > Privacy > Accessibility |
| Window detection failures | Install optional dependencies: pip install "simkl-mps[macos]"
|
| Issue | Solution |
|---|---|
| Window detection not working | Install required utilities: sudo apt install xdotool wmctrl
|
| D-Bus connection errors | Ensure you're running in a standard desktop environment |
Use these commands to help diagnose problems:
# Check installation
pip show simkl-mps
# Check version information
simkl-mps -v # or: --version
simkl-mps V # or: version
# Run with debug logging in background
simkl-mps s --debug # or: start --debug
# Run with debug logging in terminal
simkl-mps t --debug # or: tray --debug
# Check logs (Windows)
type %APPDATA%\kavinthangavel\simkl-mps\simkl_mps.log
# Check logs (macOS/Linux)
cat ~/.local/share/kavinthangavel/simkl-mps/simkl_mps.log
# Test API connectivity (Windows PowerShell)
Invoke-WebRequest -Uri https://api.simkl.com/ -Method Head
# Test API connectivity (macOS/Linux)
curl -I https://api.simkl.com/Common log messages and their meanings:
| Log Message | Meaning |
|---|---|
| "No active video player window found" | Normal when no player is running |
| "Failed to connect to Simkl API" | Network or authentication issue |
| "Movie title not found in window title" | Player doesn't expose title or format is unrecognized |
| "Could not parse movie title" | Filename format couldn't be understood |
| "Movie marked as watched" | Success! Movie was scrobbled |
| "Added to backlog" | Will be marked as watched when internet connection is restored |
If you need a fresh start:
- Close all instances of the application
- Delete the application data directory:
- Windows:
%APPDATA%\kavinthangavel\simkl-mps - macOS:
~/Library/Application Support/kavinthangavel/simkl-mps - Linux:
~/.local/share/kavinthangavel/simkl-mps
- Windows:
- Reinstall:
pip install --force-reinstall simkl-mps - Reinitialize:
simkl-mps i(orinit)
If you've tried the solutions above and still have issues:
- Run in debug mode to get detailed logs:
simkl-mps t --debug # or: tray --debug - Open a GitHub issue with:
- Your operating system and version
- The application version (
simkl-mps -vor--version) - Relevant log excerpts
- Steps to reproduce the problem