Comments (19)
Just add magnet or .torrent and torrent.getVideoFile().toString()), "video/mp4"
that's it!
from nyaapantsu-android-app.
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.
Some screen shots
http://imgur.com/2bOyx8v
and after that opening Intent chooser, u can choose video plaayer for example mx player
from nyaapantsu-android-app.
Great =D. This might come the most used app on my phone now =D
from nyaapantsu-android-app.
So, I just little improved app code and almost finished writing basic video streaming from .torrent
from nyaapantsu-android-app.
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.
I will, don't worry :). Just need to finish my own work before ^^
from nyaapantsu-android-app.
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.
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.
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.
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.
In free time I want start write and test basic stuff for app.
from nyaapantsu-android-app.
Oh neat! :D For my part I'm stuck on CSRF validation in refactoring :')
from nyaapantsu-android-app.
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.
Thx. Now it's time to upgrade this shit code. It would be nice if you help me :)
from nyaapantsu-android-app.
Btw I want to assign myself to more issues, could u add me to contributors with access to this repo?
from nyaapantsu-android-app.
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.
@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.
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)
- Make nyaa pantsu voice play HOT 1
- Update api to 1.0.1
- App crashing after login HOT 18
- v1.2 Release HOT 9
- Add a switch button for sukebei
- Move to OAuth2 Authentification HOT 3
- Very strange problem
- Support for search next/prev page
- Support for internal video player
- Better data transfer between activities, fragments.. more code to other classes HOT 1
- Improve Translation
- Android O support
- Crash on open HOT 7
- Search don't working HOT 2
- Migrate from Fuel to Retrofit HOT 4
- Spanish translation HOT 3
- It is possible to build NyaaPantsu App for API 19? HOT 7
- Travis test returns an error, should it be fixed? HOT 2
- Build error HOT 7
- v2.0 Release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nyaapantsu-android-app.