from charts.views import (
    BandcampTracksView,
    BirdsChartView,
    ChartDetailView,
    ChartRecordView,
    SpotifyTracksView,
)
from django.urls import path

app_name = "charts"

urlpatterns = [
    path("charts/", ChartRecordView.as_view(), name="charts-home"),
    path("charts/spotify/", SpotifyTracksView.as_view(), name="spotify-tracks"),
    path("charts/bandcamp/", BandcampTracksView.as_view(), name="bandcamp-tracks"),
    path("charts/birds/", BirdsChartView.as_view(), name="birds-chart"),
    path("charts/<slug:media_type>/", ChartDetailView.as_view(), name="chart-detail"),
]
