Jump to content

How to modify /var/packages/EmbyServer/target/var/config/system.xml


Recommended Posts

Tandhruil
Posted

Hello

I followed your differents wiki and I can connect to my NAS in SSH got to the /var/packages/EmbyServer/target/var/config/ directory but I don't know how to modify the system.xml file

I've tried SFTP but I can only access to the shared volumes

I want to make this kind of changes :

PS : I'm a newbie in linux

FrostByte
Posted

If using Windows then WinSCP might be an easier tool

 

 

  • Like 1
Tandhruil
Posted

Thanks for the link.
I've copied the file in a shared directory and edit it with notepad++, then copy back (far more easy than with VIM).
Bytheway my modifications are not working, the application is still using the ancient filter.

Is there another place to modify the system.xml file ?

Posted

Make sure to shutdown the server before editing the file.

Tandhruil
Posted

The first time I didn't shut it down. My bad.
The second time I shut down the service before, but it still doesn't work.

I still have a backup copy of the original file if necessary

Posted

What does "still doesn't work" mean?

Tandhruil
Posted

By default system.xml

<SortRemoveWords>
    <string>the</string>
    <string>a</string>
    <string>an</string>
    <string>das</string>
    <string>der</string>
    <string>el</string>
    <string>la</string>
  </SortRemoveWords>

so movies starting by "the" or "la" for exemple are sort without  them

Here is my modifications but "le", "les", "un", ... are not removed

Quote

<SortRemoveWords>
    <string>the</string>
    <string>a</string>
    <string>an</string>
    <string>das</string>
    <string>der</string>
    <string>el</string>
    <string>la</string>
    <string>le</string>
    <string>les</string>
    <string>un</string>
    <string>une</string>
    <string>des</string>
  </SortRemoveWords>

 

Posted

Try refreshing the metadata on existing titles now.

Tandhruil
Posted

Yes, it works,

Thank you.

Posted

Thanks for the feedback.

  • 5 months later...
Posted

Maybe not related, but I tried to edit system.xml with the server shutdown to add my own IP filters much more easily.. I simply added a block like this.. 

 

<RemoteIPFilter>
<String> [ ipv4 cidr range ]</String>
<String> [ ipv4 cidr range ]</String>
<String> [ ipv4 cidr range ]</String>
<String> [ ipv4 cidr range ]</String>
</RemoteIPFilter/>

When I thin start the server back up.. that block is gone and it's reverted right back to just being <RemoteIPFilter />

My first thought was maybe these settings are stored in an sqlite database and only being dumped to the system.xml file for technical support reasons? is there ANY way humanly possible to make this work? 

An example range ( a range of US addresses ) that I have in there just so you can see it is:

<String>216.122.76.128/25</String>

 

Posted
13 minutes ago, oneduality said:

Maybe not related, but I tried to edit system.xml with the server shutdown to add my own IP filters much more easily.. I simply added a block like this.. 

 


<RemoteIPFilter>
<String> [ ipv4 cidr range ]</String>
<String> [ ipv4 cidr range ]</String>
<String> [ ipv4 cidr range ]</String>
<String> [ ipv4 cidr range ]</String>
</RemoteIPFilter/>

When I thin start the server back up.. that block is gone and it's reverted right back to just being <RemoteIPFilter />

My first thought was maybe these settings are stored in an sqlite database and only being dumped to the system.xml file for technical support reasons? is there ANY way humanly possible to make this work? 

An example range ( a range of US addresses ) that I have in there just so you can see it is:


<String>216.122.76.128/25</String>

 

Hi, if I had to guess, the whole file failed to parse due to a xml exception. The server log would confirm that.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...