Over the past few days I've been trying to get Kodi to stream torrents using the SMB protocol and some code for a popular nodejs torrent package. It seems to work fairly well, although, there are a few bugs to iron out. It uses virtual SMB folders for search, abusing the navigation features of SMB clients.
Show HN: Proof of Concept for an SMB server that works as a torrent client | Heykuki News