mirror of
https://github.com/d-fi/d-fi-core.git
synced 2025-07-27 07:34:42 +02:00
disable livestream
This commit is contained in:
parent
6025031642
commit
f85595ac19
@ -130,7 +130,7 @@ export const getChannelList = async (): Promise<channelSearchType> => request({}
|
|||||||
* @param {Number} NB number of items to fetch
|
* @param {Number} NB number of items to fetch
|
||||||
* @param {Number} START start index
|
* @param {Number} START start index
|
||||||
*/
|
*/
|
||||||
export const getShowInfo = (SHOW_ID: string, NB = 100, START = 0): Promise<showType> =>
|
export const getShowInfo = (SHOW_ID: string, NB = 1000, START = 0): Promise<showType> =>
|
||||||
request(
|
request(
|
||||||
{
|
{
|
||||||
SHOW_ID,
|
SHOW_ID,
|
||||||
@ -148,10 +148,10 @@ export const getPlaylistChannel = async (page: string): Promise<playlistChannelT
|
|||||||
page,
|
page,
|
||||||
version: '2.3',
|
version: '2.3',
|
||||||
support: {
|
support: {
|
||||||
'long-card-horizontal-grid': ['album', 'playlist', 'radio', 'show', 'livestream'],
|
'long-card-horizontal-grid': ['album', 'playlist', 'radio', 'show'],
|
||||||
ads: [],
|
ads: [],
|
||||||
message: [],
|
message: [],
|
||||||
highlight: ['generic', 'album', 'artist', 'playlist', 'radio', 'livestream', 'app'],
|
highlight: ['generic', 'album', 'artist', 'playlist', 'radio', 'app'],
|
||||||
'deeplink-list': ['generic', 'deeplink'],
|
'deeplink-list': ['generic', 'deeplink'],
|
||||||
grid: [
|
grid: [
|
||||||
'generic',
|
'generic',
|
||||||
@ -161,36 +161,15 @@ export const getPlaylistChannel = async (page: string): Promise<playlistChannelT
|
|||||||
'radio',
|
'radio',
|
||||||
'channel',
|
'channel',
|
||||||
'show',
|
'show',
|
||||||
'livestream',
|
|
||||||
'page',
|
'page',
|
||||||
'smarttracklist',
|
'smarttracklist',
|
||||||
'flow',
|
'flow',
|
||||||
'video-link',
|
'video-link',
|
||||||
],
|
],
|
||||||
slideshow: [
|
slideshow: ['album', 'artist', 'playlist', 'radio', 'show', 'channel', 'video-link', 'external-link'],
|
||||||
'album',
|
'large-card': ['generic', 'album', 'artist', 'playlist', 'radio', 'show', 'external-link', 'video-link'],
|
||||||
'artist',
|
|
||||||
'playlist',
|
|
||||||
'radio',
|
|
||||||
'show',
|
|
||||||
'livestream',
|
|
||||||
'channel',
|
|
||||||
'video-link',
|
|
||||||
'external-link',
|
|
||||||
],
|
|
||||||
'large-card': [
|
|
||||||
'generic',
|
|
||||||
'album',
|
|
||||||
'artist',
|
|
||||||
'playlist',
|
|
||||||
'radio',
|
|
||||||
'show',
|
|
||||||
'livestream',
|
|
||||||
'external-link',
|
|
||||||
'video-link',
|
|
||||||
],
|
|
||||||
'item-highlight': ['radio', 'app'],
|
'item-highlight': ['radio', 'app'],
|
||||||
'small-horizontal-grid': ['album', 'artist', 'playlist', 'radio', 'channel', 'show', 'livestream'],
|
'small-horizontal-grid': ['album', 'artist', 'playlist', 'radio', 'channel', 'show'],
|
||||||
'grid-preview-two': [
|
'grid-preview-two': [
|
||||||
'generic',
|
'generic',
|
||||||
'album',
|
'album',
|
||||||
@ -199,7 +178,6 @@ export const getPlaylistChannel = async (page: string): Promise<playlistChannelT
|
|||||||
'radio',
|
'radio',
|
||||||
'channel',
|
'channel',
|
||||||
'show',
|
'show',
|
||||||
'livestream',
|
|
||||||
'page',
|
'page',
|
||||||
'smarttracklist',
|
'smarttracklist',
|
||||||
'flow',
|
'flow',
|
||||||
@ -214,7 +192,6 @@ export const getPlaylistChannel = async (page: string): Promise<playlistChannelT
|
|||||||
'radio',
|
'radio',
|
||||||
'channel',
|
'channel',
|
||||||
'show',
|
'show',
|
||||||
'livestream',
|
|
||||||
'page',
|
'page',
|
||||||
'smarttracklist',
|
'smarttracklist',
|
||||||
'flow',
|
'flow',
|
||||||
@ -228,7 +205,6 @@ export const getPlaylistChannel = async (page: string): Promise<playlistChannelT
|
|||||||
'radio',
|
'radio',
|
||||||
'channel',
|
'channel',
|
||||||
'show',
|
'show',
|
||||||
'livestream',
|
|
||||||
'video-link',
|
'video-link',
|
||||||
'smarttracklist',
|
'smarttracklist',
|
||||||
'flow',
|
'flow',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user