feat(translate): translate a whole playlist so the next episodes are ready (#16)
Co-authored-by: Tri Vo Khac <git@trivk.dev>
This commit was merged in pull request #16.
This commit is contained in:
1 parent
ad50230829
commit
bcfc2f3f6a
13 files changed
+480
-61
No files matched your search
@@ -278,6 +278,11 @@ QUrl PlaylistModel::urlAt(int index) const
|
||||
return m_urls.value(index);
|
||||
}
|
||||
|
||||
QList<QUrl> PlaylistModel::urls() const
|
||||
{
|
||||
return m_urls;
|
||||
}
|
||||
|
||||
void PlaylistModel::setPlayingIndex(int index)
|
||||
{
|
||||
if (index == m_playingIndex) {
|
||||
|
||||
@@ -59,6 +59,7 @@ public:
|
||||
Q_INVOKABLE void move(int from, int to);
|
||||
Q_INVOKABLE void clear();
|
||||
Q_INVOKABLE QUrl urlAt(int index) const;
|
||||
Q_INVOKABLE QList<QUrl> urls() const;
|
||||
|
||||
// Media files directly inside \a folder, sorted the way a file manager does
|
||||
// ("Episode 2" before "Episode 10").
|
||||
|
||||
Reference in new issue
Block a user