Posts: 58
Joined: Feb 2022
Reputation:
1
Say you had tens of thousands of videos in dozens of shared folders (shared using SMB) in more than a dozen hard drives in enclosures connected to a Win PC via USB3. The PC is used for browsing the 'net and scraping the videos, and adding and removing videos. One or two Kodis in the local network view the videos, but not the whole day.
The PC is shut down every night. The enclosures shut down automatically when the PC does. It's Windows so there's nothing to mount or unmount.
Everything is fine except once in a while a Kodi won't scan one or more folders for some weird reason; you have to reboot the player, the PC, or both, or wait a while and try rescanning. There are fewer problems when something like FTP is used, but I don't think it's easy to put NFS in Windows.
And you can't afford to buy something like an expensive NAS, while you'd like to continue using the enclosures. Besides, the system's not online the whole day. What operating system and hardware would you recommend?
A dedicated PC (maybe a second-hand one) still with Windows? Or is there something wrong with Windows SMB that causes the infrequent scan misses?
Or a machine (not necessarily a PC but as cheap as a second-hand PC?) with another operating system? Can that system mount and unmount enclosures as easily as Windows?
Posts: 14,208
Joined: Nov 2009
Reputation:
710
Klojum
Lost connection
Posts: 14,208
You haven't mentioned the video format you are typically using. Any video player can do h264, h265/hevc is possible on just about any modern video card / player. 4K and HDR are another & higher bar to jump. If it's only about 'the simple stuff' for you, then a Raspberry Pi 3 B+ would even be an option.
Any PC with decent Nvidia/AMD/Intel graphics will do, but that will use a bit more power (maybe important amongst all the rising electricity costs). NFS client support is in Windows 10/11 Pro and higher, NFS server in Windows I don't know actually.
I've been using NFS Server with Kodi on Linux Ubuntu systems since ~12 years ago without hiccups. It's also easier than SMB for me. Personally I wouldn't use FTP as a streaming source. Kodi not scanning some folders should be solvable.
I'm running a PC+Nvidia with LibreELEC (=basic Linux with only Kodi running) next to my TV, because a Raspberry Pi 4 doesn't do certain IPTV decryption anymore, and it runs fine for me. You often don't need all the background noise of a full-blown Windows installation when running just Kodi.
If playing your own videos is the only requirement in Kodi, meaning without certain add-ons like Netflix or others, then you can choose just about any piece of modern 'box' including a simple & cheap Android media player. The number of videos is not an issue, that's the PC's/server's problem. It all comes down to your wishes and your wallet.
Posts: 58
Joined: Feb 2022
Reputation:
1
Thanks for the response. Generally H264 and 265 up to 1080p; the Kodis (there are only two users) are connected to regular 30" flatscreens, and for sound up to the usual 5.1 Dolby or so, although most of the videos have just two-channel audios.
I'll try SMB once more at least for one Kodi player and see what happens. (I'll use the backup addon to make and label backups of the present and test configurations.)
Posts: 14,208
Joined: Nov 2009
Reputation:
710
Klojum
Lost connection
Posts: 14,208
If you have some free time and a spare/separate PC & two USB sticks lying around, you could try & learn installing Ubuntu (it's totally free, and I suggest 18.04 LTS as it doesn't have the NFS browsing problem for Kodi). Then set up your connected USB drive(s), and have the Kodi clients connect to it. More advanced, you could also run a MySQL database on that server, should you want synced libraries for both Kodi clients. There would be no need to change the Kodi client hardware.
In a -very- short summary:
- Install Ubuntu (Server) 18.04 on a (2nd) USB stick. [5-10 minutes]
- Via the terminal session:
-- Install OpenSSH for external access (always handy) [15 seconds]
-- Install NFS server [15 seconds]
-- Set up 'mounts' for your USB drives in the /etc/exports file [a couple of minutes]
-- Set up entries for the USB drive mounts for NFS sharing [a couple of minutes]
'YMMV' for installation time, of course. Once you know how, a fresh Linux file server install can be done in 15 minutes. Once it runs, it'll run.
Although... Reading it again, it sounds a bit like you want different hardware for Kodi because some of the scrapings are not going right? Or is there some other reason?
Posts: 58
Joined: Feb 2022
Reputation:
1
Thanks! I use the ff. setup:
Windows 10 Home PC (i5) with lots of RAM, SSD, and some internal drives;
around 12 drives in three enclosures connected via USB3
Two Mi media players with Kodi installed (two different users who have different videos that are "marked read"; Kodi simply takes the scraped local info located with the videos) accessing videos in the drives via a gigabit local network.
The PC is used to add, modify, etc., the videos using file explorer, and Tiny Media Manager to scrape any videos with metadata.
Everything is shut down at midnight and turned on in the late morning: I shut down the PC, and the enclosures automatically shut down in a few seconds. In the morning, I press the power buttons, and Win automatically mounts the drives in the enclosures.
When I use SMB, the Kodis sometimes don't see all of the shared folders; I have to try again or restart Kodi, the player, or the PC.
When I use FTP, all folders are seen without fail, but one-tenth of the time when I play a video while Kodi is doing a library update, I get a playback failed error. It disappears when I wait a minute and try again and/or I stop the library update.
AFAIK all settings are set to max in the PC, with QoS packet schedule off, media streaming on and off, SMBv1 features on and off, no limits to UL/DL, etc. I suspect the problem lies with Win 10 and/or the point that I'm using the PC to browse or edit files, but I don't know if there are other systems that are it, e.g., drives are automatically mounted when they are put online and dismounted if turned off, etc.
Posts: 5,435
Joined: Jul 2012
Reputation:
378
A couple things to understand your environment
These drive enclosures support USB3 speed?
Drives are MBR or GPT?
File systems are NTFS or ?
When a system hosting Kodi doesn't find an SMB share, are you using an ip or computer name in Kodi for the share?
scott s.
.