Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Solved advance settings not read by Kodi
#1
hello all

 I have read the threads similar to this subject and they are very old and did not benefit me.I have the following advancedsettings.xml located in the c:\user\me\apdata\kodi\userdata.

xml:
<advancedsettings>
 <pathsubstitution>
  <substitute>
    <from>c:\users\uncle\appdata\roaming\kodi\userdata\playlists\music\</from>
    <to>smb//192.168.1.26/music/playlists/</to>
  </substitute>
 </pathsubstitution>
</advancedsettings>

it seems that kodi does not read it . I checked the settings-logs and no mentions of it.

my objective is to have one single repository (freenas) for my music playlists that regardless so regardless on which pc i am on and if i feel i need to edit a playlist it will be updating the playlists on all pc running KODI (thats 2 HTPCs and 3 Laptops). This is my first taste of advance settings  and i would like to extend this functionality to addons, thumbnail, fan-art so the look, feel and content of kodi will  the same on all pcs

thank you all in advance for your response
Best regards to all
BikerDude
HTPC with 16gb ram M-Audio LT1010 sound card feeding McIntosh 7205 power amp Magneplanar 2.7r and Velodyne dd12. All connected to Sony smart tv.
All media on 2 fully redundant TrueNas VMs installed on Proxmox servers. Running Kodi. Everything works brilliantly until i screw it up
Reply
#2
The format looks okay.
Next step:
enable debug logging, restart kodi, upload the log to a paste site and post a link here.

edit: actually debug logging isn't needed, just a normal log.
So presumably @ c:\users\uncle\appdata\roaming\kodi\kodi.log
Reply
#3
(2019-06-25, 10:34)BikerDude Wrote: I have the following advancedsettings.xml located in the c:\user\me\apdata\kodi\userdata.
I'm not sure if that is a valid path to the advancedsettings.xml file.

Other than that, it's a usually a silly type error that will make the xml content invalid.
Reply
#4
The path doesn't look right. The locations for the userdata (wiki) folder (where the advancedsettings.xml (wiki) file should be placed) can be found on the wiki - for Windows they are:

Std - %APPDATA%\kodi\userdata
UWP - %LOCALAPPDATA%\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalCache\Roaming\Kodi\userdata

So in this case it probably should be at C:\Users\me\AppData\Roaming\kodi\userdata , presuming "me" is the logged in user profile in Windows.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#5
(2019-06-25, 11:28)DarrenHill Wrote: The path doesn't look right. The locations for the userdata (wiki) folder (where the advancedsettings.xml (wiki) file should be placed) can be found on the wiki - for Windows they are:

Std - %APPDATA%\kodi\userdata
UWP - %LOCALAPPDATA%\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalCache\Roaming\Kodi\userdata

So in this case it probably should be at C:\Users\me\AppData\Roaming\kodi\userdata , presuming "me" is the logged in user profile in Windows.

sorry my bad apdata = appdata thank you for pointing it out. however it is in the correct sub folder c:\users\mew\appdata\roamning\kodi\userdata
Best regards to all
BikerDude
HTPC with 16gb ram M-Audio LT1010 sound card feeding McIntosh 7205 power amp Magneplanar 2.7r and Velodyne dd12. All connected to Sony smart tv.
All media on 2 fully redundant TrueNas VMs installed on Proxmox servers. Running Kodi. Everything works brilliantly until i screw it up
Reply
#6
Provide a debug log (wiki) of your Kodi device for some more in-depth information. Right now we're guessing and fishing too much for information.
And, it's "roaming", not "roamning". Wink
Reply
#7
(2019-06-25, 10:43)trogggy Wrote: The format looks okay.
Next step:
enable debug logging, restart kodi, upload the log to a paste site and post a link here.

