Explorar o código

add eps number to plex recent added

CauseFX %!s(int64=4) %!d(string=hai) anos
pai
achega
e218e6cdb2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      api/homepage/plex.php

+ 1 - 1
api/homepage/plex.php

@@ -484,7 +484,7 @@ trait PlexHomepageItem
 			case 'episode':
 				$plexItem['type'] = 'tv';
 				$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['ratingKey'] = (string)$item['parentRatingKey'];
 				$plexItem['thumb'] = ($item['parentThumb'] ? (string)$item['parentThumb'] : (string)$item['grandparentThumb']);