Running the latest commit of Premiumizer (b2c1679 at this time) in Docker with the blackhole dir being watched on an interval, when a new magnet file is added, Premiumizer picks it up and correctly adds the transfer to p.me but it does not assign a category even though it was in the "tv" blackhole dir, and it does not remove the magnet file from the blackhole after it is uploaded to p.me
After assigning a category, the download starts but the magnet file remains in the blackhole dir.
Debug Log (click to expand)
```
08-13 14:04:24 root : INFO : Logfile Cleared
08-13 14:04:24 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:04:24] "POST /log HTTP/1.1" 200 1614 0.014463
08-13 14:04:24 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:04:24 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:04:24 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:04:24] "GET /static/css/style.css?v=7 HTTP/1.1" 304 163 0.005651
08-13 14:04:27 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:04:27 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:03], next run at: 2022-08-13 14:04:27 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:04:27 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:04:30.831360-04:00 (in 2.994904 seconds)
08-13 14:04:30 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:04:30 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:03], next run at: 2022-08-13 14:04:30 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:04:30 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:04:33.831360-04:00 (in 2.996042 seconds)
08-13 14:04:30 root : INFO : New watchdir file detected: /blackhole/tv/.DS_Store
08-13 14:04:30 root : ERROR : Watchdir file: /blackhole/tv/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:04:33 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:04:33 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:03], next run at: 2022-08-13 14:04:33 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:04:33 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:04:36.831360-04:00 (in 2.992906 seconds)
08-13 14:04:36 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:04:36 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:03], next run at: 2022-08-13 14:04:36 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:04:36 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:04:39.831360-04:00 (in 2.994280 seconds)
08-13 14:04:39 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:04:39 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:03], next run at: 2022-08-13 14:04:39 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:04:39 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:04:41.516227-04:00 (in 1.679772 seconds)
08-13 14:04:40 root : INFO : New watchdir file detected: /blackhole/tv/._.DS_Store
08-13 14:04:40 root : ERROR : Watchdir file: /blackhole/tv/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:04:40 apscheduler.executors.default : INFO : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:05:10 EDT)" executed successfully
08-13 14:04:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:04:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:04:41.516227-04:00 (in 0.662390 seconds)
08-13 14:04:41 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:04:41 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:05:10.851891-04:00 (in 29.332050 seconds)
08-13 14:04:41 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:30], next run at: 2022-08-13 14:05:11 EDT)" (scheduled at 2022-08-13 14:04:41.516227-04:00)
08-13 14:04:41 root : DEBUG : def update started
08-13 14:04:41 root : DEBUG : def prem_connection started
08-13 14:04:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:04:41 root : DEBUG : def parse_task started
08-13 14:04:41 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:30], next run at: 2022-08-13 14:05:11 EDT)" executed successfully
08-13 14:04:41 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:04:41 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:05:10.851891-04:00 (in 29.179369 seconds)
08-13 14:05:00 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:05:00 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:05:00 geventwebsocket.handler : DEBUG : Can only upgrade connection if using GET method.
08-13 14:05:00 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:05:00] "POST /log HTTP/1.1" 200 2458 0.005537
08-13 14:05:00 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:05:00 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:05:00 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:05:00] "GET /static/css/style.css?v=7 HTTP/1.1" 304 163 0.004960
08-13 14:05:08 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:05:08 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:05:08 geventwebsocket.handler : DEBUG : Can only upgrade connection if using GET method.
08-13 14:05:08 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:05:08] "POST /log HTTP/1.1" 200 2507 0.005274
08-13 14:05:08 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:05:08 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:05:08 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:05:08] "GET /static/css/style.css?v=7 HTTP/1.1" 304 163 0.004280
08-13 14:05:10 watchdog.observers.inotify_buffer : DEBUG : in-event
08-13 14:05:10 watchdog.observers.inotify_buffer : DEBUG : in-event
08-13 14:05:10 watchdog.observers.inotify_buffer : DEBUG : in-event
08-13 14:05:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:05:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:05:11.670495-04:00 (in 0.815361 seconds)
08-13 14:05:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:05:40 EDT)" (scheduled at 2022-08-13 14:05:10.851891-04:00)
08-13 14:05:10 root : DEBUG : def walk_watchdir started
08-13 14:05:11 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:05:11 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:05:40.851891-04:00 (in 29.178787 seconds)
08-13 14:05:11 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:30], next run at: 2022-08-13 14:05:41 EDT)" (scheduled at 2022-08-13 14:05:11.670495-04:00)
08-13 14:05:11 root : DEBUG : def update started
08-13 14:05:11 root : DEBUG : def prem_connection started
08-13 14:05:11 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:05:11 root : DEBUG : def parse_task started
08-13 14:05:11 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:30], next run at: 2022-08-13 14:05:41 EDT)" executed successfully
08-13 14:05:11 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:05:11 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:05:40.851891-04:00 (in 29.002926 seconds)
08-13 14:05:20 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:05:20 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:05:20 geventwebsocket.handler : DEBUG : Can only upgrade connection if using GET method.
08-13 14:05:20 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:05:20] "POST /log HTTP/1.1" 200 2858 0.015084
08-13 14:05:20 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:05:20 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:05:20 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:05:20] "GET /static/css/style.css?v=7 HTTP/1.1" 304 163 0.005936
08-13 14:05:20 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:05:20 root : DEBUG : def upload_magnet started
08-13 14:05:20 root : DEBUG : def prem_connection started
08-13 14:05:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:05:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:05:28 urllib3.connectionpool : DEBUG : Starting new HTTPS connection (2): www.premiumize.me:443
08-13 14:05:29 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:05:29 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:05:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:05:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:05:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:05:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:05:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:05:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:05:41.846804-04:00 (in 0.990299 seconds)
08-13 14:05:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:05:40 root : DEBUG : def upload_magnet started
08-13 14:05:40 root : DEBUG : def prem_connection started
08-13 14:05:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:05:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:05:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:06:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:05:41 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:05:41 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:06:10.851891-04:00 (in 29.000181 seconds)
08-13 14:05:41 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:30], next run at: 2022-08-13 14:06:11 EDT)" (scheduled at 2022-08-13 14:05:41.846804-04:00)
08-13 14:05:41 root : DEBUG : def update started
08-13 14:05:41 root : DEBUG : def prem_connection started
08-13 14:05:42 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:05:42 root : DEBUG : def parse_task started
08-13 14:05:42 root : DEBUG : def get_task started
08-13 14:05:42 root : DEBUG : def clean_name started
08-13 14:05:42 root : DEBUG : def to_unicode started
08-13 14:05:42 root : DEBUG : def add_task started
08-13 14:05:42 root : DEBUG : def get_task started
08-13 14:05:42 root : DEBUG : def get_cat_var started
08-13 14:05:42 root : DEBUG : def clean_name started
08-13 14:05:42 root : DEBUG : def to_unicode started
08-13 14:05:42 root : INFO : Added: Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv] -- Category: -- Type: -- id: 4yUZPEzpQoE6ukNqmSTevg
08-13 14:05:42 root : DEBUG : def get_task started
08-13 14:05:42 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:05:00], next run at: 2022-08-13 14:10:42 EDT)" executed successfully
08-13 14:05:42 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:05:42 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:06:10.851891-04:00 (in 28.837163 seconds)
08-13 14:05:58 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:05:58 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:05:58 geventwebsocket.handler : DEBUG : Can only upgrade connection if using GET method.
08-13 14:05:58 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:05:58] "POST /log HTTP/1.1" 200 3744 0.015387
08-13 14:05:58 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:05:58 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:05:58 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:05:58] "GET /static/css/style.css?v=7 HTTP/1.1" 304 163 0.005717
08-13 14:06:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:06:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:06:40.851891-04:00 (in 29.996780 seconds)
08-13 14:06:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:06:40 EDT)" (scheduled at 2022-08-13 14:06:10.851891-04:00)
08-13 14:06:10 root : DEBUG : def walk_watchdir started
08-13 14:06:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:06:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:06:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:06:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:06:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:06:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:06:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:06:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:07:10.851891-04:00 (in 29.986717 seconds)
08-13 14:06:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:06:40 root : DEBUG : def upload_magnet started
08-13 14:06:40 root : DEBUG : def prem_connection started
08-13 14:06:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:06:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:06:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:07:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:07:09 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:07:09 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:07:09 geventwebsocket.handler : DEBUG : Can only upgrade connection if using GET method.
08-13 14:07:09 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:07:09] "POST /log HTTP/1.1" 200 3927 0.015797
08-13 14:07:09 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:07:09 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:07:09 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:07:09] "GET /static/css/style.css?v=7 HTTP/1.1" 304 163 0.005824
08-13 14:07:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:07:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:07:40.851891-04:00 (in 29.995803 seconds)
08-13 14:07:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:07:40 EDT)" (scheduled at 2022-08-13 14:07:10.851891-04:00)
08-13 14:07:10 root : DEBUG : def walk_watchdir started
08-13 14:07:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:07:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:07:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:07:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:07:37 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:07:37 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:07:37 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:07:37] "GET / HTTP/1.1" 200 2481 0.008990
08-13 14:07:37 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:07:37 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:07:37 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:07:37] "GET /static/css/style.css?v=7 HTTP/1.1" 304 163 0.005669
08-13 14:07:37 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:07:37 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:07:37 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:07:37] "GET /static/js/control.js?v=23 HTTP/1.1" 304 164 0.005640
08-13 14:07:37 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:07:37 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:07:37 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:07:37] "GET /socket.io/?EIO=4&transport=polling&t=OAOOzos HTTP/1.1" 200 254 0.002494
08-13 14:07:37 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:07:37 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:07:37 geventwebsocket.handler : DEBUG : Can only upgrade connection if using GET method.
08-13 14:07:37 root : DEBUG : Client connected
08-13 14:07:37 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:07:37] "POST /socket.io/?EIO=4&transport=polling&t=OAOOzpE&sid=LKjlSVw2HZeaU9OxAAAC HTTP/1.1" 200 197 0.013907
08-13 14:07:37 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:07:37 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:07:38.809390-04:00 (in 0.997138 seconds)
08-13 14:07:37 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:07:37 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:07:37 geventwebsocket.handler : DEBUG : Attempting to upgrade connection
08-13 14:07:37 geventwebsocket.handler : DEBUG : WebSocket request accepted, switching protocols
08-13 14:07:37 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:07:37 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:07:37 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:07:37] "GET /socket.io/?EIO=4&transport=polling&t=OAOOzpM&sid=LKjlSVw2HZeaU9OxAAAC HTTP/1.1" 200 157 0.001861
08-13 14:07:38 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:07:38 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:07:39.809390-04:00 (in 0.996952 seconds)
08-13 14:07:38 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:01], next run at: 2022-08-13 14:07:39 EDT)" (scheduled at 2022-08-13 14:07:38.809390-04:00)
08-13 14:07:38 root : DEBUG : def update started
08-13 14:07:38 root : DEBUG : def prem_connection started
08-13 14:07:38 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:07:38 root : DEBUG : def parse_task started
08-13 14:07:38 root : DEBUG : def get_task started
08-13 14:07:38 root : DEBUG : def clean_name started
08-13 14:07:38 root : DEBUG : def to_unicode started
08-13 14:07:38 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:07:41 EDT)" executed successfully
08-13 14:07:38 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:07:38 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:07:40.851891-04:00 (in 1.876886 seconds)
08-13 14:07:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:07:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:07:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:07:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:07:41.972574-04:00 (in 1.116726 seconds)
08-13 14:07:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:07:40 root : DEBUG : def upload_magnet started
08-13 14:07:40 root : DEBUG : def prem_connection started
08-13 14:07:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:07:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:07:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:08:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:07:41 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:07:41 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:07:44.972574-04:00 (in 2.995196 seconds)
08-13 14:07:41 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:07:44 EDT)" (scheduled at 2022-08-13 14:07:41.972574-04:00)
08-13 14:07:41 root : DEBUG : def update started
08-13 14:07:41 root : DEBUG : def prem_connection started
08-13 14:07:42 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:07:42 root : DEBUG : def parse_task started
08-13 14:07:42 root : DEBUG : def get_task started
08-13 14:07:42 root : DEBUG : def clean_name started
08-13 14:07:42 root : DEBUG : def to_unicode started
08-13 14:07:42 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:07:45 EDT)" executed successfully
08-13 14:07:42 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:07:42 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:07:45.136467-04:00 (in 2.997036 seconds)
08-13 14:07:45 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:07:45 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:07:48.136467-04:00 (in 2.994768 seconds)
08-13 14:07:45 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:07:48 EDT)" (scheduled at 2022-08-13 14:07:45.136467-04:00)
08-13 14:07:45 root : DEBUG : def update started
08-13 14:07:45 root : DEBUG : def prem_connection started
08-13 14:07:45 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:07:45 root : DEBUG : def parse_task started
08-13 14:07:45 root : DEBUG : def get_task started
08-13 14:07:45 root : DEBUG : def clean_name started
08-13 14:07:45 root : DEBUG : def to_unicode started
08-13 14:07:45 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:07:48 EDT)" executed successfully
08-13 14:07:45 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:07:45 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:07:48.334713-04:00 (in 2.997556 seconds)
08-13 14:07:46 geventwebsocket.handler : DEBUG : Closed WebSocket
08-13 14:07:46 root : DEBUG : Client disconnected
08-13 14:07:46 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:07:46 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:07:46 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:07:46] "GET /log HTTP/1.1" 200 4770 0.012243
08-13 14:07:46 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:07:46 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:07:46 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:07:46] "GET /static/css/style.css?v=7 HTTP/1.1" 304 163 0.005654
08-13 14:07:48 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:07:48 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:07:48 geventwebsocket.handler : DEBUG : Can only upgrade connection if using GET method.
08-13 14:07:48 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:07:48] "POST /log HTTP/1.1" 200 4819 0.016485
08-13 14:07:48 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:07:48 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:07:48 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:07:48] "GET /static/css/style.css?v=7 HTTP/1.1" 304 163 0.005654
08-13 14:07:48 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:07:48 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:07:51.334713-04:00 (in 2.997627 seconds)
08-13 14:07:48 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:07:51 EDT)" (scheduled at 2022-08-13 14:07:48.334713-04:00)
08-13 14:07:48 root : DEBUG : def update started
08-13 14:07:48 root : DEBUG : def prem_connection started
08-13 14:07:48 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:07:48 root : DEBUG : def parse_task started
08-13 14:07:48 root : DEBUG : def get_task started
08-13 14:07:48 root : DEBUG : def clean_name started
08-13 14:07:48 root : DEBUG : def to_unicode started
08-13 14:07:48 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:05:00], next run at: 2022-08-13 14:12:48 EDT)" executed successfully
08-13 14:07:48 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:07:48 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:08:10.851891-04:00 (in 22.314705 seconds)
08-13 14:08:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:08:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:08:40.851891-04:00 (in 29.996725 seconds)
08-13 14:08:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:08:40 EDT)" (scheduled at 2022-08-13 14:08:10.851891-04:00)
08-13 14:08:10 root : DEBUG : def walk_watchdir started
08-13 14:08:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:08:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:08:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:08:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:08:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:08:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:08:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:08:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:09:10.851891-04:00 (in 29.988637 seconds)
08-13 14:08:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:08:40 root : DEBUG : def upload_magnet started
08-13 14:08:40 root : DEBUG : def prem_connection started
08-13 14:08:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:08:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:08:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:09:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:09:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:09:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:09:40.851891-04:00 (in 29.995705 seconds)
08-13 14:09:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:09:40 EDT)" (scheduled at 2022-08-13 14:09:10.851891-04:00)
08-13 14:09:10 root : DEBUG : def walk_watchdir started
08-13 14:09:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:09:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:09:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:09:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:09:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:09:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:09:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:09:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:10:10.851891-04:00 (in 29.988911 seconds)
08-13 14:09:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:09:40 root : DEBUG : def upload_magnet started
08-13 14:09:40 root : DEBUG : def prem_connection started
08-13 14:09:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:09:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:09:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:10:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:10:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:10:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:10:40.851891-04:00 (in 29.995962 seconds)
08-13 14:10:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:10:40 EDT)" (scheduled at 2022-08-13 14:10:10.851891-04:00)
08-13 14:10:10 root : DEBUG : def walk_watchdir started
08-13 14:10:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:10:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:10:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:10:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:10:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:10:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:10:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:10:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:11:10.851891-04:00 (in 29.986426 seconds)
08-13 14:10:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:10:40 root : DEBUG : def upload_magnet started
08-13 14:10:40 root : DEBUG : def prem_connection started
08-13 14:10:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:10:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:10:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:11:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:11:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:11:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:11:40.851891-04:00 (in 29.995372 seconds)
08-13 14:11:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:11:40 EDT)" (scheduled at 2022-08-13 14:11:10.851891-04:00)
08-13 14:11:10 root : DEBUG : def walk_watchdir started
08-13 14:11:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:11:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:11:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:11:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:11:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:11:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:11:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:11:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:12:10.851891-04:00 (in 29.986690 seconds)
08-13 14:11:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:11:40 root : DEBUG : def upload_magnet started
08-13 14:11:40 root : DEBUG : def prem_connection started
08-13 14:11:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:11:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:11:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:12:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:12:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:12:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:12:40.851891-04:00 (in 29.996208 seconds)
08-13 14:12:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:12:40 EDT)" (scheduled at 2022-08-13 14:12:10.851891-04:00)
08-13 14:12:10 root : DEBUG : def walk_watchdir started
08-13 14:12:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:12:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:12:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:12:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:12:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:12:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:12:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:12:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:12:48.535078-04:00 (in 7.669661 seconds)
08-13 14:12:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:12:40 root : DEBUG : def upload_magnet started
08-13 14:12:40 root : DEBUG : def prem_connection started
08-13 14:12:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:12:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:12:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:13:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:12:48 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:12:48 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:13:10.851891-04:00 (in 22.305479 seconds)
08-13 14:12:48 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:05:00], next run at: 2022-08-13 14:17:48 EDT)" (scheduled at 2022-08-13 14:12:48.535078-04:00)
08-13 14:12:48 root : DEBUG : def update started
08-13 14:12:48 root : DEBUG : def prem_connection started
08-13 14:12:48 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:12:48 root : DEBUG : def parse_task started
08-13 14:12:48 root : DEBUG : def get_task started
08-13 14:12:48 root : DEBUG : def clean_name started
08-13 14:12:48 root : DEBUG : def to_unicode started
08-13 14:12:48 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:05:00], next run at: 2022-08-13 14:17:48 EDT)" executed successfully
08-13 14:12:48 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:12:48 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:13:10.851891-04:00 (in 22.137717 seconds)
08-13 14:13:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:13:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:13:40.851891-04:00 (in 29.996942 seconds)
08-13 14:13:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:13:40 EDT)" (scheduled at 2022-08-13 14:13:10.851891-04:00)
08-13 14:13:10 root : DEBUG : def walk_watchdir started
08-13 14:13:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:13:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:13:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:13:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:13:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:13:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:13:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:13:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:14:10.851891-04:00 (in 29.993777 seconds)
08-13 14:13:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:13:40 root : DEBUG : def upload_magnet started
08-13 14:13:40 root : DEBUG : def prem_connection started
08-13 14:13:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:13:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:13:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:14:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:14:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:14:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:14:40.851891-04:00 (in 29.995839 seconds)
08-13 14:14:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:14:40 EDT)" (scheduled at 2022-08-13 14:14:10.851891-04:00)
08-13 14:14:10 root : DEBUG : def walk_watchdir started
08-13 14:14:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:14:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:14:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:14:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:14:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:14:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:14:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:14:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:15:10.851891-04:00 (in 29.987357 seconds)
08-13 14:14:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:14:40 root : DEBUG : def upload_magnet started
08-13 14:14:40 root : DEBUG : def prem_connection started
08-13 14:14:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:14:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:14:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:15:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:15:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:15:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:15:40.851891-04:00 (in 29.995625 seconds)
08-13 14:15:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:15:40 EDT)" (scheduled at 2022-08-13 14:15:10.851891-04:00)
08-13 14:15:10 root : DEBUG : def walk_watchdir started
08-13 14:15:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:15:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:15:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:15:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:15:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:15:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:15:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:15:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:16:10.851891-04:00 (in 29.986608 seconds)
08-13 14:15:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:15:40 root : DEBUG : def upload_magnet started
08-13 14:15:40 root : DEBUG : def prem_connection started
08-13 14:15:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:15:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:15:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:16:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:16:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:16:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:16:40.851891-04:00 (in 29.996091 seconds)
08-13 14:16:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:16:40 EDT)" (scheduled at 2022-08-13 14:16:10.851891-04:00)
08-13 14:16:10 root : DEBUG : def walk_watchdir started
08-13 14:16:19 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:16:19 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:16:19 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:16:19] "GET /settings HTTP/1.1" 200 5306 0.017263
08-13 14:16:19 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:16:19 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:16:19 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:16:19] "GET /static/css/style.css?v=7 HTTP/1.1" 304 163 0.005714
08-13 14:16:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:16:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:16:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:16:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:16:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:16:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:16:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:16:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:17:10.851891-04:00 (in 29.986587 seconds)
08-13 14:16:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:16:40 root : DEBUG : def upload_magnet started
08-13 14:16:40 root : DEBUG : def prem_connection started
08-13 14:16:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:16:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:16:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:17:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:17:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:17:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:17:40.851891-04:00 (in 29.995466 seconds)
08-13 14:17:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:17:40 EDT)" (scheduled at 2022-08-13 14:17:10.851891-04:00)
08-13 14:17:10 root : DEBUG : def walk_watchdir started
08-13 14:17:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:17:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:17:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:17:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:17:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:17:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:17:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:17:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:17:48.712049-04:00 (in 7.847507 seconds)
08-13 14:17:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:17:40 root : DEBUG : def upload_magnet started
08-13 14:17:40 root : DEBUG : def prem_connection started
08-13 14:17:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:17:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:17:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:18:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:17:48 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:17:48 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:18:10.851891-04:00 (in 22.128397 seconds)
08-13 14:17:48 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:05:00], next run at: 2022-08-13 14:22:48 EDT)" (scheduled at 2022-08-13 14:17:48.712049-04:00)
08-13 14:17:48 root : DEBUG : def update started
08-13 14:17:48 root : DEBUG : def prem_connection started
08-13 14:17:48 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:17:48 root : DEBUG : def parse_task started
08-13 14:17:48 root : DEBUG : def get_task started
08-13 14:17:48 root : DEBUG : def clean_name started
08-13 14:17:48 root : DEBUG : def to_unicode started
08-13 14:17:48 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:05:00], next run at: 2022-08-13 14:22:48 EDT)" executed successfully
08-13 14:17:48 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:17:48 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:18:10.851891-04:00 (in 21.958201 seconds)
08-13 14:18:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:18:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:18:40.851891-04:00 (in 29.997175 seconds)
08-13 14:18:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:18:40 EDT)" (scheduled at 2022-08-13 14:18:10.851891-04:00)
08-13 14:18:10 root : DEBUG : def walk_watchdir started
08-13 14:18:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:18:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:18:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:18:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:18:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:18:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:18:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:18:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:19:10.851891-04:00 (in 29.987081 seconds)
08-13 14:18:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:18:40 root : DEBUG : def upload_magnet started
08-13 14:18:40 root : DEBUG : def prem_connection started
08-13 14:18:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:18:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:18:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:19:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:19:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:19:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:19:40.851891-04:00 (in 29.995435 seconds)
08-13 14:19:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:19:40 EDT)" (scheduled at 2022-08-13 14:19:10.851891-04:00)
08-13 14:19:10 root : DEBUG : def walk_watchdir started
08-13 14:19:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:19:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:19:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:19:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:19:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:19:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:19:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:19:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:20:10.851891-04:00 (in 29.987317 seconds)
08-13 14:19:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:19:40 root : DEBUG : def upload_magnet started
08-13 14:19:40 root : DEBUG : def prem_connection started
08-13 14:19:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:19:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:19:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:20:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:20:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:20:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:20:40.851891-04:00 (in 29.996009 seconds)
08-13 14:20:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:20:40 EDT)" (scheduled at 2022-08-13 14:20:10.851891-04:00)
08-13 14:20:10 root : DEBUG : def walk_watchdir started
08-13 14:20:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:20:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:20:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:20:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:20:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:20:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:20:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:20:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:10.851891-04:00 (in 29.988839 seconds)
08-13 14:20:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:20:40 root : DEBUG : def upload_magnet started
08-13 14:20:40 root : DEBUG : def prem_connection started
08-13 14:20:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:20:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:20:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:21:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:21:10 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:21:10 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:21:10 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:21:10] "GET / HTTP/1.1" 200 2481 0.009007
08-13 14:21:10 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:21:10 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:21:10 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:21:10] "GET /static/css/style.css?v=7 HTTP/1.1" 304 163 0.005618
08-13 14:21:10 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:21:10 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:21:10 geventwebsocket.handler : DEBUG : Failed to write closing frame -> closing socket
08-13 14:21:10 geventwebsocket.handler : DEBUG : Closed WebSocket
08-13 14:21:10 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:21:10] "GET /static/js/control.js?v=23 HTTP/1.1" 304 164 0.010751
08-13 14:21:10 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:21:10 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:21:10 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:21:10] "GET /socket.io/?EIO=4&transport=polling&t=OAOS4IB HTTP/1.1" 200 254 0.002499
08-13 14:21:10 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:21:10 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:21:10 geventwebsocket.handler : DEBUG : Can only upgrade connection if using GET method.
08-13 14:21:10 root : DEBUG : Client connected
08-13 14:21:10 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:21:10] "POST /socket.io/?EIO=4&transport=polling&t=OAOS4Il&sid=mH7n9FXd9qHiO6X5AAAE HTTP/1.1" 200 197 0.006503
08-13 14:21:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:10.851891-04:00 (in 0.040186 seconds)
08-13 14:21:10 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:21:10 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:21:10 geventwebsocket.handler : DEBUG : Attempting to upgrade connection
08-13 14:21:10 geventwebsocket.handler : DEBUG : WebSocket request accepted, switching protocols
08-13 14:21:10 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:21:10 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:21:10 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:21:10] "GET /socket.io/?EIO=4&transport=polling&t=OAOS4It&sid=mH7n9FXd9qHiO6X5AAAE HTTP/1.1" 200 157 0.001719
08-13 14:21:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:11.809143-04:00 (in 0.954129 seconds)
08-13 14:21:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:21:40 EDT)" (scheduled at 2022-08-13 14:21:10.851891-04:00)
08-13 14:21:10 root : DEBUG : def walk_watchdir started
08-13 14:21:11 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:11 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:12.809143-04:00 (in 0.996547 seconds)
08-13 14:21:11 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:01], next run at: 2022-08-13 14:21:12 EDT)" (scheduled at 2022-08-13 14:21:11.809143-04:00)
08-13 14:21:11 root : DEBUG : def update started
08-13 14:21:11 root : DEBUG : def prem_connection started
08-13 14:21:11 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:21:11 root : DEBUG : def parse_task started
08-13 14:21:11 root : DEBUG : def get_task started
08-13 14:21:11 root : DEBUG : def clean_name started
08-13 14:21:11 root : DEBUG : def to_unicode started
08-13 14:21:11 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:14 EDT)" executed successfully
08-13 14:21:11 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:11 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:14.979829-04:00 (in 2.997035 seconds)
08-13 14:21:14 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:14 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:17.979829-04:00 (in 2.994773 seconds)
08-13 14:21:14 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:17 EDT)" (scheduled at 2022-08-13 14:21:14.979829-04:00)
08-13 14:21:14 root : DEBUG : def update started
08-13 14:21:14 root : DEBUG : def prem_connection started
08-13 14:21:15 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:21:15 root : DEBUG : def parse_task started
08-13 14:21:15 root : DEBUG : def get_task started
08-13 14:21:15 root : DEBUG : def clean_name started
08-13 14:21:15 root : DEBUG : def to_unicode started
08-13 14:21:15 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:18 EDT)" executed successfully
08-13 14:21:15 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:15 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:18.152390-04:00 (in 2.997408 seconds)
08-13 14:21:18 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:18 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:21.152390-04:00 (in 2.994099 seconds)
08-13 14:21:18 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:21 EDT)" (scheduled at 2022-08-13 14:21:18.152390-04:00)
08-13 14:21:18 root : DEBUG : def update started
08-13 14:21:18 root : DEBUG : def prem_connection started
08-13 14:21:18 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:21:18 root : DEBUG : def parse_task started
08-13 14:21:18 root : DEBUG : def get_task started
08-13 14:21:18 root : DEBUG : def clean_name started
08-13 14:21:18 root : DEBUG : def to_unicode started
08-13 14:21:18 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:21 EDT)" executed successfully
08-13 14:21:18 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:18 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:21.319745-04:00 (in 2.997349 seconds)
08-13 14:21:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:21:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:21:21 root : DEBUG : def get_task started
08-13 14:21:21 root : DEBUG : def get_cat_var started
08-13 14:21:21 root : INFO : Task: Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv] -- id: 4yUZPEzpQoE6ukNqmSTevg -- Category set to: tv
08-13 14:21:21 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:21 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:22.296493-04:00 (in 0.998373 seconds)
08-13 14:21:22 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:22 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:23.296493-04:00 (in 0.996795 seconds)
08-13 14:21:22 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:01], next run at: 2022-08-13 14:21:23 EDT)" (scheduled at 2022-08-13 14:21:22.296493-04:00)
08-13 14:21:22 root : DEBUG : def update started
08-13 14:21:22 root : DEBUG : def prem_connection started
08-13 14:21:22 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:21:22 root : DEBUG : def parse_task started
08-13 14:21:22 root : DEBUG : def get_task started
08-13 14:21:22 root : DEBUG : def clean_name started
08-13 14:21:22 root : DEBUG : def to_unicode started
08-13 14:21:23 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:23 apscheduler.scheduler : WARNING : Execution of job "update (trigger: interval[0:00:01], next run at: 2022-08-13 14:21:23 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:21:23 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:24.296493-04:00 (in 0.996276 seconds)
08-13 14:21:24 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:24 apscheduler.scheduler : WARNING : Execution of job "update (trigger: interval[0:00:01], next run at: 2022-08-13 14:21:24 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:21:24 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:25.296493-04:00 (in 0.994786 seconds)
08-13 14:21:25 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:25 apscheduler.scheduler : WARNING : Execution of job "update (trigger: interval[0:00:01], next run at: 2022-08-13 14:21:25 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:21:25 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:26.296493-04:00 (in 0.995323 seconds)
08-13 14:21:25 apscheduler.scheduler : INFO : Added job "Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]" to job store "downloads"
08-13 14:21:25 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:28 EDT)" executed successfully
08-13 14:21:25 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:25 apscheduler.executors.downloads : INFO : Running job "Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv] (trigger: date[2022-08-13 14:21:25 EDT], next run at: 2022-08-13 14:21:25 EDT)" (scheduled at 2022-08-13 14:21:25.479397-04:00)
08-13 14:21:25 apscheduler.scheduler : INFO : Removed job 4yUZPEzpQoE6ukNqmSTevg
08-13 14:21:25 root : DEBUG : def download_task started
08-13 14:21:25 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:28.483494-04:00 (in 2.997663 seconds)
08-13 14:21:25 root : DEBUG : def download_process started
08-13 14:21:25 root : DEBUG : def clean_name started
08-13 14:21:25 root : DEBUG : def to_unicode started
08-13 14:21:25 root : DEBUG : def prem_connection started
08-13 14:21:25 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/folder/list HTTP/1.1" 200 None
08-13 14:21:25 root : DEBUG : def processing_dir started
08-13 14:21:25 root : DEBUG : Starting download of file Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEB-DL.DD5.1.H.264-NTb.mkv to directory /downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]
08-13 14:21:25 root : DEBUG : def clean_name started
08-13 14:21:25 root : DEBUG : def to_unicode started
08-13 14:21:25 root : DEBUG : Starting download of file RARBG.txt to directory /downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]
08-13 14:21:25 root : DEBUG : def clean_name started
08-13 14:21:25 root : DEBUG : def to_unicode started
08-13 14:21:25 root : DEBUG : Starting download of file RARBG_DO_NOT_MIRROR.exe to directory /downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]
08-13 14:21:25 root : DEBUG : def clean_name started
08-13 14:21:25 root : DEBUG : def to_unicode started
08-13 14:21:25 root : INFO : Downloading: Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv] -- id: 4yUZPEzpQoE6ukNqmSTevg
08-13 14:21:25 root : DEBUG : def download_file started
08-13 14:21:25 root : DEBUG : Downloading file: /downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEB-DL.DD5.1.H.264-NTb.mkv
08-13 14:21:25 root : INFO : Using url "https://REDACTED/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEB-DL.DD5.1.H.264-NTb.mkv"
08-13 14:21:25 root : INFO : Folder "/downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]" does not exist. Creating...
08-13 14:21:25 root : WARNING : Server does not support HTTPRange. threads_count is set to 1.
08-13 14:21:25 root : INFO : Creating a ThreadPool of 1 thread(s).
08-13 14:21:25 root : INFO : Starting a new SmartDL operation.
08-13 14:21:25 root : INFO : One URL is loaded.
08-13 14:21:25 root : INFO : Downloading 'https://REDACTED/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEB-DL.DD5.1.H.264-NTb.mkv' to '/downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEB-DL.DD5.1.H.264-NTb.mkv'...
08-13 14:21:26 root : INFO : Content-Length is 1349986485 (1.26 GB).
08-13 14:21:26 root : INFO : Launching 1 thread (downloads 1.26 GB).
08-13 14:21:26 root : INFO : Downloading 'https://REDACTED/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEB-DL.DD5.1.H.264-NTb.mkv' to '/downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEB-DL.DD5.1.H.264-NTb.mkv.000'...
08-13 14:21:26 root : INFO : Control thread has been started.
08-13 14:21:26 root : DEBUG : def get_download_stats started
08-13 14:21:28 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:28 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:31.483494-04:00 (in 2.991988 seconds)
08-13 14:21:28 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:31 EDT)" (scheduled at 2022-08-13 14:21:28.483494-04:00)
08-13 14:21:28 root : DEBUG : def update started
08-13 14:21:28 root : DEBUG : def prem_connection started
08-13 14:21:28 root : DEBUG : def get_download_stats started
08-13 14:21:28 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:21:28 root : DEBUG : def parse_task started
08-13 14:21:28 root : DEBUG : def get_task started
08-13 14:21:28 root : DEBUG : def clean_name started
08-13 14:21:28 root : DEBUG : def to_unicode started
08-13 14:21:28 apscheduler.scheduler : INFO : Added job "Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv] check_downloads" to job store "check_downloads"
08-13 14:21:28 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:31 EDT)" executed successfully
08-13 14:21:28 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:28 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:31.657046-04:00 (in 2.997345 seconds)
08-13 14:21:30 root : DEBUG : def get_download_stats started
08-13 14:21:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:21:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:21:31 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:31 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:34.657046-04:00 (in 2.996474 seconds)
08-13 14:21:31 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:34 EDT)" (scheduled at 2022-08-13 14:21:31.657046-04:00)
08-13 14:21:31 root : DEBUG : def update started
08-13 14:21:31 root : DEBUG : def prem_connection started
08-13 14:21:31 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:21:31 root : DEBUG : def parse_task started
08-13 14:21:31 root : DEBUG : def get_task started
08-13 14:21:31 root : DEBUG : def clean_name started
08-13 14:21:31 root : DEBUG : def to_unicode started
08-13 14:21:31 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:34 EDT)" executed successfully
08-13 14:21:31 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:31 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:34.848723-04:00 (in 2.998523 seconds)
08-13 14:21:32 root : DEBUG : def get_download_stats started
08-13 14:21:34 root : DEBUG : def get_download_stats started
08-13 14:21:34 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:34 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:37.848723-04:00 (in 2.994527 seconds)
08-13 14:21:34 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:37 EDT)" (scheduled at 2022-08-13 14:21:34.848723-04:00)
08-13 14:21:34 root : DEBUG : def update started
08-13 14:21:34 root : DEBUG : def prem_connection started
08-13 14:21:35 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:21:35 root : DEBUG : def parse_task started
08-13 14:21:35 root : DEBUG : def get_task started
08-13 14:21:35 root : DEBUG : def clean_name started
08-13 14:21:35 root : DEBUG : def to_unicode started
08-13 14:21:35 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:38 EDT)" executed successfully
08-13 14:21:35 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:35 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:38.027950-04:00 (in 2.991857 seconds)
08-13 14:21:36 root : DEBUG : def get_download_stats started
08-13 14:21:38 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:38 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:40.851891-04:00 (in 2.817351 seconds)
08-13 14:21:38 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:41 EDT)" (scheduled at 2022-08-13 14:21:38.027950-04:00)
08-13 14:21:38 root : DEBUG : def update started
08-13 14:21:38 root : DEBUG : def prem_connection started
08-13 14:21:38 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:21:38 root : DEBUG : def parse_task started
08-13 14:21:38 root : DEBUG : def get_task started
08-13 14:21:38 root : DEBUG : def clean_name started
08-13 14:21:38 root : DEBUG : def to_unicode started
08-13 14:21:38 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:41 EDT)" executed successfully
08-13 14:21:38 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:38 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:40.851891-04:00 (in 2.627616 seconds)
08-13 14:21:38 root : DEBUG : def get_download_stats started
08-13 14:21:40 root : DEBUG : def get_download_stats started
08-13 14:21:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:21:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:21:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:41.218495-04:00 (in 0.360859 seconds)
08-13 14:21:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:21:40 root : DEBUG : def upload_magnet started
08-13 14:21:40 root : DEBUG : def prem_connection started
08-13 14:21:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:21:41 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:21:41 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:22:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:21:41 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:41 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:44.218495-04:00 (in 2.995045 seconds)
08-13 14:21:41 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:44 EDT)" (scheduled at 2022-08-13 14:21:41.218495-04:00)
08-13 14:21:41 root : DEBUG : def update started
08-13 14:21:41 root : DEBUG : def prem_connection started
08-13 14:21:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:21:41 root : DEBUG : def parse_task started
08-13 14:21:41 root : DEBUG : def get_task started
08-13 14:21:41 root : DEBUG : def clean_name started
08-13 14:21:41 root : DEBUG : def to_unicode started
08-13 14:21:41 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:44 EDT)" executed successfully
08-13 14:21:41 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:41 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:44.389077-04:00 (in 2.996919 seconds)
08-13 14:21:42 root : DEBUG : def get_download_stats started
08-13 14:21:44 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:44 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:47.389077-04:00 (in 2.994526 seconds)
08-13 14:21:44 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:47 EDT)" (scheduled at 2022-08-13 14:21:44.389077-04:00)
08-13 14:21:44 root : DEBUG : def update started
08-13 14:21:44 root : DEBUG : def prem_connection started
08-13 14:21:44 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:21:44 root : DEBUG : def parse_task started
08-13 14:21:44 root : DEBUG : def get_task started
08-13 14:21:44 root : DEBUG : def clean_name started
08-13 14:21:44 root : DEBUG : def to_unicode started
08-13 14:21:44 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:47 EDT)" executed successfully
08-13 14:21:44 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:44 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:47.586498-04:00 (in 2.998110 seconds)
08-13 14:21:44 root : DEBUG : def get_download_stats started
08-13 14:21:46 root : DEBUG : def get_download_stats started
08-13 14:21:47 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:47 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:50.586498-04:00 (in 2.995320 seconds)
08-13 14:21:47 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:50 EDT)" (scheduled at 2022-08-13 14:21:47.586498-04:00)
08-13 14:21:47 root : DEBUG : def update started
08-13 14:21:47 root : DEBUG : def prem_connection started
08-13 14:21:47 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:21:47 root : DEBUG : def parse_task started
08-13 14:21:47 root : DEBUG : def get_task started
08-13 14:21:47 root : DEBUG : def clean_name started
08-13 14:21:47 root : DEBUG : def to_unicode started
08-13 14:21:47 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:50 EDT)" executed successfully
08-13 14:21:47 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:47 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:50.744781-04:00 (in 2.992974 seconds)
08-13 14:21:48 root : DEBUG : def get_download_stats started
08-13 14:21:50 root : DEBUG : def get_download_stats started
08-13 14:21:50 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:50 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:53.744781-04:00 (in 2.994939 seconds)
08-13 14:21:50 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:53 EDT)" (scheduled at 2022-08-13 14:21:50.744781-04:00)
08-13 14:21:50 root : DEBUG : def update started
08-13 14:21:50 root : DEBUG : def prem_connection started
08-13 14:21:50 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:21:50 root : DEBUG : def parse_task started
08-13 14:21:50 root : DEBUG : def get_task started
08-13 14:21:50 root : DEBUG : def clean_name started
08-13 14:21:50 root : DEBUG : def to_unicode started
08-13 14:21:50 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:53 EDT)" executed successfully
08-13 14:21:50 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:50 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:53.912347-04:00 (in 2.996730 seconds)
08-13 14:21:52 root : DEBUG : def get_download_stats started
08-13 14:21:53 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:53 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:56.912347-04:00 (in 2.996140 seconds)
08-13 14:21:53 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:56 EDT)" (scheduled at 2022-08-13 14:21:53.912347-04:00)
08-13 14:21:53 root : DEBUG : def update started
08-13 14:21:53 root : DEBUG : def prem_connection started
08-13 14:21:54 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:21:54 root : DEBUG : def parse_task started
08-13 14:21:54 root : DEBUG : def get_task started
08-13 14:21:54 root : DEBUG : def clean_name started
08-13 14:21:54 root : DEBUG : def to_unicode started
08-13 14:21:54 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:21:57 EDT)" executed successfully
08-13 14:21:54 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:54 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:21:57.117178-04:00 (in 2.997057 seconds)
08-13 14:21:54 root : DEBUG : def get_download_stats started
08-13 14:21:56 root : DEBUG : def get_download_stats started
08-13 14:21:57 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:57 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:00.117178-04:00 (in 2.997696 seconds)
08-13 14:21:57 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:00 EDT)" (scheduled at 2022-08-13 14:21:57.117178-04:00)
08-13 14:21:57 root : DEBUG : def update started
08-13 14:21:57 root : DEBUG : def prem_connection started
08-13 14:21:57 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:21:57 root : DEBUG : def parse_task started
08-13 14:21:57 root : DEBUG : def get_task started
08-13 14:21:57 root : DEBUG : def clean_name started
08-13 14:21:57 root : DEBUG : def to_unicode started
08-13 14:21:57 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:00 EDT)" executed successfully
08-13 14:21:57 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:21:57 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:00.287838-04:00 (in 2.997586 seconds)
08-13 14:21:58 root : DEBUG : def get_download_stats started
08-13 14:22:00 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:00 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:03.287838-04:00 (in 2.997527 seconds)
08-13 14:22:00 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:03 EDT)" (scheduled at 2022-08-13 14:22:00.287838-04:00)
08-13 14:22:00 root : DEBUG : def update started
08-13 14:22:00 root : DEBUG : def prem_connection started
08-13 14:22:00 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:22:00 root : DEBUG : def parse_task started
08-13 14:22:00 root : DEBUG : def get_task started
08-13 14:22:00 root : DEBUG : def clean_name started
08-13 14:22:00 root : DEBUG : def to_unicode started
08-13 14:22:00 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:03 EDT)" executed successfully
08-13 14:22:00 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:00 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:03.463433-04:00 (in 2.997013 seconds)
08-13 14:22:00 root : DEBUG : def get_download_stats started
08-13 14:22:02 root : DEBUG : def get_download_stats started
08-13 14:22:03 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:03 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:06.463433-04:00 (in 2.993674 seconds)
08-13 14:22:03 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:06 EDT)" (scheduled at 2022-08-13 14:22:03.463433-04:00)
08-13 14:22:03 root : DEBUG : def update started
08-13 14:22:03 root : DEBUG : def prem_connection started
08-13 14:22:03 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:22:03 root : DEBUG : def parse_task started
08-13 14:22:03 root : DEBUG : def get_task started
08-13 14:22:03 root : DEBUG : def clean_name started
08-13 14:22:03 root : DEBUG : def to_unicode started
08-13 14:22:03 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:06 EDT)" executed successfully
08-13 14:22:03 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:03 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:06.629704-04:00 (in 2.997498 seconds)
08-13 14:22:04 root : DEBUG : def get_download_stats started
08-13 14:22:06 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:06 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:09.629704-04:00 (in 2.994689 seconds)
08-13 14:22:06 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:09 EDT)" (scheduled at 2022-08-13 14:22:06.629704-04:00)
08-13 14:22:06 root : DEBUG : def update started
08-13 14:22:06 root : DEBUG : def prem_connection started
08-13 14:22:06 root : DEBUG : def get_download_stats started
08-13 14:22:06 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:22:06 root : DEBUG : def parse_task started
08-13 14:22:06 root : DEBUG : def get_task started
08-13 14:22:06 root : DEBUG : def clean_name started
08-13 14:22:06 root : DEBUG : def to_unicode started
08-13 14:22:06 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:09 EDT)" executed successfully
08-13 14:22:06 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:06 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:09.838239-04:00 (in 2.998126 seconds)
08-13 14:22:08 root : DEBUG : def get_download_stats started
08-13 14:22:09 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:09 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:10.851891-04:00 (in 1.008206 seconds)
08-13 14:22:09 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:12 EDT)" (scheduled at 2022-08-13 14:22:09.838239-04:00)
08-13 14:22:09 root : DEBUG : def update started
08-13 14:22:09 root : DEBUG : def prem_connection started
08-13 14:22:10 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:22:10 root : DEBUG : def parse_task started
08-13 14:22:10 root : DEBUG : def get_task started
08-13 14:22:10 root : DEBUG : def clean_name started
08-13 14:22:10 root : DEBUG : def to_unicode started
08-13 14:22:10 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:13 EDT)" executed successfully
08-13 14:22:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:10.851891-04:00 (in 0.825911 seconds)
08-13 14:22:10 root : DEBUG : def get_download_stats started
08-13 14:22:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:13.024252-04:00 (in 2.169584 seconds)
08-13 14:22:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:22:40 EDT)" (scheduled at 2022-08-13 14:22:10.851891-04:00)
08-13 14:22:10 root : DEBUG : def walk_watchdir started
08-13 14:22:12 root : DEBUG : def get_download_stats started
08-13 14:22:13 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:13 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:16.024252-04:00 (in 2.994958 seconds)
08-13 14:22:13 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:16 EDT)" (scheduled at 2022-08-13 14:22:13.024252-04:00)
08-13 14:22:13 root : DEBUG : def update started
08-13 14:22:13 root : DEBUG : def prem_connection started
08-13 14:22:13 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:22:13 root : DEBUG : def parse_task started
08-13 14:22:13 root : DEBUG : def get_task started
08-13 14:22:13 root : DEBUG : def clean_name started
08-13 14:22:13 root : DEBUG : def to_unicode started
08-13 14:22:13 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:16 EDT)" executed successfully
08-13 14:22:13 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:13 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:16.193232-04:00 (in 2.997502 seconds)
08-13 14:22:14 root : DEBUG : def get_download_stats started
08-13 14:22:16 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:16 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:19.193232-04:00 (in 2.995809 seconds)
08-13 14:22:16 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:19 EDT)" (scheduled at 2022-08-13 14:22:16.193232-04:00)
08-13 14:22:16 root : DEBUG : def update started
08-13 14:22:16 root : DEBUG : def prem_connection started
08-13 14:22:16 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:22:16 root : DEBUG : def parse_task started
08-13 14:22:16 root : DEBUG : def get_task started
08-13 14:22:16 root : DEBUG : def clean_name started
08-13 14:22:16 root : DEBUG : def to_unicode started
08-13 14:22:16 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:19 EDT)" executed successfully
08-13 14:22:16 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:16 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:19.419605-04:00 (in 2.997195 seconds)
08-13 14:22:16 root : DEBUG : def get_download_stats started
08-13 14:22:17 root : INFO : File downloaded within 50.48 seconds.
08-13 14:22:18 root : DEBUG : Finished downloading file: /downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEB-DL.DD5.1.H.264-NTb.mkv
08-13 14:22:18 root : DEBUG : Downloading file: /downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]/RARBG.txt
08-13 14:22:18 root : INFO : Using url "https://simone.getcontnt.com/dl/FghdBS3MFTwcAvGgv1eLCw/1661019685/619549530/5a405135b04635.53082886/RARBG.txt"
08-13 14:22:18 root : WARNING : Server does not support HTTPRange. threads_count is set to 1.
08-13 14:22:18 root : INFO : Creating a ThreadPool of 1 thread(s).
08-13 14:22:18 root : INFO : Starting a new SmartDL operation.
08-13 14:22:18 root : INFO : One URL is loaded.
08-13 14:22:18 root : INFO : Downloading 'https://simone.getcontnt.com/dl/FghdBS3MFTwcAvGgv1eLCw/1661019685/619549530/5a405135b04635.53082886/RARBG.txt' to '/downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]/RARBG.txt'...
08-13 14:22:19 root : INFO : Content-Length is 30 (30 B).
08-13 14:22:19 root : INFO : Launching 1 thread (downloads 30 B).
08-13 14:22:19 root : INFO : Downloading 'https://simone.getcontnt.com/dl/FghdBS3MFTwcAvGgv1eLCw/1661019685/619549530/5a405135b04635.53082886/RARBG.txt' to '/downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]/RARBG.txt.000'...
08-13 14:22:19 root : INFO : Control thread has been started.
08-13 14:22:19 root : DEBUG : def get_download_stats started
08-13 14:22:19 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:19 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:22.419605-04:00 (in 2.996847 seconds)
08-13 14:22:19 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:22 EDT)" (scheduled at 2022-08-13 14:22:19.419605-04:00)
08-13 14:22:19 root : DEBUG : def update started
08-13 14:22:19 root : DEBUG : def prem_connection started
08-13 14:22:19 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:22:19 root : DEBUG : def parse_task started
08-13 14:22:19 root : DEBUG : def get_task started
08-13 14:22:19 root : DEBUG : def clean_name started
08-13 14:22:19 root : DEBUG : def to_unicode started
08-13 14:22:19 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:22 EDT)" executed successfully
08-13 14:22:19 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:19 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:22.579612-04:00 (in 2.997073 seconds)
08-13 14:22:20 root : INFO : File downloaded within 1.23 seconds.
08-13 14:22:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:22:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:22:21 root : DEBUG : Finished downloading file: /downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]/RARBG.txt
08-13 14:22:21 root : DEBUG : Downloading file: /downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]/RARBG_DO_NOT_MIRROR.exe
08-13 14:22:21 root : INFO : Using url "https://harper.1petafile.com/dl/OBr4qiqX-4l4COrgS5RLAA/1661019685/619549530/5a4be650a4bea5.74991814/RARBG_DO_NOT_MIRROR.exe"
08-13 14:22:21 root : WARNING : Server does not support HTTPRange. threads_count is set to 1.
08-13 14:22:21 root : INFO : Creating a ThreadPool of 1 thread(s).
08-13 14:22:21 root : INFO : Starting a new SmartDL operation.
08-13 14:22:21 root : INFO : One URL is loaded.
08-13 14:22:21 root : INFO : Downloading 'https://harper.1petafile.com/dl/OBr4qiqX-4l4COrgS5RLAA/1661019685/619549530/5a4be650a4bea5.74991814/RARBG_DO_NOT_MIRROR.exe' to '/downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]/RARBG_DO_NOT_MIRROR.exe'...
08-13 14:22:22 root : INFO : Content-Length is 99 (99 B).
08-13 14:22:22 root : INFO : Launching 1 thread (downloads 99 B).
08-13 14:22:22 root : INFO : Downloading 'https://harper.1petafile.com/dl/OBr4qiqX-4l4COrgS5RLAA/1661019685/619549530/5a4be650a4bea5.74991814/RARBG_DO_NOT_MIRROR.exe' to '/downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]/RARBG_DO_NOT_MIRROR.exe.000'...
08-13 14:22:22 root : INFO : Control thread has been started.
08-13 14:22:22 root : DEBUG : def get_download_stats started
08-13 14:22:22 root : INFO : File downloaded within 0.52 seconds.
08-13 14:22:22 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:22 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:25.579612-04:00 (in 2.996039 seconds)
08-13 14:22:22 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:25 EDT)" (scheduled at 2022-08-13 14:22:22.579612-04:00)
08-13 14:22:22 root : DEBUG : def update started
08-13 14:22:22 root : DEBUG : def prem_connection started
08-13 14:22:22 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:22:22 root : DEBUG : def parse_task started
08-13 14:22:22 root : DEBUG : def get_task started
08-13 14:22:22 root : DEBUG : def clean_name started
08-13 14:22:22 root : DEBUG : def to_unicode started
08-13 14:22:22 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:03], next run at: 2022-08-13 14:22:25 EDT)" executed successfully
08-13 14:22:22 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:22 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:25.750162-04:00 (in 2.997534 seconds)
08-13 14:22:24 root : DEBUG : Finished downloading file: /downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]/RARBG_DO_NOT_MIRROR.exe
08-13 14:22:24 root : INFO : Download finished: Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv] -- id: 4yUZPEzpQoE6ukNqmSTevg -- info: 1.26 GB -- 24.6 MB/s -- 52s -- location: /downloads/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv]
08-13 14:22:24 root : DEBUG : def send_notification started
08-13 14:22:24 root : DEBUG : def get_task started
08-13 14:22:24 root : DEBUG : def prem_connection started
08-13 14:22:24 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/delete HTTP/1.1" 200 None
08-13 14:22:24 root : INFO : Deleted from the cloud: Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv] -- id: 4yUZPEzpQoE6ukNqmSTevg
08-13 14:22:24 apscheduler.executors.downloads : INFO : Job "Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv] (trigger: date[2022-08-13 14:21:25 EDT], next run at: 2022-08-13 14:21:25 EDT)" executed successfully
08-13 14:22:24 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:24 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:25.189052-04:00 (in 0.996793 seconds)
08-13 14:22:25 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:25 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:26.189052-04:00 (in 0.996697 seconds)
08-13 14:22:25 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:01], next run at: 2022-08-13 14:22:26 EDT)" (scheduled at 2022-08-13 14:22:25.189052-04:00)
08-13 14:22:25 root : DEBUG : def update started
08-13 14:22:25 root : DEBUG : def prem_connection started
08-13 14:22:25 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:22:25 root : DEBUG : def parse_task started
08-13 14:22:25 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:30], next run at: 2022-08-13 14:22:55 EDT)" executed successfully
08-13 14:22:25 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:25 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:40.851891-04:00 (in 15.494660 seconds)
08-13 14:22:30 root : INFO : New watchdir file detected: /blackhole/._.DS_Store
08-13 14:22:30 root : ERROR : Watchdir file: /blackhole/._.DS_Store --- is not a torrent/magnet/nzb
08-13 14:22:40 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:40 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:22:40 EDT)" skipped: maximum number of running instances reached (1)
08-13 14:22:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:55.354596-04:00 (in 14.491591 seconds)
08-13 14:22:40 root : INFO : New watchdir file detected: /blackhole/tv/Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb[rartv].magnet
08-13 14:22:40 root : DEBUG : def upload_magnet started
08-13 14:22:40 root : DEBUG : def prem_connection started
08-13 14:22:48 urllib3.connectionpool : DEBUG : Starting new HTTPS connection (3): www.premiumize.me:443
08-13 14:22:49 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/create HTTP/1.1" 200 None
08-13 14:22:49 root : ERROR : Upload of magnet: magnet:?xt=urn:btih:2a32d8ffa60887cd24fdfebedac048ac9931ab66&dn=Primal.S02E05.The.Primal.Theory.1080p.HMAX.WEBRip.DD5.1.x264-NTb%5Brartv%5D&tr=http%3A%2F%2Ftracker.trackerfix.com%3A80%2Fannounce&tr=udp%3A%2F%2F9.rarbg.me%3A2770&tr=udp%3A%2F%2F9.rarbg.to%3A2740&tr=udp%3A%2F%2Ftracker.tallpenguin.org%3A15770&tr=udp%3A%2F%2Ftracker.thinelephant.org%3A12730 failed, message: You already added this job.
08-13 14:22:49 apscheduler.executors.default : ERROR : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:23:10 EDT)" raised an exception
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/apscheduler/executors/base.py", line 125, in run_job
retval = job.func(*job.args, **job.kwargs)
File "/app/premiumizer.py", line 2147, in walk_watchdir
watchdog_handler.on_created(events.FileCreatedEvent(filepath))
File "/app/premiumizer.py", line 818, in on_created
self.process(event)
File "/app/premiumizer.py", line 743, in process
id, name2 = upload_magnet(magnet)
ValueError: too many values to unpack (expected 2)
08-13 14:22:54 geventwebsocket.handler : DEBUG : Closed WebSocket
08-13 14:22:54 root : DEBUG : Client disconnected
08-13 14:22:54 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:22:54 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:22:54 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:22:54] "GET / HTTP/1.1" 200 2481 0.008981
08-13 14:22:55 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:22:55 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:22:55 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:22:55] "GET /static/css/style.css?v=7 HTTP/1.1" 304 163 0.005664
08-13 14:22:55 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:22:55 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:22:55 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:22:55] "GET /static/js/control.js?v=23 HTTP/1.1" 304 164 0.005662
08-13 14:22:55 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:22:55 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:22:55 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:22:55] "GET /socket.io/?EIO=4&transport=polling&t=OAOSTnY HTTP/1.1" 200 254 0.002472
08-13 14:22:55 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:22:55 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:22:55 geventwebsocket.handler : DEBUG : Can only upgrade connection if using GET method.
08-13 14:22:55 root : DEBUG : Client connected
08-13 14:22:55 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:22:55] "POST /socket.io/?EIO=4&transport=polling&t=OAOSTo7&sid=ncGGYsqHJGk6VzPtAAAG HTTP/1.1" 200 197 0.007349
08-13 14:22:55 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:55 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:56.183768-04:00 (in 0.997126 seconds)
08-13 14:22:55 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:22:55 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:22:55 geventwebsocket.handler : DEBUG : Attempting to upgrade connection
08-13 14:22:55 geventwebsocket.handler : DEBUG : WebSocket request accepted, switching protocols
08-13 14:22:55 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:22:55 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:22:55 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:22:55] "GET /socket.io/?EIO=4&transport=polling&t=OAOSToE&sid=ncGGYsqHJGk6VzPtAAAG HTTP/1.1" 200 157 0.001748
08-13 14:22:56 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:56 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:57.183768-04:00 (in 0.997275 seconds)
08-13 14:22:56 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:01], next run at: 2022-08-13 14:22:57 EDT)" (scheduled at 2022-08-13 14:22:56.183768-04:00)
08-13 14:22:56 root : DEBUG : def update started
08-13 14:22:56 root : DEBUG : def prem_connection started
08-13 14:22:56 geventwebsocket.handler : DEBUG : Failed to write closing frame -> closing socket
08-13 14:22:56 geventwebsocket.handler : DEBUG : Closed WebSocket
08-13 14:22:56 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:22:56 root : DEBUG : def parse_task started
08-13 14:22:56 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:30], next run at: 2022-08-13 14:23:26 EDT)" executed successfully
08-13 14:22:56 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:56 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:23:10.851891-04:00 (in 14.491773 seconds)
08-13 14:22:57 geventwebsocket.handler : DEBUG : Closed WebSocket
08-13 14:22:57 root : DEBUG : Client disconnected
08-13 14:22:57 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:22:57 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:22:57 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:22:57] "GET / HTTP/1.1" 200 2481 0.008310
08-13 14:22:58 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:22:58 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:22:58 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:22:58] "GET /static/css/style.css?v=7 HTTP/1.1" 304 163 0.005657
08-13 14:22:58 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:22:58 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:22:58 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:22:58] "GET /static/js/control.js?v=23 HTTP/1.1" 304 164 0.005618
08-13 14:22:58 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:22:58 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:22:58 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:22:58] "GET /socket.io/?EIO=4&transport=polling&t=OAOSUWZ HTTP/1.1" 200 254 0.002424
08-13 14:22:58 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:22:58 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:22:58 geventwebsocket.handler : DEBUG : Can only upgrade connection if using GET method.
08-13 14:22:58 root : DEBUG : Client connected
08-13 14:22:58 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:22:58] "POST /socket.io/?EIO=4&transport=polling&t=OAOSUWy&sid=ERF0UilmJzLf20MNAAAI HTTP/1.1" 200 197 0.006944
08-13 14:22:58 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:58 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:22:59.180400-04:00 (in 0.997425 seconds)
08-13 14:22:58 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:22:58 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:22:58 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:22:58] "GET /socket.io/?EIO=4&transport=polling&t=OAOSUX3&sid=ERF0UilmJzLf20MNAAAI HTTP/1.1" 200 249 0.001839
08-13 14:22:58 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:22:58 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:22:58 geventwebsocket.handler : DEBUG : Attempting to upgrade connection
08-13 14:22:58 geventwebsocket.handler : DEBUG : WebSocket request accepted, switching protocols
08-13 14:22:58 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:22:58 geventwebsocket.handler : DEBUG : Validating WebSocket request
08-13 14:22:58 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:22:58] "GET /socket.io/?EIO=4&transport=polling&t=OAOSUXL&sid=ERF0UilmJzLf20MNAAAI HTTP/1.1" 200 157 0.001999
08-13 14:22:59 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:59 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:23:00.180400-04:00 (in 0.995923 seconds)
08-13 14:22:59 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:01], next run at: 2022-08-13 14:23:00 EDT)" (scheduled at 2022-08-13 14:22:59.180400-04:00)
08-13 14:22:59 root : DEBUG : def update started
08-13 14:22:59 root : DEBUG : def prem_connection started
08-13 14:22:59 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None
08-13 14:22:59 root : DEBUG : def parse_task started
08-13 14:22:59 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:30], next run at: 2022-08-13 14:23:29 EDT)" executed successfully
08-13 14:22:59 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:22:59 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:23:10.851891-04:00 (in 11.500585 seconds)
08-13 14:23:10 apscheduler.scheduler : DEBUG : Looking for jobs to run
08-13 14:23:10 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:23:29.348846-04:00 (in 18.494331 seconds)
08-13 14:23:10 apscheduler.executors.default : INFO : Running job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:23:40 EDT)" (scheduled at 2022-08-13 14:23:10.851891-04:00)
08-13 14:23:10 root : DEBUG : def walk_watchdir started
08-13 14:23:20 root : INFO : New watchdir file detected: /blackhole/.DS_Store
08-13 14:23:20 root : ERROR : Watchdir file: /blackhole/.DS_Store --- is not a torrent/magnet/nzb
08-13 14:23:27 geventwebsocket.handler : DEBUG : Closed WebSocket
08-13 14:23:27 root : DEBUG : Client disconnected
08-13 14:23:27 geventwebsocket.handler : DEBUG : Initializing WebSocket
08-13 14:23:27 geventwebsocket.handler : DEBUG : Validating WebSocket request
```
It appears to be working after your 2fe980f commit. Thank you for your efforts that went into the fix and also for everything you do for this project, @neox387!
Running the latest commit of Premiumizer (b2c1679 at this time) in Docker with the blackhole dir being watched on an interval, when a new magnet file is added, Premiumizer picks it up and correctly adds the transfer to p.me but it does not assign a category even though it was in the "tv" blackhole dir, and it does not remove the magnet file from the blackhole after it is uploaded to p.me
After assigning a category, the download starts but the magnet file remains in the blackhole dir.
Debug Log (click to expand)
``` 08-13 14:04:24 root : INFO : Logfile Cleared 08-13 14:04:24 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:04:24] "POST /log HTTP/1.1" 200 1614 0.014463 08-13 14:04:24 geventwebsocket.handler : DEBUG : Initializing WebSocket 08-13 14:04:24 geventwebsocket.handler : DEBUG : Validating WebSocket request 08-13 14:04:24 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:04:24] "GET /static/css/style.css?v=7 HTTP/1.1" 304 163 0.005651 08-13 14:04:27 apscheduler.scheduler : DEBUG : Looking for jobs to run 08-13 14:04:27 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:03], next run at: 2022-08-13 14:04:27 EDT)" skipped: maximum number of running instances reached (1) 08-13 14:04:27 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:04:30.831360-04:00 (in 2.994904 seconds) 08-13 14:04:30 apscheduler.scheduler : DEBUG : Looking for jobs to run 08-13 14:04:30 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:03], next run at: 2022-08-13 14:04:30 EDT)" skipped: maximum number of running instances reached (1) 08-13 14:04:30 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:04:33.831360-04:00 (in 2.996042 seconds) 08-13 14:04:30 root : INFO : New watchdir file detected: /blackhole/tv/.DS_Store 08-13 14:04:30 root : ERROR : Watchdir file: /blackhole/tv/.DS_Store --- is not a torrent/magnet/nzb 08-13 14:04:33 apscheduler.scheduler : DEBUG : Looking for jobs to run 08-13 14:04:33 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:03], next run at: 2022-08-13 14:04:33 EDT)" skipped: maximum number of running instances reached (1) 08-13 14:04:33 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:04:36.831360-04:00 (in 2.992906 seconds) 08-13 14:04:36 apscheduler.scheduler : DEBUG : Looking for jobs to run 08-13 14:04:36 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:03], next run at: 2022-08-13 14:04:36 EDT)" skipped: maximum number of running instances reached (1) 08-13 14:04:36 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:04:39.831360-04:00 (in 2.994280 seconds) 08-13 14:04:39 apscheduler.scheduler : DEBUG : Looking for jobs to run 08-13 14:04:39 apscheduler.scheduler : WARNING : Execution of job "walk_watchdir (trigger: interval[0:00:03], next run at: 2022-08-13 14:04:39 EDT)" skipped: maximum number of running instances reached (1) 08-13 14:04:39 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:04:41.516227-04:00 (in 1.679772 seconds) 08-13 14:04:40 root : INFO : New watchdir file detected: /blackhole/tv/._.DS_Store 08-13 14:04:40 root : ERROR : Watchdir file: /blackhole/tv/._.DS_Store --- is not a torrent/magnet/nzb 08-13 14:04:40 apscheduler.executors.default : INFO : Job "walk_watchdir (trigger: interval[0:00:30], next run at: 2022-08-13 14:05:10 EDT)" executed successfully 08-13 14:04:40 apscheduler.scheduler : DEBUG : Looking for jobs to run 08-13 14:04:40 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:04:41.516227-04:00 (in 0.662390 seconds) 08-13 14:04:41 apscheduler.scheduler : DEBUG : Looking for jobs to run 08-13 14:04:41 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:05:10.851891-04:00 (in 29.332050 seconds) 08-13 14:04:41 apscheduler.executors.default : INFO : Running job "update (trigger: interval[0:00:30], next run at: 2022-08-13 14:05:11 EDT)" (scheduled at 2022-08-13 14:04:41.516227-04:00) 08-13 14:04:41 root : DEBUG : def update started 08-13 14:04:41 root : DEBUG : def prem_connection started 08-13 14:04:41 urllib3.connectionpool : DEBUG : https://www.premiumize.me:443 "POST /api/transfer/list HTTP/1.1" 200 None 08-13 14:04:41 root : DEBUG : def parse_task started 08-13 14:04:41 apscheduler.executors.default : INFO : Job "update (trigger: interval[0:00:30], next run at: 2022-08-13 14:05:11 EDT)" executed successfully 08-13 14:04:41 apscheduler.scheduler : DEBUG : Looking for jobs to run 08-13 14:04:41 apscheduler.scheduler : DEBUG : Next wakeup is due at 2022-08-13 14:05:10.851891-04:00 (in 29.179369 seconds) 08-13 14:05:00 geventwebsocket.handler : DEBUG : Initializing WebSocket 08-13 14:05:00 geventwebsocket.handler : DEBUG : Validating WebSocket request 08-13 14:05:00 geventwebsocket.handler : DEBUG : Can only upgrade connection if using GET method. 08-13 14:05:00 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:05:00] "POST /log HTTP/1.1" 200 2458 0.005537 08-13 14:05:00 geventwebsocket.handler : DEBUG : Initializing WebSocket 08-13 14:05:00 geventwebsocket.handler : DEBUG : Validating WebSocket request 08-13 14:05:00 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:05:00] "GET /static/css/style.css?v=7 HTTP/1.1" 304 163 0.004960 08-13 14:05:08 geventwebsocket.handler : DEBUG : Initializing WebSocket 08-13 14:05:08 geventwebsocket.handler : DEBUG : Validating WebSocket request 08-13 14:05:08 geventwebsocket.handler : DEBUG : Can only upgrade connection if using GET method. 08-13 14:05:08 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:05:08] "POST /log HTTP/1.1" 200 2507 0.005274 08-13 14:05:08 geventwebsocket.handler : DEBUG : Initializing WebSocket 08-13 14:05:08 geventwebsocket.handler : DEBUG : Validating WebSocket request 08-13 14:05:08 geventwebsocket.handler : INFO : 192.168.1.50 - - [2022-08-13 14:05:08] "GET /static/css/style.css?v=7 HTTP/1.1" 304 163 0.004280 08-13 14:05:10 watchdog.observers.inotify_buffer : DEBUG : in-event