(uuids)
| 3502 | } |
| 3503 | |
| 3504 | static async getChannelsByUUIDs(uuids) { |
| 3505 | try { |
| 3506 | // Use POST for large lists |
| 3507 | const response = await request( |
| 3508 | `${host}/api/channels/channels/by-uuids/`, |
| 3509 | { |
| 3510 | method: 'POST', |
| 3511 | body: { uuids }, |
| 3512 | } |
| 3513 | ); |
| 3514 | return response; |
| 3515 | } catch (e) { |
| 3516 | errorNotification('Failed to retrieve channels by UUIDs', e); |
| 3517 | throw e; |
| 3518 | } |
| 3519 | } |
| 3520 | |
| 3521 | // VOD Methods |
| 3522 | static async getMovies(params = new URLSearchParams()) { |
no test coverage detected