Git Product home page Git Product logo

tvfetch's Introduction

Description

This application fetches torrent files of your favourite TV shows from your trackers of choice. Use cron for scheduling and torrent application with watchdir support.

History

tvfetch came to life after FlexGet running on RaspberryPi proved to be too slow to be useable.

Dependencies

  • libcurl
  • libxml2
  • libpcre

Compilation

make

Compiled binary will appear in bin directory.

Configuration

Sample session.xml is provided in sample directory.

  • <target> - where to download torrent files (torrent client's watchdir)
  • <feeds>
    • <feed>
      • <name> - name of tracker, used only in log messages
      • <url> - URL to torrent tracker's RSS feed
      • <delay> - you can prioritize trackers by giving them delay (in seconds), larger delay - lower priority (set to 0 for instant download)
  • <shows>
    • <show>
      • <regex> - PCRE of the show title to fetch
        • first group must match season number
        • second group must match episode number
        • no more groups are allowed
      • <season> - season number of the last downloaded episode (0 for new show)
      • <episode> - episode number of the last downloaded episode (0 for new season)
      • <seen> - timestamp of when the episode was first seen in any of the feeds, used by delay system (set to 0 for new entry)

Running

./tvfetch /path/to/session.xml

Sample cron job:
*/15 * * * * /path/to/tvfetch /path/to/session.xml >> /path/to/fetch.log 2>> /path/to/error.log
Runs every 15 minutes forwarding output to a dedicated log files.

tvfetch's People

Contributors

ignasd avatar

Stargazers

Mark avatar

Watchers

James Cloos avatar

tvfetch's Issues

Introduce CMake

Replace that dumb two-line Makefile with CMake build system for better cross-platform portability.

Do not skip episodes

If two new episodes of the same show appear between checks, one episode gets skipped.

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.