Add livetv view
This commit is contained in:
@@ -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
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user