| 571 | == !PreviewSubtitles == |
| 572 | '''array !PreviewSubtitles( $token, array($IDSubtitleFile, $IDSubtitleFile,...) )''' |
| 573 | |
| 574 | Returns BASE64 encoded gzipped preview for IDSubtitleFile(s). You need to BASE64 decode and ungzip 'data' to get its contents. '''LIMIT''' is for maximum 20 IDSubtitleFiles, others will be ignored. |
| 575 | |
| 576 | Example output: |
| 577 | {{{ |
| 578 | Array |
| 579 | ( |
| 580 | [status] => 200 OK |
| 581 | [data] => Array |
| 582 | ( |
| 583 | [0] => Array |
| 584 | ( |
| 585 | [encoding] => UTF-8 |
| 586 | [contents] => MQ0KMDA6MDA6MDIsNjkzIC0tPiAwMDowM.... |
| 587 | ) |
| 588 | |
| 589 | [1] => Array |
| 590 | ( |
| 591 | [encoding] => CP932 |
| 592 | [contents] => MQ0KMDA6MDA6MDYsMDAwIC0tPiAwMDow... |
| 593 | ) |
| 594 | |
| 595 | ) |
| 596 | |
| 597 | [seconds] => 0.01 |
| 598 | ) |
| 599 | }}} |
| 600 | |
| 601 | ---- |
| 602 | |
| 603 | |