Kodi Community Forum

Full Version: read order of .xml files?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi There!

I use KODI in combination with emby and it works perfect except one small problem.
I would like to use a different path substitution in my Cinema room as I need to use an external player.

I like to use nfs shares on all my other media PC as it runs more efficient especially when plying BR iso.
I tried to create a different user in emby but when I tried to change the path substitution for this user it changed it for all users....
Some kind person on the emby forum advised to try pathsubstitution in kodi with the advancedsettings.xml. I tried that but it seems the playercorefactory.xml files passes the nfs file information to the external player before the advancedsettings.xml pathsubstitution information is handed to kodi.

Is this what is happening or did I just set it up wrong?

In case you need this....

<advancedsettings>
<pathsubstitution>
<substitute>
<from>nfs://192.168.1.70/mnt/Vol1/Videos/</from>
<to>X:\Videos\</to>
</substitute>
</pathsubstitution>
</advancedsettings>


Thanks Alfred
Never tried your substitution trick, but surely you are asking for trouble by swapping the forward slashes to back slashes like that? May get more success with X:/Videos/ as it will then match the rest of the slashes in your path.

A debug log will answer the question


Personally when I change the location of a source I directly edit the database changing the parent of the path in there.
I always do this by hacking the SQL database. A lot less hassle IMHO.

http://kodi.wiki/view/HOW-TO:Update_SQL_...files_move

It may look scary, but easier than you realise. I'll hold ya hand through it if needed. But as long as you backup the database files before you start, you can easily drop the old database back into place if you screw up.
Thank you for your kind offer.
As I actually really like emby I may try your advice with the backslashes first. As it only affects on of my 5 PC/apps it is not really a problem, just something that would be neat to have....

Regards

Alfred
When I looked at the page in the KODI FAQ I can see it is setup exactly like your example above. Which is a little odd, but I assume there is a logic behind it.

Certainly worth getting the debug log working as that is almost certainly going to show you where the paths are failing. It is going to be something silly like a single slash or something like that.
As a general rule Windows uses backslashes, everything else uses forward slashes. It goes back to dos.
Can't see anything wrong with the xml - as BP said, do a de-bug log to confirm it's being read and (maybe) what's going wrong.
Let me get this right. You have five separate PCs which are all running separate copies of KODI and each has its own copy of the database.

On each of these PCs they are accessing videos over the network via an NFS share to the folder nfs://192.168.1.70/mnt/Vol1/Videos/

You are now changing one PC in the house so that it has a direct USB connection to that media folder or X:\Video\

Which means if everything is already in the one place, all you want to do is change a single source on a single PC.

I would stop faffing with the substitution trick and just dive in to changing the settings as per the Wiki page

The steps in there are actually very easy to do. I use DB Browser SQLite - as linked at the top of that page.

Then as long as you carefully triple check for typing errors, this is going to achieve exactly what you are after.
(2015-09-22, 12:24)trogggy Wrote: [ -> ]As a general rule Windows uses backslashes, everything else uses forward slashes. It goes back to dos.
Can't see anything wrong with the xml - as BP said, do a de-bug log to confirm it's being read and (maybe) what's going wrong.
Yeah, the slashes are definitely right the way they were shown. Just had a brain fade yesterday. From looking at the database I can see how the code is rigged to allow a path to be built up with native forward or back slashes. All a bit clever this KODI stuff Smile
(2015-09-22, 12:28)BatterPudding Wrote: [ -> ]Let me get this right. You have five separate PCs which are all running separate copies of KODI and each has its own copy of the database.

On each of these PCs they are accessing videos over the network via an NFS share to the folder nfs://192.168.1.70/mnt/Vol1/Videos/

You are now changing one PC in the house so that it has a direct USB connection to that media folder or X:\Video\

Which means if everything is already in the one place, all you want to do is change a single source on a single PC.

I would stop faffing with the substitution trick and just dive in to changing the settings as per the Wiki page

The steps in there are actually very easy to do. I use DB Browser SQLite - as linked at the top of that page.

Then as long as you carefully triple check for typing errors, this is going to achieve exactly what you are after.


Yes, pretty much. The only thing with my "Cinema" PC is that it needs an external player mainly to play 3DBD-iso. All the computers run wired connections to a NAS (Freenas Server). All pc connect to these folders with emby (which is also in a Freenas - jail) using path substitution to nfs://192.168.1.70/mnt/Vol1/Videos/. The Cinema-PC has a seperate direct LAN connection to the Freenas Server using 172.168.1.1 (to make sure it does not start buffering in case my wife watches something else on another PC. I checked in KODI under Movie information and the running banner shows the correct path i.e nfs://192.168.1.70/mnt/Vol1/Videos/3DBD-Movies/moviename.iso
So all I really wanted to do change the path to this one 3DBD-Movies folder as this is the only one that contains the 3D-iso files.
Initially I assumed it would be enough to just create a new user under emby and change the path-substitution for the cinema user only to find out that emby changes path for all users.
Thats when I tried using path substitution in KODI.

