Kodi Community Forum

Full Version: xbmcCmds/xbmcHttp?command=PlayFile
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I know this is being depreciated , but i still run eden on ATV2

I am trying to create a URL to pass to XBMC to play a file and have it working for most part
ie.
http://xbmc:[email protected]:8080/xbmcC...ction/some Movie.avi)

even with space at 'some movie' it still plays

but problem is when i use the below url with spaces in Path ie /Drive 4/Movies 4/

http://xbmc:[email protected]:8080/xbmcC...nap1/Drive 4/Movies 2/Action/Movie.avi)

this does not work.
I have tried putting %20 and + where spaces are but still does not work

Any one can help
Try this :

http%3A%2F%2Fxbmc%3Axbmc%40192.168.0.90%3A8080%2FxbmcCmds%2FxbmcHttp%3Fcommand%3DPlayFile(smb%3A%2F%2FQnap1%2FDrive%204%2FMovies%202%2FAction%2FMovie.avi)

From this tool : http://meyerweb.com/eric/tools/dencoder/

If that doesn't work, put the whole path and filename including smb:// in between single or double quotes and re-encode
I had to change the drive name from Drive 4 to Drive4.
For some reason XBMC did not like the space in the NAS Drive name

Now it works fine. Even if the filename itself and some of the path has spaces
Any thing after Drive4 with spaces is fine.

Got HTTP & Json working fine from my program.

tks