2015-04-08, 15:19
Welcome everyone, I am new to this forum and new to XBMC and Python as well.
I am working on a projekt right now, to realise different remote stuff on the XBMC, using python scripts.
Things I already did:
The next (and maybe most important) step, would be, to start videos/music on the xbmc, by using a python script running on a windows computer (remote).
Also I need to set a time, when the video should start.
It is no problem to start a file from the xbmc on my windows computer by using pysftp.
But I have no idea to do it in the other direction
The film needs to run on the raspberry (xbmc) and not on the windows computer, but I need to start this film from the windows computer...
My only thought is, to write a python addon, where I can select which film should start at which time.
This would not be a problem i think.
But the problem is, this addon needs to be saved in the xbmc, but I need to start this addon via a python script on my windows computer.
My question, is there a way to do that?
Or is there another option to get this running?
This is a projekt for school and pretty important and I would really, really appreciate some help.
Best regards,
Stuckili
I am working on a projekt right now, to realise different remote stuff on the XBMC, using python scripts.
Things I already did:
- I wrote addons with python (which i need to start manually in xbmc), to start a selected film/music.
- I wrote a python script (using pysftp), to search for all the data in a specific directory. (videos/music/pictures)
- I wrote a python script (using pysftp), to upload data in a specific directory. (videos/music/pictures)
- I wrote a python script (using pysftp), to download data from a specific directory. (videos/music/pictures)
The next (and maybe most important) step, would be, to start videos/music on the xbmc, by using a python script running on a windows computer (remote).
Also I need to set a time, when the video should start.
It is no problem to start a file from the xbmc on my windows computer by using pysftp.
But I have no idea to do it in the other direction
The film needs to run on the raspberry (xbmc) and not on the windows computer, but I need to start this film from the windows computer...
My only thought is, to write a python addon, where I can select which film should start at which time.
This would not be a problem i think.
But the problem is, this addon needs to be saved in the xbmc, but I need to start this addon via a python script on my windows computer.
My question, is there a way to do that?
Or is there another option to get this running?
This is a projekt for school and pretty important and I would really, really appreciate some help.
Best regards,
Stuckili