I will do as you said and enable the LOG and see where it fails.

Once again, thank you for your time and advice. I am aware that my setup is probably pretty unique....but I love tinkering and it is a great hobby. Learning heaps from you guys......

Regards

Alfred
Here is the Log output. When I try to invoke the externlal player it fails because the pathsubstitution did not work.....The log dis load the advancedsettings.xml though??

Thanks for looking

Regards Alfred

18:38:22 T:2052 NOTICE: special://profile/ is mapped to: special://masterprofile/
18:38:22 T:2052 NOTICE: -----------------------------------------------------------------------
18:38:22 T:2052 NOTICE: Starting Kodi (15.1 Git:20150816-f4dda26). Platform: Windows NT x86 32-bit
18:38:22 T:2052 NOTICE: Using Release Kodi x32 build
18:38:22 T:2052 NOTICE: Kodi compiled Aug 16 2015 by MSVC 180030723 for Windows NT x86 32-bit version 6.0 (0x06000000)
18:38:22 T:2052 NOTICE: Running on Gigabyte Technology Co., Ltd. GA-880G-UD3H with Windows 8.1, kernel: Windows NT x86 64-bit version 6.3
18:38:22 T:2052 NOTICE: Host CPU: AMD Athlon™ II X2 255 Processor, 2 cores available
18:38:22 T:2052 NOTICE: Desktop Resolution: 1920x1080 32Bit at 23Hz
18:38:22 T:2052 NOTICE: Running with administrator rights
18:38:22 T:2052 NOTICE: Aero is enabled
18:38:22 T:2052 NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\Kodi
18:38:22 T:2052 NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\Kodi
18:38:22 T:2052 NOTICE: special://masterprofile/ is mapped to: C:\Users\root\AppData\Roaming\Kodi\userdata
18:38:22 T:2052 NOTICE: special://home/ is mapped to: C:\Users\root\AppData\Roaming\Kodi\
18:38:22 T:2052 NOTICE: special://temp/ is mapped to: C:\Users\root\AppData\Roaming\Kodi\cache
18:38:22 T:2052 NOTICE: The executable running is: C:\Program Files (x86)\Kodi\Kodi.exe
18:38:22 T:2052 NOTICE: Local hostname: CNMA
18:38:22 T:2052 NOTICE: Log File is located: C:\Users\root\AppData\Roaming\Kodi\kodi.log
18:38:22 T:2052 NOTICE: -----------------------------------------------------------------------
18:38:22 T:2052 NOTICE: load settings...
18:38:22 T:2052 WARNING: CSettingString: unknown options filler "timezonecountries" of "locale.timezonecountry"
18:38:22 T:2052 WARNING: CSettingString: unknown options filler "timezones" of "locale.timezone"
18:38:22 T:2052 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
18:38:22 T:2052 NOTICE: Loaded settings file from special://profile/advancedsettings.xml
18:38:22 T:2052 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<pathsubstitution>
<substitute>
<from>nfs://172.168.1.1/mnt/Vol1/Videos/</from>
<to>X:\Videos\</to>
</substitute>
</pathsubstitution>
</advancedsettings>
18:38:22 T:2052 NOTICE: Default DVD Player: dvdplayer
18:38:22 T:2052 NOTICE: Default Video Player: dvdplayer
18:38:22 T:2052 NOTICE: Default Audio Player: paplayer
18:38:22 T:2052 NOTICE: Disabled debug logging due to GUI setting. Level 0.
18:38:22 T:2052 NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
18:38:22 T:2052 NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
18:38:22 T:2052 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
18:38:22 T:2052 NOTICE: Loaded playercorefactory configuration
18:38:22 T:2052 NOTICE: Loading player core factory settings from special://profile/playercorefactory.xml.
18:38:22 T:2052 NOTICE: Loaded playercorefactory configuration
18:38:22 T:6400 NOTICE: Thread ActiveAE start, auto delete: false
18:38:22 T:5284 NOTICE: Thread AESink start, auto delete: false
18:38:22 T:6400 NOTICE: Found 2 Lists of Devices
18:38:22 T:6400 NOTICE: Enumerated DIRECTSOUND devices:
18:38:22 T:6400 NOTICE: Device 1
18:38:22 T:6400 NOTICE: m_deviceName : {24E493F5-8BB9-42D4-A849-A7B37E36A68B}
18:38:22 T:6400 NOTICE: m_displayName : SPDIF - Digital Audio (S/PDIF) (2- High Definition Audio Device)
18:38:22 T:6400 NOTICE: m_displayNameExtra: DIRECTSOUND: Digital Audio (S/PDIF) (2- High Definition Audio Device)
18:38:22 T:6400 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:38:22 T:6400 NOTICE: m_channels : FL,FR
18:38:22 T:6400 NOTICE: m_sampleRates : 44100
18:38:22 T:6400 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_AC3,AE_FMT_DTS
18:38:22 T:6400 NOTICE: Device 2
18:38:22 T:6400 NOTICE: m_deviceName : {C14ED8D2-F936-4B60-8757-70BDE4C1A4B6}
18:38:22 T:6400 NOTICE: m_displayName : SPDIF - Digital Audio (S/PDIF) (2- High Definition Audio Device)
18:38:22 T:6400 NOTICE: m_displayNameExtra: DIRECTSOUND: Digital Audio (S/PDIF) (2- High Definition Audio Device)
18:38:22 T:6400 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:38:22 T:6400 NOTICE: m_channels : FL,FR
18:38:22 T:6400 NOTICE: m_sampleRates : 44100
18:38:22 T:6400 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_AC3,AE_FMT_DTS
18:38:22 T:6400 NOTICE: Device 3
18:38:22 T:6400 NOTICE: m_deviceName : {C9A6BEAD-7A07-4E03-B165-9DB77246D48E}
18:38:22 T:6400 NOTICE: m_displayName : SPDIF - Digital Audio (S/PDIF) (2- Sound Blaster X-Fi Xtreme Audio)
18:38:22 T:6400 NOTICE: m_displayNameExtra: DIRECTSOUND: Digital Audio (S/PDIF) (2- Sound Blaster X-Fi Xtreme Audio)
18:38:22 T:6400 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:38:22 T:6400 NOTICE: m_channels : FL,FR
18:38:22 T:6400 NOTICE: m_sampleRates : 48000
18:38:22 T:6400 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_AC3,AE_FMT_DTS
18:38:22 T:6400 NOTICE: Device 4
18:38:22 T:6400 NOTICE: m_deviceName : default
18:38:22 T:6400 NOTICE: m_displayName : default
18:38:22 T:6400 NOTICE: m_displayNameExtra:
18:38:22 T:6400 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:38:22 T:6400 NOTICE: m_channels : FL,FR
18:38:22 T:6400 NOTICE: m_sampleRates : 48000
18:38:22 T:6400 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_AC3,AE_FMT_DTS
18:38:22 T:6400 NOTICE: Enumerated WASAPI devices:
18:38:22 T:6400 NOTICE: Device 1
18:38:22 T:6400 NOTICE: m_deviceName : {24E493F5-8BB9-42D4-A849-A7B37E36A68B}
18:38:22 T:6400 NOTICE: m_displayName : SPDIF - Digital Audio (S/PDIF) (2- High Definition Audio Device)
18:38:22 T:6400 NOTICE: m_displayNameExtra: WASAPI: Digital Audio (S/PDIF) (2- High Definition Audio Device)
18:38:22 T:6400 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:38:22 T:6400 NOTICE: m_channels : FL,FR
18:38:22 T:6400 NOTICE: m_sampleRates : 192000,96000,88200,48000,44100,32000
18:38:22 T:6400 NOTICE: m_dataFormats : AE_FMT_DTS,AE_FMT_AC3,AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
18:38:22 T:6400 NOTICE: Device 2
18:38:22 T:6400 NOTICE: m_deviceName : {C14ED8D2-F936-4B60-8757-70BDE4C1A4B6}
18:38:22 T:6400 NOTICE: m_displayName : SPDIF - Digital Audio (S/PDIF) (2- High Definition Audio Device)
18:38:22 T:6400 NOTICE: m_displayNameExtra: WASAPI: Digital Audio (S/PDIF) (2- High Definition Audio Device)
18:38:22 T:6400 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:38:22 T:6400 NOTICE: m_channels : FL,FR
18:38:22 T:6400 NOTICE: m_sampleRates : 192000,96000,88200,48000,44100,32000
18:38:22 T:6400 NOTICE: m_dataFormats : AE_FMT_DTS,AE_FMT_AC3,AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
18:38:22 T:6400 NOTICE: Device 3
18:38:22 T:6400 NOTICE: m_deviceName : {C9A6BEAD-7A07-4E03-B165-9DB77246D48E}
18:38:22 T:6400 NOTICE: m_displayName : SPDIF - Digital Audio (S/PDIF) (2- Sound Blaster X-Fi Xtreme Audio)
18:38:22 T:6400 NOTICE: m_displayNameExtra: WASAPI: Digital Audio (S/PDIF) (2- Sound Blaster X-Fi Xtreme Audio)
18:38:22 T:6400 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:38:22 T:6400 NOTICE: m_channels : FL,FR
18:38:22 T:6400 NOTICE: m_sampleRates : 96000,48000,44100
18:38:22 T:6400 NOTICE: m_dataFormats : AE_FMT_DTS,AE_FMT_AC3,AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
18:38:22 T:6400 NOTICE: Device 4
18:38:22 T:6400 NOTICE: m_deviceName : default
18:38:22 T:6400 NOTICE: m_displayName : default
18:38:22 T:6400 NOTICE: m_displayNameExtra:
18:38:22 T:6400 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:38:22 T:6400 NOTICE: m_channels : FL,FR
18:38:22 T:6400 NOTICE: m_sampleRates : 96000,48000,44100
18:38:22 T:6400 NOTICE: m_dataFormats : AE_FMT_DTS,AE_FMT_AC3,AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
18:38:22 T:2052 NOTICE: Running database version Addons19
18:38:22 T:2052 NOTICE: ADDONS: Using repository repository.xbmc.org
18:38:22 T:2052 NOTICE: ADDONS: Using repository repository.emby.kodi
18:38:22 T:2052 NOTICE: ADDONS: Using repository repository.aeon-mq5-mod-isengard
18:38:22 T:7136 NOTICE: Thread PeripBusCEC start, auto delete: false
18:38:22 T:6624 NOTICE: Thread RemoteControl start, auto delete: false
18:38:22 T:3808 NOTICE: Thread PeripBusUSB start, auto delete: false
18:38:22 T:7116 NOTICE: Thread JobWorker start, auto delete: true
18:38:22 T:2052 NOTICE: Found screen: Generic PnP Monitor on NVIDIA GeForce GTX 650 Ti BOOST, adapter 0.
18:38:22 T:2052 NOTICE: Primary mode: 1920x1080@ 23.98 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 640x480@ 59.94 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 640x480@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 640x480@ 120.00 - Full Screen
18:38:22 T:2052 NOTICE: Previous line repeats 2 times.
18:38:22 T:2052 NOTICE: Additional mode: 640x480@ 75.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 640x480@ 72.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 720x480@ 59.94 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 720x480@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 720x480@ 120.00 - Full Screen
18:38:22 T:2052 NOTICE: Previous line repeats 2 times.
18:38:22 T:2052 NOTICE: Additional mode: 720x576@ 50.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 720x576@ 120.00 - Full Screen
18:38:22 T:2052 NOTICE: Previous line repeats 2 times.
18:38:22 T:2052 NOTICE: Additional mode: 800x600@ 120.00 - Full Screen
18:38:22 T:2052 NOTICE: Previous line repeats 2 times.
18:38:22 T:2052 NOTICE: Additional mode: 800x600@ 75.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 800x600@ 56.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 800x600@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 800x600@ 72.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1024x768@ 120.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1024x768@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1024x768@ 70.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1024x768@ 75.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1152x864@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Previous line repeats 2 times.
18:38:22 T:2052 NOTICE: Additional mode: 1152x864@ 75.00 - Full Screen
18:38:22 T:2052 NOTICE: Previous line repeats 2 times.
18:38:22 T:2052 NOTICE: Additional mode: 1176x664@ 50.00 - Full Screen
18:38:22 T:2052 NOTICE: Previous line repeats 2 times.
18:38:22 T:2052 NOTICE: Additional mode: 1176x664@ 59.94 - Full Screen
18:38:22 T:2052 NOTICE: Previous line repeats 2 times.
18:38:22 T:2052 NOTICE: Additional mode: 1176x664@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Previous line repeats 2 times.
18:38:22 T:2052 NOTICE: Additional mode: 1280x720@ 59.94 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1280x720@ 50.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1280x720@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1280x720@ 120.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1280x768@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Previous line repeats 2 times.
18:38:22 T:2052 NOTICE: Additional mode: 1280x800@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1280x960@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Previous line repeats 2 times.
18:38:22 T:2052 NOTICE: Additional mode: 1280x960@ 75.00 - Full Screen
18:38:22 T:2052 NOTICE: Previous line repeats 2 times.
18:38:22 T:2052 NOTICE: Additional mode: 1280x1024@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1280x1024@ 75.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1360x768@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Previous line repeats 2 times.
18:38:22 T:2052 NOTICE: Additional mode: 1366x768@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Previous line repeats 2 times.
18:38:22 T:2052 NOTICE: Additional mode: 1600x900@ 59.94 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1600x900@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1600x900@ 59.94 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1600x900@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1600x900@ 59.94 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1600x900@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1600x1024@ 59.94 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1600x1024@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1600x1024@ 59.94 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1600x1024@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1600x1024@ 59.94 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1600x1024@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1600x1200@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1680x1050@ 59.94 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1680x1050@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1768x992@ 25.00i - Full Screen
18:38:22 T:2052 NOTICE: Previous line repeats 2 times.
18:38:22 T:2052 NOTICE: Additional mode: 1768x992@ 29.97i - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1768x992@ 30.00i - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1768x992@ 29.97i - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1768x992@ 30.00i - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1768x992@ 29.97i - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1768x992@ 30.00i - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1920x1080@ 59.94 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1920x1080@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1920x1080@ 29.97i - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1920x1080@ 30.00i - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1920x1080@ 23.98 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1920x1080@ 24.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1920x1080@ 25.00i - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1920x1080@ 50.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1440x576@ 59.94 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1440x576@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1440x576@ 59.94 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1440x576@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1440x576@ 59.94 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1440x576@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Additional mode: 1400x1050@ 60.00 - Full Screen
18:38:22 T:2052 NOTICE: Checking resolution 16
18:38:23 T:2052 NOTICE: Running database version Addons19
18:38:23 T:2052 NOTICE: Running database version ViewModes6
18:38:23 T:2052 NOTICE: Running database version Textures13
18:38:23 T:2052 NOTICE: Running database version MyMusic52
18:38:23 T:2052 NOTICE: Running database version MyVideos93
18:38:23 T:2052 NOTICE: Running database version TV29
18:38:23 T:2052 NOTICE: Running database version Epg10
18:38:24 T:2052 WARNING: JSONRPC: Could not parse type "PVR.Details.Channel"
18:38:24 T:2052 WARNING: JSONRPC: Could not parse type "PVR.Details.ChannelGroup.Extended"
18:38:24 T:2052 WARNING: JSONRPC: Could not parse type "GUI.Property.Value"
18:38:24 T:2052 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
18:38:24 T:2052 NOTICE: initialize done
18:38:24 T:2272 NOTICE: Thread LanguageInvoker start, auto delete: false
18:38:24 T:2052 NOTICE: Running the application...
18:38:24 T:6720 NOTICE: Thread LanguageInvoker start, auto delete: false
18:38:24 T:2272 NOTICE: Previous line repeats 5 times.
18:38:24 T:2272 NOTICE: -->Python Interpreter Initialized<--
18:38:24 T:2052 NOTICE: Previous line repeats 6 times.
18:38:24 T:2052 NOTICE: Webserver: Starting...
18:38:24 T:2052 NOTICE: WebServer: Started the webserver
18:38:24 T:2052 NOTICE: starting upnp client
18:38:24 T:6912 NOTICE: Thread LanguageInvoker start, auto delete: false
18:38:24 T:2052 NOTICE: starting upnp server
18:38:24 T:2052 NOTICE: starting upnp controller
18:38:24 T:2052 NOTICE: starting upnp renderer
18:38:24 T:2052 NOTICE: ES: Starting event server
18:38:24 T:6604 NOTICE: Thread EventServer start, auto delete: false
18:38:24 T:6604 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
18:38:24 T:6604 NOTICE: UDP: Listening on port 9777
18:38:24 T:1916 NOTICE: Thread TCPServer start, auto delete: false
18:38:24 T:6120 NOTICE: Thread JobWorker start, auto delete: true
18:38:24 T:7116 NOTICE: PVRManager - starting up
18:38:24 T:3292 NOTICE: Thread PVRManager start, auto delete: false
18:38:24 T:6108 NOTICE: Thread PVRClient start, auto delete: false
18:38:24 T:6884 NOTICE: script.tv.show.next.aired: ### TV Show - Next Aired starting background proc (6.0.14)
18:38:25 T:3184 NOTICE: RCB Service: Start
18:38:25 T:3184 NOTICE: RCB Service: launch RCB on startup =
18:38:25 T:3184 NOTICE: RCB Service: scrape games on startup = false
18:38:25 T:3184 NOTICE: RCB Service: Done
18:38:25 T:6620 NOTICE: StorageServer Module loaded RUN
18:38:25 T:6620 NOTICE: StorageClient-2.5.4 Starting server
18:38:25 T:6912 NOTICE: -->Python Interpreter Initialized<--
18:38:26 T:4064 NOTICE: Thread RSSReader start, auto delete: false
18:38:31 T:7004 NOTICE: Thread BackgroundLoader start, auto delete: false
18:38:31 T:6108 NOTICE: AddOnLog: MediaPortal PVR Client: Warning: no recording share defined in the TVServerXBMC settings for card 'WinFast DTV Dongle Dual Filter'
18:38:31 T:6108 NOTICE: AddOnLog: MediaPortal PVR Client: Warning: no timeshift share defined in the TVServerXBMC settings for card 'WinFast DTV Dongle Dual Filter'
18:38:31 T:6108 NOTICE: AddOnLog: MediaPortal PVR Client: Warning: no recording share defined in the TVServerXBMC settings for card 'WinFast DTV Dongle Dual Filter'
18:38:31 T:6108 NOTICE: AddOnLog: MediaPortal PVR Client: Warning: no timeshift share defined in the TVServerXBMC settings for card 'WinFast DTV Dongle Dual Filter'
18:38:31 T:2392 NOTICE: Thread LanguageInvoker start, auto delete: false
18:38:31 T:2392 NOTICE: -->Python Interpreter Initialized<--
18:38:31 T:7116 ERROR: XFILE::CDirectory::GetDirectory - Error getting videodb://movies/extrafanart/
18:38:32 T:1584 ERROR: Previous line repeats 1 times.
18:38:32 T:1584 NOTICE: Thread JobWorker start, auto delete: true
18:38:46 T:5076 NOTICE: Previous line repeats 1 times.
18:38:46 T:5076 NOTICE: Thread LanguageInvoker start, auto delete: false
18:38:46 T:5076 NOTICE: -->Python Interpreter Initialized<--
18:38:47 T:1584 WARNING: XFILE::CDirectoryFactory::Create - unsupported protocol(image) in image://nfs%3a%2f%2f192.168.1.70%2fmnt%2fVol1%2fVideos%2f3DBD-Movies%2fSin%20City%2c%20A%20Dame%20to%20Kill%20For%20(2014)%20_.3DBD._%5bCBL%5d%20%5btt0458481%5d%2fSin%20City%2c%20A%20Dame%20to%20Kill%20For%20(2014)%20_.3DBD._%5bCBL%5d%20%5btt0458481%5d-fanart.jpg/
18:38:54 T:7116 NOTICE: VideoInfoScanner: Starting scan ..
18:38:58 T:7116 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:03
18:39:00 T:6464 NOTICE: Thread PVRGUIInfo start, auto delete: false
18:39:00 T:3292 NOTICE: EPG::CEpgContainer::Start - EPG thread started
18:39:00 T:6920 NOTICE: Thread EPGUpdater start, auto delete: false
18:39:03 T:3248 NOTICE: Thread BackgroundLoader start, auto delete: false
18:39:03 T:7072 NOTICE: Thread LanguageInvoker start, auto delete: false
18:39:03 T:7072 NOTICE: -->Python Interpreter Initialized<--
18:39:16 T:2052 NOTICE: ExternalPlayer Filename: C:\Users\root\AppData\Roaming\Kodi\userdata\PlayPDVD.bat
18:39:16 T:2052 WARNING: ExternalPlayer: invalid value for warpcursor: none
18:39:16 T:2052 NOTICE: ExternalPlayer Tweaks: hideconsole (false), hidexbmc (false), islauncher (false), warpcursor (none)
18:39:16 T:2052 NOTICE: CExternalPlayer::OpenFile: nfs://192.168.1.70/mnt/Vol1/Videos/3DBD-Movies/47_Ronin_(2013)_[Unknown]_[PG-13]_[voted_6.4]_[Fantasy]/47_Ronin_(2013)_.3DBD._[CBL]_[tt1335975].iso
18:39:16 T:5432 NOTICE: Thread ExternalPlayer start, auto delete: false
18:39:16 T:5432 NOTICE: CExternalPlayer:Tonguerocess: Player : C:\Users\root\AppData\Roaming\Kodi\userdata\PlayPDVD.bat
18:39:16 T:5432 NOTICE: CExternalPlayer:Tonguerocess: File : nfs://192.168.1.70/mnt/Vol1/Videos/3DBD-Movies/47_Ronin_(2013)_[Unknown]_[PG-13]_[voted_6.4]_[Fantasy]/47_Ronin_(2013)_.3DBD._[CBL]_[tt1335975].iso
18:39:16 T:5432 NOTICE: CExternalPlayer:Tonguerocess: Content:
18:39:16 T:5432 NOTICE: CExternalPlayer:Tonguerocess: Args : "{1}"
18:39:16 T:5432 NOTICE: CExternalPlayer:Tonguerocess: Start
18:39:16 T:5432 NOTICE: CExternalPlayer:Tonguerocess: Lowering Kodi window
18:39:16 T:5432 NOTICE: CExternalPlayer::ExecuteAppW32: "C:\Users\root\AppData\Roaming\Kodi\userdata\PlayPDVD.bat" "nfs://192.168.1.70/mnt/Vol1/Videos/3DBD-Movies/47_Ronin_(2013)_[Unknown]_[PG-13]_[voted_6.4]_[Fantasy]/47_Ronin_(2013)_.3DBD._[CBL]_[tt1335975].iso"
18:39:19 T:5432 NOTICE: CExternalPlayer::ExecuteAppW32: WAIT_OBJECT_0
18:39:19 T:5432 NOTICE: CExternalPlayer:Tonguerocess: Stop
18:39:20 T:5432 NOTICE: CExternalPlayer:Tonguerocess: Showing Kodi window TOPMOST
18:39:20 T:6400 NOTICE: Found 2 Lists of Devices
18:39:20 T:6400 NOTICE: Enumerated DIRECTSOUND devices:
18:39:20 T:6400 NOTICE: Device 1
18:39:20 T:6400 NOTICE: m_deviceName : {24E493F5-8BB9-42D4-A849-A7B37E36A68B}
18:39:20 T:6400 NOTICE: m_displayName : SPDIF - Digital Audio (S/PDIF) (2- High Definition Audio Device)
18:39:20 T:6400 NOTICE: m_displayNameExtra: DIRECTSOUND: Digital Audio (S/PDIF) (2- High Definition Audio Device)
18:39:20 T:6400 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:39:20 T:6400 NOTICE: m_channels : FL,FR
18:39:20 T:6400 NOTICE: m_sampleRates : 44100
18:39:20 T:6400 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_AC3,AE_FMT_DTS
18:39:20 T:6400 NOTICE: Device 2
18:39:20 T:6400 NOTICE: m_deviceName : {C14ED8D2-F936-4B60-8757-70BDE4C1A4B6}
18:39:20 T:6400 NOTICE: m_displayName : SPDIF - Digital Audio (S/PDIF) (2- High Definition Audio Device)
18:39:20 T:6400 NOTICE: m_displayNameExtra: DIRECTSOUND: Digital Audio (S/PDIF) (2- High Definition Audio Device)
18:39:20 T:6400 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:39:20 T:6400 NOTICE: m_channels : FL,FR
18:39:20 T:6400 NOTICE: m_sampleRates : 44100
18:39:20 T:6400 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_AC3,AE_FMT_DTS
18:39:20 T:6400 NOTICE: Device 3
18:39:20 T:6400 NOTICE: m_deviceName : {C9A6BEAD-7A07-4E03-B165-9DB77246D48E}
18:39:20 T:6400 NOTICE: m_displayName : SPDIF - Digital Audio (S/PDIF) (2- Sound Blaster X-Fi Xtreme Audio)
18:39:20 T:6400 NOTICE: m_displayNameExtra: DIRECTSOUND: Digital Audio (S/PDIF) (2- Sound Blaster X-Fi Xtreme Audio)
18:39:20 T:6400 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:39:20 T:6400 NOTICE: m_channels : FL,FR
18:39:20 T:6400 NOTICE: m_sampleRates : 48000
18:39:20 T:6400 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_AC3,AE_FMT_DTS
18:39:20 T:6400 NOTICE: Device 4
18:39:20 T:6400 NOTICE: m_deviceName : default
18:39:20 T:6400 NOTICE: m_displayName : default
18:39:20 T:6400 NOTICE: m_displayNameExtra:
18:39:20 T:6400 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:39:20 T:6400 NOTICE: m_channels : FL,FR
18:39:20 T:6400 NOTICE: m_sampleRates : 48000
18:39:20 T:6400 NOTICE: m_dataFormats : AE_FMT_FLOAT,AE_FMT_AC3,AE_FMT_DTS
18:39:20 T:6400 NOTICE: Enumerated WASAPI devices:
18:39:20 T:6400 NOTICE: Device 1
18:39:20 T:6400 NOTICE: m_deviceName : {24E493F5-8BB9-42D4-A849-A7B37E36A68B}
18:39:20 T:6400 NOTICE: m_displayName : SPDIF - Digital Audio (S/PDIF) (2- High Definition Audio Device)
18:39:20 T:6400 NOTICE: m_displayNameExtra: WASAPI: Digital Audio (S/PDIF) (2- High Definition Audio Device)
18:39:20 T:6400 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:39:20 T:6400 NOTICE: m_channels : FL,FR
18:39:20 T:6400 NOTICE: m_sampleRates : 192000,96000,88200,48000,44100,32000
18:39:20 T:6400 NOTICE: m_dataFormats : AE_FMT_DTS,AE_FMT_AC3,AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
18:39:20 T:6400 NOTICE: Device 2
18:39:20 T:6400 NOTICE: m_deviceName : {C14ED8D2-F936-4B60-8757-70BDE4C1A4B6}
18:39:20 T:6400 NOTICE: m_displayName : SPDIF - Digital Audio (S/PDIF) (2- High Definition Audio Device)
18:39:20 T:6400 NOTICE: m_displayNameExtra: WASAPI: Digital Audio (S/PDIF) (2- High Definition Audio Device)
18:39:20 T:6400 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:39:20 T:6400 NOTICE: m_channels : FL,FR
18:39:20 T:6400 NOTICE: m_sampleRates : 192000,96000,88200,48000,44100,32000
18:39:20 T:6400 NOTICE: m_dataFormats : AE_FMT_DTS,AE_FMT_AC3,AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
18:39:20 T:6400 NOTICE: Device 3
18:39:20 T:6400 NOTICE: m_deviceName : {C9A6BEAD-7A07-4E03-B165-9DB77246D48E}
18:39:20 T:6400 NOTICE: m_displayName : SPDIF - Digital Audio (S/PDIF) (2- Sound Blaster X-Fi Xtreme Audio)
18:39:20 T:6400 NOTICE: m_displayNameExtra: WASAPI: Digital Audio (S/PDIF) (2- Sound Blaster X-Fi Xtreme Audio)
18:39:20 T:6400 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:39:20 T:6400 NOTICE: m_channels : FL,FR
18:39:20 T:6400 NOTICE: m_sampleRates : 96000,48000,44100
18:39:20 T:6400 NOTICE: m_dataFormats : AE_FMT_DTS,AE_FMT_AC3,AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
18:39:20 T:6400 NOTICE: Device 4
18:39:20 T:6400 NOTICE: m_deviceName : default
18:39:20 T:6400 NOTICE: m_displayName : default
18:39:20 T:6400 NOTICE: m_displayNameExtra:
18:39:20 T:6400 NOTICE: m_deviceType : AE_DEVTYPE_IEC958
18:39:20 T:6400 NOTICE: m_channels : FL,FR
18:39:20 T:6400 NOTICE: m_sampleRates : 96000,48000,44100
18:39:20 T:6400 NOTICE: m_dataFormats : AE_FMT_DTS,AE_FMT_AC3,AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
(2015-09-23, 10:43)rap777 Wrote: [ -> ]Here is the Log output. When I try to invoke the externlal player it fails because the pathsubstitution did not work.....The log dis load the advancedsettings.xml though??

