I use gonic
to serve up my music collection via subsonic API, then have play:sub and/or substreamer ios apps that use/pull from it. gonic can scrobble for you when clients play songs. Combined that with majola
for self-hosted scrobbling for the last 18 months Ive been quite happy with it.
Did you see Bob Loblaw lob a law bomb on bob loblaws law blog?