elgatito / plugin.video.elementum

Elementum add-on for Kodi. Development of this addon has been stopped!
http://elementum.surge.sh
MIT License
481 stars 159 forks source link

elementum 0.1.50 cannot add torrent #565

Closed std781 closed 3 years ago

std781 commented 4 years ago

Hi, I have an issue with Android TV 9. Latest Kodi -18.6-Leia-armeabi-v7a Plugin starts but after i choose add torrent nothing happens. Attaching log here. kodi.zip

burekas7 commented 4 years ago

I have a similar issue but with a season torrent file. I have a season torrent file, when I'm trying to open it in order to add a torrent manually. But something is unstable, from ~15 tries, it only once shows the dialog with the torrents that included in the file. (Just for referrence I tried it with Quasar addon, and there it's ok)

Kodi debug log: https://paste.ubuntu.com/p/S6FF4JzG4C

Elementum 0.1.50 Kodi 17.6 Skin: Titan Windows 10, 64bit

@elgatito

elgatito commented 4 years ago

@burekas7 your log shows nothing. Something is added in the very end and added fine, as for the log.

elgatito commented 4 years ago

@std781 how you add the torrent? via Kodi - Elementum - Add torrent ? Or via web? What you want to play there?

burekas7 commented 4 years ago

@burekas7 your log shows nothing. Something is added in the very end and added fine, as for the log.

@elgatito

For example, trying to do "Add Torrent" with this file: (You can download here - Season torrent) https://f2h.io/dck5qpxo68m1

In this log: https://paste.ubuntu.com/p/9kfJYbhtGR On the first time nothing happened, but on the first time it worked and show the dialog as expected. I've also noticed that when I press ESC immediately after pressing OK, the dialogs shows and it works everytime, but it also quit from the addon, you can see this in this log: https://paste.ubuntu.com/p/ZxKM5ZYK2N

It seems to be maybe something with timings or skin/addon settings, or python versions issue.

image

image


And by the way, why when I press on "Cancel" it keeps asking "Keep Downloading"? I don't start the downloading. The log has this issue: https://paste.ubuntu.com/p/ZxKM5ZYK2N image

elgatito commented 4 years ago

@burekas7 I cannot see anything wrong in the log file. In both logs file selector is opened and then have no respond from user. I have tried a lot of times (via elementum->add torrent and "web - > play") and always got a file selector window.

Your Kodi says it is opening the file select window. But I can't see anything after that.

elgatito commented 4 years ago

@burekas7 please, try with 0.1.51.

burekas7 commented 4 years ago

No. Still doesn't work and even worse. In 0.1.50, sometimes it works and sometimes not. With 0.1.51 non of the tries works, even with the ESC key trick.

Log: https://paste.ubuntu.com/p/djDSBbrmbp

elgatito commented 4 years ago

@burekas7 I could not make it to fail adding a torrent even once. It's always adding. I've tried with magnet/torrents, tried to add from website, tried with plugin "Add torrent" menu. Always added. I do not know what you do, taking in mind your log is silent about Elementum errors or even messages. I would try with empty portable Kodi. Maybe some other plugin is breaking something.

burekas7 commented 4 years ago

I will try to make cleam kodi version to check it, there few options:

I don't know why pressing the 'escape' key right after pressing the "ok" button in the dialog make it works, the problem is that it also makes the addon to quit and goes out to the general "videos" kodi screen. The 'escape' trick also helps sometimes to the "search" issues that I have with Elementum (which I opened in another issue):

If I don't pressing the 'escape' key after one of the points I mentioned, nothing would happen, it kind of "release" something or there is race condition which makes it unstable. I don't have it in another addon or Quasar which is the most similar.

I will try to make some tests. Thanks anyway. @elgatito


EDIT: This is a video which describe the 'escape' trick that I meant: On the first time nothing happens, on the second time I'm presseing the 'escape' key right after pressing the ok button, so it makes it working as excpected. Video: https://f2h.io/b50azylyz7tp Log: https://paste.ubuntu.com/p/dfDcJfsPR9

elgatito commented 4 years ago

@burekas7 I would first try to disable 'redalert' plugin. It fires every time something happen in GUI.

I don't understand, you don't see file selector when you add a torrent? And select a file to download?

Because in the log first time I see there is a torrent insert action, where you manually select a torrent file. And then nothing happens, it does not go back to elementum.

elgatito commented 4 years ago

@burekas7 Please, try with the latest 0.1.52 version and post a new log.

burekas7 commented 4 years ago

@elgatito Thanks, it seems to be much better and stable with 0.1.52

I don't know about @std781 but I think it can be closed for now.

elgatito commented 4 years ago

@burekas7 it should not be better, because nothing was made with that, only added log messages to identify the problem.

burekas7 commented 4 years ago

@elgatito So I have not catched it yet again to post you a new log with the new log messages. I have tried several times as before and all the tries were ok, but it was unstable issue (sometimes it worked and sometimes not) so it probably fell into the good stats, if I will catch it again I will report.

Thanks.

elgatito commented 4 years ago

@burekas7 @std781 Please, try with Elementum 0.1.56. Previously when Elementum was seeing there is a busy dialog active then playback was not started. Now it starts in any way, but it can lead to Kodi crash, so I would suggest a log file if crash happens.

elgatito commented 3 years ago

@burekas7 @std781 Please, try with 0.1.62 and further.

burekas7 commented 3 years ago

@elgatito Tested with 0.1.62 and it seems to be ok, the list is opening and the Cancel button close it. Thanks.