Giter Club home page Giter Club logo

utwene's Introduction

UTWENE (pronounced "you-twain").

Status

"Useless Time Waster but Entertaining Newsboat Extractor". Is an small program to start the newest video from chosen channels extracted from newsboat feeds db, each video gonna be auto marked as read in your newsboat program. If after couple of tries you can't seem to find the right video. Then it starts an localy downloaed video (5 minute threshold, then it restarts). For me I chose to play a randomly chosen episode of Suits (my favororite tv show).

  • There are still bugs, this is not finnished thus not all errors are handled gracefully. If launched from dmenu you won't see any erros of course nor are they logged.
  • It's noticibly slow when it comes to newsboat extracting. gonna rewrite it all in rust when it becomes more mature.

Installation

check makefile to change where you want to install the script (so that it's globably available for your user. Default location is "~/.local/bin"

Dependencies

  • mpv
  • Python 3.11 or higher
  • newsboat installed and configured
  • local tv videos configured (supported searched video formats: '.mp4', '.mkv', '.avi', '.mov', '.wmv', '.flv', '.webm', '.3gp', '.mpeg', '.mpg', '.vob')
git clone https://github.com/Abishevs/UTWENE.git
cd UTWENE
make install

Setup

Create an config file. in

mkdir ~/.config/utwene/
vim ~/.config/utwene/config.toml

There provide all of these. Where tag is an newsboat tag (can be only one rn), but it uses it to determine which feeds to use.

[newsboat]
db = "~/.newsboat/cache.db"
urls = "~/.newsboat/urls"
tag = "ML"

[tv]
paths = ["~/path/to/videos",]

There is also an yt rss extractor utility

With that utility. Provide an yt video url and it will find channel_id and create an rss feed url and append it to your newsboat/urls with an "YT" tag. Also add an comment with yt channel name

py yt-get-rss.py url >> ~/.newsboat/urls

Example output:

# channel_name
url "YT"

utwene's People

Contributors

abishevs avatar

Watchers

 avatar

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.