- name: Apple Music - Random track from playlist
  uses: lowlighter/metrics@latest
  with:
    filename: metrics.plugin.music.playlist.svg
    token: NOT_NEEDED
    base: ""
    plugin_music: yes
    plugin_music_playlist: https://embed.music.apple.com/fr/playlist/usr-share/pl.u-V9D7m8Etjmjd0D
    plugin_music_limit: 2

- name: Spotify - Random track from playlist
  uses: lowlighter/metrics@latest
  with:
    filename: metrics.plugin.music.playlist.spotify.svg
    token: NOT_NEEDED
    base: ""
    plugin_music: yes
    plugin_music_playlist: https://open.spotify.com/embed/playlist/3nfA87oeJw4LFVcUDjRcqi

- name: Spotify - Recently listed
  uses: lowlighter/metrics@latest
  with:
    filename: metrics.plugin.music.recent.svg
    token: NOT_NEEDED
    base: ""
    plugin_music: yes
    plugin_music_provider: spotify
    plugin_music_mode: recent
    plugin_music_token: ${{ secrets.SPOTIFY_TOKENS }}
    plugin_music_limit: 2

- name: Spotify - Top tracks
  uses: lowlighter/metrics@latest
  with:
    token: NOT_NEEDED
    base: ""
    plugin_music: yes
    plugin_music_mode: top
    plugin_music_provider: spotify
    plugin_music_token: ${{ secrets.SPOTIFY_TOKENS }}
    plugin_music_time_range: short
    plugin_music_top_type: tracks

- name: Spotify - Top artists
  uses: lowlighter/metrics@latest
  with:
    token: NOT_NEEDED
    base: ""
    plugin_music: yes
    plugin_music_mode: top
    plugin_music_provider: spotify
    plugin_music_token: ${{ secrets.SPOTIFY_TOKENS }}
    plugin_music_time_range: long
    plugin_music_top_type: artists

- name: Youtube Music - Random track from playlist
  uses: lowlighter/metrics@latest
  with:
    token: NOT_NEEDED
    base: ""
    plugin_music: yes
    plugin_music_playlist: https://music.youtube.com/playlist?list=OLAK5uy_kU_uxp9TUOl9zVdw77xith8o9AknVwz9U

- name: Youtube Music - Recently listed
  uses: lowlighter/metrics@latest
  with:
    token: NOT_NEEDED
    base: ""
    plugin_music_token: ${{ secrets.YOUTUBE_MUSIC_TOKENS }}
    plugin_music: yes
    plugin_music_mode: recent
    plugin_music_provider: youtube
  prod:
    skip: true

- name: Last.fm  - Recently listed
  uses: lowlighter/metrics@latest
  with:
    token: NOT_NEEDED
    base: ""
    plugin_music_token: ${{ secrets.LASTFM_TOKEN }}
    plugin_music: yes
    plugin_music_provider: lastfm
    plugin_music_user: RJ
  prod:
    skip: true