Giter Club home page Giter Club logo

kodi-rtorrent-plugin's People

Contributors

djcode avatar gade01 avatar jenkins101 avatar rom232 avatar wallycz avatar weblate avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

kodi-rtorrent-plugin's Issues

Python 2 Support?

Thanks for adding XMLRPC over HTTP support, it's exactly what I needed. However, I'm on Kodi 18.9 Leia (Python 2) due to depending on several crucial addons which do not support Kodi 19. Upon attempting to install your addon I was given an error that it depends on Python 3 only. Would it be possible to add a Python 2 version? Or how about a Kodi Python 2/3 compatibility layer such as six?

I would greatly appreciate this. Thank you in advance!

Failing to connect to rtorrent

Raspberry 4 pi Buster
Kodi 18.5
rtorrent 0.9.8

rtorrent config SCPI set as locathost:5000

Kodi log entries. Show python issues would really appreciate some help

2020-01-09 19:03:06.512 T:2606801104 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'xmlrpclib.Fault'>
Error Contents: <Fault -506: "Method 'd.multicall' not defined">
Traceback (most recent call last):
File "/home/pi/.kodi/addons/plugin.program.rtorrent/default.py", line 56, in
loader.main()
File "/home/pi/.kodi/addons/plugin.program.rtorrent/resources/lib/mode_main.py", line 12, in main
dlds = g.rtc.d.multicall('main', "d.get_name=", "d.get_hash=", "d.get_completed_chunks=", "d.get_size_chunks=", "d.get_size_files=", "d.get_directory=", "d.is_active=", "d.get_complete=", "d.get_priority=", "d.is_multi_file=", "d.get_size_bytes=" )
File "/home/pi/.kodi/addons/plugin.program.rtorrent/resources/lib/xmlrpc2scgi.py", line 179, in call
return xmlrpclib.loads(xmlresp)[0][0]
File "/usr/lib/python2.7/xmlrpclib.py", line 1146, in loads
return u.close(), u.getmethodname()
File "/usr/lib/python2.7/xmlrpclib.py", line 800, in close
raise Fault(**self._stack[0])
Fault: <Fault -506: "Method 'd.multicall' not defined">
-->End of Python script error report<--
2020-01-09 19:03:06.538 T:2692714704 ERROR: GetDirectory - Error getting plugin://plugin.program.rtorrent/
2020-01-09 19:03:06.547 T:2972421216 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.rtorrent/) failed

Completed files not playing from plugin

Hi,

I'm not sure if this is the correct place to place this question. When I try to play a file from within rtorrent that is completed, nothing happens. I looked in the log file of XBMC, and found the following entries:

...
22:59:50 T:2798648176  NOTICE: -->Python Interpreter Initialized<--
22:59:50 T:2798648176   ERROR: SetProperty called with an invalid handle.
22:59:50 T:3017295632  NOTICE: DVDPlayer: Opening: ./SomeDir/SomeFilm.mp4
22:59:50 T:3017295632 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:59:50 T:2675964784  NOTICE: Creating InputStream
22:59:50 T:2675964784   ERROR: CDVDPlayer::OpenInputStream - error opening [./SomeDir/SomeFilm.mp4]
22:59:50 T:2675964784  NOTICE: CDVDPlayer::OnExit()
...

The full path of the file I'm trying to play is /home/soemraws/Downloads/torrents/SomeDir/SomeFile.mp4; I'm not sure if the ./ referring to ~/Downloads/torrents/ is causing the issue, or if it is the SetProperty error before.

I have this issue for all files that I try to play from the rtorrent plugin. When playing the same files from the videos section of XBMC, there is no problem, nor do I have any problem with playing e.g. streams from other plugins.

Could you indicate where the problem may lie, and perhaps clarify the documentation on how to avoid this issue?

I'm running XBMCbuntu with rtorrent 1.11.7.

Thanks in advance, and thanks for the great plugin!

Plugin Displays Settings or Fails

XBMC Nightly - June 23 2011
rTorrent - 0.8.9
libTorrent - 0.12.9

Using this plugin with the above versions I get a dialogue box appear with the only text being Yes and No buttons. Selecting Yes brings up settings (which I'm sure are correct). Saving settings brings me back to the dialogue box.
Selecting no returns me back to my programs list.

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.