Add livetv view

This commit is contained in:
grafixeyehero
2024-01-12 21:08:06 +03:00
parent c37783479e
commit e41436552e
44 changed files with 1396 additions and 749 deletions
@@ -75,7 +75,7 @@ function getLandingScreenOptions(type) {
} else if (type === 'tvshows') {
list.push({
name: globalize.translate('Shows'),
value: LibraryTab.Shows,
value: LibraryTab.Series,
isDefault: true
});
list.push({
@@ -152,7 +152,7 @@ function getLandingScreenOptions(type) {
});
list.push({
name: globalize.translate('Series'),
value: LibraryTab.Series
value: LibraryTab.SeriesTimers
});
}
+24
View File
@@ -545,6 +545,30 @@ class AppRouter {
urlForList += '&IsFavorite=true';
}
if (options.isAiring) {
urlForList += '&IsAiring=true';
}
if (options.isMovie) {
urlForList += '&IsMovie=true';
}
if (options.isSeries) {
urlForList += '&IsSeries=true&IsMovie=false&IsNews=false';
}
if (options.isSports) {
urlForList += '&IsSports=true';
}
if (options.isKids) {
urlForList += '&IsKids=true';
}
if (options.isNews) {
urlForList += '&IsNews=true';
}
return urlForList;
}