mdhiggins / sickbeard_mp4_automator

Automatically convert video files to a standardized format with metadata tagging to create a beautiful and uniform media library
MIT License
1.53k stars 200 forks source link

auto subtitle downloading isn't working #2 #136

Closed easilydistracte closed 10 years ago

easilydistracte commented 10 years ago

Firstly, I'm sorry about creating a new issue: I didn't know if I should append this issue to the recently-closed issue #123 or not... I'd really be very grateful for some help!

I'm having some similar problems, that can't be solved with pip uninstall babelfish and pip uninstall subliminal.

I installed python and sickbeard via homebrew, if that could be a contributory measure. The system is a brand new OSX install running 10.9.2.

I've just checked, and my various subliminal egg files are in /usr/local/lib/python2.7/site-packages from brew


Marvels Agents Of S H I E L D S01E17 720p WEB-DL DD5 1 H 264-ECI

           No module named subliminal
Subliminal is not installed, automatically downloading of subs has been disabled
Valid file detected: /Volumes/SAB/complete/TV/Marvels Agents Of S H I E L D S01E17 720p WEB-DL DD5 1 H 264-ECI/Marvel.Agents.Of.SHIELD.S01E17.Turn.Turn.Turn.720p.WEB-DL.DD5.1.H.264-ECI.mkv
Video codec detected: h264
Audio stream detected: ac3 eng [Stream 1]
Creating dual audio channels for iOS compatability for this stream
Subtitle stream detected: subrip eng [Stream 2]
Ripping eng subtitle from file
/Volumes/SAB/complete/TV/Marvels Agents Of S H I E L D S01E17 720p WEB-DL DD5 1 H 264-ECI/Marvel.Agents.Of.SHIELD.S01E17.Turn.Turn.Turn.720p.WEB-DL.DD5.1.H.264-ECI.eng.srt created
/Volumes/SAB/complete/TV/Marvels Agents Of S H I E L D S01E17 720p WEB-DL DD5 1 H 264-ECI/Marvel.Agents.Of.SHIELD.S01E17.Turn.Turn.Turn.720p.WEB-DL.DD5.1.H.264-ECI.mp4 created
/Volumes/SAB/complete/TV/Marvels Agents Of S H I E L D S01E17 720p WEB-DL DD5 1 H 264-ECI/Marvel.Agents.Of.SHIELD.S01E17.Turn.Turn.Turn.720p.WEB-DL.DD5.1.H.264-ECI.mkv deleted
Loading config from /Volumes/SAB/sickbeardmp4/autoProcess.ini
Opening URL: host=192.168.1.8:8081/home/postprocess/processEpisode?nzbName=Marvels.Agents.Of.S.H.I.E.L.D.S01E17.720p.WEB-DL.DD5.1.H.264-ECI.nzb&quiet=1&dir=%2FVolumes%2FSAB%2Fcomplete%2FTV%2FMarvels+Agents+Of+S+H+I+E+L+D+S01E17+720p+WEB-DL+DD5+1+H+264-ECI
Processing folder: /Volumes/SAB/complete/TV/Marvels Agents Of S H I E L D S01E17 720p WEB-DL DD5 1 H 264-ECI

Processing /Volumes/SAB/complete/TV/Marvels Agents Of S H I E L D S01E17 720p WEB-DL DD5 1 H 264-ECI/Marvel.Agents.Of.SHIELD.S01E17.Turn.Turn.Turn.720p.WEB-DL.DD5.1.H.264-ECI.mp4 (Marvels.Agents.Of.S.H.I.E.L.D.S01E17.720p.WEB-DL.DD5.1.H.264-ECI.nzb)

Found result in history: (263365, 1, [], 32)

Parsed Marvels.Agents.Of.S.H.I.E.L.D.S01E17.720p.WEB-DL.DD5.1.H.264-ECI.nzb into Marvels Agents Of S H I E L D - S1E17 - 720p.WEB-DL.DD5.1.H.264 (ECI) [ABD: False]

Looking up Marvels Agents Of S H I E L D in the DB

Checking scene exceptions for a match on Marvels Agents Of S H I E L D

Scene exception lookup got tvdb id 263365, using that

Loading show object for tvdb_id 263365

Retrieving episode object for 1x17

Snatch history had a quality in it, using that: 720p WEB-DL

Sick Beard snatched this episode, marking it safe to replace

This download is marked as safe to replace existing file

Found release name Marvels.Agents.Of.S.H.I.E.L.D.S01E17.720p.WEB-DL.DD5.1.H.264-ECI

Destination folder for this episode: /Volumes/TV/Marvel's Agents of S.H.I.E.L.D

Moving file from /Volumes/SAB/complete/TV/Marvels Agents Of S H I E L D S01E17 720p WEB-DL DD5 1 H 264-ECI/Marvel.Agents.Of.SHIELD.S01E17.Turn.Turn.Turn.720p.WEB-DL.DD5.1.H.264-ECI.mp4 to /Volumes/TV/Marvel's Agents of S.H.I.E.L.D/Marvel.Agents.Of.SHIELD.S01E17.Turn.Turn.Turn.720p.WEB-DL.DD5.1.H.264-ECI.mp4

