nmaier/simpleDLNA

Portable Mode

Opened this issue · 1 comments

Love it. However:

Portable mode is not truly complete/working on Windows. Downloading the 7-zip payload and running SimpleDLNA.exe leaves behind application settings in the registry. Proof: If I set options, close the server, re-extract the 7-zip, completely replace the old files, and re-launch the server, my previous options/settings are still there (e.g., pre-set folders to scan for media). This means the 7-zip download option does not meet the usual expectation that it will behave "portable" (meaning: will only ever store user config data inside the application folder).

Is there an instruction for how to change the default behavior and store all settings in application folder instead of registry? Then it would be true to claim, "portable". Thank you.

I just made a script in my external HD to open sdlna to expose my media dirs. I dont know if it alters the registry but is working very fast with the tiny library I have in my HD.

%PREFIX% is defined by another script that also add sdlna directory to %PATH%

In the root of my external HD I have a script that loads that script that populates path and run this script, then I can rapidly start a server in any PC just running it via Run xD

shift
set PARAMS=%*
pushd %PREFIX%DADOS\Lucas\Videos
call sdlna .
popd