Browse Source

add eps number to plex recent added

CauseFX 4 years ago
parent
commit
e218e6cdb2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/homepage/plex.php

+ 1 - 1
api/homepage/plex.php

@@ -484,7 +484,7 @@ trait PlexHomepageItem
 			case 'episode':
 			case 'episode':
 				$plexItem['type'] = 'tv';
 				$plexItem['type'] = 'tv';
 				$plexItem['title'] = (string)$item['grandparentTitle'];
 				$plexItem['title'] = (string)$item['grandparentTitle'];
-				$plexItem['secondaryTitle'] = (string)$item['parentTitle'];
+				$plexItem['secondaryTitle'] = (string)$item['parentTitle'] . ' - Episode ' . (string)$item['index'];
 				$plexItem['summary'] = (string)$item['title'];
 				$plexItem['summary'] = (string)$item['title'];
 				$plexItem['ratingKey'] = (string)$item['parentRatingKey'];
 				$plexItem['ratingKey'] = (string)$item['parentRatingKey'];
 				$plexItem['thumb'] = ($item['parentThumb'] ? (string)$item['parentThumb'] : (string)$item['grandparentThumb']);
 				$plexItem['thumb'] = ($item['parentThumb'] ? (string)$item['parentThumb'] : (string)$item['grandparentThumb']);