let output = '';
if (Application('iTunes').running()) {
    const track = Application('iTunes').currentTrack;
    const artist = track.artist();
    const title = track.name();
    output = (`♫ ${title} - ${artist}`).substr(0, 50);
}

output;

let output = '';
if (Application('iTunes').running()) {
    const track = Application('iTunes').currentTrack;
    const artist = track.artist();
    const title = track.name();
    output = (`♫ ${title} - ${artist}`).substr(0, 50);
} /*else if (Application('Spotify').running()) {
    const track = Application('Spotify').currentTrack;
    const artist = track.artist();
    const title = track.name();
    output = (`♫ ${title} - ${artist}`).substr(0, 50);
}*/

output;

disable Spotify tunes checking