Giter Club home page Giter Club logo

plugin.video.torrest's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

plugin.video.torrest's Issues

Show Torrest Downloading Percentage With My Addon

Hello, I am using the Torrest plugin to play torrent files with my addon. I would like to know how I can show the percentage of the current download to the users since I have no problem playing videos, but in the image section it tells me “No candidate files found” so I download them with:

“plugin://plugin.video.torrest/torrents/{}/download”.format(info_hash)

And to show the status I have tried in the same way with: “plugin://plugin.video.torrest/torrents/{}/torrent_status”.format(info_hash)

But nothing happens. I have tried to do it in several ways but it does not work. Is there any way to do it or is it impossible? Thank you for your help and for your excellent work.

what am I doing wrong

kodi 18.9 windows
from the livestreampro addon I am calling torrest in the following way:

plugin://plugin.video.torrest/play_url?url="https://www.sport-video.org.ua/Internazionale - Lazio 30.04.2023.mkv.torrent"

however torrest does nothing, it does not launch the torrent.

in the kodi log it says the following:

ERROR: JSONRPC: Failed to parse '{"jsonrpc":"2.0","method":"Files.GetDirectory","params":{"directory":"plugin://plugin.video.torrest/play_url?url ="https://www.sport-video.org.ua/Internazionale - Lazio 30.04.2023.mkv.torrent"","media":"video","properties":[ "plot","playcount", "director", "genre","votes","duration","trailer","premiered","thumbnail","title","year","dateadded","fanart","rating","season ","episode","studio","mpaa"]},"id":1}'
2023-04-30 16:14:19.380 T:2536 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.live.streamspro/?fanart&mode=53&name=https%3a%2f%2fwww. sport-video.org.ua%2fInternazionale%20-%20Lazio%2030.04.2023.mkv.torrent&url=plugin%3a%2f%2fplugin.video.torrest%2fplay_url%3furl%3d%22https%3a%2f%2fwww.sport -video.org.ua%2fInternazionale%20-%20Lazio%2030.04.2023.mkv.torrent%22
2023-04-30 16:14:19.382 T:15980 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.live.streamspro/?fanart&mode=53&name=https%3a%2f%2fwww.sport-video.org .ua%2fInternazionale%20-%20Lazio%2030.04.2023.mkv.torrent&url=plugin%3a%2f%2fplugin.video.torrest%2fplay_url%3furl%3d%22https%3a%2f%2fwww.sport-video.org. ua%2fInternazionale%20-%20Lazio%2030.04.2023.mkv.torrent%22) failed

torrest works correctly from other addons, could you please help me so that when I call torrest from listreampro it launches the video? thank you

Torrest binary would crash if not accesible download path

If for any reason the user sets an un-accesible download path (in-existent, read-only, ...) Torrest binary would crash. It will not recover on Kodi init:

2021-03-14 22:23:28.385 T:4564 NOTICE: [plugin.video.torrest] Starting daemon with args: ('-port', '61235', '-settings', u'C:\\Users\\Rober\\AppData\\Roaming\\Kodi\\userdata\\addon_data\\plugin.video.torrest\\settings.json') 2021-03-14 22:23:31.654 T:4564 NOTICE: [plugin.video.torrest] Starting daemon logger 2021-03-14 22:23:31.755 T:12504 NOTICE: [plugin.video.torrest] [main] main - Loading configs 2021-03-14 22:23:31.774 T:12504 NOTICE: [plugin.video.torrest] [main] main - Starting bittorrent service 2021-03-14 22:23:31.775 T:12504 NOTICE: [plugin.video.torrest] panic: Unable to create 'downloads' folder: mkdir downloads: El sistema no puede encontrar la ruta especificada. 2021-03-14 22:23:31.776 T:12504 NOTICE: [plugin.video.torrest] 2021-03-14 22:23:31.787 T:12504 NOTICE: [plugin.video.torrest] goroutine 1 [running]: 2021-03-14 22:23:31.788 T:12504 NOTICE: [plugin.video.torrest] github.com/i96751414/torrest/bittorrent.createDir(0x1c60503, 0x9) 2021-03-14 22:23:31.788 T:12504 NOTICE: [plugin.video.torrest] /go/src/github.com/i96751414/torrest/bittorrent/utils.go:20 +0x14b 2021-03-14 22:23:31.789 T:12504 NOTICE: [plugin.video.torrest] github.com/i96751414/torrest/bittorrent.NewService(0xc000390240, 0x4) 2021-03-14 22:23:31.790 T:12504 NOTICE: [plugin.video.torrest] /go/src/github.com/i96751414/torrest/bittorrent/service.go:88 +0x43 2021-03-14 22:23:31.791 T:12504 NOTICE: [plugin.video.torrest] main.main() 2021-03-14 22:23:31.791 T:12504 NOTICE: [plugin.video.torrest] /go/src/github.com/i96751414/torrest/main.go:54 +0x66d

