Watch
1
0
Fork
You've already forked AutoMedia
0
mirror of https://repo.dec05eba.com/AutoMedia synced 2026-11-03 02:45:59 +00:00
Automatically track new releases of media and download them. Supports torrents u...
  • C 81.3%
  • Python 18.2%
  • Shell 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-26 03:08:16 +02:00
depends Update cJSON to v1.7.18 2024-11-15 19:27:45 +01:00
plugins Fix mangadex not working 2026-06-26 02:08:06 +02:00
src Better at rss query 2025-04-18 19:35:33 +02:00
tools Add fallback urls for rss (right now, fallback nyaa.si to nyaa.land) 2024-07-16 20:27:53 +02:00
.gitignore Add search option to cleanup argument 2022-10-23 15:43:14 +02:00
build.sh Fix musl build 2026-06-26 03:08:16 +02:00
fallback.json Add fallback urls for rss (right now, fallback nyaa.si to nyaa.land) 2024-07-16 20:27:53 +02:00
install.sh Add fallback urls for rss (right now, fallback nyaa.si to nyaa.land) 2024-07-16 20:27:53 +02:00
LICENSE Initial commit, support for rss torrent, manganelo and readms 2020-07-06 07:12:33 +02:00
README.md automedia-git > automedia 2024-11-15 19:58:31 +01:00
release.sh Update build scripts min 2024-07-16 20:29:37 +02:00
requirements.txt Finally remove automedia.py 2020-07-15 20:39:20 +02:00
TODO Better at rss query 2025-04-18 19:35:33 +02:00

AutoMedia

Automatically track new releases of media and download them. Currently works with rss for torrent sites (nyaa.si) and for these manga sites: manganelo.com, manganelos.com, mangatown.com, mangakakalot.com, mangakatana.com, lhtranslation.net, mangaplus.shueisha.co.jp and mangadex.org.
A notification is shown on the screen when a download finishes (if notify-send is installed).
AutoMedia checks and downloads updates every 15 minutes. Torrents stop seeding after a ratio of 2.0.\

Installation

Run sudo ./install.sh to install AutoMedia. It will build automedia with musl if installed, otherwise it will use gcc/clang (whichever you have configured as the default). If you are running Arch Linux, then you can find AutoMedia on aur under the name automedia (yay -S automedia).

Usage

Run automedia with sync option and keep it running to track media. You can then use add option to add new media to track.
Removing media from being synced can be done by removing the tracked directory in ~/.config/automedia/rss/tracked or ~/.config/automedia/html/tracked or by using automedia cleanup.
It is recommended to create a new directory specifically for automedia sync, otherwise tools like open_media.py might not work correctly.
Run automedia without any options to see all options.

If $HOME/.config/automedia/download_finished.sh exists then it's called when a download finishes. The first argument is either html or rss and the second argument is the full path to the rss file (anime episode video) or html directory (manga chapter).

An easy way to track anime/manga is to use QuickMedia and pressing Ctrl+T in nyaa.si or any of the manga plugins when selecting a manga and chapter.

Requirements

System

curl, transmission-cli, notify-send (optional)

Python 3

lxml, requests

Requirements when using tools/open_media.py

System

dmenu, sxiv (for manga), mpv (for anime)

Important

Do not move files inside the download directory. If you want to move them, move the whole download directory when automedia is not running and then set the download directory to the new location when using sync command.

Dev info

titles of manga need to be stripped of spaces on both ends and replace all / with _.