项目作者: glenndehaan

项目描述 :
plex-xmltv-netherlands
高级语言: JavaScript
项目地址: git://github.com/glenndehaan/pxn.git
创建时间: 2020-04-29T07:14:44Z
项目社区:https://github.com/glenndehaan/pxn

开源协议:MIT License

下载


PXN (Plex XMLTV Netherlands)

A plex compatible XMLTV generator for The Netherlands

Structure

  • NodeJS
  • Commander
  • XMLBuilder2

Basic Usage

  • Download the latest version from the releases page on GitHub
  • Save the binary in its own folder
  • Run the binary ./pxn-xxx (this will create some additional files)
  • Start indexing channels ./pxn-xxx channels
  • List the channels you just indexed ./pxn-xxx list
  • Change your config to include the channels you want to grab config.json
  • Check if your channels are now marked for indexing ./pxn-xxx list
  • Start grabbing show information and create a XMLTV file ./pxn-xxx run
  • Automate the run process to create up-to-date XMLTV files for plex

Development Usage

  • Install NodeJS 8.0 or higher
  • Run npm install in the root project folder
  • Run npm start [args] in the root project folder

Channel Database

When grabbing channels we create a local database that will be used during indexing.
Missing channels? Just run ./pxn-xxx channels again.

Checkout .pxn-channels since this is the database file.

config.json Explanation

  1. {
  2. "channels": [ <<- This block is used to define the channels you want to index. (This only contains channels numbers)
  3. 1
  4. ]
  5. }

Help

  1. Usage: pxn [options] [command]
  2. Options:
  3. -h, --help display help for command
  4. Commands:
  5. run grabs the epg data and stores it into an XMLTV format
  6. channels grabs the epg channels and stores it into a JSON format
  7. list lists the available channels and marks the channels configured for epg grabbing
  8. help [command] display help for command

License

MIT