kierse wrote:
Lockzi wrote:
It also queued the rest of the episodes for the show, like S01E03 for instance.
Since these are all of "high" quality, it didn't finish before the next "mediarover.py schedule" run.
And it queued another NZB post for the same episode again (S01E03).
Just to clarify, when it scheduled s01e03 for a second time, was the first nzb still in the queue? Or had it been successfully downloaded? When s01e03 was scheduled for a second time, was the first removed from the queue?
Kierse
I had S01E03 in xvid quality on harddrive.
My scheduled "mediarover.py schedule" (through task scheduler on Windows) ran, and found HDTV quality for S01E03 and queued it.
Another run of "mediarover.py schedule" happend (scheduled for every 45 min), and it re-queued it. The same episode, but different NZB.
This could be related to me not getting the new episode_sort.bat to work!
Ever since I upgraded SABNZBD to 0.5.4 (I was at 0.5.1 before with MR 0.4.1
My Media Rover seems to be all over the place after upgrading,
woke up and found this in the queue:
Code: Select all
+ 2010-09-08 07:36:03 Random.Show.About.White.Collar.S02E09.Point.Blank.HDTV.XviD-FQM 364.40 MB Completed
+ 2010-09-08 06:29:13 Random.Show.About.White.Collar.S02E09.720p.HDTV.x264-IMMERSE 1.14 GB Completed
In the directory where the files ended up (not in my series directory), the sort.log reads:
Code: Select all
2010-09-08 06:29:12,921 INFO - --- STARTING --- - __init__.py:622
2010-09-08 06:29:12,967 DEBUG - using config directory: T:\Pre-Process\Media Rover\conf - __init__.py:623
2010-09-08 06:29:12,983 DEBUG - T:\Pre-Process\Media Rover\mediarover.py episode-sort 'T:\Usenet\complete\TV\Random.Show.About.White.Collar.S02E09.720p.HDTV.x264-IMMERSE' 'Random.Show.About.White.Collar.S02E09.720p.HDTV.x264-IMMERSE.nzb' 'Random.Show.About.White.Collar.S02E09.720p.HDTV.x264-IMMERSE' 'tv' 'alt.binaries.teevee' '0' '' - __init__.py:625
2010-09-08 06:29:13,029 ERROR - invalid literal for int() with base 10: '' - __init__.py:671
Traceback (most recent call last):
File "T:\Pre-Process\Media Rover\mediarover\__init__.py", line 668, in episode_sort
__episode_sort(broker, options, **params)
File "T:\Pre-Process\Media Rover\mediarover\__init__.py", line 734, in __episode_sort
elif os.path.basename(path).startswith("_FAILED_") or int(status) > 0:
ValueError: invalid literal for int() with base 10: ''
My episode_sort.bat looks like this:
Code: Select all
@ECHO OFF
REM Copyright 2009 Kieran Elliott <[email protected]>
REM
REM Media Rover is free software: you can redistribute it and/or modify
REM it under the terms of the GNU General Public License as published by
REM the Free Software Foundation, either version 3 of the License, or
REM (at your option) any later version.
REM
REM Media Rover is distributed in the hope that it will be useful,
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
REM GNU General Public License for more details.
REM
REM You should have received a copy of the GNU General Public License
REM along with this program. If not, see <http://www.gnu.org/licenses/>.
REM
REM OSX hack: SABnzbd on Mac OSX comes bundled with all Python libraries
REM necessary for its function. Because of this, SABnzbd sets PYTHONHOME
REM to point to its own Python libraries. This causes a problem for Media
REM Rover due to the fact that some of the key Python libraries are not
REM bundled. Therefore, we delete PYTHONHOME before invoking Media Rover
REM filesystem path where Media Rover is installed
SET ROOT=T:\Pre-Process\Media Rover
echo %ROOT%
REM filesystem path to python installation
SET PYTHON=%HOMEDRIVE%\Python26\pythonw.exe
REM filesystem path to configuration directory
IF DEFINED LOCALAPPDATA (
REM Vista and newer
SET CONFIG="T:\Pre-Process\Media Rover\conf"
) ELSE (
REM XP
SET CONFIG="T:\Pre-Process\Media Rover\conf"
)
ECHO Argument 1: %1
ECHO Argument 2: %2
ECHO Argument 3: %3
ECHO Argument 4: %4
ECHO Argument 5: %5
ECHO Argument 6: %6
ECHO Argument 7: %7
REM invoke Media Rover episode sorting script
%PYTHON% "%ROOT%\mediarover.py" episode-sort -c %CONFIG% "%1" "%2" "%3" "%4"
"%5" "%6" "%7"
And in the history page of SAB, it reads:
Code: Select all
- 2010-09-08 06:29:13 Random.Show.About.White.Collar.S02E09.720p.HDTV.x264-IMMERSE 1.14 GB Completed
Download
Downloaded in 31 minutes 8 seconds at an average of 637.37 KB/s
Repair
[Random.Show.About.white.collar.s02e09.720p.hdtv.x264-immerse] Quick Check OK
Unpack
[Random.Show.About.white.collar.s02e09.720p.hdtv.x264-immerse] Unpacked 1 files/folders in 2 mins 5 seconds
Script
Exit(1) FAILURE, unable to sort downloaded episode! See log file at 'T:\\Pre-Process\\Media Rover\\conf\\logs\\sabnzbd_episode_sort.log' for more details! (More)
Category
tv
Path
T:\Usenet\complete\TV\Random.Show.About.White.Collar.S02E09.720p.HDTV.x264-IMMERSE
When I click the (More) link in the script section it brings up this:
Code: Select all
Random.Show.About.White.Collar.S02E09.720p.HDTV.x264-IMMERSE
Argument 1: T:\Usenet\complete\TV\Random.Show.About.White.Collar.S02E09.720p.HDTV.x264-IMMERSE
Argument 2: Random.Show.About.White.Collar.S02E09.720p.HDTV.x264-IMMERSE.nzb
Argument 3: Random.Show.About.White.Collar.S02E09.720p.HDTV.x264-IMMERSE
Argument 4: tv
Argument 5: alt.binaries.teevee
Argument 6: 0
Argument 7:
2010-09-08 06:29 INFO - --- STARTING --- - __init__.py:622
2010-09-08 06:29 ERROR - invalid literal for int() with base 10: '' - __init__.py:671
Traceback (most recent call last):
File "T:\Pre-Process\Media Rover\mediarover\__init__.py", line 668, in episode_sort
__episode_sort(broker, options, **params)
File "T:\Pre-Process\Media Rover\mediarover\__init__.py", line 734, in __episode_sort
elif os.path.basename(path).startswith("_FAILED_") or int(status) > 0:
ValueError: invalid literal for int() with base 10: ''
FAILURE, unable to sort downloaded episode! See log file at 'T:\\Pre-Process\\Media Rover\\conf\\logs\\sabnzbd_episode_sort.log' for more details!
Any ideas? I believe I've tried everything the last 3 days... And it takes a while to test since something in my RSS: s has to be released for it to be scheduled and to test the next thing...
EDIT:
Oh, and I did re-create the configuration files through command line, and then changed all values to my previous ones that still applied.