1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update recording styles

This commit is contained in:
Luke Pulverenti 2015-08-16 18:03:22 -04:00
parent f070369c6d
commit 28271a0867
6 changed files with 46 additions and 52 deletions

View file

@ -35,6 +35,14 @@
var artist = parts.length == 1 ? '' : parts[0];
var title = parts[parts.length - 1];
// Switch these two around for video
if (state.NowPlayingItem.MediaType == 'Video') {
var temp = artist;
artist = title;
title = temp;
}
var album = state.NowPlayingItem.Album || '';
var itemId = state.NowPlayingItem.Id;