In this case, the binary should find an alternative accesible default path, but not crash. /userdata/addon_data/plugin.video/torrest would be a good place, not only for the python part, but also for the binary.

In the current situation, if not settings.json exists, the binary uses the exec binary path as default for download and torrent path. It may happens, mainly in Android 10+, that that path is read-only
LOG304516937.log

LibreELEC 10: machine type wrongly managed by Torrest

With the LibreELEC version 10 oficial, platform.machine() is reporting Arm64 processors a aarch64, even if the OS is 32 bit. The result is that both the Torrest installer and Deamon choose a wrong binary version: linux_x86:

CRITICAL:root:Resolving platform - system=linux, version=5.10.52, arch=x86, machine=aarch64

If have temporary patched for Alfa users the Torrest "os_platform.py" module as follows (lines 52-54):
if "armv7" in machine or ('aarch' in machine and arch == Arch.x86): arch = Arch.armv7 elif "arm" in machine or 'aarch' in machine:

While this solves the problems por existing users, those who make a clean installation will get the linux_x86 binary, so this patch will not help.

ConnectionError: HTTPConnectionPool

Hello when I try to enter the torrent section (previously with the torrent added from the file), I get this error, I had tried with 3 torrents and a url

13:49:26.779 T:24084   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.torrest/torrents
13:49:26.780 T:33500   ERROR: [plugin.video.torrest] Caught exception:
                                            Traceback (most recent call last):
                                              File "C:\Kodi\portable_data\addons\plugin.video.torrest\lib\navigation.py", line 393, in run
                                                plugin.run()
                                              File "C:\Kodi\portable_data\addons\script.module.routing\lib\routing.py", line 130, in run
                                                self._dispatch(self.path)
                                              File "C:\Kodi\portable_data\addons\script.module.routing\lib\routing.py", line 141, in _dispatch
                                                view_func(**kwargs)
                                              File "C:\Kodi\portable_data\addons\plugin.video.torrest\lib\navigation.py", line 49, in wrapper
                                                raise e
                                            ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=61235): Max retries exceeded with url: /torrents?status=true (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x17118A10>: Failed to establish a new connection: [Errno 10061] No se puede establecer una conexi\xf3n ya que el equipo de destino deneg\xf3 expresamente dicha conexi\xf3n',))

TypeError: function takes at most 2 arguments (3 given) when using with magneto

ERROR <general>: [plugin.video.torrest] Caught exception:
                                                   Traceback (most recent call last):
                                                     File "/private/var/mobile/Containers/Data/Application/CFF0B279-F2D8-4F4D-A516-F538BE664656/Library/Caches/Kodi/addons/plugin.video.torrest/lib/navigation.py", line 360, in run
                                                       plugin.run()
                                                     File "/private/var/mobile/Containers/Data/Application/CFF0B279-F2D8-4F4D-A516-F538BE664656/Library/Caches/Kodi/addons/script.module.routing/lib/routing.py", line 130, in run
                                                       self._dispatch(self.path)
                                                     File "/private/var/mobile/Containers/Data/Application/CFF0B279-F2D8-4F4D-A516-F538BE664656/Library/Caches/Kodi/addons/script.module.routing/lib/routing.py", line 141, in _dispatch
                                                       view_func(**kwargs)
                                                     File "/private/var/mobile/Containers/Data/Application/CFF0B279-F2D8-4F4D-A516-F538BE664656/Library/Caches/Kodi/addons/plugin.video.torrest/lib/navigation.py", line 37, in wrapper
                                                       raise e
                                                     File "/private/var/mobile/Containers/Data/Application/CFF0B279-F2D8-4F4D-A516-F538BE664656/Library/Caches/Kodi/addons/plugin.video.torrest/lib/navigation.py", line 31, in wrapper
                                                       func(*args, **kwargs)
                                                     File "/private/var/mobile/Containers/Data/Application/CFF0B279-F2D8-4F4D-A516-F538BE664656/Library/Caches/Kodi/addons/plugin.video.torrest/lib/navigation.py", line 81, in wrapper
                                                       return func(*args, **kwargs)
                                                     File "/private/var/mobile/Containers/Data/Application/CFF0B279-F2D8-4F4D-A516-F538BE664656/Library/Caches/Kodi/addons/plugin.video.torrest/lib/navigation.py", line 231, in play_magnet
                                                       play_info_hash(info_hash, buffer=buffer)
                                                     File "/private/var/mobile/Containers/Data/Application/CFF0B279-F2D8-4F4D-A516-F538BE664656/Library/Caches/Kodi/addons/plugin.video.torrest/lib/navigation.py", line 37, in wrapper
                                                       raise e
                                                     File "/private/var/mobile/Containers/Data/Application/CFF0B279-F2D8-4F4D-A516-F538BE664656/Library/Caches/Kodi/addons/plugin.video.torrest/lib/navigation.py", line 31, in wrapper
                                                       func(*args, **kwargs)
                                                     File "/private/var/mobile/Containers/Data/Application/CFF0B279-F2D8-4F4D-A516-F538BE664656/Library/Caches/Kodi/addons/plugin.video.torrest/lib/navigation.py", line 271, in play_info_hash
                                                       buffer_and_play(info_hash, chosen_file.id)
                                                     File "/private/var/mobile/Containers/Data/Application/CFF0B279-F2D8-4F4D-A516-F538BE664656/Library/Caches/Kodi/addons/plugin.video.torrest/lib/navigation.py", line 37, in wrapper
                                                       raise e
                                                     File "/private/var/mobile/Containers/Data/Application/CFF0B279-F2D8-4F4D-A516-F538BE664656/Library/Caches/Kodi/addons/plugin.video.torrest/lib/navigation.py", line 31, in wrapper
                                                       func(*args, **kwargs)
                                                     File "/private/var/mobile/Containers/Data/Application/CFF0B279-F2D8-4F4D-A516-F538BE664656/Library/Caches/Kodi/addons/plugin.video.torrest/lib/navigation.py", line 304, in buffer_and_play
                                                       sizeof_fmt(total_done), translate(30244), sizeof_fmt(status.buffering_total), sizeof_fmt(speed)))
                                                   TypeError: function takes at most 2 arguments (3 given)

