-
I am attempting to integrate YouTube Music into my metrics setup using the following configuration: plugin_music: yes However, the plugin does not seem to work as expected. I have checked similar discussions and resources but could not find a resolution. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The issue arises because a standard YouTube URL was provided instead of a YouTube Music URL. To resolve this, follow these steps: Correcting the URL
Correct ConfigurationUpdate your configuration file to include the correct YouTube Music URL. Here’s how it should look: plugin_music: yes
plugin_music_provider: youtube
plugin_music_playlist: YouTube Music URL |
Beta Was this translation helpful? Give feedback.
-
help me to delete the workflow my code name: Metrics
on:
schedule: [ { cron: "0 0 * * *" } ]
workflow_dispatch:
push:
branches:
- main
jobs:
github-metrics:
runs-on: ubuntu-latest
environment:
name: production
permissions:
actions: write
contents: write
steps:
- name: Generate GitHub metrics
uses: lowlighter/metrics@latest
with:
token: ${{ secrets.METRICS_TOKEN }}
optimize: css, xml, svg
experimental_features: --optimize-svg
output_condition: data-changed
plugin_isocalendar: yes
plugin_languages: yes
plugin_licenses: yes
plugin_stars: yes
plugin_introduction: yes
plugin_habits: yes
plugin_habits_facts: yes
plugin_habits_charts: yes
plugin_people: yes
plugin_achievements: yes
plugin_activity: yes
plugin_calendar: yes
plugin_notable: yes |
Beta Was this translation helpful? Give feedback.
-
use like this ame: Metrics
on:
schedule: [ { cron: "0 0 * * *" } ]
workflow_dispatch:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
github-metrics:
runs-on: ubuntu-latest
environment:
name: production
permissions:
actions: write
contents: write
steps:
- name: Generate GitHub metrics
uses: lowlighter/metrics@latest
with:
token: ${{ secrets.METRICS_TOKEN }}
optimize: css, xml, svg
experimental_features: --optimize-svg
output_condition: data-changed
plugin_isocalendar: yes
plugin_languages: yes
plugin_licenses: yes
plugin_stars: yes
plugin_introduction: yes
plugin_habits: yes
plugin_habits_facts: yes
plugin_habits_charts: yes
plugin_people: yes
plugin_achievements: yes
plugin_activity: yes
plugin_calendar: yes
plugin_notable: yes
- name: Delete old workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 30
keep_minimum_runs: 6 |
Beta Was this translation helpful? Give feedback.
The issue arises because a standard YouTube URL was provided instead of a YouTube Music URL. To resolve this, follow these steps:
Correcting the URL
Correct Configuration
Update your configuration file to include the correct YouTube Music URL. Here’s how it should look: