mirror of
https://github.com/Goldenkrew3000/OSSP_OpenSource.git
synced 2026-02-16 12:15:17 +10:00
Bugs fixed and features: - Creating the database and adding songs in the same run would fail - Songs with multiple artists are now separated with ', ' instead of the ID3 ';' - Excluded .mp4 files from the song list - Songs aren't scanned and duplicated on every start - General cleanup and memory leak fixes
27 lines
551 B
C++
27 lines
551 B
C++
/*
|
|
* OpenSubsonicPlayer
|
|
* Goldenkrew3000 2025
|
|
* License: GNU General Public License 3.0
|
|
*/
|
|
|
|
#ifndef _LOCALMUSICHANDLER_H
|
|
#define _LOCALMUSICHANDLER_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif // __cplusplus
|
|
|
|
void localMusicHandler_scan();
|
|
void localMusicHandler_scanDirectory(char* directory);
|
|
void localMusicHandler_scanFile(int idx);
|
|
void localMusicHandler_generateUid(int idx);
|
|
|
|
int localMusicHandler_initDatabase();
|
|
void localMusicHandler_moveSongsToDatabase(int idx);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif // __cplusplus
|
|
|
|
#endif // _LOCALMUSICHANDLER_H
|