i96751414 / plugin.video.torrest

Torrest plugin for Kodi
MIT License
27 stars 6 forks source link

what am I doing wrong #26

Closed Espinete closed 1 year ago

Espinete commented 1 year ago

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

i96751414 commented 1 year ago

Sorry, I don't know that plugin - I can't help much here.

You should figure how that addon is trying to playing torrest url.

On other note, the url plugin://plugin.video.torrest/play_url?url="https://www.sport-video.org.ua/Internazionale - Lazio 30.04.2023.mkv.torrent" seems odd to me:

  1. It should not contain double quotes;
  2. The url value should be url encoded