All Projects → mueslo → pythonBits

mueslo / pythonBits

Licence: GPL-3.0 license
A Python pretty printer for generating attractive movie descriptions with screenshots.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pythonBits

Sickchill
Less rage, more chill.
Stars: ✭ 2,166 (+7635.71%)
Mutual labels:  torrent, media
putio-automator
A suite of commands for managing torrents, transfers and files on put.io. Works well with SickRage, Sonarr, etc.
Stars: ✭ 60 (+114.29%)
Mutual labels:  torrent, media
viewer
🖼 Simple file viewer with slideshow for media
Stars: ✭ 68 (+142.86%)
Mutual labels:  media
auto py torrent
Tool for automate torrent download.
Stars: ✭ 29 (+3.57%)
Mutual labels:  torrent
styled-media-helper
💅 Helps manage media queries with styled components
Stars: ✭ 76 (+171.43%)
Mutual labels:  media
wp-user-avatars
Allows registered users to upload and select their own avatars
Stars: ✭ 32 (+14.29%)
Mutual labels:  media
OpenISS
OpenISS -- a unified multimodal motion data delivery framework.
Stars: ✭ 22 (-21.43%)
Mutual labels:  media
DownOnSpot
🎵 A Spotify music and playlist downloader written in Rust which also works with a free Spotify account
Stars: ✭ 309 (+1003.57%)
Mutual labels:  media
Torrent-Alert
Torrent Keyword Search, Schedule & Alert #BuildWithMeteorJS
Stars: ✭ 21 (-25%)
Mutual labels:  torrent
gephi twitter media downloader
A small script designed to take either a .csv of Tweet ids, or the export from Gephi's TwitterStreamingImporter Plugin and download related Tweet media.
Stars: ✭ 41 (+46.43%)
Mutual labels:  media
movie-app
🌈 TMDB + Laravel + LiveWire + AlpineJS + ViewModels + Components = ❤️ Movies App 🔥
Stars: ✭ 43 (+53.57%)
Mutual labels:  torrent
porla
A high performance BitTorrent client for servers and seedboxes.
Stars: ✭ 83 (+196.43%)
Mutual labels:  torrent
secure-media
Store private media securely in WordPress.
Stars: ✭ 22 (-21.43%)
Mutual labels:  media
autolycus
A seedr.cc inspired web application to download and stream torrent files from hosted web servers.
Stars: ✭ 95 (+239.29%)
Mutual labels:  torrent
SpooferBT
Relay torrent tracker communication via TCP to bypass a blocked UDP network.
Stars: ✭ 18 (-35.71%)
Mutual labels:  torrent
torrent-indexer
Yet another node.js torrent scraper made especially for movie, series, anime and music (scrape from 1337x, eztv, limetorrents, rarbg, skytorrents, thepiratebay, torrentproject, yts and zooqle)
Stars: ✭ 50 (+78.57%)
Mutual labels:  torrent
video-filename-parser
Scene release name parser
Stars: ✭ 40 (+42.86%)
Mutual labels:  media
media-blender
Easy and predictable SASS/SCSS media queries
Stars: ✭ 26 (-7.14%)
Mutual labels:  media
Trickl
trickl torrent client
Stars: ✭ 50 (+78.57%)
Mutual labels:  torrent
docker-transmission-skip-hash-check
Transmission client with skip hash check and other features
Stars: ✭ 25 (-10.71%)
Mutual labels:  torrent

pythonBits

GitHub release GitHub release PyPI version PyPI pyversions GitHub commits since release GitHub license Build Status

A Python description generator for movies and TV shows

Install

  1. (Optional, highly recommended) Set up a virtualenv to avoid polluting your system with dependencies.
  • with virtualenvwrapper: mkvirtualenv pythonbits
    • activate the virtualenv with workon pythonbits
  1. Install pythonBits in one of the following ways
  • install via pip install pythonbits
  • clone and pip install .
  • pipx
  • (dev) clone, install requirements from setup.py and run as python -m pythonbits instead of pythonbits
  1. Install mediainfo, ffmpeg and mktorrent>=1.1 such that they are accessible for pythonBits
  • you can also manually specify things such as the torrent file or screenshots, this will prevent the programs from being called, removing the dependency

If you don't want to use a virtualenv but keep system pollution with PyPI packages to a minimum, install via pip install --user. For more information, visit this site.

Usage

usage: pythonbits [-h] [--version] [-v] [-c {tv,movie}] [-u FIELD VALUE] [-i]
                  [-t] [-s] [-d] [-b] [-f FIELD [FIELD ...]]
                  [--num-cast NUM_CAST] [--num-screenshots NUM_SCREENSHOTS]
                  PATH [TITLE]

Use pythonbits --help to get a more extensive usage overview

Examples

pythonBits will attempt to guess as much information as possible from the filename. Unlike in previous releases, explicitly specifying a category or title is usually not necessary. PATH can also reference a directory, e.g. for season packs.

In most cases it is enough to just run pythonbits <path> to generate a media description. If running the desired features requires uploading data to remote servers, you will be prompted to confirm this finalization before it occurs.

  • Print mediainfo: pythonbits -i <path>, equivalent to pythonbits -f mediainfo <path>
  • Make screenshots: pythonbits -s <path>
  • Write a description: pythonbits -d <path>
  • Make a torrent file: pythonbits -t <path>
  • Generate complete submission and post it: pythonbits -b <path> (Note: YOU are responsible for your uploads)
  • Generate complete submission, use supplied torrent file and tags: pythonbits -b -u torrentfile <torrentfile> -u tags "whatever,tags.you.like" <path>

In case the media title and type cannot be guessed from the path alone, you can explicitly specify them, e.g. pythonbits <path> "Doctor Who (2005) S06"or pythonbits <path> -c movie.

You can increase the verbosity of log messages printed to the screen by appending -v. This would print INFO messages. To print DEBUG messages, append twice, i.e. -vv.

You can also import pythonbits to use in your own Python projects. For reference on how to best use it, take a look at __main__.py. Once you have created an appropriate Submission instance s, you can access any desired feature, for example s['title'], s['tags'] or s['cover'].

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].