Thanks for looking

Regards Alfred

18:38:22 T:2052 NOTICE: Loaded settings file from special://profile/advancedsettings.xml
18:38:22 T:2052 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<pathsubstitution>
<substitute>
<from>nfs://172.168.1.1/mnt/Vol1/Videos/</from>
<to>X:\Videos\</to>
</substitute>
</pathsubstitution>
</advancedsettings>


18:39:16 T:2052 NOTICE: CExternalPlayer::OpenFile: nfs://192.168.1.70/mnt/Vol1/Videos/3DBD-Movies/47_Ronin_(2013)_[Unknown]_[PG-13]_[voted_6.4]_[Fantasy]/47_Ronin_(2013)_.3DBD._[CBL]_[tt1335975].iso


Your path substitution isn't working because it is a different path. Where did 172.168.1.1 come from? That should be 192.168.1.70

LOL - I just looked up the owner of 172.168.1.xxx and that is AOL. Any other typos?
(2015-09-23, 00:03)rap777 Wrote: [ -> ]
(2015-09-22, 12:28)BatterPudding Wrote: [ -> ]Let me get this right. You have five separate PCs which are all running separate copies of KODI and each has its own copy of the database.

On each of these PCs they are accessing videos over the network via an NFS share to the folder nfs://192.168.1.70/mnt/Vol1/Videos/

