Open HaxXorHardy opened 2 years ago
Can't get it to work either! Log:
2022-08-09 17:13:10,041 :: bw_plex :: INFO :: init.py:168 :: Using bw_plex version 0.1.1.dev95+g86768d6 2022-08-09 17:13:10,041 :: bw_plex :: INFO :: init.py:169 :: default folder set to C:\Users\RandomUser/.config/bw_plex 2022-08-09 17:13:10,295 :: bw_plex :: DEBUG :: misc.py:64 :: Getting server RandomServer 2022-08-09 17:13:32,230 :: bw_plex :: INFO :: init.py:168 :: Using bw_plex version 0.1.1.dev95+g86768d6 2022-08-09 17:13:32,230 :: bw_plex :: INFO :: init.py:169 :: default folder set to C:\Users\RandomUser/.config/bw_plex 2022-08-09 17:13:32,479 :: bw_plex :: DEBUG :: misc.py:64 :: Getting server RandomServer 2022-08-09 17:14:00,055 :: bw_plex :: INFO :: init.py:168 :: Using bw_plex version 0.1.1.dev95+g86768d6 2022-08-09 17:14:00,056 :: bw_plex :: INFO :: init.py:169 :: default folder set to C:\Users\RandomUser/.config/bw_plex 2022-08-09 17:14:00,307 :: bw_plex :: DEBUG :: misc.py:64 :: Getting server RandomServer 2022-08-09 17:14:06,265 :: bw_plex :: INFO :: init.py:168 :: Using bw_plex version 0.1.1.dev95+g86768d6 2022-08-09 17:14:06,266 :: bw_plex :: INFO :: init.py:169 :: default folder set to C:\Users\RandomUser/.config/bw_plex 2022-08-09 17:14:06,518 :: bw_plex :: DEBUG :: misc.py:64 :: Getting server RandomServer 2022-08-09 17:14:37,271 :: bw_plex :: INFO :: init.py:168 :: Using bw_plex version 0.1.1.dev95+g86768d6 2022-08-09 17:14:37,272 :: bw_plex :: INFO :: init.py:169 :: default folder set to C:\Users\RandomUser/.config/bw_plex 2022-08-09 17:14:37,520 :: bw_plex :: DEBUG :: misc.py:64 :: Getting server RandomServer 2022-08-09 17:14:37,521 :: bw_plex :: DEBUG :: misc.py:572 :: Getting hashtable 2022-08-09 17:14:37,609 :: bw_plex :: INFO :: misc.py:658 :: Loading existing files in db 2022-08-09 17:14:38,929 :: bw_plex :: DEBUG :: misc.py:587 :: Files in the hashtable 2022-08-09 17:14:38,934 :: bw_plex :: DEBUG :: plex.py:1318 :: ws event Ready(response=<response HTTP/1.1 101 Switching Protocols>, protocol=None, extensions=set()) 2022-08-09 17:14:51,141 :: bw_plex :: DEBUG :: plex.py:1238 :: Failed to find ratingkey 25027 in the db 2022-08-09 17:14:51,153 :: bw_plex :: DEBUG :: plex.py:1098 :: Found RandomAnime - s02e02 - 2022-08-09 17:14:51,154 :: bw_plex :: DEBUG :: plex.py:1103 :: Download the first 10 minutes of RandomAnime - s02e02 - .wav 2022-08-09 17:14:51,154 :: bw_plex :: DEBUG :: plex.py:886 :: Checking if we can reach RandomAnime - s02e02 - directly 2022-08-09 17:14:51,155 :: bw_plex :: DEBUG :: plex.py:896 :: Found D:\Seriespath\Anime\RandomAnime\Season 2 (2022 Winter)\ RandomAnime S02E02 [1080p].mkv directly 2022-08-09 17:14:51,156 :: bw_plex :: DEBUG :: audio.py:45 :: calling ffmpeg with ffmpeg -i "D:\Seriespath\Anime\RandomAnime\Season 2 (2022 Winter)\ RandomAnime S02E02 [1080p].mkv" -ac 1 -ar 11025 -ss 0 -t 600 -acodec pcm_s16le C:\Users\RandomUser\AppData\Local\Temp\offset_8ifo2cfk.wav 2022-08-09 17:14:51,165 :: bw_plex :: ERROR :: plex.py:89 :: There was an exception in task
Traceback (most recent call last): File "c:\users\RandomUser\src\bw-plex\bw_plex\plex.py", line 84, in inner return func(*args) File "c:\users\RandomUser\src\bw-plex\bw_plex\plex.py", line 1104, in task vid = convert_and_trim(check_file_access(media), fs=11025, File "c:\users\RandomUser\src\bw-plex\bw_plex\audio.py", line 50, in convert_and_trim psox = subprocess.Popen(cmd, stderr=subprocess.PIPE) File "C:\Users\RandomUser\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 951, in init self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Users\RandomUser\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1420, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified
You need to install ffmpeg.
i retried today and installed via docker compose. now i get this error.
2023-05-01 00:27:13,142 :: bw_plex :: DEBUG :: plex.py:1232 :: In.Another.World.With.My.Smartphone.s01e01 is in the correct time range theme_end
2023-05-01 00:27:13,142 :: bw_plex :: DEBUG :: plex.py:1160 :: Called jump with In.Another.World.With.My.Smartphone.s01e01 2 183.2286621315193 None
2023-05-01 00:27:13,142 :: bw_plex :: INFO :: plex.py:931 :: Called client_action with 183.2286621315193 03:03 2 None
2023-05-01 00:27:13,146 :: bw_plex :: INFO :: plex.py:967 :: sessionkey 2 media_sessionkey 2
2023-05-01 00:27:13,146 :: bw_plex :: INFO :: plex.py:971 :: client Revision-PC 155.0
2023-05-01 00:27:13,146 :: bw_plex :: INFO :: plex.py:998 :: Checking if we cant find the correct client
2023-05-01 00:27:13,146 :: bw_plex :: DEBUG :: plex.py:1009 :: We couldnt match the client. Trying a hail marry.
2023-05-01 00:27:13,146 :: bw_plex :: DEBUG :: plex.py:1022 :: Client hasnt a _baseurl or is a browser, enabling proxyThroughServer
2023-05-01 00:27:13,146 :: bw_plex :: DEBUG :: plex.py:1043 :: calculated_offset 183 0.183
2023-05-01 00:27:13,148 :: bw_plex :: ERROR :: plex.py:89 :: There was an exception in client_action
Traceback (most recent call last):
File "/app/bw_plex/lib/python3.6/site-packages/bw_plex/plex.py", line 84, in inner
return func(*args)
File "/app/bw_plex/lib/python3.6/site-packages/bw_plex/plex.py", line 1046, in client_action
proxy_on_fail(correct_client.seekTo)(calculated_offset * 1000)
File "/app/bw_plex/lib/python3.6/site-packages/bw_plex/plex.py", line 940, in inner
return func(*args)
File "/app/bw_plex/lib/python3.6/site-packages/plexapi/client.py", line 352, in seekTo
self.sendCommand('playback/seekTo', offset=offset, type=mtype)
File "/app/bw_plex/lib/python3.6/site-packages/plexapi/client.py", line 207, in sendCommand
return query(key, headers=headers)
File "/app/bw_plex/lib/python3.6/site-packages/plexapi/server.py", line 434, in query
raise NotFound(message)
plexapi.exceptions.NotFound: (404) not_found; http://192.168.1.22:32400/player/playback/seekTo?commandID=1&offset=183000&type=video <html><head><title>Not Found</title></head><body><h1>404 Not Found</h1></body></html>
2023-05-01 00:27:23,143 :: bw_plex :: DEBUG :: plex.py:1191 :: Found In.Another.World.With.My.Smartphone.s01e01 theme start 02:36, theme end 03:03, ffmpeg_end 00:00 progress 02:45 fake_progress 02:55 best_time 03:03 credits_start 00:00 credits_end 00:00
2023-05-01 00:27:23,143 :: bw_plex :: DEBUG :: plex.py:1232 :: In.Another.World.With.My.Smartphone.s01e01 is in the correct time range theme_end```
get this error