Moving file from /Volumes/SAB/complete/TV/Marvels Agents Of S H I E L D S01E17 720p WEB-DL DD5 1 H 264-ECI/Marvel.Agents.Of.SHIELD.S01E17.Turn.Turn.Turn.720p.WEB-DL.DD5.1.H.264-ECI.eng.srt to /Volumes/TV/Marvel's Agents of S.H.I.E.L.D/Marvel.Agents.Of.SHIELD.S01E17.Turn.Turn.Turn.720p.WEB-DL.DD5.1.H.264-ECI.eng.eng.srt

Executing command ['python2.7', '/Volumes/SAB/sickbeardmp4/postConversion.py', "/Volumes/TV/Marvel's Agents of S.H.I.E.L.D/Marvel.Agents.Of.SHIELD.S01E17.Turn.Turn.Turn.720p.WEB-DL.DD5.1.H.264-ECI.mp4", '/Volumes/SAB/complete/TV/Marvels Agents Of S H I E L D S01E17 720p WEB-DL DD5 1 H 264-ECI/Marvel.Agents.Of.SHIELD.S01E17.Turn.Turn.Turn.720p.WEB-DL.DD5.1.H.264-ECI.mp4', '263365', '1', '17', '2014-04-08']

Script result: No module named subliminal

Subliminal is not installed, automatically downloading of subs has been disabled

Video codec detected: h264

Audio stream detected: aac eng [Stream 1]

Audio stream detected: aac eng [Stream 2]

Creating dual audio channels for iOS compatability for this stream

/Volumes/TV/Marvel's Agents of S.H.I.E.L.D/Marvel.Agents.Of.SHIELD.S01E17.Turn.Turn.Turn.720p.WEB-DL.DD5.1.H.264-ECI.mp4 created

/Volumes/TV/Marvel's Agents of S.H.I.E.L.D/Marvel.Agents.Of.SHIELD.S01E17.Turn.Turn.Turn.720p.WEB-DL.DD5.1.H.264-ECI.tmp.mp4 deleted

Tagging file :/Volumes/TV/Marvel's Agents of S.H.I.E.L.D/Marvel.Agents.Of.SHIELD.S01E17.Turn.Turn.Turn.720p.WEB-DL.DD5.1.H.264-ECI.mp4

Trying to write tags

Tags written successfully

Marvel's Agents of S.H.I.E.L.D. has queued to be refreshed

{}

success

Deleted folder: /Volumes/SAB/complete/TV/Marvels Agents Of S H I E L D S01E17 720p WEB-DL DD5 1 H 264-ECI

Processing succeeded for /Volumes/SAB/complete/TV/Marvels Agents Of S H I E L D S01E17 720p WEB-DL DD5 1 H 264-ECI/Marvel.Agents.Of.SHIELD.S01E17.Turn.Turn.Turn.720p.WEB-DL.DD5.1.H.264-ECI.mp4

My autoProcess.ini file:

[SickBeard]
host=192.168.1.8
port=8081
username=
password=
web_root=
ssl=0
api_key=[redacted]

[NzbDrone]
host=localhost
port=8082
web_root=
ssl=0
api_key=

[MP4]
ffmpeg = /Applications/Utilities/ffmpeg
ffprobe = /Applications/Utilities/ffprobe
output_directory=
copy_to=
move_to=
output_extension=mp4
output_format=mp4
delete_original=True
relocate_moov=False
audio-codec=aac
video-codec=h264
ios-audio=True
audio-language=
audio-default-language=eng
subtitle-language=
subtitle-default-language=eng
fullpathguess=True
convert-mp4=True
tagfile=True
download-artwork=True
download-subs=True
embed-subs=False
sub-providers=addic7ed,podnapisi,thesubdb,opensubtitles

[CouchPotato]
host=192.168.1.8
port = 8082
username = 
password = 
web_root =
ssl = 0
apikey = [redacted]
delay = 65
method = renamer
delete_failed = 0

My output from running the supplied subliminal setup.py.

Running



import subliminal``` does not error.

However if I run `pip uninstall babelfish` I get

_Cannot uninstall requirement babelfish, not installed_
_Storing debug log for failure in /Users/fusion/Library/Logs/pip.log_

and again for `pip uninstall subliminal`

_Cannot uninstall requirement subliminal, not installed_
_Storing debug log for failure in /Users/fusion/Library/Logs/pip.log_

Can/could/would you/someone pls help?
easilydistracte commented 10 years ago

I've just followed this stackoverflow page which got me to run export PYTHONPATH=brew --prefix/lib/python2.7/site-packages:$PYTHONPATH.

I can now get a reply when trying pip uninstall babelfish and pip uninstall subliminal, so maybe this is it. I'm running a large post-process now, so I'll update when I get a subtitle opportunity.

mdhiggins commented 10 years ago

Any updates?

mdhiggins commented 10 years ago

Closing due to inactivity