You are now changing one PC in the house so that it has a direct USB connection to that media folder or X:\Video\

Which means if everything is already in the one place, all you want to do is change a single source on a single PC.

I would stop faffing with the substitution trick and just dive in to changing the settings as per the Wiki page

The steps in there are actually very easy to do. I use DB Browser SQLite - as linked at the top of that page.

Then as long as you carefully triple check for typing errors, this is going to achieve exactly what you are after.


Yes, pretty much. The only thing with my "Cinema" PC is that it needs an external player mainly to play 3DBD-iso. All the computers run wired connections to a NAS (Freenas Server). All pc connect to these folders with emby (which is also in a Freenas - jail) using path substitution to nfs://192.168.1.70/mnt/Vol1/Videos/. The Cinema-PC has a seperate direct LAN connection to the Freenas Server using 172.168.1.1 (to make sure it does not start buffering in case my wife watches something else on another PC. I checked in KODI under Movie information and the running banner shows the correct path i.e nfs://192.168.1.70/mnt/Vol1/Videos/3DBD-Movies/moviename.iso
So all I really wanted to do change the path to this one 3DBD-Movies folder as this is the only one that contains the 3D-iso files.
Initially I assumed it would be enough to just create a new user under emby and change the path-substitution for the cinema user only to find out that emby changes path for all users.
Thats when I tried using path substitution in KODI.

