Fix for missing import of marked as watched videos
This commit is contained in:
		
							parent
							
								
									edb6de2e88
								
							
						
					
					
						commit
						58882b3e16
					
				| 
						 | 
					@ -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({
 | 
					              this.showToast({
 | 
				
			||||||
                message: this.$t('Settings.Data Settings.History object has insufficient data, skipping item')
 | 
					                message: this.$t('Settings.Data Settings.History object has insufficient data, skipping item')
 | 
				
			||||||
              })
 | 
					              })
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -383,7 +383,7 @@ export default Vue.extend({
 | 
				
			||||||
        title: this.title,
 | 
					        title: this.title,
 | 
				
			||||||
        author: this.channelName,
 | 
					        author: this.channelName,
 | 
				
			||||||
        authorId: this.channelId,
 | 
					        authorId: this.channelId,
 | 
				
			||||||
        published: '',
 | 
					        published: this.publishedText.split(',')[0],
 | 
				
			||||||
        description: this.description,
 | 
					        description: this.description,
 | 
				
			||||||
        viewCount: this.viewCount,
 | 
					        viewCount: this.viewCount,
 | 
				
			||||||
        lengthSeconds: this.data.lengthSeconds,
 | 
					        lengthSeconds: this.data.lengthSeconds,
 | 
				
			||||||
| 
						 | 
					@ -393,9 +393,7 @@ export default Vue.extend({
 | 
				
			||||||
        paid: false,
 | 
					        paid: false,
 | 
				
			||||||
        type: 'video'
 | 
					        type: 'video'
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					 | 
				
			||||||
      this.updateHistory(videoData)
 | 
					      this.updateHistory(videoData)
 | 
				
			||||||
 | 
					 | 
				
			||||||
      this.showToast({
 | 
					      this.showToast({
 | 
				
			||||||
        message: this.$t('Video.Video has been marked as watched')
 | 
					        message: this.$t('Video.Video has been marked as watched')
 | 
				
			||||||
      })
 | 
					      })
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue