Skip to content

Portable Mode #50

@derekpert

Description

@derekpert

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.

Activity

lucasew

lucasew commented on Dec 21, 2019

@lucasew

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @lucasew@derekpert

        Issue actions

          Portable Mode · Issue #50 · nmaier/simpleDLNA