Posts: 30
Joined: May 2012
Reputation:
0
wiak
Junior Member
Posts: 30
2012-05-08, 01:25
(This post was last modified: 2012-05-08, 01:25 by wiak.)
do sorttv support whitelist?
like say if i only want "Ikke gjør dette hjemme", "Tekno" to be sorted
and can i specify the directories each show goes into?
will it scan into sub directories in downloads directory?
and another question what do i need to run it on windows?
what software?
Ryzen 1500X, 2x8GB 3000 DDR4, RX 560 4GB, 250GB EVO, Windows 10
Posts: 508
Joined: Aug 2010
Can some1 help me to get this work on w7. Cant install packages gives me error all the time. How to fix this??
Code:
C:\>cd strawberry/perl/bin
C:\strawberry\perl\bin>cpan File::Copy::Recursive File::Glob LWP::Simple TVDB::A
PI Getopt::Long Switch WWW::TheMovieDB::Search XML::Simple
CPAN: CPAN::SQLite loaded ok (v0.202)
Database was generated on Fri, 11 May 2012 17:44:47 GMT
CPAN: Module::CoreList loaded ok (v2.57)
File::Copy::Recursive is up to date (0.38).
Warning: Cannot install File::Glob, don't know what it is.
Try the command
i /File::Glob/
to find objects with matching identifiers.
CPAN: Time::HiRes loaded ok (v1.9724)
LWP::Simple is up to date (6.00).
TVDB::API is up to date (0.33).
Getopt::Long is up to date (2.38).
Running install for module 'Switch'
Running make for R/RG/RGARCIA/Switch-2.16.tar.gz
CPAN: Digest::SHA loaded ok (v5.63)
CPAN: Compress::Zlib loaded ok (v2.042)
Checksum for C:\strawberry\cpan\sources\authors\id\R\RG\RGARCIA\Switch-2.16.tar.
gz ok
CPAN: Archive::Tar loaded ok (v1.80)
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4401)
CPAN: CPAN::Meta loaded ok (v2.112621)
CPAN.pm: Building R/RG/RGARCIA/Switch-2.16.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Switch
Writing MYMETA.yml and MYMETA.json
cp Switch.pm blib\lib\Switch.pm
RGARCIA/Switch-2.16.tar.gz
C:\strawberry\c\bin\dmake.EXE -- OK
Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib\lib', 'blib\arch')" t/*.t
t/given.t ... Useless use of numeric gt (>) in void context at t/given.t line 19
.
t/given.t ... Failed 2/293 subtests
t/nested.t .. ok
t/switch.t .. ok
Test Summary Report
-------------------
t/given.t (Wstat: 0 Tests: 293 Failed: 2)
Failed tests: 2-3
Files=3, Tests=590, 1 wallclock secs ( 0.16 usr + 0.06 sys = 0.22 CPU)
Result: FAIL
Failed 1/3 test programs. 2/590 subtests failed.
dmake.EXE: Error code 255, while making 'test_dynamic'
RGARCIA/Switch-2.16.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports RGARCIA/Switch-2.16.tar.gz
Running make install
make test had returned bad status, won't install without force
Running install for module 'WWW::TheMovieDB::Search'
Running make for P/PJ/PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\P\PJ\PJOBSON\WWW-TheMovieDB-S
earch-0.03.tar.gz ok
CPAN.pm: Building P/PJ/PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz
Checking if your kit is complete...
Looks good
Warning: prerequisite Switch 0 not found.
Writing Makefile for WWW::TheMovieDB::Search
Writing MYMETA.yml and MYMETA.json
---- Unsatisfied dependencies detected during ----
---- PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz ----
Switch [requires]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module 'Switch'
Running make for R/RG/RGARCIA/Switch-2.16.tar.gz
Has already been unwrapped into directory C:\strawberry\cpan\build\Switch-2.16
-PKwdoZ
Has already been made
Running make test
Has already been tested within this command
Running make install
make test had returned bad status, won't install without force
Running make for P/PJ/PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz
Has already been unwrapped into directory C:\strawberry\cpan\build\WWW-TheMovi
eDB-Search-SSVZ4A
CPAN.pm: Building P/PJ/PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz
Warning: Prerequisite 'Switch => 0' for 'PJOBSON/WWW-TheMovieDB-Search-0.03.tar.
gz' failed when processing 'RGARCIA/Switch-2.16.tar.gz' with 'make_test => NO'.
Continuing, but chances to succeed are limited.
cp lib/WWW/TheMovieDB/Search.pm blib\lib\WWW\TheMovieDB\Search.pm
PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz
C:\strawberry\c\bin\dmake.EXE -- OK
Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib\lib', 'blib\arch')" t/*.t
t/WWW-TheMovieDB-Search.t ..
t/WWW-TheMovieDB-Search.t .. 1/1 # Failed test 'use WWW::TheMovieDB::Search;'
# at t/WWW-TheMovieDB-Search.t line 9.
# Tried to use 'WWW::TheMovieDB::Search'.
# Error: Can't locate Switch.pm in @INC (@INC contains: C:\strawberry\cpan\
build\WWW-TheMovieDB-Search-SSVZ4A\blib\lib C:\strawberry\cpan\build\WWW-TheMovi
eDB-Search-SSVZ4A\blib\arch C:/strawberry/perl/site/lib C:/strawberry/perl/vendo
r/lib C:/strawberry/perl/lib .) at C:\strawberry\cpan\build\WWW-TheMovieDB-Searc
h-SSVZ4A\blib\lib/WWW/TheMovieDB/Search.pm line 8.
# BEGIN failed--compilation aborted at C:\strawberry\cpan\build\WWW-TheMovieDB-S
earch-SSVZ4A\blib\lib/WWW/TheMovieDB/Search.pm line 8.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/WWW-TheMovieDB-Search.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Test Summary Report
-------------------
t/WWW-TheMovieDB-Search.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=1, Tests=1, 1 wallclock secs ( 0.05 usr + 0.08 sys = 0.13 CPU)
Result: FAIL
Failed 1/1 test programs. 1/1 subtests failed.
dmake.EXE: Error code 129, while making 'test_dynamic'
PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz
one dependency not OK (Switch); additionally test harness failed
C:\strawberry\c\bin\dmake.EXE test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports PJOBSON/WWW-TheMovieDB-Search-0.03.tar.gz
Running make install
make test had returned bad status, won't install without force
XML::Simple is up to date (2.18).
C:\strawberry\perl\bin>perl sorttv.pl
Can't locate WWW/TheMovieDB/Search.pm in @INC (@INC contains: C:/strawberry/perl
/site/lib C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at sorttv.pl l
ine 52.
BEGIN failed--compilation aborted at sorttv.pl line 52.
C:\strawberry\perl\bin>
Posts: 2
Joined: Apr 2012
Reputation:
0
I was having the same issue as john.doe for the time being I removed line 52 from the sorttv.pl file. Seems to be able to sort TV ep now, I haven't tried sorting movies. This could fix your problem temporary until a better fix is found.
Posts: 508
Joined: Aug 2010
Thank you, got my tv shows sorted for now
. Only problem is that all the images are corrupted, cant view them. :/
Posts: 2
Joined: Apr 2012
Reputation:
0
I turned the download images setting off and let xbmc download the images
Posts: 162
Joined: Oct 2003
Reputation:
9
Fox
Senior Member
Posts: 162
Cliffe I found a new error code, if winrar runs into a CRC it returns 768.
You probably know this already but the delete part seems to be a bit on its own. If you run a dry-run it still delete the files and also if you catch an error with in the extraction part it doesn't cancel the delete.
/Fox
If you find any spelling mistakes you can keep them ;)
Posts: 20
Joined: Jun 2012
Reputation:
0
Newbie here...
I'm not understanding the install and run functions. I have tried reading XBMC scripting readme, but it doesn't jive with sorttv instructions.
1. I don't have an existing directory called 'scripts in my default XBMC install directory 'C:\Program Files (x86)\XBMC', so where do I copy/move the 'sorttv' folder to?
3. What is meant by 'install pearl'
2. Where do I run: 'cpan File::Copy::Recursive File::Glob LWP::Simple TVDB::API Getopt::Long Switch WWW::TheMovieDB::Search XML::Simple'?
My setup: Windows 7 HP x64
Any help would be appreciated.
-Scott
P.S. Does any of this change if using Raspberry Pi?
Posts: 2
Joined: May 2012
Reputation:
0
Also - I'm not sure if this has been mentioned before, but the script runs brilliantly on OS X once the CLI developer tools have been downloaded and installed.
Tested on Lion 10.7.4
Posts: 45
Joined: Jul 2012
Reputation:
0
Hi, great tool, just what I have been looking for.. anyway you can ignore sample files which many times come next to the movies/tvshows?
Cheers
Posts: 45
Joined: Jul 2012
Reputation:
0
2012-07-05, 21:06
(This post was last modified: 2012-07-05, 21:09 by verysoftpaper.)
oh, yes,, I had to alter the mask to ignore=*sample* though..
Any way if deleting the containing folders when tvshows and movies are successfully extracted from?
I end up with a bunch o empty folders.. in the root. I wouldn't mind to moving the entire folders, but it failed to recognized a season folder and sent it to the "others" category..