Merge pull request #22816 from CastagnaIT/fix_tx3g
[xbmc.git] / xbmc / playlists / PlayListM3U.h
blob467ed30db82381a2133eaaf281090f22b28ecd6f
1 /*
2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 #include "PlayList.h"
12 #include "URL.h"
14 namespace PLAYLIST
16 class CPlayListM3U :
17 public CPlayList
19 public:
20 static const char *StartMarker;
21 static const char *InfoMarker;
22 static const char *ArtistMarker;
23 static const char *AlbumMarker;
24 static const char *PropertyMarker;
25 static const char *VLCOptMarker;
26 static const char *StreamMarker;
27 static const char *BandwidthMarker;
28 static const char *OffsetMarker;
30 public:
31 CPlayListM3U(void);
32 ~CPlayListM3U(void) override;
33 bool Load(const std::string& strFileName) override;
34 void Save(const std::string& strFileName) const override;
36 static std::map<std::string,std::string> ParseStreamLine(const std::string &streamLine);