Any way to 'bundle' this with an addon's repository?

Hello,

Is there a recommended way that I should include plugin.video.torrest in my repository?

Looking to add torrest support to my addon: https://github.com/pikdum/plugin.video.haru

For example, ResolveURL recommends doing this:

<dir>
    <info compressed="false">https://raw.githubusercontent.com/Gujal00/smrzips/master/addons.xml</info>
    <checksum>https://raw.githubusercontent.com/Gujal00/smrzips/master/addons.xml.md5</checksum>
    <datadir zip="true">https://raw.githubusercontent.com/Gujal00/smrzips/master/zips/</datadir>
</dir>

Would be neat if I could get things working without users needing to install it separately.

Thanks!

Torrest hangs while download if I point paths to external USB dongle on my Cube gen3

Hi,
Subject basically says all.
I inserted a USB dongle into my Fire TV Cube gen3 usb port.
After it's been recognized I pointed "Download path" and "Torrent folder" to something like: /Storage/USB id/Android/org.xbmc.kodi/ first and after I also tried /Storage/USB id/Android/org.xbmc.kodi/files/.
Torrest starts correctly but when I try to download anything, if the file is big, the buffer starts accumulating but suddenly hangs.
Not sure if the issue is related to the USB pointing but I cant try using internal storage cause it's very limited.
Sorry for wasting your time if I did anything wrong.

