17 #include "threads/Thread.h" 38 int64_t GetPosition()
override;
39 int64_t GetLength()
override;
40 bool Open(
const CURL& url)
override;
41 bool Exists(
const CURL& url)
override {
return true; }
42 int Stat(
const CURL& url,
struct __stat64* buffer)
override 47 ssize_t Read(
void* lpBuf,
size_t uiBufSize)
override;
48 int64_t Seek(int64_t iFilePosition,
int iWhence = SEEK_SET)
override;
49 void Close()
override;
50 int IoControl(EIoControl request,
void* param)
override;
52 void Process()
override;
54 bool ExtractTagInfo(
const char* buf);
55 void ReadTruncated(
char* buf2,
int size);
58 std::string DecodeToUTF8(
const std::string& str);
61 std::string m_fileCharset;
70 CCriticalSection m_tagSection;
71 using TagInfo = std::pair<int64_t, std::shared_ptr<MUSIC_INFO::CMusicInfoTag>>;
72 std::queue<TagInfo> m_tags;
73 std::shared_ptr<MUSIC_INFO::CMusicInfoTag> m_masterTag;
This is an Event class built from a ConditionVariable.
Definition: Event.h:35
Definition: ShoutcastFile.h:33
Definition: FileCache.h:23
Definition: CurlFile.h:24
int Stat(const CURL &url, struct __stat64 *buffer) override
Fills struct __stat64 with information about file specified by url.
Definition: ShoutcastFile.h:42
Definition: Application.h:79