Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Solved Kodi hangs when accessing video file folder via FTP
#1
Hi, I'm new here, but an old Kodi one !

The problem is here to stay ... It is almost impossible to use Kodi if you have accessed a server with over 1000 movies and at the same time scan for new content!

Until it finishes "indexing" or what it does, the folders are empty, or the connection closes.

It also opens too many FTP sessions and is practically blocked by the server, does not put in a list and take the movies one by one, but get many things in parallel, which is not exactly ideal.

* Basically, there must be only one connection with the server to list the files / folders and another one that scans in parallel for new information

* When a folder / movie is selected it should be a priority for displaying movie information (posters, trailers, etc.),

now you are basically waiting a long time to finish what it has to do in the background.
Reply
#2
(2020-12-08, 23:00)byrev Wrote: Hi, I'm new here

Welcome... It may have been a logical choice, but opening up an old thread is not always helping. Therefore I've split off your post into a new thread.

For starters, we have no idea what your Kodi basis is, as in which OS are you using.
Please follow the information on how to provide a debug log (wiki), and then we can see perhaps what problems arise.

Secondly, using FTP for local network access to media files is not the most optimal choice. SMB and NFS are better suited transfer protocols.
Reply
#3
(2020-12-08, 23:07)Klojum Wrote:
(2020-12-08, 23:00)byrev Wrote: Hi, I'm new here
For starters, we have no idea what your Kodi basis is, as in which OS are you using.
Please follow the information on how to provide a debug log (wiki), and then we can see perhaps what problems arise.

Secondly, using FTP for local network access to media files is not the most optimal choice. SMB and NFS are better suited transfer protocols.
Thanks for the reply

About my actual config:

Network: Gbit
Server: Ryzen 2400G, 8Gb, NVMe (boot) + 3HDD x 3Tb

Server access via KODI
* Main PC: Window 10, Ryzen 1600X, 32Gb RAM, Radeon RX 580,  Samsung NVMe & SSD Storage
* Laptop: Window 10, CPU i7 4700MQ, 8Gb RAM, Samsung 850 PRO 9storage)
* Media Center: Beelink M1, N3450 Quad Core, NVMe SSD

Server access via DLNA, working without any problems!
* TV Philips 4K Ultra HD, OS Saphi,

On Main PC (ryzen) - Kodi 18.9, on other is older version.

* FTP is not only for local network, I also use the server for remote access, not only from home !

The problem stared today, 
- reinstal new server, 
- use mergerfs on server and put all disk in one shared folder
- remove old source from kodi
- add one single source

and ... this is all, 30 minute to scan all folders again, and during all this time I practically couldn't use kodi!

P.S. the problem disappeared after all movies was updated !
Reply
#4
(2020-12-08, 23:54)byrev Wrote: P.S. the problem disappeared after all movies was updated !

It must have been our charming aura. Smile
Reply
#5
Thread marked solved.
Reply
#6
(2020-12-09, 00:34)Klojum Wrote: Thread marked solved.
Ye, but you must have an "iron patience"! Smile

However, ideally there would be a change in the way kodi accesses external resources and prioritizes certain tasks, such as user interaction with menus.

- It would be useful to put resource updates (task/jobs) in a stack, and any user interaction in the menus to be prioritized at the top of the stack.
- Any movie (or resources) that has not yet been added to the kodi database will be scanned as soon as it is selected.
- The job-stack is obviously LIFO type

This is my solution, but unfortunately my skills are in only arduino (microcontrolers) and php / javascript / mysql ... so I can't get involved with a concrete solution!

"Live long and prosper"
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi hangs when accessing video file folder via FTP0