Regards.

Extreme low performace on Android Tv-boxes with external disks

I’m extremely concerned with Torrest 0.0.15 performance on a high-end Android Arm Tv-box with external USB3 disks (both mechanical and SSD).

I just made a clean test to give you some figures (performed in two different boxes of the same model):

  • TV-box: GTKing PRO, 6x Cores S922X, 4 GB main memory, 3xUSB3 120 MB/s read, 20 MB/s write, NTFS 5 TB disk, full Android 9 rooted, Kodi 19.5
  • Comms: 500/500 Mbits optical fiber
  • Time to access to torrent list within Torrest addon, while 3 torrents downloading: 4 minutes, where it was immediate in previous version
  • Time to access to RESP server from Chrome to list torrents: similar to the access through Torrest addon
  • Download throughput: about 20% of the previous version. Previously it reached the max disk write throughput (20 MB/s), where now the top is 4 MB/s
  • I have tried with both the .so library and the binary with similar results.

With these results it is obvious that Torrest 0.0.15 is unusable in this environment and I’m force to switch back to the previous version while you identify the problem. I can do this task without problem, but I wonder what may be the feeling and reaction of other users in similar situation. Torrest has a great reputation among users, but can be drained rapidly if you do no address the issue rapidly.

NOTE: Just to complicate the picture, I have tried on my mobile, Motorola One Action (medium-low performance), Android 11, using the internal memory for download, with NO visible performance degradation, reaching 30 MB/s downloads speed (max mobile Wifi speed), with immediate response on listing the active torrents.

Kodi 20 compatibility

File "E:\Program Files\Kodi_20\Kodi\portable_data\addons\plugin.video.torrest\lib\dialog.py", line 1, in
from xbmcgui import Dialog, WindowXMLDialog, ACTION_PARENT_DIR, ACTION_NAV_BACK, ACTION_PREVIOUS_MENU
ImportError: cannot import name 'ACTION_PARENT_DIR' from 'xbmcgui' (unknown location)
-->End of Python script error report<--

Please, take a look to this alternative code:

try:
from xbmcgui import Dialog, WindowXMLDialog, ACTION_PARENT_DIR, ACTION_NAV_BACK, ACTION_PREVIOUS_MENU
except:
#CHECK https://github.com/xbmc/xbmc/input/actions/ActionIDs.h
from xbmcgui import Dialog, WindowXMLDialog
ACTION_PARENT_DIR = 9
ACTION_NAV_BACK = 92
ACTION_PREVIOUS_MENU = 10

Play episode by number

Please add the file index to the API.
Example:
plugin://plugin.video.torrest/play_url?url=&file_index=

Torrest 0.0.15 blows Kodi 18 on Android (and probably on Linux)

It seems that the Libtorrest.so approach is not compatible with Kodi 18-Python 2.

I have tried replacing the /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.torrest/resources/bin/android_arm/libtorrest.so with the torrest.0.0.3.android_arm binary and it works.

kodi.log

Performance and improvements

We ha added Torrest as an option torrent downloader in our Alfa add-on. After testing Torrest for few days we have some issues/questions/improvements:

  • Is there a way to limit the concurrent number of downloading torrents? Let say I need to download a series season. That may generate 10 torrents. For smaller devices it might be wise to let only a few torrents concurrently downloading while the rest stay queued waiting for an open slot. Tried “Connections Limit” without success.

  • Can you add a function to call Torrest to download from a torrent filename? Here is an example of a code for navigation.py that might work:

