What is a Profile?
A profile is a configuration file set up in PLM to handle similar types of files. For example, the scrapers used for scraping AV files and movies are different, and the fields that can be set (such as region/language) may also be inconsistent. In this case, it is more convenient to set files to use different profiles, such as separating jav profiles and movie profiles. Profile configuration files are stored in the config\profile folder.
How to Set a Profile
In the file properties, there is a "Profile" field that can be set to different profile names.
How to Configure a Profile
In the PLM installation folder \config\profile folder, you can create a new "profilename.ini" (e.g., "jav.ini") and save it in UTF8 format with BOM.
- [Settings]
Overall configuration section
- Name=JAV
Profile display name
- CfgType=profile
Fixed value "profile"
- Table=mfile;fsfile
List of applicable tables
- Author=xxx
Author name
- Version=0.1
Version number
- Date=yyy
Date
- Help=zzz
Help information
- EventCount=1
Number of following event sections [Event#]
- Scraper=javdb;javbus
List of default scrapers
- [Event#]
Configuration of event N, # is a natural number, starting from 1, the maximum value is configured by [Settings].EventCount
- Name=ImportAdd
Event name is ImportAdd, which plays a role in this event
- SetFields=fld1:val1|fld2:val2
List of "field:value" to set in the table, separated by ":" between field and value, separated by "|" between multiple fields
- SetUI=ctrl1:val1|ctrl2:val2
List of "control name:value" to set for UI controls, separated by ":" between control name and value, separated by "|" between multiple controls
- AddTags=tag1;tag2;tag3
Automatically add tags
- BeforeScript=filename
Script file name to run before the event is triggered
- BeforeScriptParams=
Script parameters to run before the event is triggered
- AfterScript=filename
Script file name to run after the event is triggered
- AfterScriptParams=
Script parameters to run after the event is triggered