tinyMediaManager profiles

3 minute read

tinyMediaManager v5 will be able to write your data into the systems default locations if you don’t use the portable version:

Windows: C:\Users\username\AppData\Roaming macOS: ~/Library/Application Support/tinyMediaManager Linux: ~/.local/share/tinyMediaManager

But what about using only one tinyMediaManager instance with multiple “profiles”? Especially for macOS this is needed since there is no more a portable version for macOS.

tinyMediaManager v5 offers now a new start parameter for setting the profile path, which needs to be set while starting tinyMediaManager:

Windows

You can create a new shortcut to your tinyMediaManager.exe (right click the tinyMediaManager.exe and choose “New - Shortcut”) and add the start parameter -Dtmm.contentfolder='<path_to_data>' to the shortcut (right click, choose “Properties” and enter the parameter after the executable).

macOS

Creating an alias with extra start parameters needs some extra steps on macOS

  1. Open Automator and create a new “AppleScript”
  2. Paste the following code into the AppleScript and replace your paths
    set tmm_POSIX_path to "-Dtmm.contentfolder='" & POSIX path of (path to library folder from user domain) & "/Application Support/tinyMediaManager2'"
    do shell script "open -a '/Applications/tinyMediaManager.app' --args " & tmm_POSIX_path
    

    or:

    do shell script "open -a '<path_to_tmm>/tinyMediaManager.app' --args -Dtmm.contentfolder='<path_to_data>'"
    
  3. Export the Automator script via “File - Export”
  4. Change the icon of the Automator script to the tmm icon by opening the app information of both apps (CMD + I or right click and choose Info). After that cou can simply select and copy the icon from the tinyMediaManager app (CMD + C) and paste it in your Automator script (CMD + V) - Example: https://apple.stackexchange.com/a/372

Linux

Just run the tinyMediaManager binary with the start parameter -Dtmm.contentfolder='<path_to_data>' or add the start parameter to the .desktop file.

Tags:

Categories:

Updated:

Manuel Laggner

Manuel Laggner

technic freak, linux user and programmer

Follow Manuel Laggner: