Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### TheKevinator's Upcoming Calendars services.yml for Homepage ###
- ### Reference Olaf's original code - https://pastebin.com/YjBnq2yr ###
- ### Replace the variables as necessary for your setup ###
- ### You can find the animedubs calendar from the /Animedubs subreddit ###
- ### This requires you to use Tautulli ###
- ########################################################################
- - Calendars:
- - Upcoming TV Shows:
- icon: sonarr.svg
- widget:
- type: calendar
- firstDayInWeek: monday
- view: agenda
- maxEvents: 8
- showTime: true
- integrations:
- - type: ical
- url: https://sonarr.{{HOMEPAGE_VAR_DOMAIN_NAME}}/feed/v3/calendar/Sonarr.ics?apikey={{HOMEPAGE_VAR_SONARR_API}} # iCal URL
- name: TV Shows # Required
- color: orange # Optional
- params:
- showName: false
- - Upcoming Animes:
- icon: /images/Video2.png
- widget:
- type: calendar
- firstDayInWeek: monday
- view: agenda
- maxEvents: 8
- showTime: true
- integrations:
- - type: ical
- url: "{{HOMEPAGE_VAR_ANIMECALENDAR_URL}}" # iCal URL
- name: Dubbed Animes # Required
- color: blue # Optional
- params:
- showName: false
- ##################################################################################
- # Shows
- ##################################################################################
- - Recently Added Shows:
- icon: sonarr.svg
- id: list
- widget:
- type: customapi
- url: http://{{HOMEPAGE_VAR_LOCAL_IP}}:8181/api/v2?apikey={{HOMEPAGE_VAR_TAUTULLI_API}}&cmd=get_recently_added&count=6&media_type=episode§ion_id=3
- display: list
- mappings:
- - field:
- response:
- data:
- recently_added:
- 0: grandparent_title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 0: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- - field:
- response:
- data:
- recently_added:
- 1: grandparent_title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 1: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- - field:
- response:
- data:
- recently_added:
- 2: grandparent_title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 2: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- - field:
- response:
- data:
- recently_added:
- 3: grandparent_title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 3: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- - field:
- response:
- data:
- recently_added:
- 4: grandparent_title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 4: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- - field:
- response:
- data:
- recently_added:
- 5: grandparent_title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 5: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- ##################################################################################
- # Movies
- ##################################################################################
- - Recently Added Movies:
- icon: radarr.svg
- id: list
- widget:
- type: customapi
- url: http://{{HOMEPAGE_VAR_LOCAL_IP}}:8181/api/v2?apikey={{HOMEPAGE_VAR_TAUTULLI_API}}&cmd=get_recently_added&count=6&media_type=movie
- display: list
- mappings:
- - field:
- response:
- data:
- recently_added:
- 0: title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 0: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- - field:
- response:
- data:
- recently_added:
- 1: title
- color: theme
- additionalField:
- field:
- response:
- data:
- recently_added:
- 1: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- - field:
- response:
- data:
- recently_added:
- 2: title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 2: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- - field:
- response:
- data:
- recently_added:
- 3: title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 3: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- - field:
- response:
- data:
- recently_added:
- 4: title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 4: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- - field:
- response:
- data:
- recently_added:
- 5: title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 5: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- ##################################################################################
- # Animes
- ##################################################################################
- - Recently Added Animes:
- icon: sonarr.svg
- id: list
- widget:
- type: customapi
- url: http://{{HOMEPAGE_VAR_LOCAL_IP}}:8181/api/v2?apikey={{HOMEPAGE_VAR_TAUTULLI_API}}&cmd=get_recently_added&count=6&media_type=episode§ion_id=4
- display: list
- mappings:
- - field:
- response:
- data:
- recently_added:
- 0: grandparent_title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 0: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- - field:
- response:
- data:
- recently_added:
- 1: grandparent_title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 1: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- - field:
- response:
- data:
- recently_added:
- 2: grandparent_title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 2: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- - field:
- response:
- data:
- recently_added:
- 3: grandparent_title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 3: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- - field:
- response:
- data:
- recently_added:
- 4: grandparent_title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 4: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
- - field:
- response:
- data:
- recently_added:
- 5: grandparent_title
- additionalField:
- field:
- response:
- data:
- recently_added:
- 5: added_at
- scale: 1000
- format: relativeDate # if date, uncomment dateStyle & timeStyle if required
- locale: en-GB
- numeric: auto
- style: narrow # long, short, narrow
- # dateStyle: medium # ["full", "long", "medium", "short"]
- # timeStyle: medium # ["full", "long", "medium", "short"]
- color: theme
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement