kodi
PlayListM3U.h
1 /*
2  * Copyright (C) 2005-2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include "PlayList.h"
12 #include "URL.h"
13 
14 namespace PLAYLIST
15 {
16 class CPlayListM3U :
17  public CPlayList
18 {
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;
29 
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;
35 
36  static std::map<std::string,std::string> ParseStreamLine(const std::string &streamLine);
37 };
38 }
Definition: Application.h:62
Definition: PlayList.h:23
Definition: PlayListM3U.h:16