Streaming from VLC to Kodi is pretty simple and I can walk you through the steps. The only thing I don't think you can do is make VLC initiate the playback... that has to come from Kodi itself, I'm afraid. Since you are connecting to VLC from Kodi, if you pause the stream on VLC's side, Kodi will drop the connection. I have yet to see a way of making VLC initiate the playback like the 'Send to Kodi' add-on for Firefox/Chrome does.
Anyway, if you are still interested, here's a way to stream a file from VLC on your PC to any Kodi player you have...
1: On your PC, open Notepad and copy & paste this:
#EXTINF:0,VLC Stream
http://xxx.xxx.x.x:10803
- Note: You will have to change the x's to the connection your PC uses. For example, your PC might be at: '192.168.0.6' (Keep the ':10803' port part at the end. This is important!)
2: Once that's done, save the file somewhere with a .strm extension. For example: 'VLCStream.strm'
3: You now need to copy 'VLCStream.strm' to a folder on your Kodi player or, if you have an online server/personal webspace, etc, copy it there instead. This is because you need to play that .strm file from Kodi.
4: Next, open VLC and from the menu, choose: 'Media >> Stream...' (or Ctrl+S)
5: From the 'File' tab, click on 'Add...' and select the video file you want to stream.
6: Once you have chosen the file, click on the 'Stream' button.
7: Click 'Next'.
8: In the 'Destination Setup' window, click on the 'File' dropdown menu and choose 'HTTP', then click on 'Add'.
9: Leave the path as it is (should just be a forward slash) but in the 'Port' section, change '8080' to '10803' and click on 'Next'
10: In the next window, uncheck 'Activate Transcoding'.
11: Click 'Next'.
12: Click 'Stream'.
13: Your VLC should now play and display 'Streaming - VLC Media Player' in the window title.
- Note: You won't see or hear the file being played locally but it IS working. If you want to make sure, you can check the 'Display Locally' box in the window in step 8.
14: Open Kodi and choose 'Videos >>> Files'.
- Note: Although I use a different skin, I'm writing this for the default 'Confluence' skin for Kodi. Some menu names/icons may be different.
15: What you have to do now is select the .strm file you saved to your Kodi folder, or to your server, and you should now see the streaming video playing in Kodi. (I'm guessing you already know how to link to a specific folder/server so I don't need to go over that)
Hopefully, if you followed the steps correctly, you should now have the file streaming from VLC to Kodi. If it doesn't work, close VLC and follow the steps again. It works for me and does so each and every time.
I hope this has been of some help to you and if you find out a way to make VLC initiate playback, do let us know.
IB
I think it is.. because I can play from my iphone to my kodi device nicely.. I just want to play from PC instead of iphone.. But its not even neccessary to play over AirPlay.. any other transport will be ok .. important thing is that i want PC to initiate playback.. and stream it to kod like AirPlay does... and NOT to share folder on PC and then access it from kodi.. – Marko3d – 2015-07-29T11:44:44.223
Doing a quick search it appears you are right. It also appears you should look at the search results also. How you do this clearly documented.
– Ramhound – 2015-07-29T11:48:55.7501And following to that.. only problem I have is how to stream from PC (VLC) to Kodi AirPlay.. Serach results you posted shows only how to enable AirPlay on Kodi.. I have googled alot before posting here.. :( – Marko3d – 2015-07-29T13:23:18.287