Kodi Community Forum

Full Version: Library issues SMB OK, FTPS Fails
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello all,

I've a strange issue with library playback of movie files that I'm looking for advice on....

Within my local LAN my three Kodi players connect to the server via SMB successfully.
The movies structure is per recommended:

Code:
\Movies\MovieNumberOne\MovieNumberOne.mkv
\Movies\MovieNumberOne\MovieNumberOne.nfo
\Movies\MovieNumberOne\MovieNumberOne.jpg
\Movies\MovieNumberTwo\MovieNumberTwo.avi
\Movies\MovieNumberTwo\MovieNumberTwo.nfo
\Movies\MovieNumberTwo\MovieNumberTwo.jpg

If I present these same directories via an FTPS server and build a new Kodi with FTPS sources playback fails.

The initial scan of the FTPS source completes successfully and pulls in all relevant library data including .nfos and jpgs.
But any attempt to playback via library fails. Pathing into directories for playback is fine.
A look at the server (Filezilla) logs shows the Kodi player looking in the directory "above" its actual location.

For example:

Code:
(008584) 15/02/2015 19:03:39 PM - (not logged in) (192.168.x.x)> 220 Hello
(008584) 15/02/2015 19:03:39 PM - (not logged in) (192.168.x.x)> SSL connection established
(008584) 15/02/2015 19:03:39 PM - (not logged in) (192.168.x.x)> USER username
(008584) 15/02/2015 19:03:39 PM - (not logged in) (192.168.x.x)> 331 Password required for username
(008584) 15/02/2015 19:03:39 PM - (not logged in) (192.168.x.x)> PASS ******
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 230 Logged on
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> PBSZ 0
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 200 PBSZ=0
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> PROT P
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 200 Protection level set to P
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> PWD
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 257 "/" is current directory.
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> CWD media_files
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 250 CWD successful. "/media_files" is current directory.
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> CWD movies
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 250 CWD successful. "/media_files/movies" is current directory.
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> CWD MovieNumberOne
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 250 CWD successful. "/media_files/movies/MovieNumberOne" is current directory.
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> TYPE I
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 200 Type set to I
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> SIZE VIDEO_TS.IFO
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 550 File not found
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> REST 0
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 350 Rest supported. Restarting at 0
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> CWD /
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 250 CWD successful. "/" is current directory.
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> CWD media_files
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 250 CWD successful. "/media_files" is current directory.
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> CWD movies
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 250 CWD successful. "/media_files/movies" is current directory.
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> MDTM MovieNumberOne
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 213 20150210075258
(008582) 15/02/2015 19:03:39 PM - username (192.168.x.x)> PASV
(008584) 15/02/2015 19:03:39 PM - username (192.168.x.x)> disconnected.
(008582) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 227 Entering Passive Mode (192,168,x,x,25,31)
(008582) 15/02/2015 19:03:39 PM - username (192.168.x.x)> SIZE MovieNumberOne
(008582) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 550 File not found
(008582) 15/02/2015 19:03:39 PM - username (192.168.x.x)> RETR MovieNumberOne
(008582) 15/02/2015 19:03:39 PM - username (192.168.x.x)> 550 File not found

Creating and populating a TV Show library source via the exact same FTPS source works fine.
The Kodi player pulls the file from the exact location first up.

This problem is identical on both Windows and RaspPi (OpenElec) platforms on both Gotham and Helix builds.

Any advice on where to look for fixes would be greatly appreciated.
BTW this is definitely FTPS not SFTP.

Thanks Vex8
Actually upon closer inspection the "path" each and every movie after a FTPS library content scan is:

Code:
\Movies\MovieNumberOne\VIDEO_TS.IFO
\Movies\MovieNumberTwo\VIDEO_TS.IFO
\Movies\MovieNumberThree\VIDEO_TS.IFO
\Movies\MovieNumberFour\VIDEO_TS.IFO

Yet these are not DVD files?...
This seems to be irrespective of the content setting "Movies are in separate folders that match the movie title"
It also seems to match the FTPS server logs....

Is there a setting I'm missing?

Thanks Vex8...