Closed georgeat8 closed 10 months ago
After installing, scrobbler returns an IPC_PATH error (see logs below)
Have you actually started playing any media in the player?
Yes, of course. The same log output is displayed even if media is playing.
Hmm, it seems like there's some bug with the ipc path being autoloaded. We are escaping the slashes too much.
~/.smplayer/smplayer.ini
(~
being your home directory, C:\Users\username\
).trakts config set players.smplayer@mpv.ipc_path '\\.\pipe\mpvsocket'
in a powershell window.So I tested two different scenarios, each based on your points above.
smplayer.ini
also displays the ipc_path with multiple escaped slashes: mplayer_additional_options="--input-ipc-server=\\\\.\\pipe\\mpvsocket"
. This happens if done via GUI.Full settings:
players.smplayer@mpv.ipc_path = '\\\\.\\pipe\\mpvsocket'
Another thing is that if I edit the smplayer.ini
directly and add the proper slashes, the logs output the same error with the need to check "Unable to connect to MPV. Check ipc_path".
Let's try to simplify it even further. Can you connect to the smplayer ipc even without the scrobbler?
You can check by opening a powershell window and running echo show-text ${playback-time} >\\.\pipe\mpvsocket
(it should show the time in your smplayer window)
@georgeat8 Take a look at #266 - try https://github.com/iamkroot/trakt-scrobbler/issues/266#issuecomment-1873411091
System Info
Description
After installing, scrobbler returns an IPC_PATH error (see logs below)
trakts_scrobbler config:
SMPlayer config:
Log file
Click to see log contents
``` 2023-07-25 17:29:32,733 - INFO - smplayer@mpv - mpv - Unable to connect to MPV. Check ipc path. 2023-07-25 17:30:53,780 - DEBUG - MainThread - notifier - Notifications enabled for categories: exception, misc, scrobble.pause, scrobble.resume, scrobble.start, scrobble.stop, trakt 2023-07-25 17:30:53,940 - INFO - MainThread - scrobbler - Started scrobbler thread. 2023-07-25 17:30:53,951 - DEBUG - MainThread - monitor - Autoloaded smplayer@mpv ipc_path = \\\\.\\pipe\\mpvsocket 2023-07-25 17:30:53,951 - INFO - MainThread - monitor - Started monitor for smplayer@mpv 2023-07-25 17:30:53,952 - INFO - smplayer@mpv - mpv - Unable to connect to MPV. Check ipc path. ```