Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 376
    • Issues 376
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhalefunkwhale
  • funkwhalefunkwhale
  • Issues
  • #624
Closed
Open
Issue created Nov 27, 2018 by MichaelBechHansen@MichaelBechHansen

Subsonic API: getUser does not send populated folder list

The "getUser" endpoint in the Subsonic API does not return the allowed set folder mediafolders, but instead returns an empty list.

Response from a Subsonic server:

{
  "subsonic-response": {
    "status": "ok",
    "version": "1.16.1",
    "user": {
      "username": "user",
...
      "folder": [
        0,
        2,
        3
      ]
    }
  }
}

Response from funkwhale 0.17

{
  "subsonic-response": {
    "status": "ok",
    "version": "1.16.0",
    "type": "funkwhale",
    "funkwhaleVersion": "0.17",
    "user": {
      "username": "demo",
...
      "folder": [
      ]
    }
  }
}

Expected content of the "folder" list would be the same list of folder-ids as returned by the "getMusicFolders" endpoint ([1]):

{
  "subsonic-response": {
    "status": "ok",
    "version": "1.16.0",
    "type": "funkwhale",
    "funkwhaleVersion": "0.17",
    "musicFolders": {
      "musicFolder": [
        {
          "id": 1,
          "name": "Music"
        }
      ]
    }
  }
}
Edited Dec 01, 2018 by Ghost User
Assignee
Assign to
Time tracking