Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Update) - banned release groups and compile some existing PR's #327

Open
wants to merge 922 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
922 commits
Select commit Hold shift + click to select a range
e935534
HUNO - fix type override
Audionut Dec 7, 2024
32185ac
Also type fix in get type
Audionut Dec 7, 2024
662cfbe
Force manual_type to upper
Audionut Dec 7, 2024
b51b30c
BHD-MTV rehosting fixes
Audionut Dec 7, 2024
d1d757c
Merge branch 'development'
Audionut Dec 7, 2024
fa29e7c
Change from cli_ui to simple print-input
Audionut Dec 7, 2024
bb5443e
Merge branch 'change-prompt'
Audionut Dec 7, 2024
a516375
BHD - imgbb = ibb.co
Audionut Dec 8, 2024
9fdbe53
Merge branch 'master' into development
Audionut Dec 8, 2024
acec0af
Add tvmaze and tvdb arguments
Audionut Dec 8, 2024
118d5c4
BHD - map all image hosts
Audionut Dec 8, 2024
391c205
BHD - correct host mapping
Audionut Dec 8, 2024
adc9114
Return, don't exception
Audionut Dec 8, 2024
c56e3ba
DVD - select longest vob for screens
Audionut Dec 8, 2024
8a26ca8
Put tvmaze console behind debug
Audionut Dec 10, 2024
8fb059a
Try detect TTY and use minimal progress bars
Audionut Dec 10, 2024
da68274
UNIT3D set ID to none if 0
Audionut Dec 10, 2024
31026a6
fix capture+1 and validate after optimize
Audionut Dec 10, 2024
628a4b9
Fix exception when vobset track is missing
Audionut Dec 10, 2024
d37a858
try close and join
Audionut Dec 11, 2024
057a99f
add get-context
Audionut Dec 11, 2024
c71eb23
try ProcessPoolExecutor
Audionut Dec 11, 2024
23ccf8c
Revert "try ProcessPoolExecutor"
Audionut Dec 11, 2024
1a9425c
Dupe checking encoder matching
Audionut Dec 11, 2024
ecf8c20
Cleanup BDMV capture tasks
Audionut Dec 11, 2024
29a2456
Merge branch 'development' into linux-console
Audionut Dec 11, 2024
12b05bd
Push changes to other screen functions
Audionut Dec 11, 2024
8ab1ac8
Remove useless console
Audionut Dec 11, 2024
62f1551
Merge branch 'development'
Audionut Dec 11, 2024
d0dbcdb
Upload_screens needs task_limit also
Audionut Dec 11, 2024
cf3fb14
Update BHD.py
ppkhoa Dec 11, 2024
e7be8c7
Added PTT (#195)
btTeddy Dec 11, 2024
40f3257
executor
Audionut Dec 12, 2024
cdfef59
IDK, something
Audionut Dec 12, 2024
83bceec
Update prep.py
ppkhoa Dec 12, 2024
830cbe6
HUNO - prompt if language not present
Audionut Dec 13, 2024
e3a5125
Merge branch 'huno-language' into development
Audionut Dec 13, 2024
db85cf3
Added more checks to validate streaming service
ppkhoa Dec 13, 2024
ab44e33
lint
Audionut Dec 13, 2024
85f1a64
Indentation
Audionut Dec 13, 2024
7034650
Merge branch 'pr/194'
Audionut Dec 13, 2024
00a0570
revert screenshot fix attempts
Audionut Dec 13, 2024
4d29001
Merge branch 'development'
Audionut Dec 13, 2024
93ffe05
Robust language checking
Audionut Dec 13, 2024
120cf74
Missed a tvmaze console
Audionut Dec 13, 2024
bbf9c7b
Don't +1 +1
Audionut Dec 13, 2024
a277b99
HUNO - don't get caught at language in ua
Audionut Dec 13, 2024
6a982df
fix file based image retaking
Audionut Dec 13, 2024
4b70b0f
remove console
Audionut Dec 13, 2024
02534d3
Fix bdmv screens retry
Audionut Dec 13, 2024
5ee0bce
Add framerate as a dvd system fallback method
Audionut Dec 13, 2024
6619c66
Handle lack of mi.json
Audionut Dec 13, 2024
b3a9578
Always set folder_id
Audionut Dec 14, 2024
b40b48d
Require - for tag with bdmv
Audionut Dec 14, 2024
15934de
dvd screens - fix existing skip and exception
Audionut Dec 14, 2024
0328258
BHD prohibit dvdrip
Audionut Dec 14, 2024
fbaa41e
Remove ffmpeg exception catch
Audionut Dec 14, 2024
7e1f872
Merge branch 'master' into development
Audionut Dec 14, 2024
591ae5a
Add better detection for MP2 audio
Audionut Dec 15, 2024
e0c6e89
Fix borked mp2 code
Audionut Dec 15, 2024
9564638
Fix BDMV unit3d packed screenshots
Audionut Dec 15, 2024
6ac3b2b
Fix torrent creation PTP-HDB
Audionut Dec 16, 2024
004306e
Set episode title to empty for SP releases
ppkhoa Dec 16, 2024
acc8c03
manual episode title handling
Audionut Dec 16, 2024
13cf750
Merge branch 'master' into development
Audionut Dec 16, 2024
8cfdab9
MTV - add imgbb as approved host
Audionut Dec 16, 2024
63b94cc
Initial dupe checking refactor
Audionut Dec 17, 2024
316c262
track tracker status
Audionut Dec 17, 2024
4ce14cc
Config option
Audionut Dec 17, 2024
31d3fc8
save meta state
Audionut Dec 17, 2024
682eac7
Put status into meta with uploading
Audionut Dec 17, 2024
2853d22
cleanup upload.py
Audionut Dec 17, 2024
2449e95
add nano to docker
Audionut Dec 17, 2024
091f8bf
fix dockerfile
Audionut Dec 17, 2024
73ae903
clean return
Audionut Dec 17, 2024
72911da
Merge branch 'Audionut:master' into sp-episode-title
ppkhoa Dec 17, 2024
ef6aaf6
Add -met/--manual-episode-title arg
ppkhoa Dec 17, 2024
9926662
Update prep.py to set manual episode title
ppkhoa Dec 17, 2024
46ecd9b
fix whitespace
ppkhoa Dec 17, 2024
cc412cf
Merge branch 'master' into development
Audionut Dec 17, 2024
ee1c158
Merge branch 'development' into dupe-checking
Audionut Dec 17, 2024
2f54e01
better return handling
Audionut Dec 17, 2024
ca10a3f
stop repeated loops over trackers
Audionut Dec 17, 2024
0783e7b
Clean MTV host handling
Audionut Dec 17, 2024
b1cf8a4
bhd - status not satus
Audionut Dec 17, 2024
f614835
better dupe console
Audionut Dec 18, 2024
cf10311
Merge branch 'master' into development
Audionut Dec 18, 2024
dcd28d4
Merge branch 'development' into dupe-checking
Audionut Dec 18, 2024
06a60bc
Don't tag BD with region
Audionut Dec 18, 2024
e475c0f
Don't try process TV meta if not TV
Audionut Dec 18, 2024
481e4bb
refactor IMDB handling
Audionut Dec 19, 2024
4ff9ef5
cleanup
Audionut Dec 19, 2024
74402bd
ptp-thr fixes
Audionut Dec 19, 2024
8f5406a
manual mod fix
Audionut Dec 19, 2024
4c5c3de
add original language argument
Audionut Dec 19, 2024
709380e
Handle none returns
Audionut Dec 19, 2024
ba63143
Set default tvmaze so rest of code doesn't bitch and moan
Audionut Dec 19, 2024
eaea66c
Merge branch 'imdb_refactor' into dupe-checking
Audionut Dec 19, 2024
5850deb
cleanup
Audionut Dec 19, 2024
063c7d5
Change docker to release version instead
Audionut Dec 19, 2024
2c50cf3
Merge branch 'development'
Audionut Dec 19, 2024
2765c0f
Correct returns in uphelper
Audionut Dec 19, 2024
2cae774
Missed runtime catch when nonetype
Audionut Dec 19, 2024
6abe428
Revert "Don't tag BD with region"
Audionut Dec 20, 2024
086d0c7
cherry picked dvd dupe matching improvements
Audionut Dec 20, 2024
48e51ba
maybe fix docker manual dispatch
Audionut Dec 20, 2024
1d40730
Handle manual episode title not in meta
Audionut Dec 20, 2024
458cc1e
Add config option to skip MTV if require rehash
Audionut Dec 20, 2024
d00ee91
TL don't search existing
Audionut Dec 20, 2024
f273abd
Add config option to prefer MTV accepted torrent files
Audionut Dec 20, 2024
a9d5d35
update signatures
Audionut Dec 20, 2024
b4d79ff
Only check MTV piece size if other checks pass
Audionut Dec 20, 2024
95f2018
fix MTV torrent creation
Audionut Dec 20, 2024
b404d75
Ask to upload even if pass all checks
Audionut Dec 20, 2024
6dea06f
Fix more NoneType in imdb
Audionut Dec 20, 2024
4f44539
add proper user selection check
Audionut Dec 20, 2024
4805f19
really fix user prompt for upload
Audionut Dec 20, 2024
eed5974
fix unable to get when imdbID is not valid
Audionut Dec 20, 2024
4583b04
HDB - allow anime dual audio
Audionut Dec 20, 2024
8fc40f4
Ignore upload checks in debug mode
Audionut Dec 20, 2024
8e882b9
HUNO - force user to input undetected language
Audionut Dec 20, 2024
772bd7a
HUNO - prohibit dvdrips
Audionut Dec 21, 2024
dc36cc1
Ignore tracker pass check in debug
Audionut Dec 21, 2024
7e05b99
Fix dvd/dvdrip source fallback detection
Audionut Dec 21, 2024
01853aa
HDR only is dupe against DV+HDR
Audionut Dec 21, 2024
3cfdbce
If existing DV+HDR is compressed, also compress target
Audionut Dec 21, 2024
c7eed2c
fix encoder dupe matching
Audionut Dec 21, 2024
c81a218
Exclude old style comparisons from ptp descriptions
Audionut Dec 21, 2024
098946e
Change webdl dupe matching
Audionut Dec 21, 2024
2ff3415
HUNO - only ban non x265 dvdrip
Audionut Dec 21, 2024
e4ebd4e
Update LT.py
Hielito2 Dec 21, 2024
ea8e50a
replace - in dupe checking
Audionut Dec 21, 2024
11b87c1
Image hosting rely on top domain only
Audionut Dec 21, 2024
ba2a8ff
imgbb fall back to thumb image when medium is not in response
Audionut Dec 21, 2024
5c853ee
fix MTV config error
Audionut Dec 21, 2024
20b63de
Update LT.py
Hielito2 Dec 22, 2024
dd80e9f
Skip scene lookup if scene in meta
Audionut Dec 22, 2024
ab07dbb
Set base_dir in meta before moving to prep
Audionut Dec 22, 2024
746124b
Add option to tonemap HDR images
Audionut Dec 22, 2024
5ab7020
fix manual frames
Audionut Dec 22, 2024
4ebda9c
Make the ss_time function more robust
Audionut Dec 22, 2024
3691d55
save tracker state after editing input tags
Audionut Dec 22, 2024
2b5055a
MTV skip hash should have been default false
Audionut Dec 23, 2024
b560108
Catch disc info in bbcode
Audionut Dec 23, 2024
1357cf8
Make tvmaze work better
Audionut Dec 23, 2024
226a4e7
Update console feedback
Audionut Dec 23, 2024
2c677db
BHD add more approved image hosts
Audionut Dec 23, 2024
374b2c5
NBL prohibit discs
Audionut Dec 23, 2024
a1b1683
ADD - HHD support (#220)
ericlay Dec 24, 2024
5e77f09
OTW banned groups and content skipping
Audionut Dec 26, 2024
9ee5965
Correct OTW genre location
Audionut Dec 27, 2024
7fcbb0d
await imdb_info_api
Audionut Dec 27, 2024
ca370dd
ptp - tags - normalize
Audionut Dec 27, 2024
9ada2c6
Code cleanup (#219)
Audionut Dec 27, 2024
025a1ad
Clarify site name in search existing
Audionut Dec 27, 2024
ac8153b
Fix manual nfo
Audionut Dec 28, 2024
3e34fcc
undo copy/paste from local
Audionut Dec 28, 2024
7d726b3
fix nfo from path
Audionut Dec 28, 2024
5e8060d
Add unprocessed count for existing queue
Audionut Dec 28, 2024
14adda9
Remove pointless console
Audionut Dec 28, 2024
42b9477
Only print character count if > 1
Audionut Dec 28, 2024
29b2608
Dupe checking - DVD remux fixes
Audionut Dec 28, 2024
961568f
PTP change concert to live performance
Audionut Dec 28, 2024
5520dc6
PTP - sleep before adding torrent
Audionut Dec 28, 2024
08ea95a
need httpx in requirements
Audionut Dec 28, 2024
3902718
Ensure AKA is in alt title
Audionut Dec 28, 2024
8bbb886
Revert "Ensure AKA is in alt title"
Audionut Dec 28, 2024
9f4e042
fix manual tracker
Audionut Dec 29, 2024
551b2d2
Fix PTP/THR when imdb id is 0
Audionut Dec 29, 2024
cf9eca7
Clarify which tracker at groupid
Audionut Dec 29, 2024
379c962
Stop an nbl mod complaining about a line in mediainfo
Audionut Dec 29, 2024
90a31c9
Better bdinfo parsing
Audionut Dec 29, 2024
61534ad
Yoink source flag
Audionut Dec 29, 2024
aeb7248
SP service dict fix
Audionut Dec 29, 2024
974f2f5
Reset edit state before next confirmation
Audionut Dec 30, 2024
f2cfac5
BHD - prohibit SD if HD exists
Audionut Dec 30, 2024
6d1af47
Don't ask twice to upload
Audionut Dec 30, 2024
979652c
Fix torrent validation if not small pieces
Audionut Dec 30, 2024
4ce0537
Correct if else
Audionut Dec 30, 2024
cbffcaf
Console cleanup
Audionut Dec 30, 2024
9e84698
Graciously handle no framerate in mi
Audionut Dec 30, 2024
1c74456
HUNO check dual audio with BD
Audionut Dec 30, 2024
5f0ed38
OTW banned keywords
Audionut Dec 31, 2024
728a4b1
Correct DVD source check
Audionut Dec 31, 2024
8892978
Prettier torrent file debug prints
Audionut Dec 31, 2024
9d8ecda
Fix AKA
Audionut Dec 31, 2024
a4e7b76
PTP subs trumpable check
Audionut Dec 31, 2024
c4448d1
Also clean existing prompt
Audionut Dec 31, 2024
b3eb5cd
adding parsing of URLs (#227)
swannie-eire Dec 31, 2024
115b9c9
Handle empty language tracks
Audionut Jan 1, 2025
1b8f3cd
fix manual tracker work without debug
Audionut Jan 1, 2025
7b357fc
HDT - need to await the session token
Audionut Jan 1, 2025
6e399db
Needs self hand
Audionut Jan 1, 2025
2627e59
fix csrftoken names
Audionut Jan 1, 2025
6624d87
it's a lowercase t, not uppercase
Audionut Jan 1, 2025
8f22006
Use safe IMDB fallback
Audionut Jan 1, 2025
e351fd3
Missed '
Audionut Jan 1, 2025
c5e04a5
HUNO - fix copy/paste in BD dual
Audionut Jan 2, 2025
de9b886
Handle another AKA case from imdb api
Audionut Jan 2, 2025
99e19d6
HUNO - add dual, don't overwrite audio
Audionut Jan 2, 2025
6579579
Add more qbit debugging output
Audionut Jan 2, 2025
1182a1b
Seed pool (#229)
KDLN Jan 3, 2025
12e90a6
ANT/NBL - handle json decode errors with sites down
Audionut Jan 3, 2025
0d2f7d5
adding AR
swannie-eire Jan 3, 2025
dad6b1e
adding medinfo summary template
swannie-eire Jan 3, 2025
9255ad4
Update trackersetup.py
swannie-eire Jan 3, 2025
f5ed5e3
Update example-config.py
swannie-eire Jan 3, 2025
565783e
Update README.md
swannie-eire Jan 3, 2025
57132be
Update AR.py
swannie-eire Jan 3, 2025
4ef2d83
Update AR.py
swannie-eire Jan 3, 2025
256e7e0
Update AR.py
swannie-eire Jan 3, 2025
bb4b44f
Update AR.py
swannie-eire Jan 3, 2025
47ac5a2
Update AR.py
swannie-eire Jan 3, 2025
aa0a041
Update AR.py
swannie-eire Jan 3, 2025
ed18399
Update trackersetup.py
swannie-eire Jan 3, 2025
f1026e2
Update AR.py
swannie-eire Jan 3, 2025
b4f0d2d
Update AR.py
swannie-eire Jan 3, 2025
ab2505a
Update AR.py
swannie-eire Jan 3, 2025
c0d121f
Adding AR (#231)
swannie-eire Jan 3, 2025
b0ccbb7
Update AR.py
swannie-eire Jan 3, 2025
778c298
adding AR aiofiles requirements
swannie-eire Jan 3, 2025
8c34e60
adding AR aiofiles requirements
swannie-eire Jan 3, 2025
a882246
adding AR aiofiles requirements
swannie-eire Jan 3, 2025
c9da87c
description clean up
swannie-eire Jan 3, 2025
364c992
add aiofiles to requirements.txt
GamerGirlN6467 Jan 3, 2025
0e597df
Merge branch 'master' of https://github.com/swannie-eire/MY-AN-UA-FOR…
Audionut Jan 3, 2025
3ea21a9
Merge branch 'pr/231'
Audionut Jan 3, 2025
ad505ae
Fix/seedpool source and categories (#236)
groggy9788 Jan 4, 2025
7723046
ADD FRIKI (Tracker) + ADD DALEXNI (Image/Video Hosting)
JollyHeaven Jan 4, 2025
7612c33
HUNO - also prohibit HDTV if not HEVC
Audionut Jan 6, 2025
7a80ea9
lint
Audionut Jan 6, 2025
096d2aa
Merge branch 'pr/240'
Audionut Jan 6, 2025
5ecee57
docs
Audionut Jan 6, 2025
cab515f
imdb_other, don't fallback to potentially empty meta objects
Audionut Jan 6, 2025
698bb2f
Add a processed files limit
Audionut Jan 6, 2025
598e0c9
HUNO - fix anon
Audionut Jan 6, 2025
3594351
Banned groups from API
Audionut Jan 6, 2025
e5ac711
remove debugging print
Audionut Jan 6, 2025
1514640
adding -AR tag to AR (#238)
swannie-eire Jan 6, 2025
f1a9b91
Another debugging print
Audionut Jan 6, 2025
6c15a17
Merge branch 'master' of https://github.com/Audionut/Upload-Assistant
Audionut Jan 6, 2025
7512fad
Allow banned groups return false
Audionut Jan 6, 2025
e1efbd9
Default cutoff limit = 0
Audionut Jan 6, 2025
885fa25
fix AN/NBL dupe checking
Audionut Jan 7, 2025
974920f
OTW - prohibit ptpimg
Audionut Jan 7, 2025
e8a2b8e
Aither - fix dvdrip naming
Audionut Jan 7, 2025
6e19a81
Dupe checking - add dvdrip to skip checks
Audionut Jan 7, 2025
3769755
Handle ExxExx in dupe checking
Audionut Jan 7, 2025
df65539
Remove str2bool
Audionut Jan 7, 2025
9bc9e7c
readme
Audionut Jan 7, 2025
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
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
max-line-length = 6000
2 changes: 2 additions & 0 deletions .github/workflows/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
max-line-length = 6000
35 changes: 25 additions & 10 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Create and publish a Docker image
name: Create and publish Docker images

on:
push:
branches: ['master']
release:
types:
- published
workflow_dispatch:

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -40,18 +42,31 @@ jobs:
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

- name: Get release version or branch name
id: get_version_or_branch
run: |
echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV

if [ "${{ github.event_name }}" == "release" ]; then
RELEASE_VERSION=${{ github.event.release.tag_name }}
if [ -z "$RELEASE_VERSION" ]; then
echo "RELEASE_VERSION is empty. Please ensure a release tag is provided."
exit 1
fi
echo "VERSION=${RELEASE_VERSION}" >> $GITHUB_ENV
elif [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
BRANCH_NAME=${{ github.ref_name }}
echo "VERSION=${BRANCH_NAME}" >> $GITHUB_ENV
else
echo "Unsupported event: ${{ github.event_name }}"
exit 1
fi

- 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 }}
tags: ${{ env.REGISTRY }}/${{ env.LOWER_CASE_REPO_NAME }}:${{ env.VERSION }}, ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=max
33 changes: 33 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Lint

on:
push:
branches:
- develop
- master
pull_request:
branches:
- master
- develop
workflow_dispatch:

jobs:
lint:
runs-on: ubuntu-latest

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

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8

- name: Run linter
run: flake8 .
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ data/tags.json
data/cookies/*.txt
data/cookies/*.pkl
data/cookies/*.pickle
data/banned/*.*
*.mkv
.vscode/
__pycache__/
tmp/*
.wdm/
.wdm/
.DS_Store
38 changes: 27 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,35 @@
FROM alpine:latest
FROM python:3.12

# add mono repo and mono
RUN apk add --no-cache mono --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing
# Update the package list and install system dependencies including mono
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ffmpeg \
mediainfo=23.04-1 \
git \
g++ \
cargo \
mktorrent \
rustc \
mono-complete \
nano && \
rm -rf /var/lib/apt/lists/*

# install requirements
RUN apk add --no-cache --upgrade ffmpeg mediainfo python3 git py3-pip python3-dev g++ cargo mktorrent rust
RUN pip3 install wheel
# Set up a virtual environment to isolate our Python dependencies
RUN python -m venv /venv
ENV PATH="/venv/bin:$PATH"

WORKDIR Upload-Assistant
# Install wheel and other Python dependencies
RUN pip install --upgrade pip wheel

# install reqs
# Set the working directory in the container
WORKDIR /Upload-Assistant

# Copy the Python requirements file and install Python dependencies
COPY requirements.txt .
RUN pip3 install -r requirements.txt
RUN pip install -r requirements.txt

# copy everything
# Copy the rest of the application's code
COPY . .

ENTRYPOINT ["python3", "/Upload-Assistant/upload.py"]
# Set the entry point for the container
ENTRYPOINT ["python", "/Upload-Assistant/upload.py"]
59 changes: 34 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,58 +1,67 @@
# L4G's Upload Assistant
[![Create and publish a Docker image](https://github.com/Audionut/Upload-Assistant/actions/workflows/docker-image.yml/badge.svg?branch=master)](https://github.com/Audionut/Upload-Assistant/actions/workflows/docker-image.yml)

Discord support https://discord.gg/QHHAZu7e2A

# Audionut's Upload Assistant

A simple tool to take the work out of uploading.

This project is a fork of the original work of L4G https://github.com/L4GSP1KE/Upload-Assistant
Immense thanks to him for establishing this project. Without his (and supporters) time and effort, this fork would not be a thing.
What started as simply pushing some pull requests to keep the main repo inline, as L4G seemed busy with IRL, has since snowballed into full time development, bugs and all.

Many other forks exist, most are simply a rebranding of this fork without any credit whatsoever.
Better just to be on this fork and bug me about my bugs, rather than bugging someone who can ctrl+c/ctrl+v, but likely can't fix the bugs.

## What It Can Do:
- Generates and Parses MediaInfo/BDInfo.
- Generates and Uploads screenshots.
- Uses srrdb to fix scene filenames
- Can grab descriptions from PTP (automatically on filename match or arg) / BLU (arg)
- Uses srrdb to fix scene filenames.
- Can grab descriptions from PTP/BLU/Aither/LST/OE (with config option automatically on filename match, or using arg).
- Can strip existing screenshots from descriptions to skip screenshot generation and uploading.
- Obtains TMDb/IMDb/MAL identifiers.
- Converts absolute to season episode numbering for Anime
- Converts absolute to season episode numbering for Anime.
- Generates custom .torrents without useless top level folders/nfos.
- 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/NBL/ANT/FL/HUNO/RF/SN
- Adds to your client with fast resume, seeding instantly (rtorrent/qbittorrent/deluge/watch folder)
- 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 ACM/Aither/AL/ANT/AR/BHD/BHDTV/BLU/CBR/FRIKI/FNP/FL/HDB/HDT/HHD/HP/HUNO/JPTV/LCD/LST/LT/MTV/NBL/OE/OTW/PSS/PTP/PTER/PTT/RF/R4E(limited)/RTF/SHRI/SN/SP/SPD/STC/STT/TLC/THR/TL/TVC/TTG/ULCX/UTP/YOINK
- 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


- Currently works with .mkv/.mp4/Blu-ray/DVD/HD-DVDs.

## Coming Soon:
- Features



Built with updated BDInfoCLI from https://github.com/rokibhasansagar/BDInfoCLI-ng

## **Setup:**
- **REQUIRES AT LEAST PYTHON 3.7 AND PIP3**
- **REQUIRES AT LEAST PYTHON 3.8 AND PIP3**
- Needs [mono](https://www.mono-project.com/) on linux systems for BDInfo
- Also needs MediaInfo and ffmpeg installed on your system
- On Windows systems, ffmpeg must be added to PATH (https://windowsloop.com/install-ffmpeg-windows-10/)
- On linux systems, get it from your favorite package manager
- Clone the repo to your system `git clone https://github.com/L4GSP1KE/Upload-Assistant.git`
- Clone the repo to your system `git clone https://github.com/Audionut/Upload-Assistant.git` - or download a zip of the source
- Copy and Rename `data/example-config.py` to `data/config.py`
- Edit `config.py` to use your information (more detailed information in the [wiki](https://github.com/L4GSP1KE/Upload-Assistant/wiki))
- Edit `config.py` to use your information (more detailed information in the [wiki](https://github.com/Audionut/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
- Install necessary python modules `pip3 install --user -U -r requirements.txt`



**Additional Resources are found in the [wiki](https://github.com/L4GSP1KE/Upload-Assistant/wiki)**
**Additional Resources are found in the [wiki](https://github.com/Audionut/Upload-Assistant/wiki)**

Feel free to contact me if you need help, I'm not that hard to find.

## **Updating:**
- To update first navigate into the Upload-Assistant directory: `cd Upload-Assistant`
- Run a `git pull` to grab latest updates
- Run `python3 -m pip install --user -U -r requirements.txt` to ensure dependencies are up to date
- Or download a fresh zip and overwrite existing files

## **CLI Usage:**

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

Args are OPTIONAL, for a list of acceptable args, pass `--help`
Args are OPTIONAL and ALWAYS follow path, for a list of acceptable args, pass `--help`.
Path should be in quotes.

## **Docker Usage:**
Visit our wonderful [docker usage wiki page](https://github.com/L4GSP1KE/Upload-Assistant/wiki/Docker)
Visit our wonderful [docker usage wiki page](https://github.com/Audionut/Upload-Assistant/wiki/Docker)
Binary file modified bin/BDInfo/BDInfo.exe
Binary file not shown.
Binary file added bin/BDInfo/System.Resources.Extensions.dll
Binary file not shown.
Loading