jonian / acestream-launcher

AceStream Launcher opens AceStream links with any Media Player
GNU General Public License v3.0
151 stars 20 forks source link

Don't work in GUI mode on openSUSE Tumbleweed KDE #20

Closed Drommer closed 6 years ago

Drommer commented 6 years ago

I installed the package using the install.sh script. When starting from the console it works fine, but when you try to open a link from the browser or call the command with a link through the global search (Alt + F2), there are no notifications, you can see that acestreamengine has just started, then nothing happens. System: openSUSE Tumbleweed KDE AceStream Engine 3.1.16 (x64) Browser: Firefox Nightly Use "/opt/acestream-engine/start-engine --client-gtk" instead "acestreamengine --client-console".

P.S. Acestream Launcher is in the list of options, with which you can open links like "acestream://", after clicking on the "run" button, the launch icon appears on the taskbar for a few seconds.

jonian commented 6 years ago

Hi, do you have libnotify installed? Libnotify is used for the notifications using the notify-send command when calling acestream-launcher outside the terminal.

Drommer commented 6 years ago

@jonian now installed next package: python-notify python-notify-devel python2-notify2 python3-notify2 python3-pyinotify libnotify4 libnotify-tools libnotify-devel.

jonian commented 6 years ago

@Drommer So, does it work? Did you try to show a test notification with the notify-send command?

Drommer commented 6 years ago

@jonian Yes, this command works correctly, the notification is displayed. I also have installed sopcast-launcher, there are no problems with its work.

jonian commented 6 years ago

@Drommer Thanks.

Drommer commented 6 years ago

@jonian I'm not sure that you understood me correctly. The notify-send command works, but the acestream-launcher still does not work.

jonian commented 6 years ago

Ok. So any clue why it does not work? I do not use either OpenSUSE nor KDE. Does the /opt/acestream-engine/start-engine --client-gtk show an acestream icon in system tray? If not, install python2-libappindicator.

Drommer commented 6 years ago

@jonian I installed this OS recently. In the thematic chat of the system did not help me. Yes, acestream-engine displays an icon in the tray, the python2-libappindicator package is not in this distribution, there is libappindicator1 and libappindicator3 and they are installed.

Drommer commented 6 years ago

@jonian the problem is solved by replacing "#!/usr/bin/env python" to "#!/usr/bin/python3". P.S. I built a package for openSUSE: https://build.opensuse.org/package/show/home:drommer/acestream-launcher

jonian commented 6 years ago

@Drommer Thank you for finding the issue. Can I add your package for openSUSE, in the readme?

Drommer commented 6 years ago

@jonian Yes of course

Drommer commented 6 years ago

@jonian I moved "acestream-launcher" and "sopcast-launcher" packages for openSUSE to a separate repository: https://build.opensuse.org/project/show/home:drommer:p2pstreams. Please update links.

jonian commented 6 years ago

@Drommer Awesome! I didn't know you had a sopcast-launcher package. Thank you.

Is it possible to make this packages build for other distros? Also, do you know if there is a way to trigger builds when a new release is published on github?

Thanks again!

Drommer commented 6 years ago

@jonian On the build.opensuse.org site, you can build packages for many distros (Fedora, CentOS, Debian, etc). The packages that I built can theoretically work on Fedora and CentOS.

I can not say anything about the automatic update. I started building packages recently, I don’t know many nuances.

In my version, all package files are specified manually, therefore, with any changes, everything must be done anew.

P.S. Sorry for my English, I am not a native speaker, so I use a translator.