edit: actually debug logging isn't needed, just a normal log.
So presumably @ c:\users\uncle\appdata\roaming\kodi\kodi.log
thanks for this suggestion this is what i get from the log
2019-06-25 15:28:44.529 T:9616  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <pathsubstitution>
                                                <substitute>
                                                  <from>c:\users\uncle\appdata\roaming\kodi\userdata\playlists\music\</from>
                                                  <to>smb//192.168.1.26/music/</to>
                                                </substitute>
                                              </pathsubstitution>
                                            </advancedsettings>
2019-06-25 15:28:44.529 T:9616   DEBUG: Configuring path substitutions
2019-06-25 15:28:44.529 T:9616   DEBUG:   Registering substitution pair:
2019-06-25 15:28:44.529 T:9616   DEBUG:     From: [c:\users\uncle\appdata\roaming\kodi\userdata\playlists\music\]
2019-06-25 15:28:44.529 T:9616   DEBUG:     To:   [smb//192.168.1.26/music/]
2019-06-25 15:28:44.529 T:9616 WARNING: CSettingsManager: missing version attribute
thanks for looking at this
Best regards to all
BikerDude
HTPC with 16gb ram M-Audio LT1010 sound card feeding McIntosh 7205 power amp Magneplanar 2.7r and Velodyne dd12. All connected to Sony smart tv.
All media on 2 fully redundant TrueNas VMs installed on Proxmox servers. Running Kodi. Everything works brilliantly until i screw it up
Reply
#8
According to that the advancedsettings file is being read and the path substitute is being set up so what is the problem?
Reply
#9
I'm not so sure, but doesn't the "<to>" section and the SMB path is missing a ":"? So it should look like:

                                                <from>c:\users\uncle\appdata\roaming\kodi\userdata\playlists\music\</from>
                                                  <to>smb://192.168.1.26/music/</to>

and even by reading that: https://forum.kodi.tv/showthread.php?tid...pid2863363

If the share is included as a network drive (z: ) then the section where you want it substituted to should look like: <to>z:\some\path</to>
Reply
#10
Oops yes Davu is correct, Kodi is successfully configuring the path substitute but you have specified and incorrect path for the smb location, missed the absent : in the path.
Reply
#11
thank you all for your patience with me and your help

yes i did forget the : and made the change to the advancesettings and save it. however when re starting kodi i see that my playlists still point to the the c:users\me\appdata\kodi\userdata\playlists\music folder and i still get the following in the logs   CSettingsManager: missing version attribute


once again thank you for your reply and promptness
Best regards to all
BikerDude
HTPC with 16gb ram M-Audio LT1010 sound card feeding McIntosh 7205 power amp Magneplanar 2.7r and Velodyne dd12. All connected to Sony smart tv.
All media on 2 fully redundant TrueNas VMs installed on Proxmox servers. Running Kodi. Everything works brilliantly until i screw it up
Reply
#12
I think that warning is normal, at least from looking at a couple of other logs.

Please upload the full debug log (wiki) to a pastebin site (paste.kodi.tv or pastebin.com) and supply the link they will give you here, so we can see the full log.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#13
thank you for your comment i did load the log in past.kodi just now https://paste.kodi.tv/nojozigebu.kodi
Best regards to all
BikerDude
HTPC with 16gb ram M-Audio LT1010 sound card feeding McIntosh 7205 power amp Magneplanar 2.7r and Velodyne dd12. All connected to Sony smart tv.
All media on 2 fully redundant TrueNas VMs installed on Proxmox servers. Running Kodi. Everything works brilliantly until i screw it up
Reply
#14
(2019-06-25, 16:29)BikerDude Wrote: i did load the log in past.kodi just now

Right... Wasting plenty of minutes on a Kodi setup with plenty of illegal video crap installed.
That's not our idea of support. We have forum rules (wiki), also specifically for video piracy.

If you want more support, remove all the orange entries from your Kodi setup first.
Reply
#15
The forum moderators have determined that banned addons (wiki) are present on your system. To receive assistance here, these banned items must be removed. If a clean log is not submitted within 3 days, then the relevant post(s) will be removed after this time.
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply

Logout Mark Read Team Forum Stats Members Help
advance settings not read by Kodi0