Giter VIP home page Giter VIP logo

Comments (4)

noobydp avatar noobydp commented on May 21, 2024

Here's the SAB log from a download which has this problem. I can't figure out where it gets the folder path from in "Destination folder for this episode: /mnt/iTunes/TV Shows/American Dad!"

Starting sabToSickBeardwithConverter.py
Loading config from /usr/share/mp4_automator/autoProcess.ini
Opening URL: http://localhost:8081/home/postprocess/processEpisode?nzbName=American.Dad.S09E02.HDTV.x264-LOL.nzb.nzb&quiet=1&dir=%2Fdownloads%2Fcomplete%2FAmerican.Dad.S09E02.HDTV.x264-LOL.nzb
Processing folder /downloads/complete/American.Dad.S09E02.HDTV.x264-LOL.nzb

Processing /downloads/complete/American.Dad.S09E02.HDTV.x264-LOL.nzb/american.dad.902.hdtv-lol.mp4 (American.Dad.S09E02.HDTV.x264-LOL.nzb.nzb)

Parsed American.Dad.S09E02.HDTV.x264-LOL.nzb.nzb into American Dad - S9E2 - HDTV.x264 (LOL.nzb) [ABD: False]

Checking scene exceptions for a match on American Dad

Looking up American Dad in the DB

Looking up name American Dad on TVDB

Lookup successful, using tvdb id 73141

Loading show object for tvdb_id 73141

Retrieving episode object for 9x2

Looking up quality for name American.Dad.S09E02.HDTV.x264-LOL.nzb.nzb, got SD TV

Is ep a priority download: False

There is no existing file so there's no worries about replacing it

Found release name American.Dad.S09E02.HDTV.x264-LOL.nzb

Destination folder for this episode: /mnt/iTunes/TV Shows/American Dad!

Moving file from /downloads/complete/American.Dad.S09E02.HDTV.x264-LOL.nzb/american.dad.902.hdtv-lol.mp4 to /mnt/iTunes/TV Shows/American Dad!/american.dad.902.hdtv-lol.mp4

Deleting folder /downloads/complete/American.Dad.S09E02.HDTV.x264-LOL.nzb

Processing succeeded for /downloads/complete/American.Dad.S09E02.HDTV.x264-LOL.nzb/american.dad.902.hdtv-lol.mp4

from sickbeard_mp4_automator.

noobydp avatar noobydp commented on May 21, 2024

Ok another issue now - Let me know if you want me to move to a new issue.
I stopped worrying about where the mp4 file is moved to just to test everything else works. I now get an error when trying to process the tvdb data.

I'm running CentOS6.4

Executing command ['python', '/usr/share/mp4_automator/postConversion.py', u'/mnt/iTunes/TV Shows/The Simpsons/The.Simpsons.S16E02.BDRip.x264-SPRiNTER.mp4', u'/downloads/complete/The.Simpsons.S16E02.BDRip.x264-SPRiNTER.nzb.1/The.Simpsons.S16E02.BDRip.x264-SPRiNTER.mp4', '71663', '16', '2', '2004-11-14']

Absolute path to script: /usr/share/sickbeard/python

Script result: Failed to connect to TVDB, trying again in 20 seconds

encode() takes no keyword arguments

Failed to connect to TVDB, trying again in 20 seconds

encode() takes no keyword arguments

Failed to connect to TVDB, trying again in 20 seconds

encode() takes no keyword arguments

Tagging file :/mnt/iTunes/TV Shows/The Simpsons/The.Simpsons.S16E02.BDRip.x264-SPRiNTER.mp4

Traceback (most recent call last):

File "/usr/share/mp4_automator/postConversion.py", line 25, in

tagmp4.writeTags(output['output'])

File "/usr/share/mp4_automator/tvdb_mp4.py", line 77, in writeTags

video["----:com.apple.iTunes:iTunMOVI"] = self.xml  # XML - see xmlTags method

AttributeError: Tvdb_mp4 instance has no attribute 'xml'

from sickbeard_mp4_automator.

mdhiggins avatar mdhiggins commented on May 21, 2024

For your first issue everything is working as intended, the script has made the file into an mp4 before passing it to sickbeard and I can see from the log output that the conversion was done within the download directory. Your final destination folder is being made by sickbeard and moved there after the processing is completed.

As for you TVDB connection issue, I'm not sure what's causing that. Everything is working on my end but it's possible there was a TVDB outage when you tried. Does this error occur with other tv shows?

from sickbeard_mp4_automator.

noobydp avatar noobydp commented on May 21, 2024

Hey Michael,
Thanks for the info.

I reinstalled everything onto a windows pc and it all seems to work, including the tvdb lookup for that show.
Not sure what went wrong on my CentOS box. If I figure it out I will send the info.

from sickbeard_mp4_automator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.