Code Monkey home page Code Monkey logo

dsvideomonitor's Introduction

DSVideoMonitor

File monitor, auto-indexer and subtitles downloader (using subliminal) for Synology DiskStation NAS. Supports push notifications like Pushover and Pushbullet.

Install

  1. Install Python (if you haven't already) from the DiskStation package manager.
  2. SSH into your DiskStation as root (e.g. ssh [email protected])
  3. Download and unpack ZIP file:
    wget https://github.com/smartycoder/DSVideoMonitor/archive/master.zip
    unzip master.zip
  4. Copy files to /var/packages/dsvideomonitor/:
    cp -r DSVideoMonitor-master/* /var/packages/dsvideomonitor/
  5. Run setup: python /var/packages/dsvideomonitor/setup.py install
  6. Copy file /var/packages/dsvideomonitor/S99dsvideomonitor.sh to /usr/syno/etc/rc.d/
    cp /var/packages/dsvideomonitor/S99dsvideomonitor.sh /usr/syno/etc/rc.d/
  7. Run command: chmod +x /usr/syno/etc/rc.d/S99dsvideomonitor.sh
  8. Run command: /usr/syno/etc/rc.d/S99dsvideomonitor.sh start

Settings

Modify dsvideomonitor.py and set your own settings.
video_folder = "/volume1/video/"
patterns = [".avi", ".mkv"]
languages = ["slv", "eng"]
run_indexer = True
notifier = PushbulletClient()
notifier.set_api_key("YOUR_KEY")

dsvideomonitor's People

Contributors

smartycoder avatar

Watchers

 avatar

dsvideomonitor's Issues

RuntimeError: can not find library c

sudo /usr/syno/etc/rc.d/S99dsvideomonitor.sh start
Traceback (most recent call last):
File "/var/packages/dsvideomonitor/dsvideomonitor.py", line 6, in
from watchdog.observers import Observer
File "/usr/lib/python2.7/site-packages/watchdog-0.8.3-py2.7.egg/watchdog/observers/init.py", line 63, in
from .inotify import InotifyObserver as Observer
File "/usr/lib/python2.7/site-packages/watchdog-0.8.3-py2.7.egg/watchdog/observers/inotify.py", line 74, in
from .inotify_buffer import InotifyBuffer
File "/usr/lib/python2.7/site-packages/watchdog-0.8.3-py2.7.egg/watchdog/observers/inotify_buffer.py", line 20, in
from watchdog.observers.inotify_c import Inotify
File "/usr/lib/python2.7/site-packages/watchdog-0.8.3-py2.7.egg/watchdog/observers/inotify_c.py", line 50, in
libc = _load_libc()
File "/usr/lib/python2.7/site-packages/watchdog-0.8.3-py2.7.egg/watchdog/observers/inotify_c.py", line 34, in _load_libc
libc_path = ctypes.util.find_library('c')
File "/usr/lib/python2.7/ctypes/util.py", line 242, in find_library
raise RuntimeError("can not find library %s" % name)
RuntimeError: can not find library c

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.