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 821 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
821 commits
Select commit Hold shift + click to select a range
14d0302
Update dupe checking, again
Audionut Nov 26, 2024
6bf6610
Clean logging
Audionut Nov 26, 2024
9735b8e
Don't error when processing single file from existing queue
Audionut Nov 26, 2024
4e51530
Merge branch 'queue' into duping
Audionut Nov 26, 2024
5ecfd92
Try some disc matching that will actually work
Audionut Nov 26, 2024
7b95c0c
Fix header again
Audionut Nov 26, 2024
dc5351f
Correct is_disc checking
Audionut Nov 27, 2024
5c3552c
I think I hate this thing, but it maybe works
Audionut Nov 27, 2024
1ebad27
Redundant
Audionut Nov 27, 2024
20e1780
blu-ray matching
Audionut Nov 27, 2024
ed0cb39
Add encoder checking
Audionut Nov 27, 2024
f6689d4
Change log file scope
Audionut Nov 27, 2024
a57c7eb
Fix image upload when less than 3 images returned from description
Audionut Nov 27, 2024
31b383d
Merge branch 'queue' into duping
Audionut Nov 27, 2024
2e618c4
Remove image upload backoff
Audionut Nov 27, 2024
88cc564
Merge branch 'master' into queue
Audionut Nov 27, 2024
6161423
Merge branch 'queue' into duping
Audionut Nov 27, 2024
dee0167
Fix DVD remux naming
Audionut Nov 28, 2024
1e27585
Fix encoder checking with H.xxx
Audionut Nov 28, 2024
29f35b6
Create empty image_list as needed
Audionut Nov 28, 2024
dd481f9
Debugging queue
Audionut Nov 28, 2024
9e9f5ee
BHD - add internal release skipping
Audionut Nov 29, 2024
95da4c7
Retain existing queue management
Audionut Nov 29, 2024
0e4a1d3
Merge checker branch changes
Audionut Nov 29, 2024
67639a9
Add the checker argument
Audionut Nov 29, 2024
20034d8
Merge branch 'duping' into queue
Audionut Nov 29, 2024
98bbee0
Lint
Audionut Nov 29, 2024
765879b
Merge branch 'queue'
Audionut Nov 29, 2024
ce2395a
Bump version in headers
Audionut Nov 29, 2024
3625102
Add dev branch to docker buld
Audionut Nov 30, 2024
7b3752f
Don't overwrite traceback
Audionut Nov 30, 2024
e7412a3
Remove blu-ray from dupe filtering
Audionut Nov 30, 2024
62bd6e9
Fix queue counter
Audionut Nov 30, 2024
8090b92
Catch lack of proper dv/hdr tagging
Audionut Nov 30, 2024
d1dde04
Include meta
Audionut Nov 30, 2024
b9f8f1a
Handle lack of video_encode
Audionut Dec 1, 2024
591b5fb
Muliprocess screenshots
Audionut Dec 1, 2024
fd1f93e
Multiprocess uploads
Audionut Dec 1, 2024
4b45d33
Skip screens if already exist
Audionut Dec 1, 2024
b53ba00
imgbox and option to limit concurrent uploads
Audionut Dec 1, 2024
fb58ee0
MTV - update to work with new image changes
Audionut Dec 1, 2024
d79afcf
Fix host urls
Audionut Dec 1, 2024
af49594
Only uploaded needed images to hit required amount
Audionut Dec 1, 2024
3dfe502
Merge branch 'multiprocess-uploads' into development
Audionut Dec 1, 2024
f142355
lint
Audionut Dec 1, 2024
7eab505
Fix when description_text is none
Audionut Dec 1, 2024
178337a
DVD multi processing
Audionut Dec 1, 2024
99b9ee3
Add back image size checking for hosts
Audionut Dec 1, 2024
3c086c7
Disc multi processing
Audionut Dec 1, 2024
ae3c751
HUNO - make discs work
Audionut Dec 2, 2024
f0d6b2c
MTV again
Audionut Dec 2, 2024
0bff430
Revert to oxipng level 2
Audionut Dec 2, 2024
c02ace1
reuploading when packs
Audionut Dec 2, 2024
c1313d5
add tqdm to requirements
Audionut Dec 2, 2024
fee84b8
HUNO - DVD remux naming fix
Audionut Dec 2, 2024
bb736fb
HUNO - dvd remux fix
Audionut Dec 2, 2024
b31ccac
HUNO add resolution to dvd remux
Audionut Dec 2, 2024
cf78515
Fix using wrong nfo data with scene auto nfo
Audionut Dec 3, 2024
6898d2e
Add new config "cutoff screens"
Audionut Dec 3, 2024
d2d39d4
remove smallest only if capture results
Audionut Dec 3, 2024
12e29df
Add new config "task limit"
Audionut Dec 3, 2024
e1ee8f9
Manual type fix
Audionut Dec 3, 2024
00a293e
MTV cleanup - fixes manual mode
Audionut Dec 3, 2024
e39df52
Add HDB rehost to config
Audionut Dec 3, 2024
6cf06bc
HDB default rehost to true, the safe option
Audionut Dec 3, 2024
eed6b28
Add webdl to filename catch list
Audionut Dec 3, 2024
96fbd38
set task_limit enabled and 1 for testing
Audionut Dec 4, 2024
ffa7bd9
type override cleanup
Audionut Dec 4, 2024
b06178c
Set imgbb uploading limit
Audionut Dec 4, 2024
09e870f
Merge branch 'development'
Audionut Dec 4, 2024
f17af1c
Ugly abort if image host fail
Audionut Dec 4, 2024
a05338b
Don't set ptp id and imdb if not keeping
Audionut Dec 4, 2024
3975c92
Fix image hosts
Audionut Dec 4, 2024
4d9aa7a
Revert "Fix image hosts"
Audionut Dec 4, 2024
62bc6f8
Fix image hosts
Audionut Dec 4, 2024
a439c1d
ptscreens update
Audionut Dec 4, 2024
87522b1
fix MTV images when meta not present
Audionut Dec 4, 2024
bf2dd99
Merge branch 'master' into development
Audionut Dec 4, 2024
3bfe288
lensdump images
Audionut Dec 4, 2024
7fc488c
BHD image rehosting
Audionut Dec 5, 2024
96d058e
add pixhost to bhd approved list
Audionut Dec 5, 2024
d95cba4
MTV - remove new line after images
Audionut Dec 5, 2024
af6aff2
Duping - search name not uuid
Audionut Dec 5, 2024
392c86a
Update LT.py
Hielito2 Dec 6, 2024
3b6aad3
Fix image host switching
Audionut Dec 6, 2024
1324a2b
fix for imgbb
Audionut Dec 6, 2024
946ca64
imgbb polish
Audionut Dec 6, 2024
a978b1e
ULCX - allow DVD
Audionut Dec 6, 2024
c46d34c
Dupe checking -repack fix
Audionut Dec 6, 2024
155eb05
Update LT.py
Hielito2 Dec 6, 2024
2c849de
Merge branch 'Audionut:master' into master
Hielito2 Dec 6, 2024
2177b0e
Move prep import
Audionut Dec 6, 2024
99c0f4a
Dupe checking DVD fixes
Audionut Dec 6, 2024
37554d8
Fix DVD screens retry
Audionut Dec 6, 2024
02ef905
HDT - increase debugging feedback
Audionut Dec 6, 2024
0eeb38b
lint
Audionut Dec 6, 2024
ef2ca61
Merge branch 'pr/166' into development
Audionut Dec 6, 2024
201d302
Allow select tvmaze id
Audionut Dec 6, 2024
f724361
Put meta in correct location
Audionut Dec 6, 2024
c2d404d
OE - dvd subtitle description
Audionut Dec 6, 2024
d7cb939
Revert "OE - dvd subtitle description"
Audionut Dec 7, 2024
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
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 .
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ data/cookies/*.pickle
.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"]
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[![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

# L4G's Upload Assistant

A simple tool to take the work out of uploading.
Expand All @@ -6,53 +10,54 @@ A simple tool to take the work out of uploading.
- 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)
- 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
- 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
- Uploads to ACM/Aither/AL/ANT/BHD/BHDTV/BLU/CBR/FNP/FL/HDB/HDT/HP/HUNO/JPTV/LCD/LST/LT/MTV/NBL/OE/OTW/PSS/PTP/PTER/PTT/RF/R4E(limited)/RTF/SHRI/SN/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


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

## Coming Soon:
- Features




## **Setup:**
- **REQUIRES AT LEAST PYTHON 3.7 AND PIP3**
- **REQUIRES AT LEAST PYTHON 3.12 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`

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)
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