avatarr wrote:
Is there any way to use the sorting function to batch-rename episodes that reside in the same folder?
Unfortunately no, MR is currently only able to sort single downloaded episodes. There are other tools out there that do exactly what you want; I would suggest searching the SAB forums for options. Also, can you edit your last post and delete the image? I'm pretty sure it violates the SAB forum rules (because it mentions a series name). You don't want to get in trouble with the forum moderators
g1zm0 wrote:
Ive attempted to launch the newly updated episode_sort.sh but am having difficulties getting it to run in windows? Is it possible to make a similar change to the .bat file?
The changes I mentioned in my previous post were to the .bat file not the .sh file (the problem only occurs for Windows users). I tested the updated .bat in Windows 7 with SAB 0.5.3 so I'm confident it should solve your problem. Give it a whirl and let me know how it goes!
@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=C:\SCRIPTS\Mediarover
REM filesystem path to python installation
SET PYTHON=C:\Python26\pythonw.exe
REM filesystem path to configuration directory
IF DEFINED LOCALAPPDATA (
REM Vista and newer
SET CONFIG=C:\Users\Barry\AppData\Local\Mediarover
) ELSE (
REM XP
SET CONFIG=C:\Users\Barry\AppData\Local\Mediarover
)
REM invoke Media Rover episode sorting script
%PYTHON% %ROOT%\mediarover.py episode-sort -c "%CONFIG%" %*
Bellamys People S01E01 WS PDTV XviD ORGANiC
2010-07-25 21:03 INFO - --- STARTING --- - __init__.py:622
ERROR: incorrect number of arguments!
Usage: mediarover.py episode-sort [options] result_dir [nzb_name nice_name newzbin_id category newsgroup status] [low|medium|high]
Description: process a recent download and sort episode file in appropriate
series folder
Options:
-c /PATH/TO/CONFIG/DIR, --config=/PATH/TO/CONFIG/DIR
path to application configuration directory
-d, --dry-run simulate downloading nzb's from configured sources
-h, --help show this help message and exit
Examples:
Manual use:
==========
Manually sort a downloaded file:
> python mediarover.py episode-sort /path/to/some.download
Same as above, but use a non-default config directory:
> python mediarover.py episode-sort --config /path/to/config/dir /path/to/some.download
Manually sort a downloaded file, but specify an overriding quality level: (low/medium/high)
> python mediarover.py episode-sort /path/to/some.download high
Simulate sorting a downloaded file:
> python mediarover.py episode-sort --dry-run /path/to/some.download
From shell script : (called by SABnzbd)
==================
Sort a downloaded file:
> python mediarover.py episode-sort /path/to/some.download some.download.nzb some.download 12345 tv alt.public.access.tv 0
kierse wrote:
Hey g1zm0,
g1zm0 wrote:
Ive attempted to launch the newly updated episode_sort.sh but am having difficulties getting it to run in windows? Is it possible to make a similar change to the .bat file?
The changes I mentioned in my previous post were to the .bat file not the .sh file (the problem only occurs for Windows users). I tested the updated .bat in Windows 7 with SAB 0.5.3 so I'm confident it should solve your problem. Give it a whirl and let me know how it goes!
g1zm0 wrote:
...im still returning an error in SAB...
I've gone over the code a couple of times now and done a bunch of tests in my Vista virtual machine and I haven't been able to replicate your problem. As far as I can tell, it should be working. Can you post the most recent logging output? You'll find the sorting log file in your config directory, its called sabnzbd_episode_sort.log. Just post everything after --- STARTING ---
Above is the source setup so I am just wondering what is generating the error now in proccessing of the rss feeds when the problem hasn't been there before.
Maverick519
Last edited by Maverick519 on July 30th, 2010, 6:59 pm, edited 1 time in total.
Maverick519 wrote:
This keeps showing up for a lot of my nbzmatrix rss feeds 2010-07-30 19:30 DEBUG - skipping u'SHOW Name', unsupported category type - __init__.py:44.
My fault, the nzbmatrix source plugin was checking each report to see if it was a TV subcategory. Categories 9 and 53 (for documentaries) obviously don't meet that requirement. I'll have a fix out for you shortly.
g1zm0 wrote:
...im still returning an error in SAB...
I've gone over the code a couple of times now and done a bunch of tests in my Vista virtual machine and I haven't been able to replicate your problem. As far as I can tell, it should be working. Can you post the most recent logging output? You'll find the sorting log file in your config directory, its called sabnzbd_episode_sort.log. Just post everything after --- STARTING ---
Kierse
Hello mate,
So sorry for super late reply, ive been moving house only just got everything back up and running.
been using Media Rover for almost a year now and by far very happy with it. Couple of my colleagues asked about it but got scared by config file. Are you mostly concentrating on getting most features you can in or is GUI anywhere close to being done ?
Since I am not using more then one source for NBZ I just noticed this new problem with Media Rover that I wasn't having in the past. During proccessing Media Rover is not following the .ignore files like in the past.
Here is a section of log:
ignoring the following seasons of TV SHOW: ['1'] - series.py:509
But there are 3 other seasons listed in the ignore file.
Currently I have them listed as
Season 1
Season 2
Season 3
But in all of them it only seems to be picking up season 1 for all of the shows that have ignore files.
I have been looking for a solution for this, but cannot find any. I am using the latest version of mediarover, and there is supposed to be support for nzbs.org rss feeds, they do not work. Any suggestions? Thanks.
EDIT: fixed the issue, rss feeds need to have &dl=1 appended to the end.
Last edited by mike171562 on August 18th, 2010, 9:09 am, edited 1 time in total.
been using Media Rover for almost a year now and by far very happy with it. Couple of my colleagues asked about it but got scared by config file. Are you mostly concentrating on getting most features you can in or is GUI anywhere close to being done ?
Thanks !
No, the GUI is not near completion. Lately I've been focusing on implementing as many of the highly requested features as possible and I am aware that a GUI is high on that list. I've started going over my earlier preliminary work and intend to make it a priority.
Just downloaded the new build of mediarover and it looks like from the log it is now reading the .ignore file properly for all shows.
Thanks for the quick fix.
Just downloaded the new build of mediarover and it looks like from the log it is now reading the .ignore file properly for all shows.
Thanks for the quick fix.
Maverick519
Ya it was a minor bug, sorry about that. Thanks for letting me know.
pogmini:mediarover Pog$ python mediarover.py schedule
2010-08-20 10:45 INFO - created metadata datastore - metadata.py:282
2010-08-20 10:45 INFO - --- STARTING --- - __init__.py:208
2010-08-20 10:45 INFO - begin processing tv directory: /Volumes/USB1 - series.py:464
2010-08-20 10:45 ERROR - invalid literal for int() with base 10: '' - __init__.py:214
Traceback (most recent call last):
File "/Applications/mediarover/mediarover/__init__.py", line 212, in scheduler
__scheduler(broker, options)
File "/Applications/mediarover/mediarover/__init__.py", line 248, in __scheduler
watched_list = build_watch_list(config)
File "/Applications/mediarover/mediarover/series.py", line 510, in build_watch_list
series.ignores = config['tv']['filter'][sanitized_name]['ignore']
File "/Applications/mediarover/mediarover/series.py", line 394, in _ignores_prop
self.__ignores = [int(i) for i in ignores]
ValueError: invalid literal for int() with base 10: ''
Traceback (most recent call last):
File "mediarover.py", line 19, in <module>
mediarover.run()
File "/Applications/mediarover/mediarover/__init__.py", line 75, in run
scheduler(broker, args)
File "/Applications/mediarover/mediarover/__init__.py", line 212, in scheduler
__scheduler(broker, options)
File "/Applications/mediarover/mediarover/__init__.py", line 248, in __scheduler
watched_list = build_watch_list(config)
File "/Applications/mediarover/mediarover/series.py", line 510, in build_watch_list
series.ignores = config['tv']['filter'][sanitized_name]['ignore']
File "/Applications/mediarover/mediarover/series.py", line 394, in _ignores_prop
self.__ignores = [int(i) for i in ignores]
ValueError: invalid literal for int() with base 10: ''
[edit] Went down a version to .50 and seems to be working perfectly...most confusing!
Last edited by Poag on August 20th, 2010, 5:28 am, edited 1 time in total.