Couple Things
See original GitHub issueFirst issue:
Running bw_plex check_db
just ends up throwing a
2018-06-16 16:57:46,572 :: bw_plex :: DEBUG :: Getting server ENDLESS DREAMS MEDIA
Traceback (most recent call last):
File "C:\Tools\python3\Scripts\bw_plex-script.py", line 11, in <module>
load_entry_point('bw-plex==0.0.7', 'console_scripts', 'bw_plex')()
File "c:\tools\python3\lib\site-packages\click\core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "c:\tools\python3\lib\site-packages\click\core.py", line 697, in main
rv = self.invoke(ctx)
File "c:\tools\python3\lib\site-packages\click\core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\tools\python3\lib\site-packages\click\core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\tools\python3\lib\site-packages\click\core.py", line 535, in invoke
return callback(*args, **kwargs)
File "c:\tools\python3\lib\site-packages\bw_plex\plex.py", line 195, in check_db
client = choose('Select what client to use', PMS.clients(), 'title')[0]
IndexError: list index out of range
Second Issue:
When running bw_plex watch
it never fully seems to process the files or something, it’ll sometimes sit there running these three things
2018-06-16 16:39:43,495 :: bw_plex :: DEBUG :: Calling find_offset_ffmpeg with command ffmpeg -i D:\Media\TV Shows\12 Monkeys\Season 04\12 Monkeys - S04E02 - Ouroboros [1080p AVC - 5.1 E-AC3 Eng - AMZN WEB-DL].mkv -t 600 -vf blackdetect=d=0.5:pix_th=0.1 -af silencedetect=n=-50dB:d=0.3 -f null -
2018-06-16 16:46:51,943 :: bw_plex :: DEBUG :: final_video [['00:00', '00:01', '00:01'], ['00:06', '00:10', '00:04'], ['07:52', '07:56', '00:04']]
2018-06-16 16:46:51,951 :: bw_plex :: DEBUG :: final_audio [['00:00', '00:01', '00:01'], ['00:05', '00:06', '00:00']]
2018-06-16 16:46:51,952 :: bw_plex :: DEBUG :: fin v [[0.0, 1.001, 1.001], [6.048, 10.344, 4.296], [472.097, 476.351, 4.254]]
2018-06-16 16:46:51,954 :: bw_plex :: DEBUG :: fin a [[0.0, 1.44581, 1.44581], [5.61173, 6.15529, 0.543562]]
2018-06-16 16:46:51,960 :: bw_plex :: DEBUG :: Checking if 12.Monkeys.s04e02 has a recap with phrase previously on, last season, last episode using subtitles
for so long that by the time the it’s done running that stuff the theme would have come and gone already… I don’t understand why, as it should of processed the information while I was playing the episode before it but it never did it seems like…
Full Log up until I aborted bw_plex to make this report:
https://paste.ee/p/JbhWL (by the time it reached 2018-06-16 16:46:51,960 :: bw_plex :: DEBUG :: Checking if 12.Monkeys.s04e02 has a recap with phrase previously on, last season, last episode using subtitle
, the theme had already came and gone…)
Third Issue:
bw_plex process
doesn’t seem to do much? I ran it thinking that it would go through and process all my tv shows and download theme files and all that so it maybe doesn’t have to go through and do things like in the second issue, but when I ran it all it did was
2018-06-16 16:58:50,848 :: bw_plex :: DEBUG :: Getting server ENDLESS DREAMS MEDIA
2018-06-16 16:58:50,870 :: bw_plex :: DEBUG :: Getting hashtable
2018-06-16 16:58:53,320 :: bw_plex :: INFO :: Loading existing files in db
and then it stopped…
Doing a bw_plex add_theme_to_hashtable
instead seems to throw an error
2018-06-16 17:21:22,885 :: bw_plex :: DEBUG :: Getting server ENDLESS DREAMS MEDIA
Traceback (most recent call last):
File "C:\Tools\python3\Scripts\bw_plex-script.py", line 11, in <module>
load_entry_point('bw-plex==0.0.7', 'console_scripts', 'bw_plex')()
File "c:\tools\python3\lib\site-packages\click\core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "c:\tools\python3\lib\site-packages\click\core.py", line 697, in main
rv = self.invoke(ctx)
File "c:\tools\python3\lib\site-packages\click\core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\tools\python3\lib\site-packages\click\core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\tools\python3\lib\site-packages\click\core.py", line 535, in invoke
return callback(*args, **kwargs)
File "c:\tools\python3\lib\site-packages\bw_plex\plex.py", line 477, in add_theme_to_hashtable
from bw_plex.audfprint.audfprint import multiproc_add
File "c:\tools\python3\lib\site-packages\bw_plex\audfprint\audfprint.py", line 21, in <module>
import audfprint_analyze # The actual analyzer class/code
ModuleNotFoundError: No module named 'audfprint_analyze'
dunno why it throws the error about ModuleNotFoundError: No module named 'audfprint_analyze'
as looking in C:\Tools\python3\Lib\site-packages\bw_plex\audfprint
the audfprint_analyze.py
script is clearly there…
Also why is there no documentation for anything to do the config file? Some of it is easy to understand, but there are things like mode
, theme_source
, check_credits_action
that I don’t understand, like what are they supposed to do, and are there other things you could change those to or something?
Issue Analytics
- State:
- Created 5 years ago
- Comments:58 (23 by maintainers)
OMG! I have a breakthrough! I was fiddling with how I called bw_plex and I have finally got it to save to the hashtable! it seems that calling it like
bw_plex
doesn’t make it save to the hashtable, but if I gocd
into where bw_plex downloaded toC:\Users\JourneyOver\src\bw-plex\bw_plex
and I callpython plex.py
instead it saves…So pretty much calling
bw_plex
instead ofpython plex.py
is broken.That’s fine ^^ not a problem at all, if I run into any new problems or think of anything new will let ya know 😃