Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
473 commits
Select commit Hold shift + click to select a range
901df70
Merge pull request #150 from theweasley/huno-x264-and-x265-web-dls
L4GSP1KE Jan 18, 2023
a88a91c
remove series from dupe check because it'll happen in filter
Jan 19, 2023
97d5b34
JPTV: first fix of many
Jan 19, 2023
fb7fece
Merge branch 'master' of github.com:L4GSP1KE/Upload-Assistant
Jan 19, 2023
374c10c
ptgen error handling tweak
Jan 19, 2023
67fe01c
jptv
Jan 20, 2023
5940ed0
.
Jan 21, 2023
856dcc6
Fix error on attempted rehash
Jan 21, 2023
364a70d
Add capabilities for notes when prompting banned groups
Jan 21, 2023
c8d7be3
Don't use ptgen if ptgen errors
Jan 23, 2023
2508818
Don't use ptgen if ptgen errors
Jan 23, 2023
0a315c7
ptgen exceptions
Jan 23, 2023
f0718e6
HUNO: Mark "x264" and "x265" torrents as encodes.
jonbenta Jan 24, 2023
0dea266
FL: DoVi HDR
Jan 24, 2023
f9570ad
Merge pull request #151 from theweasley/huno-mark-x264-x265-as-encode
L4GSP1KE Jan 24, 2023
c3da006
HUNO: Do not mark "x264" torrents as encodes.
jonbenta Jan 24, 2023
4e769fe
Merge pull request #152 from theweasley/huno-x264-is-not-encode
L4GSP1KE Jan 24, 2023
7060835
HUNO: Move "DUAL" to language position.
jonbenta Jan 25, 2023
5abafe0
Merge pull request #153 from theweasley/huno-move-dual-to-language-po…
L4GSP1KE Jan 25, 2023
243eba6
Add prompt for trumpable if no subs detected
Jan 28, 2023
85ea7de
prompt on no eng instead of no subs at all
Jan 28, 2023
ac0ca09
Merge branch 'master' of github.com:L4GSP1KE/Upload-Assistant
Jan 28, 2023
a4e03a0
PTP default no english subs if none detected and prompt empty
Jan 29, 2023
3a13ae4
HUNO: Always send the "internal" parameter if the "internal" configur…
jonbenta Jan 30, 2023
1282d0b
Add option for eng softsubs existing
Jan 31, 2023
bd9f389
Merge pull request #154 from theweasley/huno-internal-behavior
L4GSP1KE Jan 31, 2023
3adfca9
nicer prints when imghosts fail
Feb 3, 2023
f5fca0f
PTP: use cli_ui when prompting for cover image & fix ptpimg being pro…
Feb 3, 2023
cd42f2a
fix hd dvds
Feb 5, 2023
d583212
Merge branch 'master' of github.com:L4GSP1KE/Upload-Assistant
Feb 5, 2023
a56e1b2
add multi 00hd dvd mediainfos to description
Feb 5, 2023
cbf412f
add part of the episode in the title (if available)
sirius-sama Feb 9, 2023
af32150
PTP: Fix missing await on creating tags from tmdb
Feb 10, 2023
5ebffa9
Prompt for manual tmdb input if unable to parse filenames
Feb 10, 2023
9fe7152
Merge pull request #157 from sirius-sama/master
L4GSP1KE Feb 10, 2023
9cf1c97
PTGen
Feb 11, 2023
4a09772
Merge branch 'master' of github.com:L4GSP1KE/Upload-Assistant
Feb 11, 2023
aeb89bb
BLU: uncomment moderator options
Feb 11, 2023
a18d1ef
typo hotfix
Feb 11, 2023
eaf346e
Added support for TorrentLeech.
jonbenta Feb 14, 2023
46d555e
TL: Preserve original file/folder name since there is no naming conve…
jonbenta Feb 14, 2023
82759f0
fallback to general duration if missing video duration
Feb 14, 2023
cf0b8a8
better fix
Feb 14, 2023
5fe7723
TL: Utilize MEDIAINFO_CLEANPATH.txt instead of MEDIAINFO.txt.
jonbenta Feb 15, 2023
7865041
manual name input if script not guessing the right name
sirius-sama Feb 15, 2023
32024d9
TL: Upload description as a file instead of as a form field to avoid …
jonbenta Feb 15, 2023
a5308c5
Merge pull request #159 from sirius-sama/master
L4GSP1KE Feb 18, 2023
5636fc0
manual year passed to ptp
Feb 18, 2023
833f8f9
Merge branch 'master' of github.com:L4GSP1KE/Upload-Assistant
Feb 18, 2023
b1d755a
Added something
sirius-sama Feb 18, 2023
8c14157
Made use of existing meta 'tv_pack' property instead of reinventing t…
jonbenta Feb 19, 2023
2ddcacf
Merge pull request #161 from sirius-sama/issues
L4GSP1KE Feb 19, 2023
fd3df8c
Merge pull request #158 from jonbenta/add_tl_tracker
L4GSP1KE Feb 19, 2023
2ed5cbb
Fix srrdb match overwriting --imdb argument
Feb 19, 2023
e9a78a2
Fix srrdb match overwriting --imdb argument
Feb 19, 2023
2e02e05
Add UHDTV as a source & fix a typo
Feb 20, 2023
aa6a46a
PTP: handle a login error
Feb 22, 2023
514e5e1
replace [img=350] with [img width=350]
Feb 25, 2023
d26f748
is_valid_torrent, set harsher restrictions on piece count for lower p…
Feb 26, 2023
f65fded
JPTV: use acm-like name
Feb 27, 2023
728e79b
dub bloat warning, replace empty audio language string with und
Feb 27, 2023
b80c270
HUNO: Label encodes as "WEB-DL" and check for "x265" in first file na…
jonbenta Mar 1, 2023
c85cd44
Fix error while generating name
Mar 2, 2023
18cc422
naming update
Mar 2, 2023
aca9554
naming update
Mar 2, 2023
7d5ea20
unidecode description and add clone of fl name confirmation
Mar 2, 2023
4200755
Merge pull request #163 from theweasley/huno-x265-naming
L4GSP1KE Mar 2, 2023
1cbadff
Added lensdump
sirius-sama Mar 2, 2023
efcb143
Add resolution, MPEG audio to ACM DVD uploads
Qhichwa Mar 3, 2023
11d1f89
Merge pull request #166 from sirius-sama/adding-lensdump
L4GSP1KE Mar 5, 2023
f49405b
Merge pull request #167 from Qhichwa/master
L4GSP1KE Mar 5, 2023
43c3f8f
Fixed api url and added base64 for image naming
sirius-sama Mar 5, 2023
723b055
lensdump: use X-API-Key header
Mar 5, 2023
e5aa529
Merge branch 'master' into adding-lensdump
L4GSP1KE Mar 5, 2023
643e1db
Merge pull request #169 from sirius-sama/adding-lensdump
L4GSP1KE Mar 5, 2023
f133c21
Improve episode parsing for titles like NieR:Automata Ver1.1a
Mar 5, 2023
9d27590
-
sirius-sama Mar 6, 2023
5249909
Merge pull request #170 from sirius-sama/adding-lensdump
L4GSP1KE Mar 10, 2023
43ef203
Optimize Dockerfile: Install pip3 reqs before copying all files; No n…
ipeerstein Mar 10, 2023
a6831dc
ACM: fix AAC dual-audio naming
Mar 11, 2023
98165e2
PTP: should fix error on VC-1 uploads
Mar 11, 2023
5d5fa2d
Non-disc screenshots: ignore PAR when between 1-1.005
Mar 11, 2023
6cb498c
Merge branch 'master' of github.com:L4GSP1KE/Upload-Assistant
Mar 11, 2023
bc8249c
Merge pull request #172 from ipeerstein/optimize-Dockerfile
L4GSP1KE Mar 11, 2023
6345ce4
Update --tag arg to allow multiple words and add --no-tag as an alter…
Mar 11, 2023
894d79e
Merge branch 'master' of github.com:L4GSP1KE/Upload-Assistant
Mar 11, 2023
2442fc6
Temporarily revert some unit3d img bbcode until sites get newer torre…
Mar 11, 2023
82fb47e
Enable GitHub cache for docker buildx
ipeerstein Mar 11, 2023
a280be8
Merge pull request #173 from ipeerstein/docker-build-use-cache
L4GSP1KE Mar 12, 2023
0672998
Revert par
L4GSP1KE Mar 12, 2023
f966b9c
I formally apologize to the one person who enjoyed the [img width=350…
Mar 13, 2023
9ea015d
Merge branch 'master' of github.com:L4GSP1KE/Upload-Assistant
Mar 13, 2023
a788705
add edge case to upload.py commands
Mar 13, 2023
ac5cfcc
Newer mediainfo changed the language string format :/
Mar 14, 2023
f3323e8
Add notes about comments
Mar 14, 2023
3e07553
Add TDC
edge20200 Mar 14, 2023
d2da528
TDC example-config
edge20200 Mar 14, 2023
44383b3
Update TDC.py
edge20200 Mar 14, 2023
938c4fd
Update upload.py
edge20200 Mar 14, 2023
83a0525
Set tv_pack to 0 if --episode is specified.
jonbenta Mar 21, 2023
3b897de
Merge pull request #178 from theweasley/tv-pack-fix
L4GSP1KE Mar 26, 2023
e6e143e
Merge pull request #177 from edge20200/master
L4GSP1KE Mar 26, 2023
b9012e3
Fix L4G Signature in TDC breaking application
milkers69 Mar 26, 2023
b13e51c
Merge pull request #180 from milkers69/patch-1
L4GSP1KE Mar 26, 2023
762c20f
ACM Revert BBCode
Mar 26, 2023
053f619
Fix missing positional argument
lps-rocks Mar 27, 2023
9218538
Merge pull request #181 from lps-rocks/patch-1
L4GSP1KE Mar 27, 2023
e9ab0e4
Change main set selection logic for DVD VOBs
lps-rocks Mar 27, 2023
0052836
Add natsort python library to requirements
lps-rocks Mar 27, 2023
01d7e39
Merge pull request #2 from lps-rocks/patch-2
lps-rocks Mar 27, 2023
fa1d898
Add qbittorrent Category Support
lps-rocks Mar 27, 2023
8d9fb24
Add qbit_cat to example config
lps-rocks Mar 27, 2023
0b13dfb
Add qbit_cat argument
lps-rocks Mar 27, 2023
67f0935
Add qbit_cat to overwrite_list for meta
lps-rocks Mar 27, 2023
6e74ca0
Merge pull request #3 from lps-rocks/patch-4
lps-rocks Mar 27, 2023
fbe0372
Apparently can't use the 'or' keyword here...
lps-rocks Mar 27, 2023
4db39a3
Merge pull request #4 from lps-rocks/patch-4
lps-rocks Mar 27, 2023
fcefdd0
qbit_cat: prioritize argument over config value
L4GSP1KE Mar 30, 2023
9b00a80
Merge pull request #183 from lps-rocks/patch-4
L4GSP1KE Mar 30, 2023
54e24ba
Ring the bell when asking for confirmation
lps-rocks Mar 31, 2023
71e6d20
Merge pull request #5 from lps-rocks/patch-3
lps-rocks Mar 31, 2023
8720cc3
File queueing input improvements
Apr 1, 2023
557d843
Aither: Update banned groups
Apr 1, 2023
6e70d21
Fix potential race condition with qbt handling
lps-rocks Apr 1, 2023
74b81e6
Merge pull request #6 from lps-rocks/patch-5
lps-rocks Apr 1, 2023
fef0b2e
check if response is ok
Apr 1, 2023
132ae79
use asyncio.sleep
L4GSP1KE Apr 2, 2023
4cd15c2
Merge pull request #187 from lps-rocks/patch-5
L4GSP1KE Apr 2, 2023
918fa85
only use part if season pack
Apr 10, 2023
536ad25
HDB: 3 screens for tv singles, 6 for everything else
Apr 10, 2023
9fe4d54
Add config toggle for ringing the bell
Apr 10, 2023
9f212c0
Merge pull request #186 from lps-rocks/patch-3
L4GSP1KE Apr 10, 2023
77b7f39
DVD Parsing: revert natsort and cleanup code so that we're not re-par…
Apr 10, 2023
23b64e7
TL: Incorporated "Anime" category.
jonbenta Apr 10, 2023
fc157d3
PTP: prefer Language_String2 for subtitles
Apr 11, 2023
c004100
Exclude country/language from guessit when guessing titles
Apr 12, 2023
93f5b4d
Include part with episode title
Apr 12, 2023
f77b59e
Merge pull request #189 from theweasley/tl-category-corrections
L4GSP1KE Apr 12, 2023
b9a11e3
Looks like I forgot to re-add the sort
Apr 14, 2023
0d96bc5
Use IFO instead of VOB for dvd subtitle languages
Apr 14, 2023
691c571
DVD Mediainfo fix
Apr 15, 2023
418ddb8
Handle KeyError when getting video encoder
Apr 16, 2023
5e0d8d3
ANT: Add missing Remux flag
Apr 16, 2023
d040008
RF: Update signature
L4GSP1KE Apr 18, 2023
84fbffc
TL: Corrected "Anime" category logic.
jonbenta Apr 21, 2023
4073d14
Merge pull request #194 from theweasley/tl-anime-fix
L4GSP1KE Apr 22, 2023
dffc226
Use dirname instead of video name when guessing part
Apr 22, 2023
17ac2cb
Prevent error on --cleanup if tmp directory does not exist
Apr 22, 2023
db567a8
Fix incorrect source guess
Apr 22, 2023
1ff2731
Add ManualDateException
Apr 23, 2023
b48788c
Add -daily/--daily
Apr 23, 2023
4347fd5
Dailys: Fix defaulting to S01 if unable to map to a S##E## format
Apr 23, 2023
a014a17
HDB: Use lower screen counts if below preset maximums
Apr 23, 2023
d60d436
DVD Screenshot fixes
May 1, 2023
8cdad80
Add content_layout config option
May 1, 2023
df6645b
Add SicFoI to BLU's banned group list
May 8, 2023
b42bbc2
add creation date in the meta file
sirius-sama May 11, 2023
51c54d9
add creation date in the meta file
sirius-sama May 11, 2023
6d525ed
removed a loop
sirius-sama May 11, 2023
cf30b55
Merge pull request #200 from sirius-sama/fl
L4GSP1KE May 12, 2023
c3e8f12
Merge branch 'L4GSP1KE:master' into master
sirius-sama May 12, 2023
55d3643
add creation date to meta file while hashing with torf
sirius-sama May 12, 2023
6a20e87
Merge pull request #198 from sirius-sama/master
L4GSP1KE May 17, 2023
1417b89
made some changes according to the new rules
sirius-sama May 17, 2023
c0ec07a
Merge pull request #202 from sirius-sama/fl
L4GSP1KE May 18, 2023
36fe98f
typo fix
sirius-sama May 19, 2023
45a2dc7
Merge pull request #203 from sirius-sama/fl
L4GSP1KE May 19, 2023
5c8c6d9
Adding HDT
sirius-sama May 23, 2023
5a5da64
Adding HDT
sirius-sama May 23, 2023
4e0e3d0
Adding MediaInfo Template
sirius-sama May 23, 2023
a89fc61
Adding HDT
sirius-sama May 23, 2023
21c3e26
HUNO: Preserve downscale indicator in name.
jonbenta May 24, 2023
97d7524
Add MAX as a streaming service
May 26, 2023
33f9aa2
Prevent keyerror when filtering potential dupes
May 26, 2023
9ada7e8
Merge pull request #207 from theweasley/huno-scale-in-name
L4GSP1KE May 26, 2023
a9f9b7f
Merge pull request #206 from sirius-sama/hdt
L4GSP1KE May 26, 2023
d2ec85c
add --webdv to create the required text on BLU
May 26, 2023
84e3f86
.
May 26, 2023
54cb716
Add explaining text for DV Prompts
May 26, 2023
829fe90
add --hardcoded-subs and tweak PTP trumpable tags
May 26, 2023
b50e234
remove remote path mapping from session folder searching
May 26, 2023
b4a2c0a
Add MAX tag
May 26, 2023
84347d1
Consider 1080i in addition to 1080p determining category on HDT
vhuiuit4 May 27, 2023
7b6cb74
Merge pull request #208 from vhuiuit4/HDT-1080i
L4GSP1KE May 28, 2023
c51ef76
oops
May 28, 2023
a133add
Update upload.py
swannie-eire May 31, 2023
d063015
HDB: naming tweaks
Jun 5, 2023
24fb62c
Daily naming fixes
Jun 5, 2023
653aff4
Merge pull request #209 from swannie-eire/patch-5
L4GSP1KE Jun 5, 2023
a035f6c
Adding MTV (#130)
swannie-eire Jun 5, 2023
2bb25bb
fix some things that slipped through
Jun 5, 2023
52faaf2
BHD: Naming tweaks
Jun 7, 2023
1be0e22
Daily episode naming fixes
Jun 7, 2023
09c259d
Fix MTV not prompting
Jun 8, 2023
e817844
HDB: non-hdbimg image tweaks
Jun 9, 2023
d72091e
Add debug text for qbit search attribute error
Jun 9, 2023
62aba19
BHD: add extra text if upload fails for invalid name
Jun 9, 2023
c0cf06a
imgw to img (#211)
sirius-sama Jun 9, 2023
8fb8e10
BHD: Fix daily naming
Jun 10, 2023
fcede3d
search qbittorrent fallback to save_path if content_path does not exist
Jun 10, 2023
a5963ac
.
Jun 10, 2023
a59c5c5
Append qbit name to save_path if content_path does not exist to retur…
Jun 10, 2023
cddfa24
FL: Fix naming error on dailys
Jun 10, 2023
360ed5e
Hopefully remote path map qbit search
Jun 11, 2023
98f2ab5
HDB: Remove width bbcode
Jun 11, 2023
d342236
client typerror fix
Jun 11, 2023
55dcd3c
.
Jun 11, 2023
fb52092
Unleash the debug spam
Jun 13, 2023
bf990af
Web services: add Criterion long name
Jun 13, 2023
b36f053
set empty image list if imagehost uploading was skipped
Jun 13, 2023
8f7341e
HUNO: Map type for HDTV. (#216)
jonbenta Jun 13, 2023
0ed86d3
TL: Map movie category for HDTV. (#215)
jonbenta Jun 13, 2023
403ba86
Merge branch 'master' of github.com:L4GSP1KE/Upload-Assistant
Jun 13, 2023
d52f68b
Update example config
Jun 13, 2023
0f11624
MTV: add 2fa, anon, banned groups, and various other tweaks/fixes
Jun 13, 2023
005ee2e
MTV: force approved image hosts
Jun 13, 2023
32186c6
.
Jun 13, 2023
aba51c0
THR: encode description file to utf8
Jun 18, 2023
792c9f9
opsss.. forgot to add back then (#218)
sirius-sama Jun 20, 2023
c1353bc
remove debug spam when searching qbittorrent api for .torrent match
Jun 20, 2023
2f3513c
MTV add imgbb as supported imghost
Jun 20, 2023
1696dd1
BLU: handle error
Jun 21, 2023
ef5a160
BHD: Add source for DVD Remuxes
Jun 21, 2023
b605992
Uncommon naming fix
Jul 31, 2023
720e405
add --piece-size-max and MTV rehash if needed
Aug 3, 2023
335b3a2
replace empty tag with NOGRP
Aug 3, 2023
f6b592a
MTV: fix FileNotFoundError
Aug 3, 2023
ae2f006
Fix piece_size_max TypeError
Aug 5, 2023
9c0e7c1
ANT: error prevention
Aug 6, 2023
408baf9
improving HDT (#224)
swannie-eire Aug 10, 2023
4331972
Merge branch 'master' of github.com:L4GSP1KE/Upload-Assistant
Aug 10, 2023
31eb03c
add do not edit warning
Aug 10, 2023
eef529e
Adds New Site OE + RF example (#233)
edge20200 Aug 17, 2023
27653eb
adding Bit-HDTV support (#239)
swannie-eire Sep 8, 2023
602cf43
remove tag from BHDTV config example
Sep 8, 2023
8f6bcdb
Example Config: Add otp_uri to MTV
Sep 8, 2023
eee6f19
MTV add otp (#245)
L4GSP1KE Sep 8, 2023
09c6428
ANT: include up to two screenshots
Sep 8, 2023
ca1f5ad
Aither: Include episode title in name
Sep 12, 2023
6a8911d
Aither fix naming error
Sep 13, 2023
03e8a03
ANT fixes for screenshots and "scene" flag setting (#249)
vhuiuit4 Sep 17, 2023
b64d345
adding retroflix to supported sites (#253)
swannie-eire Oct 3, 2023
e4b6c4d
Update HUNO.py (#254)
swannie-eire Oct 4, 2023
3aeb95c
ANT: BDMV fixes thanks to Kitty
Oct 11, 2023
33548f4
Few Updates and Fixes (#257)
sirius-sama Oct 11, 2023
10ef647
HDB: Remove space before audio channels on encodes/webs
Oct 11, 2023
ad8f6d6
Rehash .torrent with correct name if using torf
Oct 11, 2023
0de4d98
a small fix (#268)
sirius-sama Oct 16, 2023
b8cba88
Update OE (#267)
edge20200 Oct 16, 2023
46a3667
use manually exported cookies for HDT (#315)
sirius-sama Feb 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Create and publish a Docker image

on:
push:
branches: ['master']

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Get lowercase repo name
id: get_lowercase_repo_name
run: |
REPO_NAME=${{ env.IMAGE_NAME }}
echo "LOWER_CASE_REPO_NAME=${REPO_NAME,,}" >> $GITHUB_ENV

- name: Get short commit id
id: get_short_commit_id
run: |
echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV

- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}, ${{ env.REGISTRY }}/${{ env.LOWER_CASE_REPO_NAME }}:${{ env.SHA_SHORT }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ data/config.py
data/tags.json
data/cookies/*.txt
data/cookies/*.pkl
data/cookies/*.pickle
*.mkv
.vscode/
__pycache__/
Expand Down
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM alpine:latest

# add mono repo and mono
RUN apk add --no-cache mono --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing

# install requirements
RUN apk add --no-cache --upgrade ffmpeg mediainfo python3 git py3-pip python3-dev g++ cargo mktorrent rust
RUN pip3 install wheel

WORKDIR Upload-Assistant

# install reqs
COPY requirements.txt .
RUN pip3 install -r requirements.txt

# copy everything
COPY . .

ENTRYPOINT ["python3", "/Upload-Assistant/upload.py"]
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# L4G's Upload Assistant

A simple tool to take the work out of uploading. Now with a Discord Bot interface for people who don't like command line!
A simple tool to take the work out of uploading.

## What It Can Do:
- Generates and Parses MediaInfo/BDInfo.
Expand All @@ -13,7 +13,7 @@ A simple tool to take the work out of uploading. Now with a Discord Bot interfac
- Can re-use existing torrents instead of hashing new
- Generates proper name for your upload using Mediainfo/BDInfo and TMDb/IMDb conforming to site rules
- Checks for existing releases already on site
- Uploads to PTP/BLU/BHD/Aither/THR/STC/R4E(limited)/STT/HP/ACM/LCD/LST/TDB
- Uploads to PTP/BLU/BHD/Aither/THR/STC/R4E(limited)/STT/HP/ACM/LCD/LST/NBL/ANT/FL/HUNO/RF/SN
- Adds to your client with fast resume, seeding instantly (rtorrent/qbittorrent/deluge/watch folder)
- ALL WITH MINIMAL INPUT!
- Currently works with .mkv/.mp4/Blu-ray/DVD/HD-DVDs
Expand All @@ -37,7 +37,6 @@ A simple tool to take the work out of uploading. Now with a Discord Bot interfac
- Edit `config.py` to use your information (more detailed information in the [wiki](https://github.com/L4GSP1KE/Upload-Assistant/wiki))
- tmdb_api (v3) key can be obtained from https://developers.themoviedb.org/3/getting-started/introduction
- image host api keys can be obtained from their respective sites
- discord bot token can be obtained from https://discord.com/developers/
- Install necessary python modules `pip3 install --user -U -r requirements.txt`


Expand All @@ -49,9 +48,11 @@ A simple tool to take the work out of uploading. Now with a Discord Bot interfac
## **Updating:**
- To update first navigate into the Upload-Assistant directory: `cd Upload-Assistant`
- Run a `git pull` to grab latest updates
- Run `pip3 install --user -U -r requirements.txt` to ensure dependencies are up to date
## **CLI Usage:**
- Run `python3 -m pip install --user -U -r requirements.txt` to ensure dependencies are up to date
## **CLI Usage:**

`python3 upload.py /downloads/path/to/content --args`

Args are OPTIONAL, for a list of acceptable args, pass `--help`
Args are OPTIONAL, for a list of acceptable args, pass `--help`
## **Docker Usage:**
Visit our wonderful [docker usage wiki page](https://github.com/L4GSP1KE/Upload-Assistant/wiki/Docker)
131 changes: 105 additions & 26 deletions data/example-config.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
config = {
"DEFAULT" : {

# ------ READ THIS ------
# Any lines starting with the # symbol are commented and will not be used.
# If you change any of these options, remove the #
# -----------------------

"tmdb_api" : "tmdb_api key",
"imgbb_api" : "imgbb api key",
"ptpimg_api" : "ptpimg api key",
"lensdump_api" : "lensdump api key",

# Order of image hosts, and backup image hosts
"img_host_1": "imgbb",
"img_host_2": "ptpimg",
"img_host_3": "imgbox",
# "img_host_4": "",
"img_host_4": "pixhost",
"img_host_5": "lensdump",


"screens" : "6",
Expand All @@ -17,29 +25,39 @@


# The name of your default torrent client, set in the torrent client sections below
"default_torrent_client" : "Client1"
"default_torrent_client" : "Client1",

# Play the bell sound effect when asking for confirmation
"sfx_on_prompt" : True,

},

"TRACKERS" : {
# Which trackers do you want to upload to?
"default_trackers" : "BLU, BHD, AITHER, STC, STT, SN, THR, R4E, HP, ACM, PTP, LCD, LST, TDB",
"default_trackers" : "BLU, BHD, AITHER, STC, STT, SN, THR, R4E, HP, ACM, PTP, LCD, LST, PTER, NBL, ANT, MTV",

"BLU" : {
"useAPI" : False, # Set to True if using BLU
"api_key" : "BLU api key",
"announce_url" : "https://blutopia.xyz/announce/customannounceurl",
# "anon" : "False"
"announce_url" : "https://blutopia.cc/announce/customannounceurl",
# "anon" : False
},
"BHD" : {
"api_key" : "BHD api key",
"announce_url" : "https://beyond-hd.me/announce/customannounceurl",
"draft_default" : "True",
# "anon" : False
},
"BHDTV": {
"api_key": "found under https://www.bit-hdtv.com/my.php",
"announce_url": "https://trackerr.bit-hdtv.com/announce",
#passkey found under https://www.bit-hdtv.com/my.php
"my_announce_url": "https://trackerr.bit-hdtv.com/passkey/announce",
# "anon" : "False"
},
"PTP" : {
"useAPI" : False, # Set to True if using PTP
"add_web_source_to_desc" : True,
"ApiUser" : "ptp api user",
"ApiKey" : 'ptp api key',
"username" : "",
Expand All @@ -49,42 +67,49 @@
"AITHER" :{
"api_key" : "AITHER api key",
"announce_url" : "https://aither.cc/announce/customannounceurl",
# "anon" : "False"
# "anon" : False
},
"R4E" :{
"api_key" : "R4E api key",
"announce_url" : "https://racing4everyone.eu/announce/customannounceurl",
# "anon" : "False"
# "anon" : False
},
"HUNO" : {
"api_key" : "HUNO api key",
"announce_url" : "https://hawke.uno/announce/customannounceurl",
# "anon" : "False"
# "anon" : False
},
"MTV": {
'api_key' : 'get from security page',
'username' : '<USERNAME>',
'password' : '<PASSWORD>',
'announce_url' : "get from https://www.morethantv.me/upload.php",
'anon' : False,
# 'otp_uri' : 'OTP URI, read the following for more information https://github.com/google/google-authenticator/wiki/Key-Uri-Format'
},
"STC" :{
"api_key" : "STC",
"announce_url" : "https://skipthecommericals.xyz/announce/customannounceurl",
# "anon" : "False"
# "anon" : False
},
"STT" :{
"api_key" : "STC",
"announce_url" : "https://stt.xyz/announce/customannounceurl",
# "anon" : "False"
# "anon" : False
},
"SN": {
"PHPSESSID": "GET FROM DEV TOOLS ON YOUR BROWSER",
"swarmazon_remember": "GET FROM DEV TOOLS ON YOUR BROWSER",
"api_key": "6Z1tMrXzcYpIeSdGZueQWqb3BowlS6YuIoZLHe3dvIqkSfY0Ws5SHx78oGSTazG0jQ1agduSqe07FPPE8sdWTg",
"announce_url": "https://tracker.swarmazon.club:8443/<YOUR_PASSKEY>/announce",
},
"HP" :{
"api_key" : "HP",
"announce_url" : "https://hidden-palace.net/announce/customannounceurl",
# "anon" : "False"
# "anon" : False
},
"ACM" :{
"api_key" : "ACM api key",
"announce_url" : "https://asiancinema.me/announce/customannounceurl",
# "anon" : "False",
# "anon" : False,

# FOR INTERNAL USE ONLY:
# "internal" : True,
Expand All @@ -94,6 +119,11 @@
"api_key" : "NBL api key",
"announce_url" : "https://nebulance.io/customannounceurl",
},
"ANT" :{
"api_key" : "ANT api key",
"announce_url" : "https://anthelion.me/announce/customannounceurl",
# "anon" : False
},
"THR" : {
"username" : "username",
"password" : "password",
Expand All @@ -102,30 +132,62 @@
"pronfo_api_key" : "pronfo api key",
"pronfo_theme" : "pronfo theme code",
"pronfo_rapi_id" : "pronfo remote api id",
# "anon" : "False"
# "anon" : False
},
"LCD" : {
"api_key" : "LCD api key",
"announce_url" : "https://locadora.xyz/announce/customannounceurl",
# "anon" : "False"
"announce_url" : "https://locadora.cc/announce/customannounceurl",
# "anon" : False
},
"LST" : {
"api_key" : "LST api key",
"announce_url" : "https://lst.gg/announce/customannounceurl",
# "anon" : "False"
# "anon" : False
},

"LT" : {
"LT" : {
"api_key" : "LT api key",
"announce_url" : "https://lat-team.com/announce/customannounceurl",
# "anon" : False
},
"PTER" : {
"passkey":'passkey',
"img_rehost" : False,
"username" : "",
"password" : "",
"ptgen_api": "",
"anon": True,
},
"TL": {
"announce_key": "TL announce key",
},
"TDC" :{
"api_key" : "TDC api key",
"announce_url" : "https://thedarkcommunity.cc/announce/customannounceurl",
# "anon" : "False"
},
"TDB" : {
"passkey" : "TDB api key",
"announce_url" : "https://torrentdb.net/announce/customannounceurl",
"HDT" : {
"username" : "username",
"password" : "password",
"my_announce_url": "https://hdts-announce.ru/announce.php?pid=<PASS_KEY/PID>",
# "anon" : "False"
"announce_url" : "https://hdts-announce.ru/announce.php", #DO NOT EDIT THIS LINE
},
"OE" : {
"api_key" : "OE api key",
"announce_url" : "https://onlyencodes.cc/announce/customannounceurl",
# "anon" : False
},
"RTF": {
"api_key": 'get_it_by_running_/api/ login command from https://retroflix.club/api/doc',
"announce_url": "get from upload page",
# "tag": "RetroFlix, nd",
"anon": True
},
"RF" : {
"api_key" : "RF api key",
"announce_url" : "https://reelflix.xyz/announce/customannounceurl",
# "anon" : False
},

"MANUAL" : {
# Uncomment and replace link with filebrowser (https://github.com/filebrowser/filebrowser) link to the Upload-Assistant directory, this will link to your filebrowser instead of uploading to uguu.se
# "filebrowser" : "https://domain.tld/filebrowser/files/Upload-Assistant/"
Expand Down Expand Up @@ -153,18 +215,33 @@
"qbit_port" : "8080",
"qbit_user" : "username",
"qbit_pass" : "password",
# "qbit_tag" : "tag",
# "torrent_storage_dir" : "path/to/BT_backup folder"
# "qbit_tag" : "tag",
# "qbit_cat" : "category"

# Content Layout for adding .torrents: "Original"(recommended)/"Subfolder"/"NoSubfolder"
"content_layout" : "Original"

# Enable automatic torrent management if listed path(s) are present in the path
# If using remote path mapping, use remote path
# For using multiple paths, use a list ["path1", "path2"]
# "automatic_management_paths" : ""



# Remote path mapping (docker/etc.) CASE SENSITIVE
# "local_path" : "E:\\downloads\\tv",
# "remote_path" : "/remote/downloads/tv"

# Set to False to skip verify certificate for HTTPS connections; for instance, if the connection is using a self-signed certificate.
# "VERIFY_WEBUI_CERTIFICATE" : True
},

"rtorrent_sample" : {
"torrent_client" : "rtorrent",
"rtorrent_url" : "https://user:password@server.host.tld:443/username/rutorrent/plugins/httprpc/action.php",
# "torrent_storage_dir" : "path/to/session folder"
# "torrent_storage_dir" : "path/to/session folder",
# "rtorrent_label" : "Add this label to all uploads"

# Remote path mapping (docker/etc.) CASE SENSITIVE
# "local_path" : "/LocalPath",
Expand All @@ -177,6 +254,7 @@
"deluge_port" : "8080",
"deluge_user" : "username",
"deluge_pass" : "password",
# "torrent_storage_dir" : "path/to/session folder",

# Remote path mapping (docker/etc.) CASE SENSITIVE
# "local_path" : "/LocalPath",
Expand Down Expand Up @@ -220,3 +298,4 @@
}
}
}

Loading