LuftVerbot / kuukiyomi

Fork of Aniyomi with extra features
https://discord.gg/s82Vu589Ya
Apache License 2.0
371 stars 7 forks source link

improve torrent extension support #112

Closed Diegopyl1209 closed 6 months ago

Diegopyl1209 commented 6 months ago

The downloader is broken for extensions that use this xd

If someday someone creates a repository, ideally they should fork extension-lib and add TorrentUtils. Also, it is now possible to identify if an extension in the repository uses torrent by adding "torrent":1 (similar to nsfw) in the index.min.json. This has no effect at the moment, so it is useless

Instructions for using this (not necessary if a repository already exists and the corresponding changes have been made):

  1. Download the torrentutils folder from here and copy it to the root folder of your extension, for example: <ext-name>/src/eu/kanade/tachiyomi/
  2. Add the following line inside the application tag in AndroidManifest.xml:
    
    <meta-data android:name="tachiyomi.animeextension.torrent" android:value="1" />