TheFuzzball/musicme-server — Issue #3: Expose an API method for getting the scanning status.
Author: TheFuzzball
Created: 2011-12-30 03:28:01+00:00
State: open

Scanning is now triggered via the API (/collection/update), for the sake of the client UI, it would be nice to have a method for getting the scanning status, e.g. n of N tracks scanned, number of tracks, artists, albums and genres, etc. Preferably exposed at /collection/status, with an added property to determine if scanning is taking place or not.

Along the lines of:

{
scanning : true,
itemsToScan : 10000,
artistCount : 123,
albumCount: 321,
trackCount : 1234,
genreCount: 12
}