mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
539 B
539 B
Force
Force overwriting of duplicate playlists.
By default, a playlist file uploaded with the same path will overwrite the existing playlist.
The force argument is used to disable overwriting.
If the force argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.
Example Usage
import { Force } from "@lukehagar/plexjs";
let value: Force = Force.One;
Values
| Name | Value |
|---|---|
Zero |
0 |
One |
1 |