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.57k stars 355 forks source link

Ubuntu: VLC exited with code 127 #384

Open Teskann opened 4 months ago

Teskann commented 4 months ago

Hi,

Description

Trying to open any stream / VOD with VLC fails. Output shows VLC exited with code 127.

To Reproduce Steps to reproduce the behavior:

  1. Launch iptvnator from a terminal
  2. Click on the + icon on top left corner image
  3. Click Add xtream code image
  4. Fill the information, click "Add" image
  5. Go in the settings image
  6. Chose VLC player (no need to set VLC path as it's correctly found by default) image
  7. Go back to Home image
  8. Launch any stream / VOD. This dialog box pops-up: image
  9. VLC is not open. In the terminal, you can see VLC exited with code 127

Expected behavior Step 9 should open VLC with the desired stream

Desktop:

Additional context

I installed Iptvnator using snap. I precise the URL of the stream is valid. I tried to rebuild the app and console.log() the information about the vlc command that is run in electron/api.ts:273. If I run the command outside iptvnator with the same vlc executable and the same argument (URL as string) it's working properly. I tried to launch the stream from command in /bin/sh shell (the one that is used by child_process.spawn() on Linux). It's working as well. It seems something prevents Iptvnator to launch VLC correctly...

Do you have any clue ?

Cheers,

mickvv commented 4 months ago

I have the same issue "VLC exited with code 127" with ubuntu 18.04.

TayebAlsh commented 4 months ago

Same issue here

oscarmoraog commented 2 months ago

Same issue here, issue with mpv and vlc.

Ubuntu 22:04 Linux 6.5.0-44-generic #44~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jun 18 14:36:16 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Using MPV


(iptvnator:12535): Gtk-WARNING **: 19:04:04.902: Theme parsing error: gtk.css:1413:23: 'font-feature-settings' is not a valid property name

(iptvnator:12535): Gtk-WARNING **: 19:04:04.905: Theme parsing error: gtk.css:3286:25: 'font-feature-settings' is not a valid property name

(iptvnator:12535): Gtk-WARNING **: 19:04:04.906: Theme parsing error: gtk.css:3748:23: 'font-feature-settings' is not a valid property name

(iptvnator:12535): Gtk-WARNING **: 19:04:05.028: Theme parsing error: gtk-dark.css:1413:23: 'font-feature-settings' is not a valid property name

(iptvnator:12535): Gtk-WARNING **: 19:04:05.032: Theme parsing error: gtk-dark.css:3286:25: 'font-feature-settings' is not a valid property name

(iptvnator:12535): Gtk-WARNING **: 19:04:05.033: Theme parsing error: gtk-dark.css:3748:23: 'font-feature-settings' is not a valid property name
/usr/share/libdrm/amdgpu.ids: No such file or directory
{
  errcode: 2,
  verbose: 'Binary not found',
  method: 'start()',
  arguments: [ '/usr/bin/mpv' ],
  stackTrace: 'Error\n' +
    '    at ErrorHandler.errorMessage (/snap/iptvnator/90/resources/app.asar/node_modules/node-mpv/lib/error.js:81:18)\n' +
    '    at /snap/iptvnator/90/resources/app.asar/node_modules/node-mpv/lib/util.js:108:33\n' +
    '    at FSReqCallback.oncomplete (node:fs:210:21)'
}

Using VLC

(iptvnator:13071): Gtk-WARNING **: 19:09:28.672: Theme parsing error: gtk.css:1413:23: 'font-feature-settings' is not a valid property name

(iptvnator:13071): Gtk-WARNING **: 19:09:28.676: Theme parsing error: gtk.css:3286:25: 'font-feature-settings' is not a valid property name

(iptvnator:13071): Gtk-WARNING **: 19:09:28.676: Theme parsing error: gtk.css:3748:23: 'font-feature-settings' is not a valid property name

(iptvnator:13071): Gtk-WARNING **: 19:09:28.795: Theme parsing error: gtk-dark.css:1413:23: 'font-feature-settings' is not a valid property name

(iptvnator:13071): Gtk-WARNING **: 19:09:28.799: Theme parsing error: gtk-dark.css:3286:25: 'font-feature-settings' is not a valid property name

(iptvnator:13071): Gtk-WARNING **: 19:09:28.800: Theme parsing error: gtk-dark.css:3748:23: 'font-feature-settings' is not a valid property name
/usr/share/libdrm/amdgpu.ids: No such file or directory
VLC exited with code 127
hbjastad commented 1 week ago

I have the same problem with mpv..."Binary not found"

{
  errcode: 2,
  verbose: 'Binary not found',
  method: 'start()',
  arguments: [ '/usr/bin/mpv' ],
  stackTrace: 'Error\n' +
    '    at ErrorHandler.errorMessage (/snap/iptvnator/90/resources/app.asar/node_modules/node-mpv/lib/error.js:81:18)\n' +
    '    at /snap/iptvnator/90/resources/app.asar/node_modules/node-mpv/lib/util.js:108:33\n' +
    '    at FSReqCallback.oncomplete (node:fs:210:21)'
}

Has anyone found a solution?