Skip to content

Commit

Permalink
Merge pull request #221 from norkunas/fix-data-access
Browse files Browse the repository at this point in the history
Fix Video getGenre and getAlbumArtist wrong data
  • Loading branch information
norkunas authored Dec 20, 2023
2 parents 3699b66 + 7a27e42 commit 7dc9ef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Entity/Video.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public function getArtist(): ?string

public function getGenre(): ?string
{
return $this->get('track');
return $this->get('genre');
}

public function getAlbum(): ?string
Expand All @@ -389,7 +389,7 @@ public function getAlbumType(): ?string

public function getAlbumArtist(): ?string
{
return $this->get('track');
return $this->get('album_artist');
}

public function getDiscNumber(): ?int
Expand Down

0 comments on commit 7dc9ef4

Please sign in to comment.