Files
OSSP_Mirror/src/localMusicHandler.hpp
Goldenkrew3000 1f814fff6e localMusicHandler: General Fixes
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
2026-02-14 02:42:04 +10:00

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