Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discord IPC pipe not found #75

Closed
jackra1n opened this issue Jan 1, 2024 · 3 comments
Closed

Discord IPC pipe not found #75

jackra1n opened this issue Jan 1, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@jackra1n
Copy link

jackra1n commented Jan 1, 2024

After starting the script when it tries to connect to Discord IPC pipe i get the following errro:

...
[01-01-2024 09:25:57 PM] [INFO] [jack-server] Connected to Plex Media Server 'jack-server'
[01-01-2024 09:25:57 PM] [INFO] [jack-server] Listening for alerts from user 'jackra1n'
[01-01-2024 09:26:00 PM] [DEBUG] [jack-server] Received alert: {'sessionKey': '1', 'clientIdentifier': '********', 'guid': '', 'ratingKey': '1008', 'url': '', 'key': '/library/metadata/1008', 'viewOffset': 19000, 'playQueueItemID': 1745, 'playQueueID': 160, 'state': 'playing'}
[01-01-2024 09:26:00 PM] [DEBUG] [jack-server] Searching sessions for session key 1
[01-01-2024 09:26:00 PM] [DEBUG] [jack-server] <Episode:1008:Chainsaw-Man-s01e12>, Session Key: 1, Usernames: ['jackra1n']
[01-01-2024 09:26:00 PM] [DEBUG] [jack-server] Session found
[01-01-2024 09:26:00 PM] [DEBUG] [jack-server] Username 'jackra1n' matches 'jackra1n', continuing
[01-01-2024 09:26:00 PM] [INFO] Connecting to Discord IPC pipe
[01-01-2024 09:26:00 PM] [ERROR] Discord IPC pipe not found (attempted pipes: /run/user/1000/discord-ipc-0, /run/user/1000/discord-ipc-1, /run/user/1000/discord-ipc-2, /run/user/1000/discord-ipc-3, /run/user/1000/discord-ipc-4, /run/user/1000/discord-ipc-5, /run/user/1000/discord-ipc-6, /run/user/1000/discord-ipc-7, /run/user/1000/discord-ipc-8, /run/user/1000/discord-ipc-9)
[01-01-2024 09:26:07 PM] [DEBUG] [jack-server] Received alert: {'sessionKey': '1', 'clientIdentifier': '*******', 'guid': '', 'ratingKey': '1008', 'url': '', 'key': '/library/metadata/1008', 'viewOffset': 26000, 'playQueueItemID': 1745, 'playQueueID': 160, 'state': 'paused'}

I should also mention that im using flatpak discord on Fedora 39.

@jackra1n
Copy link
Author

jackra1n commented Jan 1, 2024

after further inspection it looks like the discord-ipc for flatpak version is in the /run/user/1000/.flatpak/com.discordapp.Discord/xdg-run/discord-ipc-0 directory.

I think it would be good to also check that

@phin05 phin05 added the enhancement New feature or request label Jan 2, 2024
@phin05
Copy link
Owner

phin05 commented Jan 2, 2024

Try v2.4.3 and let me know if it works now.

@jackra1n
Copy link
Author

jackra1n commented Jan 2, 2024

Thanks. It does work now 👍🏼

@jackra1n jackra1n closed this as completed Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants