Search found 180 matches

by doubledrat
January 3rd, 2009, 10:03 am
Forum: General Help
Topic: please explain illegal char replacement
Replies: 4
Views: 3052

please explain illegal char replacement

Hi I'm trying to get a script to play nicely with SAB, so I need to mimic the way characters are replaced.  The thing is, my observed behaviour does not tally with the SAB code, so I'm confused - the code     illegal = r'\/<>?*:;|"'     legal  = r'++{}!@--#`' replaces the illegal chars with the...
by doubledrat
January 3rd, 2009, 8:02 am
Forum: Post-Processing Scripts
Topic: Autodownload script
Replies: 217
Views: 207961

Re: Autodownload script

here is the latest TV script http://pastebin.com/f4fda2abb it is my HD version of the script.  the difference between the hd and other version is simply the user modifyable parameters at the top, the code is the same changes to previous pastebinned code  - ability to ignore whole seasons (maybe they...
by doubledrat
January 3rd, 2009, 6:29 am
Forum: Post-Processing Scripts
Topic: Autodownload script
Replies: 217
Views: 207961

Re: Autodownload script

The problem with that is that certain rips are SVCD, which will almost always be bigger in MB than the 480p avi's, but lower in quality. So maybe if the mkv is available *and bigger* than the avi, it should add it so you don't have to blindly assume bigger==better. EDIT: Or I guess you could just t...
by doubledrat
January 2nd, 2009, 5:33 pm
Forum: Feature Requests
Topic: "show script output" link available earlier
Replies: 2
Views: 2663

Re: "show script output" link available earlier

fair enough.  cheers
by doubledrat
January 2nd, 2009, 5:18 am
Forum: Feature Requests
Topic: "show script output" link available earlier
Replies: 2
Views: 2663

"show script output" link available earlier

Hi
sometimes, a script can have a problem and not finish.  Would it be possible for the 'running script' message to also be a link to the script output, rather than only being able to easily find the output when the script has finished?  this would make problem debugging easier.

thanks
by doubledrat
January 1st, 2009, 5:24 am
Forum: Post-Processing Scripts
Topic: Autodownload script
Replies: 217
Views: 207961

Re: Autodownload script

perhaps a more reliable way would be to work on the size of the existing file/directory?  things aren't always as clear cut as avi or mkv - you can have .ts (with multipart) for HD, you can have .mov .mp4 etc for low res... there is a report:size element to the newzbin xml - 177900075 so perhaps som...
by doubledrat
December 31st, 2008, 2:10 pm
Forum: Post-Processing Scripts
Topic: Autodownload script
Replies: 217
Views: 207961

Re: Autodownload script

just modified TV so it can ignore whole seasons if you want it to.  will post later rather than post  a new version every 5 mins!
by doubledrat
December 31st, 2008, 11:50 am
Forum: Post-Processing Scripts
Topic: Autodownload script
Replies: 217
Views: 207961

Re: Autodownload script


No, that regex will match anything from 7.0 to 9.9--I'm not worried about 10/10 movies, with at least 1000 votes, that's never going to happen.
sorry, ambiguous of me.  the pastebin code had -

Code: Select all

"<b>8\.[0-9]/10</b>"
that's just 8.0-8.9/10 isn't it?
by doubledrat
December 31st, 2008, 10:12 am
Forum: Post-Processing Scripts
Topic: Autodownload script
Replies: 217
Views: 207961

Re: Autodownload script

ok, so I like fiddling :)

I've modified them so they should auto-detect windows or linux and behave accordingly

tv: http://pastebin.com/f32d3e9bb
movies: http://pastebin.com/f52a9a492
by doubledrat
December 31st, 2008, 7:52 am
Forum: Post-Processing Scripts
Topic: Autodownload script
Replies: 217
Views: 207961

Re: Autodownload script

I've modified both of these scripts to work slightly differently - They now support windows (\) or unix (/) style directory separators [TV] multiple directories holding existing content a watch list to downoad movies based on a string match, no matter what score they get - just create a (blank) file...
by doubledrat
December 31st, 2008, 5:30 am
Forum: Post-Processing Scripts
Topic: Automatic Media Conversion (Ipod / Iphone)
Replies: 51
Views: 42969

Re: Automatic Media Conversion (Ipod / Iphone)

either you can force your filename, or using the directory name, you will need to split off %dirname% - you know the root of the directory, so you should be able to remove that with something like SET tvinfo=%dirname:c:\tvshows\=%   that should remove the preceding directory information then you nee...
by doubledrat
December 30th, 2008, 3:35 pm
Forum: Post-Processing Scripts
Topic: Automatic Media Conversion (Ipod / Iphone)
Replies: 51
Views: 42969

Re: Automatic Media Conversion (Ipod / Iphone)

it uses the nzb name, not the directory, isnt that a set format?

showname - seasxepisode - episode title
by doubledrat
December 30th, 2008, 7:23 am
Forum: Post-Processing Scripts
Topic: Automatic Media Conversion (Ipod / Iphone)
Replies: 51
Views: 42969

Re: Automatic Media Conversion (Ipod / Iphone)

you're in luck - I'd like to do that too, so here's how I did it - set AtomicParsley="F:\Program Files\ipodvidconverter\Tools\AtomicParsley\AtomicParsley.exe" set name=%3 set name=%name:"=% set dirname=%1 set dirname=%dirname:"=% CALL :tagTVshow "mp4 filename.mp4" GOTO ...
by doubledrat
December 29th, 2008, 12:35 pm
Forum: Post-Processing Scripts
Topic: Autodownload script
Replies: 217
Views: 207961

Re: Autodownload script

deleted dopey question!
by doubledrat
December 29th, 2008, 12:32 pm
Forum: Post-Processing Scripts
Topic: Autodownload script
Replies: 217
Views: 207961

Re: Autodownload script

nice scripts.  I've tweaked them to account for me using windows and laying things out a bit differently and they work nicely ta. one question.  shouldn't the "is_wanted" function clean up the show name too - like the other functions? also, for any windows people, SAB seems to replace : wi...