crustymonkey/py-sonic — pull request #4 by beallio (2014-07-02 20:21:07+00:00)
Title: Add 2 unofficial API calls: Clean up database, and refresh.

Add 2 unofficial API calls:

### cleanupDatabase
> Same as selecting 'Settings' > 'Clean-up Database' with Subsonic web GUI
>
> Subsonic stores information about all media files ever encountered. By cleaning up the database,
> information about files that are no longer in your media collection is permanently removed.
>
> returns True if initiated successfully, False otherwise

### scanMediaFolders
> Same as selecting 'Settings' > 'Scan media folders now' with Subsonic web GUI
>
> Refreshes Subsonic media database.
>
> returns True if initiated successfully, False otherwise