diff --git a/README.md b/README.md index e92d95f..7150a7e 100644 --- a/README.md +++ b/README.md @@ -13,14 +13,17 @@ Simpletube is a NodeJS youtube client without ads or client-sided javascript. - [x] Add searching of videos - [x] Add searching of channels - [ ] Add searching of playlists -- [ ] Add searching of lives +- [ ] Add searching of lives (Note: Searching of lives has been implemented before, but I want to implement it in the same update as actual stream support.) - [ ] Add specific filter options -- [ ] Add a screen for when a search fails +- [x] Add a screen for when a search fails - [ ] Add mutiple search result pages ## Caching - [x] "Cache" videos - [ ] Add cache options - [ ] Add options for sized based caching +## Channels +- [ ] Show Links ## Other - [x] Add viewing of channels (Experimental) - [ ] Make documentation +- [ ] Make links clickable by default \ No newline at end of file diff --git a/index.js b/index.js index d16e775..6aa04a4 100644 --- a/index.js +++ b/index.js @@ -253,6 +253,7 @@ app.get("/video", async (req, res) => { var range = req.headers.range res.setHeader("X-Accel-Buffering", "no") + res.setHeader("Content-Type", "video/mp4") if (ytdl.validateURL(id)) { id = ytdl.getVideoID(id) @@ -265,8 +266,6 @@ app.get("/video", async (req, res) => { return } - res.setHeader("Content-Type", "video/mp4") - if (range) { function ready(vidpath) { if (fs.existsSync(vidpath)) { diff --git a/static/Images/UnknownPFP.jpg b/static/Images/UnknownPFP.jpg deleted file mode 100644 index aaf0b81..0000000 Binary files a/static/Images/UnknownPFP.jpg and /dev/null differ diff --git a/static/Images/UnknownVideo.jpg b/static/Images/UnknownVideo.jpg deleted file mode 100644 index 09715b5..0000000 Binary files a/static/Images/UnknownVideo.jpg and /dev/null differ