Closed ShalokShalom closed 7 years ago
If you're using ubuntu then the package is python3-libtorrent. In archlinux package is libtorrent-rasterbar, in which python bindings are already included. It is python bindings for torrent library which is used by popular bittorrent clients like qbittorrent and deluge.
Its build with libtorrent-rasterbar in KaOS.
Can you open python shell and type output of 'import libtorrent'
[matthias@cosmos ~]$ python3
Python 3.6.1 (default, Mar 22 2017, 21:57:16)
[GCC 5.4.1 20170214] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import libtorrent
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'libtorrent'
>>>
ok, most probably python3 bindings are not included in KaOS. Is it included separately in it?
How they are called?
KaOS ship in general like upstream does.
try searching python-libtorrent or python3-libtorrent using native package manager
I mean the actual file.
Both not available in our repos at all. Not included in any other package.
ok, let me search actual file
in archlinux, python3 bindings are included in libtorrent-rasterbar package.
found it: https://github.com/KaOSx/apps/blob/master/libtorrent-rasterbar/PKGBUILD
Its build with python2
Can try to rebuild with 3
ok, great. It should build with python3 with no problem.
You can also take a look at archlinux PKGBUILD 'https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/libtorrent-rasterbar'.
I already took a that one. Seems like i have to adopt it a bit more..
Can you say me, if i need to rebuild kawaii-player as well?
No, there is no need to rebuild kawaii-player.
ok, i adopt the Arch PKGBUILD for us and now does it work
thanks a lot :+1:
I get this message via OSD:
"python3 bindings for libtorrent are broken Torrent Streaming feature will be disabled"
Which packages are probably meant?