4gray / iptvnator

:tv: Cross-platform IPTV player application with multiple features, such as support of m3u and m3u8 playlists, favorites, TV guide, TV archive/catchup and more.
https://iptvnator.vercel.app
MIT License
2.91k stars 399 forks source link

Apple Mac M1 Sonoma 14.1 - Can't find MPV player #311

Open heteroscedastic opened 1 year ago

heteroscedastic commented 1 year ago

Describe the bug While running any channels from m3u playlist or Xtreme code playlist through mpv player - Error:Error: Something went wrong. Make sure that mpv player is installed on your system. (Status: 0) When IPTVnator run from terminal it shows this error - _{ ─╯ errcode: 4, verbose: 'Unable to bind IPC socket', method: 'startStop()', arguments: [ '/tmp/node-mpv.sock' ], stackTrace: 'Error\n' + ' at ErrorHandler.errorMessage (/Applications/IPTVnator.app/Contents/Resources/app.asar/node_modules/node-mpv/lib/error.js:81:18)\n' + ' at Socket.stdCallback (/Applications/IPTVnator.app/Contents/Resources/app.asar/node_modules/node-mpv/lib/mpv/_startStop.js:103:32)\n' + ' at Socket.emit (node:events:513:28)\n' + ' at addChunk (node:internal/streams/readable:324:12)\n' + ' at readableAddChunk (node:internal/streams/readable:297:9)\n' + ' at Readable.push (node:internal/streams/readable:234:10)\n' + ' at Pipe.onStreamRead (node:internal/stream_basecommons:190:23)' }

Additional context mpv player is installed with homebrew and resides in - ❯ whereis mpv mpv: /opt/homebrew/bin/mpv /opt/homebrew/share/man/man1/mpv.1

This above path is in $PATH as well as mentioned in IPTVnator UI in MPV path location.

4gray commented 1 year ago

Hm, I managed to reproduce the issue "somehow" and could also fix it by removing the path from settings, restarting the app and adapting the path again. The "fix" sounds wild, I'll have to look into it further.

heteroscedastic commented 1 year ago

Hm, I managed to reproduce the issue "somehow" and could also fix it by removing the path from settings, restarting the app and adapting the path again. The "fix" sounds wild, I'll have to look into it further.

Still didn't work for me, and by adapting the path I feel you mean to add the path to the app again. If yes, then no it didn't work for me.

mtomsic commented 9 months ago

I have the same issue, it works if you start IPTVnator via the terminal however /Applications/iptvnator.app/Contents/MacOS/IPTVnator

You can try this to see if it works (haven't tried it myself)

https://github.com/4gray/iptvnator/issues/248#issuecomment-1537254076