TrueChartsClone/charts/incubator/plex-playlist-sync/questions.yaml

181 lines
5.9 KiB
YAML
Raw Normal View History

add(plex-playlist-sync) add Plex Playlist Sync (#12166) **Description** <!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. --> Hello, this is my attempt at adding Plex Playlist Sync to TrueCharts. The logo file was excluded because they don't have a logo. This app is quite simple in it's nature so I figured this would be a good first app contribution for me. Help/feedback/edits always welcome. Thank you! **⚙️ Type of change** - [X] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** <!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration --> I haven't tested this out, but because it's a relatively simple application I believe it should work - with the exception of it not yet being on the TCCR. Here is a link to my PR for the containers repository: https://github.com/truecharts/containers/pull/29169 **📃 Notes:** <!-- Please enter any other relevant information here --> Added the installation instructions for this application. I'm also unable to add a logo file due to this application not having a logo. **✔️ Checklist:** - [X] ⚖️ My code follows the style guidelines of this project - [X] 👀 I have performed a self-review of my own code - [X] #️⃣ I have commented my code, particularly in hard-to-understand areas - [X] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [X] ⬆️ I increased versions for any altered app according to semantic versioning **➕ App addition** If this PR is an app addition please make sure you have done the following. - [X] 🪞 I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --------- Signed-off-by: John P <emaltonator@gmail.com> Signed-off-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Co-authored-by: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com>
2023-09-03 23:02:21 +00:00
# Include{groups}
portals: {}
questions:
# Include{global}
# Include{workload}
# Include{workloadDeployment}
# Include{replicas1}
# Include{podSpec}
# Include{containerMain}
# Include{containerBasic}
# Include{containerAdvanced}
- variable: pps
group: App Configuration
label: Plex Playlist Sync
schema:
additional_attrs: true
type: dict
attrs:
- variable: plex
label: Plex Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: url
label: Url
description: The default assumes that your Plex chart is named plex.
schema:
type: string
required: true
default: "http://plex.ix-plex.svc.cluster.local:32400"
- variable: token
label: Token
description: Browse to a library item and click View as XML to get this token.
schema:
type: string
required: true
private: true
default: ""
- variable: spotify
label: Spotify Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: user_id
label: User Id
description: Also known as your Spotify username.
schema:
type: string
default: ""
- variable: client_id
label: Client Id
description: You need to create a developer account to get this.
schema:
type: string
private: true
default: ""
- variable: client_secret
label: Client Secret
description: You need to create a developer account to get this.
schema:
type: string
private: true
default: ""
- variable: deezer
label: Deezer Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: user_id
label: User Id
description: This is a numerical value that you can get from the profile page.
schema:
type: string
default: ""
- variable: playlist_id
label: Playlist Id
description: This is a list of numerical values that you can get from the playlist page.
schema:
type: list
default: []
items:
- variable: id
label: Id
schema:
type: string
required: true
default: ""
- variable: other
label: Other Configuration
schema:
additional_attrs: true
type: dict
attrs:
- variable: write_missing_as_csv
label: Write Missing Tracks to CSV
description: Write missing tracks from each playlist to a CSV file.
schema:
type: boolean
default: false
- variable: append_service_suffix
label: Append Service Suffix
description: Appends the service name (Deezer/Spotify) to the playlist name.
schema:
type: boolean
default: true
- variable: add_playlist_poster
label: Include Playlist Poster
description: Include the poster for each playlist.
schema:
type: boolean
default: true
- variable: add_playlist_description
label: Include Playlist Description
description: Include the description for each playlist.
schema:
type: boolean
default: true
- variable: append_instead_of_sync
label: Append Tracks Instead of Sync
description: Sync all tracks or append tracks only to a playlist.
schema:
type: boolean
default: false
- variable: seconds_to_wait
label: Seconds to Wait
description: The amount of time to wait before running this script.
schema:
type: int
default: 84000
# Include{podOptions}
# Include{serviceExpertRoot}
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
- variable: data
label: "data Storage"
schema:
additional_attrs: true
type: dict
attrs:
# Include{persistenceBasic}
# Include{persistenceList}
# Include{securityContextRoot}
- variable: runAsUser
label: "runAsUser"
description: "The UserID of the user running the application"
schema:
type: int
default: 0
- variable: runAsGroup
label: "runAsGroup"
description: "The groupID of the user running the application"
schema:
type: int
default: 0
# Include{securityContextContainer}
# Include{securityContextAdvanced}
# Include{securityContextPod}
- variable: fsGroup
label: "fsGroup"
description: "The group that should own ALL storage."
schema:
type: int
default: 568
# Include{resources}
# Include{advanced}
# Include{addons}
# Include{codeserver}
# Include{netshoot}
# Include{vpn}
# Include{documentation}