I will do as you said and enable the LOG and see where it fails.

Once again, thank you for your time and advice. I am aware that my setup is probably pretty unique....but I love tinkering and it is a great hobby. Learning heaps from you guys......

Regards

Alfred

Same typo. I don't need to read the rest of it now. That IP Address is in the AOL network. Go and check what the address really is. I guess 192.168.1.70 as shown in the debug log.
If you are trying to only change the path of the 3D movies folder, I think you need to do this in your Advanced Settings

<advancedsettings>
<pathsubstitution>
<substitute>
<from>nfs://192.168.1.70/mnt/Vol1/Videos/3DBD-Movies/</from>
<to>X:\Videos\</to>
</substitute>
</pathsubstitution>
</advancedsettings>
(2015-09-23, 11:29)BatterPudding Wrote: [ -> ]If you are trying to only change the path of the 3D movies folder, I think you need to do this in your Advanced Settings

<advancedsettings>
<pathsubstitution>
<substitute>
<from>nfs://192.168.1.70/mnt/Vol1/Videos/3DBD-Movies/</from>
<to>X:\Videos\</to>
</substitute>
</pathsubstitution>
</advancedsettings>

Thanks again for your time....

I will try that and let you know....
Oh, thanks for pointing out the typo...but it was not a typo but the wrong log.
Before I tried it with emby server (which returnes the nfs://192.168.1.70/mnt/Vol1/Videos/3DBD-Movies/moviename.iso) I tried it with the direct lan connection to the server which is the 172.168.1.1 connection. I did change that once I installed emby and assumed it must have overwritten the log file...but it did not....should have checked.
The mount X:Videos is actually mounted as \\172.168.1.1\Freenas-Shares\Videos

Regards

Alfred
You cannot use 172.168.1.1 as an IP Address within your LAN. This will be causing problems as that address is owned by AOL and will therefore get routed to their network.

Whatever that machine is with the illegal address needs to be corrected.

Are you intentionally trying to run it from a different sub-network? Why is it not within your home network? It *HAS* to be a typo.

If you really are trying to run two separate networks then the IP Addresses ranges you can use are 192.168.xxx.yyy where xxx can be 0 to 254 OR you can have a network on 10.xxx.yyy.zzz Both of those network are reserved for home use.
Pages: 1 2