Commit Graph

6 Commits

Author SHA1 Message Date
98d4709954 trackdb: Create an observer for when tracks are updated
And publish a notification after marking tracks as played.

Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2020-10-20 11:10:04 -04:00
c46f73cbc6 trackdb: Add lookup methods for track ids
Playlists will want to use this when reading saved state to figure out
what tracks they hold.

Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2020-10-11 10:03:16 -04:00
b3510f059a trackdb: Add library added and library removed notifications
Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2020-10-10 20:07:53 -04:00
66128e2144 trackdb: Send track added and track removed notifications
Note that these happen in the scanning thread, so callers may need to do
some work to put them in the main thread if needed.

Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2020-10-10 18:13:08 -04:00
27441b9b79 trackdb: Add a LibraryPath class for tracking multiple audio sources
Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2020-10-04 15:28:30 -04:00
a9f0ff8f8d trackdb: Add scaffolding for handling library paths
Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
2020-10-04 12:58:15 -04:00