24 lines
369 B
Python
24 lines
369 B
Python
"""Subsonic annotation endpoints: star, rating, scrobble."""
|
|
|
|
from typing import Any
|
|
|
|
from fastapi import APIRouter
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
@router.get("/star")
|
|
async def star() -> Any: ...
|
|
|
|
|
|
@router.get("/unstar")
|
|
async def unstar() -> Any: ...
|
|
|
|
|
|
@router.get("/setRating")
|
|
async def set_rating() -> Any: ...
|
|
|
|
|
|
@router.get("/scrobble")
|
|
async def scrobble() -> Any: ...
|