Merge pull request #1187 from GilgusMaximus/development

Fix for missing import of marked as watched videos & publish date displayed
This commit is contained in:
Luca Hohmann 2021-04-10 22:09:38 +02:00 committed by GitHub
commit e119e8305b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -929,7 +929,7 @@ export default Vue.extend({
}
})
if (Object.keys(historyObject).length < requiredKeys.length) {
if (Object.keys(historyObject).length < (requiredKeys.length - 2)) {
this.showToast({
message: this.$t('Settings.Data Settings.History object has insufficient data, skipping item')
})

View File

@ -383,7 +383,7 @@ export default Vue.extend({
title: this.title,
author: this.channelName,
authorId: this.channelId,
published: '',
published: this.publishedText.split(',')[0],
description: this.description,
viewCount: this.viewCount,
lengthSeconds: this.data.lengthSeconds,
@ -393,9 +393,7 @@ export default Vue.extend({
paid: false,
type: 'video'
}
this.updateHistory(videoData)
this.showToast({
message: this.$t('Video.Video has been marked as watched')
})