Includes, comments and bugfixes

- Fix includes
- Use common regex (Song::kCoverRemoveDisc) for removing Disc/CD from album
- Remove Disc/CD from album when creating hash
- Make imobiledevice support compile
- Fix setting device on windows
This commit is contained in:
Jonas Kvinge
2018-05-01 00:41:33 +02:00
parent fccbd6790c
commit e337b7933b
518 changed files with 7003 additions and 4693 deletions

View File

@@ -23,17 +23,21 @@
#include "config.h"
#include "playlistitem.h"
#include <stdbool.h>
#include <QString>
#include <QUrl>
#include "core/song.h"
#include "collection/sqlrow.h"
#include "playlistitem.h"
class SongPlaylistItem : public PlaylistItem {
public:
SongPlaylistItem(const QString& type);
SongPlaylistItem(const Song& song);
SongPlaylistItem(const QString &type);
SongPlaylistItem(const Song &song);
// Restores a stream- or file-related playlist item using query row.
// If it's a file related playlist item, this will restore it's CUE
// attributes (if any) but won't parse the CUE!
// If it's a file related playlist item, this will restore it's CUE attributes (if any) but won't parse the CUE!
bool InitFromQuery(const SqlRow& query);
void Reload();