Git Product home page Git Product logo

mediapire-media-host's Introduction

Mediapire

Mediapire is a set of services to help manage and access your media across different machines. It consists of a management plane that is tasked to manage and communicate with the media hosts that contain your media.

Mediapire Media Host

The media host service is a part of the Mediapire suite. It will scan the media in the configured directories based on the file types that you configured to track and expose APIs that will allow the management plane to access the media of the current host.

Getting started

  1. Create your config file
cp config.example.yaml config.yaml
  1. Enter the proper values in your config file
# Directories to scan for media
# Note, this will scan directories recursively
directories:
  - directory1
  - directory2
# Type of media we want to scan
fileTypes:
  - mp3
  - mp4
# configuration for media host (self)
mediaHost:
  scheme: http
  # port of the media host (self) instance
  port: 444
  # connection information for media manager
manager:
  scheme: http
  host: "192.168.4.98"
  port: 9999

Note The manager information is for the instance of the mediapire manager that you need to have running.

  1. Run the media host

On startup, the media host will scan the media based on the provided file extensions found in the directories provided and attempt to register itself to the manager. Therefore, the manager must be already be running (more on manager here).

Directory Scanning

The mediapire media host will scan the files in the configured directories and only track the files of the configured file types. Filesystem watchers will then be created that will rescan the media in the directories once the media in any of the directories is changed (Create, update, delete).

mediapire-media-host's People

Contributors

egfanboy avatar

Watchers

 avatar

mediapire-media-host's Issues

Download items

As the host can be remote, give the ability to download a list of items from the host

Implement groupBy construct

Currently all files are just read as is without any logical grouping or ordering. Implement a basic flow to provide a function to group files if wanted based on media type (ie: group by album for .mp3)

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.