mirror of
https://github.com/snobu/destreamer.git
synced 2026-01-17 05:22:18 +00:00
Will thumbnails render on Windows?
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import axios from 'axios';
|
||||
import { terminal as term } from 'terminal-kit';
|
||||
import { Metadata, Session } from './Types';
|
||||
import fs from 'fs';
|
||||
import os from 'os';
|
||||
import { drawThumbnail } from './Thumbnail';
|
||||
|
||||
|
||||
export async function getVideoMetadata(videoGuids: string[], session: Session): Promise<Metadata[]> {
|
||||
@@ -28,7 +27,7 @@ export async function getVideoMetadata(videoGuids: string[], session: Session):
|
||||
.map((item: { [x: string]: string }) => { return item["playbackUrl"]; })[0];
|
||||
|
||||
posterImage = response.data["posterImage"]["medium"]["url"];
|
||||
|
||||
|
||||
term.brightMagenta(`\n title = ${title}\n playbackUrl = ${playbackUrl}\n`);
|
||||
|
||||
metadata.push({
|
||||
|
||||
Reference in New Issue
Block a user