All Projects → CasparCG → media-scanner

CasparCG / media-scanner

Licence: LGPL-3.0 license
A service used with CasparCG Server software for scanning media located on the server. Queried with query and thumbnail commands through CasparCG Server using AMCP.

Programming Languages

javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to media-scanner

nodejs-simple-restfull-with-express
⚡ ExpressJS Rest API Sample
Stars: ✭ 19 (-24%)
Mutual labels:  expressjs
express-boilerplate
ExpressJS boilerplate with Socket.IO, Mongoose for scalable projects.
Stars: ✭ 83 (+232%)
Mutual labels:  expressjs
todo-list
A practical web application built with Node.js, Express, and MySQL for you to readily record, view, and manage your tasks with an account: Create, view, edit, delete, filter, and sort expenses are as easy as pie 🥧
Stars: ✭ 18 (-28%)
Mutual labels:  expressjs
next
不再维护,请直接查看 https://github.com/notadd/notadd
Stars: ✭ 15 (-40%)
Mutual labels:  expressjs
KodersHub
CodeEditor Mern WebApp specifically designed for Kids and Teens🤩
Stars: ✭ 25 (+0%)
Mutual labels:  expressjs
node-js-project-structure
No description or website provided.
Stars: ✭ 21 (-16%)
Mutual labels:  expressjs
fptu-app
FUHCM Universal Web App based on Node.js & React
Stars: ✭ 17 (-32%)
Mutual labels:  expressjs
probook-server
Backend for probook social media app using Nodejs, mongodb, express, jwt etc. Frontend is React, redux, material ui.
Stars: ✭ 17 (-32%)
Mutual labels:  expressjs
dhiwise-nodejs
DhiWise Node.js API generator allows you to instantly generate secure REST APIs. Just supply your database schema to DhiWise, and a fully documented CRUD APIs will be ready for consumption in a few simple clicks. The generated code is clean, scalable, and customizable.
Stars: ✭ 224 (+796%)
Mutual labels:  expressjs
web-speech-demo
Learn how to build a simple text-to-speech voice app for the web using the Web Speech API.
Stars: ✭ 19 (-24%)
Mutual labels:  expressjs
main
Share your personal pronouns and stay updated on your friends' pronouns. Pronouny allows you to update your pronouns and send alerts to your friends.
Stars: ✭ 37 (+48%)
Mutual labels:  expressjs
i18n-demo
A simple i18n demo app with Angular and expressjs
Stars: ✭ 12 (-52%)
Mutual labels:  expressjs
express-expeditious
flexible caching middleware for express endpoints
Stars: ✭ 42 (+68%)
Mutual labels:  expressjs
book-store
Example of a book store management with MEAN STACK
Stars: ✭ 23 (-8%)
Mutual labels:  expressjs
Online-Examination-System
Technologies : React js, Node js, Express js, Mongo Db, Ant Design, Redux js Key features: 1. User management 2. Modular code 3. Permission management 4. Persistent answers on page refresh in the test portal 5. Examination results using graphs 6. Results can directly be downloaded as excel sheet 7. Feedback system
Stars: ✭ 37 (+48%)
Mutual labels:  expressjs
nodejs-clean
Clean Architecture with Node.js + Express.js
Stars: ✭ 136 (+444%)
Mutual labels:  expressjs
mongo-crud
CRUD API built with MongoDB and Express
Stars: ✭ 18 (-28%)
Mutual labels:  expressjs
mini-express-boilerplate
A minimal Express boilerplate with passport user authentication, mongoose and some security setup configured
Stars: ✭ 15 (-40%)
Mutual labels:  expressjs
ng-nest-cnode
Angular 10 Front-End and Nestjs 7 framework Back-End build Fullstack CNode
Stars: ✭ 17 (-32%)
Mutual labels:  expressjs
schematics
Schematics for adding Okta Auth to your projects
Stars: ✭ 60 (+140%)
Mutual labels:  expressjs

CasparCG Media-Scanner

This project facilitates CasparCG Server since version 2.2.0. It abstracts the collection of metadata and generation of thumbnails into a separate process.

Usage

This project is designed to be used via the AMCP protocol in CasparCG server. However, there are some endpoints for additional data which can only be access directly over http.

AMCP Endpoints

These endpoints are exposed by the AMCP protocol in CasparCG Server. This means that they have some AMCP syntax wrappings, which will likely need to be stripped off if using in an external client

  • /tls - Lists available template files
  • /cls - Lists available media files
  • /fls - Lists available font files
  • /cinf/<name> - Gets information on specified media file
  • /thumbnail/generate - Backwards compatibility, has no effect
  • /thumbnail/generate/<name> - Backwards compatibility, has no effect
  • /thumbnail - Lists the available thumbnails
  • /thumbnail/<name> - Gets the thumbnail for a media file

Changes

A stream of changes can be accessed with the following. Full docs

const PouchDB = require('pouchdb-node')
const db = new PouchDB('http://localhost:8000/db/_media')

// Listen for changes
db.changes({
    since: 'now',
    include_docs: true,
    live: true
}).on('change', function (changes) {
    console.log(changes)
}).on('error', function (err) {
    // handle errors
});

Development

This project uses the latest LTS version NodeJS (8), so you need that installed. Get it from: https://nodejs.org/en/. We also use Leveldown which uses native modules so if you're on Windows you need to install windows build tools:

npm install --global --production windows-build-tools

After this:

  • Clone the repository
  • Run npm install
  • Run npm dev to start the development server

Building

Be aware that because of the native extensions, you can only build for the target you are currently on.

  • On Windows
    • npm run build-win32
  • On Linux
    • npm run build-linux

The built files will be placed in ./dist, make sure you copy all files into the main CasparCG directory.

Note: Due to an incompatability with a dependency and pkg, a fix up step is performed during build until this is resolved upstream pkg express-pouchdb. This could cause issues when updating the express-pouchdb package.

License

CasparCG Media-Scanner is distributed under the GNU Lesser General Public License LGPLv3 or higher, see LICENSE for details.

More information is available at http://casparcg.com/

Documentation

The most up-to-date documentation is always available at https://github.com/CasparCG/help/wiki

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].