Anonymous
Native
Jamil
yeah you can use java to code with android
Anonymous
Alright then. You can accomplish this with java
Jamil
are you experienced?
Anonymous
Mr
Listen listen listen
Mr
are you experienced?
No sir its my first project
Jamil
do you know how to use java and django rest framework
Mr
Did you hindi??
Mr
Did you know hindi?
Jamil
Java ? U mean Javascript
no, he wants to build frontend android using java
Anonymous
Java ? U mean Javascript
No he explicitly mean Java for Android dev
Jamil
make sense lol i know some
Mirco
No he explicitly mean Java for Android dev
Didn't read the message 🤙🏼
Jamil
bruh man warned me😂
Mirco
bruh man warned me😂
English only please 😁
Jamil
yeah true, sorry
Jamil
@vampire0817 you should first become familiar with the frontend and backend frameworks you are using, and follow some tutorials which build fullstack apps using both of them
Anonymous
@vampire0817 you can build the video player of choice with java, add the subtitles as desired, link the backend which you want to be python and it'll be ok
Mr
I create android app in android studio with java...and backed is php laravel....its work fine no issue when i upload dual audio movie my android video player have no option to change audio track and also video quality
Jamil
and I wouldn't recommend using java for android dev, isnt kotlin better?
Mr
So i use jw player for my app but in jw player fix video quality but not fix dual audio
Mr
So i wanna create my video player with python and django and create like netflix player its possible or not
Mr
Any one know about what is jw player
Mr
And how its work
Doragonsureiyā
Any one know about what is jw player
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Future
So i wanna create my video player with python and django and create like netflix player its possible or not
so, let me make a brief conclusion here: you can build a backend using python that streams video. but what you need for android development is not python, java/kotlin is better. if you have questions based on backend part - just ask here, if you have questions about android part - better search online or find proper group.
Mr
No its not for android
Mr
Simple i want to create a media player with python...who support dual audio Video quality Subtitle
Mr
The player is fully responsive
Mr
Its easily play in mobile also
Mr
i'm pretty confused now
Can we chat in private i wanna send some pics
Mr
So you can easily understand
Future
are you developing it for web: use javascript are you developing it for android: use java/kotlin python is not proper in both cases
Future
Can we chat in private i wanna send some pics
sorry, i have no experience in building videoplayers
Mr
sorry, i have no experience in building videoplayers
But you have experience in python and django
Future
But you have experience in python and django
whatever i might do, i've already done. i think you gotta travel around the web to learn more. you have youtube, stackoverflow and tons of other platforms which are ready to respond, any time. please, use them )
Jamil
yeah
Jamil
Hello, generics.GenericApiView and viewsets.ModelViewset both use mixins right.
Jamil
The difference is that genericapiview maps http requests to mixins, and modelviewset maps actions to mixins.. Is this a correct analogy?
Jamil
In genericapi view, the post http method function would be like: def post(self, request, *args, **kwargs): return self.create(request, *args, **kwargs) while In modelviewset, the create action function would be like: def create(self, request, *args, **kwargs): return self.create(request, *args, **kwargs)
Jamil
Is this correct?
Jamil
In genericapiview, each http method is LINKED to a mixin.... I am thinking in viewset, are mixins used without being linked to anything
Mirco
The difference is that genericapiview maps http requests to mixins, and modelviewset maps actions to mixins.. Is this a correct analogy?
the model viewset is a shortcut when you need to easily have CRUD for your model and customize some actions the GenericAPIView is the base one for some other generics views for example if you wanna just a Retrieve or Update together and so on
Jamil
oh ok
Jamil
but my main question is
Jamil
you know how http methods are mapped to mixin methods in the genericapiview
Jamil
in the modelviewset, are mixins not mapped to anything
Jamil
??
Jamil
because the router knows which mixin methods to use right because it can see the url and method you are pushing to that url, and hence can find the method to use
Anonymous
u can check dispatch
Anonymous
when model mixen is called first thing called is dispatch mathod
Jamil
in genericapiview, the http methods are the functions(which are mapped to mixins) while in modelviewsets, the mixins are the functions(of which the router decides the one to go to)
Anonymous
whats this
inherited method from.generic api view
Anonymous
yes
Jamil
Thanks 🙏🙏
Amit
Hey guys, I have a doubt how can I use keras project in django. Can I get some tutorial or hint it would be really helpful!!
Andrej
Hey guys, I have a doubt how can I use keras project in django. Can I get some tutorial or hint it would be really helpful!!
When you know Python and Keras and Django. It should not be a big deal to combine it.
Amit
When you know Python and Keras and Django. It should not be a big deal to combine it.
I tried loading the model in my django project by h5 file it wasn't working for me is there any other way to do it .
Amit
What was the error message and what has not worked?
SavedModel file does not exist at:{%%}, even i tried by pickling the file and run it any video tutorials or som it would be appreciated
Amit
Some*
Andrej
Ok, it has not found the file. Can you send the code how you gave the path to Keras? Is the file of the model there?