Skip to content

Updates the types to include value inside of Genre#10

Merged
explodingcamera merged 1 commit intoexplodingcamera:mainfrom
vMohammad24:main
Jan 28, 2025
Merged

Updates the types to include value inside of Genre#10
explodingcamera merged 1 commit intoexplodingcamera:mainfrom
vMohammad24:main

Conversation

@vMohammad24
Copy link
Copy Markdown
Contributor

Adds value in genre when sending a request to getGenres.

Possible JSON response:

    "subsonic-response": {
        "status": "ok",
        "version": "1.16.1",
        "type": "navidrome",
        "serverVersion": "0.54.3 (734eb30a)",
        "openSubsonic": true,
        "genres": {
            "genre": [
                {
                    "value": "Rap",
                    "songCount": 2065,
                    "albumCount": 296
                },
                {
                    "value": "Hip-Hop",
                    "songCount": 1926,
                    "albumCount": 276
                }
            ]
        }
    }
}```

Adds value in genre when sending a request to getGenres.

Possible JSON response:

{
    "subsonic-response": {
        "status": "ok",
        "version": "1.16.1",
        "type": "navidrome",
        "serverVersion": "0.54.3 (734eb30a)",
        "openSubsonic": true,
        "genres": {
            "genre": [
                {
                    "value": "Rap",
                    "songCount": 2065,
                    "albumCount": 296
                },
                {
                    "value": "Hip-Hop",
                    "songCount": 1926,
                    "albumCount": 276
                }
            ]
        }
    }
}
@explodingcamera explodingcamera merged commit ae6a7b7 into explodingcamera:main Jan 28, 2025
@explodingcamera
Copy link
Copy Markdown
Owner

Thanks for the PRs 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants