#ifndef SETTINGS_H #define SETTINGS_H #define SERVER_ENDPOINT "http://184.105.49.49:5069" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "FreeMonoBold_ttf.h" extern int net_init(); extern char* TempVal; typedef struct disks{ int ntfsc; bool sdfat; bool usbfat; ntfs_md *ntfsv; }disks; typedef struct dlf{ FILE* fp; char fnam[1000]; char fnam2[500]; int fileid; int fileindex; }dlf; void SetRoot(char* rootdir); char* FileNameParse(char* path); void DLFhandler(dlf* dl,size_t real); void OpenPlaylistFile(char* playlist); char* PLTXTDIR(); char* OpenFile(char* fname); char* OpenPlaylistVideoFile(char* playlist,char* video); char* OpenPlaylistDescFile(char* playlist,char* video); char* OpenDescFile(char* video); FILE* HistoryRead(); FILE* HistoryAppend(); int UsingIRFeatures(); disks* FileSystemDrivers(); void WriteFile2PL(char* fil,char* type,char* url,char* filename); void CreatePL(char* fil); char* CreatePL2(char* fil); char* OpenVideoFile(char* filename); char* ThumbnailFileName(char* filename); int ThumbnailExists(char* id); int CreateFolders(); char* ThumbnailURL(char* id); char* ThumbnailURLAlt(char* id,char* res); FILE* PlaylistTXT(char* fil); char* Temp(); char* AppConfig(); void DeleteTemp(); void SwitchIR(); #endif