Tolriq/repository.yatse.kodi

Yatse stopped playing torrent files

Closed this issue · 10 comments

2021-05-03 11:37:51.396 T:140414985672448 NOTICE: [script.yatse.kodi] Using fake _subprocess module
2021-05-03 11:37:51.397 T:140414985672448 NOTICE: [script.yatse.kodi] Starting script version: 2.4.3
2021-05-03 11:37:51.397 T:140414985672448 NOTICE: [script.yatse.kodi] Parameters: {'action': 'share', 'queue': 'false', 'data': 'http%3A%2F%2Frutor.lib%2Fdownload%2F814180', 'type': 'unresolvedurl'}
2021-05-03 11:37:51.397 T:140414985672448 NOTICE: [script.yatse.kodi] Trying to resolve URL (play): http://rutor.lib/download/814180
2021-05-03 11:37:51.397 T:140414985672448 NOTICE: [script.yatse.kodi] Trying to resolve with YoutubeDL
2021-05-03 11:37:52.433 T:140414985672448 ERROR: WARNING: Could not send HEAD request to http://rutor.lib/download/814180: HTTP Error 501: Method Not Implemented
2021-05-03 11:37:52.551 T:140414985672448 ERROR: WARNING: Falling back on generic information extractor.
2021-05-03 11:37:52.551 T:140414985672448 ERROR: WARNING: URL could be a direct video link, returning it as such.
2021-05-03 11:37:52.551 T:140414985672448 ERROR: WARNING: "url" field is not a string - forcing string conversion, there is an error in extractor
2021-05-03 11:37:52.553 T:140414985672448 NOTICE: [script.yatse.kodi] YoutubeDL full result: {u'extractor': u'generic', u'protocol': u'http', u'direct': True, u'playlist_index': None, u'playlist': None, u'title': u'814180', u'id': u'814180', u'timestamp': None, u'webpage_url_basename': u'814180', u'display_id': u'814180', u'format': u'0 - unknown', u'requested_subtitles': None, u'format_id': u'0', u'url': u'http://rutor.lib/download/814180', u'extractor_key': u'Generic', u'http_headers': {u'Accept-Charset': u'ISO-8859-1,utf-8;q=0.7,;q=0.7', u'Accept-Language': u'en-us,en;q=0.5', u'Accept-Encoding': u'gzip, deflate', u'Accept': u'text/html,application/xhtml+xml,application/xml;q=0.9,/*;q=0.8', u'User-Agent': u'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3599.2 Safari/537.36'}, u'ext': u'unknown_video', u'webpage_url': 'http://rutor.lib/download/814180'}
2021-05-03 11:37:52.553 T:140414985672448 NOTICE: [script.yatse.kodi] Url resolved by YoutubeDL: http://rutor.lib/download/814180
2021-05-03 11:37:52.582 T:140414985672448 NOTICE: [script.yatse.kodi] Is audio: False | Is picture: False
2021-05-03 11:37:52.607 T:140414985672448 NOTICE: [script.yatse.kodi] Playing url: http://rutor.lib/download/814180
2021-05-03 11:37:52.914 T:140416442570880 NOTICE: VideoPlayer::OpenFile: http://rutor.lib/download/814180
2021-05-03 11:37:53.146 T:140415340594944 NOTICE: Creating InputStream
2021-05-03 11:37:53.480 T:140415340594944 NOTICE: Creating Demuxer
2021-05-03 11:37:53.544 T:140415340594944 ERROR: Open - Error, could not open file http://rutor.lib/download/814180
2021-05-03 11:37:53.544 T:140415340594944 ERROR: OpenDemuxStream - Error creating demuxer
2021-05-03 11:37:53.544 T:140415340594944 NOTICE: CVideoPlayer::OnExit()
2021-05-03 11:37:53.556 T:140416442570880 NOTICE: CVideoPlayer::CloseFile()
2021-05-03 11:37:53.572 T:140416442570880 NOTICE: VideoPlayer: waiting for threads to exit
2021-05-03 11:37:53.572 T:140416442570880 NOTICE: VideoPlayer: finished waiting

This is not a torrent and that dns name does not even resolve.

The source probably changed what it shared.

lib zone, this is EmerDNS configured, and the link is normal from the rutor service to the torrent file.
Yatse is able to pass such links to elementum? Because if you follow the link http://rutor.lib/download/814180, then the torrent file download will start.

Well no it can't guess that it's a torrent.

But you write stopped working so something changed outside Yatse.

I believe this is the case with elementum.

Can't you configure it to return magnets? that what Yatse support and still do.

Yatse try open link in VideoPlayer(need in Elementum). Script can't download from .lib

Yatse try open link in VideoPlayer(need in Elementum). Script can't download from .lib

yatse doesn't understand that the link needs to be passed to Elementum?

Elementum with the configured rutor.lib domain name works flawlessly.

Yatse have no way to know what to do with that link why would / should it send it to elementum?

No magnet, no .torrent extension

Yatse try open link in VideoPlayer(need in Elementum). Script can't download from .lib

yatse doesn't understand that the link needs to be passed to Elementum?

Yes. yatse addon can't resolve rutor.lib domain. Configure OpenNIC DNS on device where Kodi installed and check this can resolve. Or use magnet from rutor