mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Include missing info in YSFormat for comics.
This commit is contained in:
parent
ab795212c6
commit
2aa5c00d34
@ -12,12 +12,15 @@ QString YACReaderServerDataHelper::folderToYSFormat(const qulonglong libraryId,
|
||||
|
||||
QString YACReaderServerDataHelper::comicToYSFormat(const qulonglong libraryId,const ComicDB & comic)
|
||||
{
|
||||
return QString("c\t%1\t%2\t%3\t%4\t%5\r\n")
|
||||
return QString("c\t%1\t%2\t%3\t%4\t%5\t%6\t%7\t%8\r\n")
|
||||
.arg(libraryId)
|
||||
.arg(comic.id)
|
||||
.arg(comic.getFileName())
|
||||
.arg(comic.getFileSize())
|
||||
.arg(comic.info.hash);
|
||||
.arg(comic.info.hash)
|
||||
.arg(comic.info.currentPage)
|
||||
.arg(comic.info.numPages.toInt())
|
||||
.arg(comic.info.read?1:0);
|
||||
}
|
||||
|
||||
YACReaderServerDataHelper::YACReaderServerDataHelper() {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user