Migration to new soundtrack title struct

This commit is contained in:
2018-04-08 22:23:07 +02:00
parent dea33ab01d
commit 1ba0da36e2
9 changed files with 29 additions and 19 deletions

View File

@ -260,7 +260,7 @@ export default class AudioPlayer {
let trackInfoResponse = await fetch("/api/soundtrack/" + trackId)
let track = await trackInfoResponse.json()
this.trackLink.href = "/soundtrack/" + track.id
this.trackLink.innerText = track.title
this.trackLink.innerText = track.title.canonical || track.title.native
let animeId = ""