@plugin.route("/play_path")
@check_playable
@query_arg("path")
def play_file(path, buffer=True):
	info_hash = api.add_torrent(path, ignore_duplicate=True)
	play_info_hash(info_hash, buffer=buffer)

  • On doing some performance testing I have found that comparing a torrent download of the same torrent file in the same conditions, stand-alone, Python binding Libtorrent-rasterbar v2.0.2 is about twice faster that Torrest with internal Libtorrent-rasterbar v1.2.11. How can Torrest performance be improved?

I have sent you emails to your [email protected] account providing more details about how Alfa works and ways for further cooperation.

Regards,
Alfa Team

Error while loading shared libraries: libatomic.so.1 in Libreelec and Coreelec on Torrest version 0.0.13

Starting Kodi (19.4 (19.4.0) Git:19.4-Matrix). Platform: Linux ARM 32-bit
INFO <general>: Using Release Kodi x32
INFO <general>: Kodi compiled 2022-03-05 by GCC 10.2.0 for Linux ARM 32-bit version 5.10.95 (330335)
INFO <general>: Running on BCM2835 with **LibreELEC** (official): 10.0.2, kernel: Linux ARM 64-bit version 5.10.95
INFO <general>: FFmpeg version/source: 4.3.2-Kodi
ERROR <general>: WARNING:root:## Resolving platform - system=linux, version=5.10.95, arch=x86, machine=aarch64
ERROR <general>: WARNING:root:## Resolved platform - system=linux, arch=armv7

INFO <general>: [plugin.video.torrest] Starting daemon with args: ('--port', '61235', '--settings', '/storage/.kodi/userdata/addon_data/plugin.video.torrest/settings.json')
INFO <general>: [plugin.video.torrest] Starting daemon logger
INFO <general>: [plugin.video.torrest] /storage/.kodi/userdata/addon_data/plugin.video.torrest/bin/torrest: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory


Starting Kodi (18.9 (18.9.0) Git:00ff7594e42e9539912c9bd12c5a6a9d1b9d8d78). Platform: Linux ARM 32-bit
NOTICE: Using Release Kodi x32 build
NOTICE: Kodi compiled 2021-09-07 by GCC 8.3.0 for Linux ARM 32-bit version 3.14.29 (200221)
NOTICE: Running on **CoreELEC** (official): 9.2.8, kernel: Linux ARM 64-bit version 3.14.29 aarch64
ERROR: WARNING:root:## Resolving platform - system=linux, version=3.14.29, arch=x86, machine=armv7l
ERROR: WARNING:root:## Resolved platform - system=linux, arch=armv7

NOTICE: [plugin.video.torrest] Starting daemon with args: ('--port', '61235', '--settings', u'/storage/.kodi/userdata/addon_data/plugin.video.torrest/settings.json')
NOTICE: [plugin.video.torrest] Starting daemon logger
NOTICE: [plugin.video.torrest] /storage/.kodi/userdata/addon_data/plugin.video.torrest/bin/torrest: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory

Add-on does not uninstall properly

On uninstalling Torrest add-on in W10 it does not stop properly the Service, so Kodi cannot deleted the add-on's folder because there are some files in use (binary?):

2021-01-26 11:56:33.138 T:26392   ERROR: XFILE::CFile::Rename - Error renaming file C:\Users\xxx\AppData\Roaming\Kodi\addons\plugin.video.torrest
2021-01-26 11:56:33.138 T:26392   ERROR: Failed to move old addon files from 'C:\Users\xxx\AppData\Roaming\Kodi\addons\plugin.video.torrest' to 'C:\Users\xxx\AppData\Roaming\Kodi\addons\temp\4466f551-7973-41b4-8fa7-c777c64d86d5'
2021-01-26 11:56:33.138 T:26392   ERROR: CAddonUnInstallJob[plugin.video.torrest]: could not delete addon data.

As a consequence, if the Torrest add-on is reinstalled without Kodi re-init , it gives the following error:

2021-01-26 11:59:26.416 T:17476   ERROR: XFILE::CFile::Rename - Error renaming file C:\Users\xxx\AppData\Roaming\Kodi\addons\plugin.video.torrest
2021-01-26 11:59:26.416 T:17476   ERROR: Failed to move old addon files from 'C:\Users\xxx\AppData\Roaming\Kodi\addons\plugin.video.torrest' to 'C:\Users\xxx\AppData\Roaming\Kodi\addons\temp\f04e79b0-e35a-43f1-81e2-2d66dd32bd7d'

Infinite “Buffering” with CoreELEC

Hi, I’m using CoreELEC 20.1 on an Amlogic s905x box. While using “Alfa” add-on, with last 0.0.14 version and this newer 0.0.15 version, the torrent pop-up window stays on “Buffering” forever, the torrents never start. Weeks ago I tried a 0.0.12 modified version that I found somewhere and worked once, not the next time.

I waited to share this problem until version 0.0.15 just in case the problem would be solved, but it does not seem to be the case.

I have limited knowledge, but I can give logs and/or try things that you propose.

Thanks in advance.
Regards.

xbmc.translatePath has been removed

Hello I am getting this error when the plugin is loaded:

error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'AttributeError'>
                                                   Error Contents: module 'xbmc' has no attribute 'translatePath'
                                                   Traceback (most recent call last):
                                                     File "/Users/pablomuri/Library/Application Support/Kodi/addons/plugin.video.torrest/service.py", line 3, in <module>
                                                       from lib.kodi import ADDON_DATA
                                                     File "/Users/pablomuri/Library/Application Support/Kodi/addons/plugin.video.torrest/lib/kodi.py", line 21, in <module>
                                                       ADDON_DATA = assure_unicode(xbmc.translatePath(ADDON.getAddonInfo("profile")))
                                                                                   ^^^^^^^^^^^^^^^^^^
                                                   AttributeError: module 'xbmc' has no attribute 'translatePath'
                                                   -->End of Python script error report<--

It seems that the translatePath method was finally removed after having been reprecated.

Thanks!

This is possible with torrest?

I have Apple TV and run Kodi on it. But Apple TV don't support the binary run. So maybe this client and server idea will work.
Server can be raspberry pi or Linux or windows
Client is kodi addon simple python not run binary

Here is another user schema. I like it but elementum not support it and development stop. Maybe Torrest take flag from elementum? Why not?

image

library compatible with Webos.

Hi,
I just rooted my LGC9 and installed Kodi webos version.

Your repo installs (what I think is the right version but not sure of) the lib
uname -a
Linux LGC9 4.4.84-169.gld4tv.4 #1 SMP PREEMPT Wed May 3 12:52:00 KST 2023 aarch64 GNU/Linux

but it's linked to /lib/ld-linux-armhf.so.3 .
root@LGC9:/tmp/usb/sda/sda1/.kodi/userdata/addon_data/plugin.video.torrest/bin# file torrest
torrest: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 4.19.0, with debug_info, not stripped

Unfortunately on webos /lib is ro so I cant create a ln and it only contains these:
ls -la /lib/
total 27841
drwxr-xr-x 1 root root 46 May 3 2023 .
drwxr-xr-x 1 root root 109 May 3 2023 ..
-rwxr-xr-x 1 root root 1163412 May 3 2023 ld-2.24.so
lrwxrwxrwx 1 root root 10 May 3 2023 ld-linux.so.3 -> ld-2.24.so

when I try to manually execute torrest bin I receive this

root@LGC9:/tmp/usb/sda/sda1/.kodi/userdata/addon_data/plugin.video.torrest/bin# ./torrest
-sh: ./torrest: not found

Can this be fixed?

Thanks.

How to properly call Torrest to play without Kodi crashing?

Hello there, @i96751414 and everyone that reads this, I have a problem when adding torrest support with my addon, either using url, a file or a magnet link, this makes kodi crash, however this only happens when I use PlayMedia since with RunPlugin it works as in theory it should work and it starts to load the buffer, only logically at the end it doesn't play my file. I suppose that if one way works the other way it should too but when I start loading the file the loading wheels freeze and Kodi crashes, also if I add the files manually it works as it should so it's not a ram memory thing either since this also happens to me not only with windows, also with android tv I leave my log and a small fragment of my code that in theory should work unless I have forgotten something, thanks in advance.

