Giter Club home page Giter Club logo

mkvcast's Issues

Channel functionality

Allow the creation of playlist channels that allow users to specify a set of folders and randomly select and queue up videos from the folder.

  • Create REST endpoint that takes in a channel name and returns a URL to play next.
  • UI to view
  • UI to edit and save

Fix file/path loading on Windows

When browsing to a file on the server, e.g. http://10.1.1.76:1338/stream/Y:/_watch/some-file.mkv, I get the following error:

`Error: ENOENT, no such file or directory 'C:\Y:_watch\some-file.mkv'
at Object.fs.statSync (fs.js:689:18)
at module.exports (C:\Users\Adam\Documents\mkvcast\lib\controllers\stream-file.js:6:22)
at Layer.handle [as handle_request] (C:\Users\Adam\Documents\mkvcast\node_modules\express\lib\router\layer.js:76:5)
at next (C:\Users\Adam\Documents\mkvcast\node_modules\express\lib\router\route.js:100:13)
at Route.dispatch (C:\Users\Adam\Documents\mkvcast\node_modules\express\lib\router\route.js:81:3)
at Layer.handle [as handle_request] (C:\Users\Adam\Documents\mkvcast\node_modules\express\lib\router\layer.js:76:5)
at C:\Users\Adam\Documents\mkvcast\node_modules\express\lib\router\index.js:227:24
at Function.proto.process_params (C:\Users\Adam\Documents\mkvcast\node_modules\express\lib\router\index.js:305:12)
at C:\Users\Adam\Documents\mkvcast\node_modules\express\lib\router\index.js:221:12
at Function.match_layer (C:\Users\Adam\Documents\mkvcast\node_modules\express\lib\router\index.js:288:3)``

Note that the file is in Y:\ but the application is running out of C: and for some reason trying to look up the file there.

Use Grunt

  • JSHint Integration
  • Forever/psmon target
  • Target to pull ffmpeg
  • Target to build platform executables - #5

Refactor into separate files

Extract out:

  • route controllers
  • config mapping/parsing
  • websocket handling code

Move:

  • views in static directory to views directory

Better session request management

The app will now request a new session on every page load. This helps to ensure a session will be created.

The popup appears every time which is annoying. If we can successfully rejoin a session we should not request a new one.

When we load new media, if a session hasn't been joined, we should request one and then submit a load request.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.