Skip to content

Conversation

@Diegopyl1209
Copy link
Contributor

This implement TorrServer in Aniyomi

Changes:

  • Added torrent streaming support
  • Added torrent support in local source
  • Added support for downloading torrents

Streaming demo:
https://github.com/aniyomiorg/aniyomi/assets/80992641/e9a00a77-ada5-4f6d-a7dd-1ed4446cb63c

Download demo:
https://github.com/aniyomiorg/aniyomi/assets/80992641/4fae6de8-3aaa-4059-863f-777c43dc9efe

@Diegopyl1209 Diegopyl1209 changed the title Torrent Torrent support Jun 20, 2024
@Sadwhy3
Copy link

Sadwhy3 commented Jun 20, 2024

How much does this increase app size?

Copy link
Member

@abdallahmehiz abdallahmehiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not upload the compiled libraries to something like Jitpack or Sonatype?

@Diegopyl1209
Copy link
Contributor Author

Why not upload the compiled libraries to something like Jitpack or Sonatype?
👍

fun port() = preferenceStore.getString("pref_torrent_port", "8090")

fun trackers() = preferenceStore.getString(
"pref_torrent_trackers",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmir1 will have to check this...

@Diegopyl1209
Copy link
Contributor Author

btw idk why the build is failing aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa i made the exact same pr in my repo and the same gh action work fine , i also clone the repo in my machine and works fine

@Secozzi
Copy link
Collaborator

Secozzi commented Jun 22, 2024

btw idk why the build is failing aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa i made the exact same pr in my repo and the same gh action work fine , i also clone the repo in my machine and works fine

Your aniyomi repo is probably outdated then, since it doesn't include my merge from mihon where I moved :core to :core:common

To fix this, do import tachiyomi.core.common.i18n.stringResource instead of import tachiyomi.core.i18n.stringResource etc etc

@Grafcube
Copy link

Grafcube commented Nov 18, 2024

Any updates on this PR? I rebased it onto master, fixed all the conflicts and built it for my phone. Everything seems to be working fine except that the torrserver settings aren't shown in the app's settings nevermind it works.

Here's my branch with the fixed conflicts: https://github.com/Grafcube/aniyomi/tree/torrent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants