Skip to content

Commit

Permalink
More options for album in track info menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLauinger77 committed Dec 3, 2023
1 parent 9b7378a commit cc3a181
Show file tree
Hide file tree
Showing 4 changed files with 213 additions and 195 deletions.
12 changes: 6 additions & 6 deletions player.js
Original file line number Diff line number Diff line change
Expand Up @@ -1099,14 +1099,14 @@ export const Player = GObject.registerClass(
} else {
sepLabel = ` ${sepLabel} `;
}
let labelartist = this.artist === _("Unknown artist") ? null : this.artist;
let labelalbum = this.album === _("Unknown album") ? null : this.album;
const labelEls = {
track: this.title,
trackalbum: this.title + sepLabel + labelartist,
artist: labelartist,
artistalbum: labelartist + sepLabel + labelalbum,
album: labelalbum,
trackalbum: this.title + sepLabel + this.album,
artist: this.artist,
artistalbum: this.artist + sepLabel + this.album,
album: this.album,
albumartist: this.album + sepLabel + this.artist,
albumtrack: this.album + sepLabel + this.title,
url: this.url,
name: this.name,
status: this._status,
Expand Down
Loading

0 comments on commit cc3a181

Please sign in to comment.