UniversalMediaServer icon indicating copy to clipboard operation
UniversalMediaServer copied to clipboard

Ability to import/export settings

Open SubJunk opened this issue 3 years ago • 4 comments
trafficstars

I think this was a good suggestion in this discussion https://github.com/UniversalMediaServer/UniversalMediaServer/discussions/2949

SubJunk avatar Apr 28 '22 21:04 SubJunk

I am willing to take on this one.

CodeLover254 avatar Oct 09 '22 04:10 CodeLover254

Ok great. How would you do it?

SubJunk avatar Oct 09 '22 08:10 SubJunk

I am still trying to find out if the settings are saved somewhere in a db table(s). If they are we can export the settings to a JSON file maybe. I am not sure of the term 'drives' the user suggested in the discussion. Did it mean the shared folders where media is stored?

CodeLover254 avatar Oct 10 '22 08:10 CodeLover254

Normally, all settings, databases and temp files are located on profile folder or appdata folder.

On the root : UMS.conf (apache conf file) : Most of the settings are stored here. WEB.conf (web feeds and streams) VirtualFolders.conf (virtual folders) UMS.cred : creds for opensubtitles and web interface ffmpeg.webfilters : ffmpeg web filters

UMS.dat : file that keep the WindowProperties -> not to be saved.

On the renderers folder : You have the customized renderer's conf files and images.

On the data folder : Files that relate to temp locale things (pid / playlists / resume files) -> not to be saved.

On the database folder : The database where UMS store medias datas -> maybe not to be saved as it is file location related.

  • Did it mean the shared folders where media is stored?

I think so, it is already included in UMS.conf.

SurfaceS avatar Oct 15 '22 08:10 SurfaceS