Android Open Video Screen after Kodi Launch
#1
Hi All,

Please help me, Urgent..!!!!!

I want to open Video Screen after kodi launch where should I change in kodi.

Thanks,
Indra Patel
Reply
#2
Urgent!!!einself Please reformulate your question so that we understand what you are asking.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
Thanks for your quick reply
I want to render video stream in Kodi programmatically.
I have 2 sources here using which I want to render video.
1. mp4 file
2. Online stream (url on http://)
I dont want to use menu on the home screen to open and play the stream.
Can you please tell me which file in the source code ie .cpp or .java or .xml that i need to change and point my stream to ?
Am I clear now?
Reply
#4
use a playlist and autostart it in kodi.
Reply
#5
Thanks for your reply.

Where do i set playlist programmatically and How do i autostart it in Kodi?

Please share your thoughts, It will help me...!!!
Reply
#6
Playlist (wiki)

Autoexec.py (wiki)
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#7
Thanks for your reply.!!

I am putting this code into Autoexec.py file which I have found from google.

import xbmc
xbmc.executebuiltin('xbmc.PlayMedia("/storage/videos/","isdir")')
xbmc.executebuiltin('xbmc.PlayerControl(repeatall)')
xbmc.executebuiltin("Action(Fullscreen)")

Can you please help me, to understand the PlayMedia("/storage/videos/"), where to store this videos into Kodi.
Reply
#8
It play all files stored in "/storage/videos/" on your device. To be replaced by the place your videos are located, of course.
Reply
#9
Thanks for your reply.

Now its playing, here I have query. where do I put "Autoexec.py" file so that it can copy from "Kodi source" to android "kodi app" because I have manually put this file into this path " /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/".

So is there any way resolve this issues.
Reply

Logout Mark Read Team Forum Stats Members Help
Open Video Screen after Kodi Launch1