Skip to content

Commit

Permalink
Fix Video getGenre and getAlbumArtist wrong data
Browse files Browse the repository at this point in the history
  • Loading branch information
9x3l6 authored and norkunas committed Dec 20, 2023
1 parent 3699b66 commit 7a27e42
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 7a27e42

Please sign in to comment.