Stop hard-coding the video file extension.

This commit is contained in:
Roel van Uden 2015-01-22 20:44:55 +01:00
parent d735259a6d
commit f15d1e77e9
2 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,6 @@ premium subscription!**
### Pending Implementation
* Detect and write the appropriate video extension (instead of hard-code mp4).
* Add ASS support.
* Add muxing (MP4+ASS=MKV).
* Add series API to download an entire series rather than per-episode.

View File

@ -132,6 +132,6 @@ function _video(config, page, player, filePath, done) {
player.video.host,
player.video.file,
page.swf,
filePath + '.mp4',
filePath + '.' + path.extname(player.video.file),
done);
}