LOG: https://paste.kodi.tv/fubiqalupe.kodi
MY CODE:
'
url = "https://cdn.pizza/torrents/peliculas/145524_-1610710531-Greenland-El-Ultimo-Refugio--2020---BluRayRip-AC3-5-1.torrent"
xbmc.executebuiltin( "PlayMedia("+"plugin://plugin.video.torrest/play_url?url=%s" % url + ")" )
'

Torrest deamon not initialized, most probably due to a "&" in the Torrest add-on path

2021-03-09 16:10:13.765 T:9228 NOTICE: [plugin.video.torrest] Daemon not found. Aborting service... 2021-03-09 16:10:20.790 T:8756 ERROR: [plugin.video.torrest] Failed to update background progress repeats 3 more times 2021-03-09 16:10:48.287 T:7920 ERROR: [plugin.video.torrest] Caught exception: Traceback (most recent call last): File "C:\Users\Tere&Luis\AppData\Roaming\Kodi\addons\plugin.video.torrest\lib\navigation.py", line 435, in run plugin.run() File "C:\Users\Tere&Luis\AppData\Roaming\Kodi\addons\script.module.routing\lib\routing.py", line 130, in run self._dispatch(self.path) File "C:\Users\Tere&Luis\AppData\Roaming\Kodi\addons\script.module.routing\lib\routing.py", line 141, in _dispatch view_func(**kwargs) File "C:\Users\Tere&Luis\AppData\Roaming\Kodi\addons\plugin.video.torrest\lib\navigation.py", line 52, in wrapper raise e IOError: [Errno 2] No such file or directory: u'C:/Users/Tere'

"Do not store on a local drive" option

Hey there!
Just got Torrest, and I've noticed that whenever I load a magnet or torrent file, it starts the download right onto my local drive.
Are downloading to cache memory and streaming not supported yet?

Also, I tried pausing the video and checking the torrent file; it just kept downloading until the entire video file was complete.

Torrest daemon dont start on android tv so

I have mecoolk6 with original android tv 10, im using kodi 19 matrix and install torrest from github repo, instalation dont give me an error but daemon look like dont start, when i use it under windows 10, i dont have any problem working on same kodi version.

Thanks

question

I have a question, does torrest run torrent on xbox one?

cannot locate symbol "getifaddrs" with Torrest 0.0.18 on Android 6

With OS Android 6.0.1 E2303 (no_rooted) (8x) aarch64 64-bit, Torrest 0.0.18 gives this error, both from library and from binary:

OSError: dlopen failed: cannot locate symbol "getifaddrs" referenced by "/data/data/org.xbmc.kodi/files/torrest/libtorrest.so"...
CANNOT LINK EXECUTABLE: cannot locate symbol "getifaddrs" referenced by "/data/data/org.xbmc.kodi/files/torrest/torrest"...

Same problem happens with OS Android 6.0.1 S12 (rooted) (8x) armv8l 32-bit

SinLaOpcion.log
ConLaOpcion.log

Auto-delete Without Prompt

Hello, and thank you for your work on this plugin. It is working well through the API with this:
https://github.com/theRedMercury/KODI-Popcorn-Time/tree/dev
running on OSMC on an RPi4.

In the config menu, I have enabled the "Ask to remove torrent after streaming" option, and it does work, but various family members forget to select 'yes' when the prompt appears.

This leads to already watched files accumulating on the Raspi's storage, which is a modest SD card, until no free space remains.

I would much appreciate a config option to auto delete files after streaming, without it having to prompt the user.
I suppose that it's similar code to the existing, but without a visible prompt, and the return value is always assumed as 'yes'.

I would attempt such a change myself, but I have little Github experience, so would likely break versioning.

Cheers for reading this. I realise that it's a minor issue, but would make all the difference in my use case.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.