Git Product home page Git Product logo

Comments (19)

xdk78 avatar xdk78 commented on May 29, 2024 3

Just add magnet or .torrent and torrent.getVideoFile().toString()), "video/mp4"
that's it!

from nyaapantsu-android-app.

akuma06 avatar akuma06 commented on May 29, 2024 2

Yeah you can :). I can't help you for now (I'm on the refactoring of NyaaPantsu main website) but if you need help, ask here or on IRC =)

from nyaapantsu-android-app.

xdk78 avatar xdk78 commented on May 29, 2024 2

Some screen shots

http://imgur.com/rrp36Ty

http://imgur.com/2bOyx8v
and after that opening Intent chooser, u can choose video plaayer for example mx player

from nyaapantsu-android-app.

akuma06 avatar akuma06 commented on May 29, 2024 2

Great =D. This might come the most used app on my phone now =D

from nyaapantsu-android-app.

xdk78 avatar xdk78 commented on May 29, 2024 1

So, I just little improved app code and almost finished writing basic video streaming from .torrent

from nyaapantsu-android-app.

xdk78 avatar xdk78 commented on May 29, 2024 1

app using material design(i know, it's compatible with 19) so I think it's time to use super new tech features from sdk 21+ without preparing for old phones.
btw STREAMING WORKING!!! 😄
now im adding ProgressDialog 😄 to show progress buffering, when stream is ready.

from nyaapantsu-android-app.

akuma06 avatar akuma06 commented on May 29, 2024 1

I will, don't worry :). Just need to finish my own work before ^^

from nyaapantsu-android-app.

akuma06 avatar akuma06 commented on May 29, 2024

Yeah seems quite good actually (and easy to implement).
The workflow would be to have a fragment "downloads" listing the downlads/options to delete/stop a torrent. And when you want to add a download, you just start the fragment with the torrent url?

That might be a great improvement on the app :D

from nyaapantsu-android-app.

xdk78 avatar xdk78 commented on May 29, 2024

you just start the fragment with the torrent url?

This seems good: https://github.com/TorrentStream/TorrentStream-Android/blob/develop/sample/src/main/java/com/github/se_bastiaan/torrentstreamer/sample/MainActivity.java
For now just like that
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(torrent.getVideoFile().toString())); intent.setDataAndType(Uri.parse(torrent.getVideoFile().toString()), "video/mp4"); startActivity(intent);
or write video player for this

from nyaapantsu-android-app.

akuma06 avatar akuma06 commented on May 29, 2024

Sorry I didn't get the real intent of the library. It's a torrent player? Cool, then you don't actually have to do the torrent workflow =D. Just need to start the library intent :)

However, might be interesting to add a fragment with the "recently payed stuff" or a "Playlist", so you don't have to do the search everytime.

To have the torrentlist, you would only need to copy how to create a torrent list object : KotprefModel() with some torrents property (json array?). And then we only add a torrent to the list at the same time we start the intent?

from nyaapantsu-android-app.

xdk78 avatar xdk78 commented on May 29, 2024

It's a torrent player?

yes 😅 sorry for misunderstood

However, might be interesting to add a fragment with the "recently payed stuff" or a "Playlist", so you don't have to do the search everytime

good idea

from nyaapantsu-android-app.

xdk78 avatar xdk78 commented on May 29, 2024

In free time I want start write and test basic stuff for app.

from nyaapantsu-android-app.

akuma06 avatar akuma06 commented on May 29, 2024

Oh neat! :D For my part I'm stuck on CSRF validation in refactoring :')

from nyaapantsu-android-app.

akuma06 avatar akuma06 commented on May 29, 2024

I've gone through your code. It's really good! Sorry for not having done activities/fragments separation and all, it was done a bit in a hurry :p.
I just have a question so far, why do you think it is better to have a minSdk to 21? I think 19 might be better since we would target kitkat as well. (https://developer.android.com/about/dashboards/index.html)

from nyaapantsu-android-app.

xdk78 avatar xdk78 commented on May 29, 2024

Thx. Now it's time to upgrade this shit code. It would be nice if you help me :)

from nyaapantsu-android-app.

xdk78 avatar xdk78 commented on May 29, 2024

Btw I want to assign myself to more issues, could u add me to contributors with access to this repo?

from nyaapantsu-android-app.

xdk78 avatar xdk78 commented on May 29, 2024

I'm rewriting adapters from BaseAdapter to RecyclerView for better control and more features

edit:
I have some issues(im not good to convert my java skills to kotlin 😄 ) https://github.com/xdk78/NyaaPantsu-android-app/commit/076c6e68070ac9661f3e4978176698ac6e437d2e
If u have moment pls look

from nyaapantsu-android-app.

akuma06 avatar akuma06 commented on May 29, 2024

@xdk78 Didn't see your comments on this issue. For the contributor access, I have to ask @ewhal for that, I can't take a decision :).
Will take a look to recycler view conversion :)

from nyaapantsu-android-app.

akuma06 avatar akuma06 commented on May 29, 2024

We should close this issue (since we now have anime streaming) and keep things ordered. If you need some help, open a new issue, that would be better I think =)

from nyaapantsu-android-app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.