2019-05-15, 17:33
Problem
I would like to use the "External Player" to play files over a NFS share with MPC-HC. SMB shares play just fine, but NFS does not and I understand that MPC-HC does not include NFS libraries.
Question
I've considered the following workarounds. Any tips or alternative suggestions to play media over NFS using MPC-HC as an external player?
Potential Workarounds
System
I would like to use the "External Player" to play files over a NFS share with MPC-HC. SMB shares play just fine, but NFS does not and I understand that MPC-HC does not include NFS libraries.
Question
I've considered the following workarounds. Any tips or alternative suggestions to play media over NFS using MPC-HC as an external player?
Potential Workarounds
- Instead of executing "MPC-HC.exe" in playercorefactory.xml, execute a script that modifies the path from nfs://10.10.10.10/MYMEDIA to smb://10.10.10.10/MYMEDIA
- Both NFS and SMB shares are valid, so could be possible
- I'm fairly skilled with programming Linux/Unix's bash scripting, but am not familiar with Windows scripting
- Any example scripts or pointers would be appreciated
- Both NFS and SMB shares are valid, so could be possible
- Convert my entire library from NFS shares to SMB shares
- I use a separate MySQL server, multiple Kodi clients on the network connect to it using advancedsettings.xml
- I have concerns that I may lose "watched" status for media if I attempt a conversion
- I'm not exactly sure how to complete such a conversion
- I use a separate MySQL server, multiple Kodi clients on the network connect to it using advancedsettings.xml
- Use a player that supports both MadVR as well as NFS
- Are there any?
- Are there any?
- Other options?
System
- Windows Server 2016
- NFS client is installed on Server 2016
- Kodi 18.2
- Intel Xeon E5-1650 v4
- 24G ECC ram
- Nvidia 1060
Quote:<playercorefactory>sources.xml
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC-HC\mpc-hc64.exe</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
</playercorefactory>
Quote:<sources>advancedsettings.xml
<programs>
<default pathversion="1"></default>
</programs>
<video>
<default pathversion="1"></default>
<source>
<name>movies_complete</name>
<path pathversion="1">nfs://192.168.70.10/deathstar/movies_complete/</path>
<allowsharing>true</allowsharing>
</source>
<source>
<name>tv_complete</name>
<path pathversion="1">nfs://192.168.70.10/deathstar/tv_complete/</path>
<allowsharing>true</allowsharing>
</source>
<source>
<name>video_misc</name>
<path pathversion="1">nfs://192.168.70.10/deathstar/video_misc/</path>
<allowsharing>true</allowsharing>
</source>
<source>
<name>torrent_files</name>
<path pathversion="1">nfs://192.168.70.10/deathstar/torrent_files/</path>
<allowsharing>true</allowsharing>
</source>
<source>
<name>local_videos</name>
<path pathversion="1">/local_videos/</path>
<allowsharing>true</allowsharing>
</source>
<source>
<name>4K_Movies</name>
<path pathversion="1">smb://CHEWY/deathstar/4K_Video/4K_Movies/</path>
<allowsharing>true</allowsharing>
</source>
<source>
<name>4K_TV</name>
<path pathversion="1">smb://CHEWY/deathstar/4K_Video/4K_TV/</path>
<allowsharing>true</allowsharing>
</source>
</video>
<music>
<default pathversion="1"></default>
<source>
<name>music</name>
<path pathversion="1">nfs://192.168.70.10/deathstar/music/</path>
<allowsharing>true</allowsharing>
</source>
<source>
<name>torrent_files</name>
<path pathversion="1">nfs://192.168.70.10/deathstar/torrent_files/</path>
<allowsharing>true</allowsharing>
</source>
</music>
<pictures>
<default pathversion="1"></default>
<source>
<name>picmnt</name>
<path pathversion="1">/mnt/picmnt/</path>
<allowsharing>true</allowsharing>
</source>
</pictures>
<files>
<default pathversion="1"></default>
</files>
</sources>
Quote:<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>192.168.70.35</host>
<port>3306</port>
<user>REDACTED</user>
<pass>REDACTED</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.70.35</host>
<port>3306</port>
<user>REDACTED</user>
<pass>REDACTED</pass>
</musicdatabase>
<videolibrary>
<importwatchedstate>true</importwatchedstate>
<importresumepoint>true</importresumepoint>
</videolibrary>
</advancedsettings>