Add code to add track to DB and remove old ones that are gone. Added fingerprint lib to link for id-ing tracks. Make sure DB is logical after these changes. Change music path due to complaints I don't quite understand.

This commit is contained in:
Kevin Whitaker
2017-01-30 22:48:13 -05:00
parent 50f30d494f
commit 83efc750eb
6 changed files with 99 additions and 7 deletions

View File

@@ -5,12 +5,14 @@
# GROOVE_FOUND
# GROOVE_INCLUDE_DIR
# GROOVE_LIBRARY
# GROOVE_FINGERPRINT_LIBRARY
find_path(GROOVE_INCLUDE_DIR NAMES groove/groove.h)
find_library(GROOVE_LIBRARY NAMES groove)
find_library(GROOVE_FINGERPRINT_LIBRARY NAMES groovefingerprinter)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GROOVE DEFAULT_MSG GROOVE_LIBRARY GROOVE_INCLUDE_DIR)
find_package_handle_standard_args(GROOVE DEFAULT_MSG GROOVE_LIBRARY GROOVE_FINGERPRINT_LIBRARY GROOVE_INCLUDE_DIR)
mark_as_advanced(GROOVE_INCLUDE_DIR GROOVE_LIBRARY)
mark_as_advanced(GROOVE_INCLUDE_DIR GROOVE_LIBRARY GROOVE_FINGERPRINT_LIBRARY)