Page 1 of 15

[WINDOWS] SABSync - TV Show Syncing

Posted: December 11th, 2009, 1:01 am
by markus101
All,

I'd like to announce the first Public Release of SABSync, which allows you to sync one or many Newzbin RSS Feeds to download TV shows automatically.

SABSync will check your TV directory for the shows you want downloading only shows that are missing.
It supports ignoring seasons for shows that you do not want (you choose the season and that season + all previous seasons are ignored).
SABSync will also check the queue for episodes pending to be download (for both NZBs SAB has retrieved the info for and ones still 'fetching') in addition SABSync will check your imported NZB folder to see if that NZB has already been imported (great for times when SAB fails to unpack or rename the download correctly).

Support for most if not all naming conventions that SABnzbd supports (simply copy and paste you TV Renaming string into SABSync's configuration), support for Daily Shows as well.

SABSync is developed in C# Using version 2.0 of the .Net Framework and is limited to Windows (mono on Linux may also work, but this is untested). Thanks to Koonfused (Kay.One) for the assistance in developing this great application.

SABnzbd 0.5+ is required to use SABSync, due to the way the Queue Check is being done as well as the support for priority on individual NZBs and Daily show naming conventions.

SABSync is available for download at: http://code.google.com/p/sabscripts/

The Source Code is also available on Google Code.

Cheers,

Markus

EDIT: Added Notice that SABnzbd 0.5+ is supported.

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: December 12th, 2009, 12:06 pm
by arastaf
Looks nice, but maybe a write up on how to configure it would be helpful.

I changed the config to my folders, and such but it doesn't seem to like something.

Code: Select all

Loading configuration...
Loading RSS feed list from \Sabsync\rss.config
Downloading feed TVNZB from http://tvnzbrss.com/feedgen.php?id=*********
Input string was not in a correct format.
System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt)
   at SABSync.Program.GetReports() in D:\Opensource\sabscripts\SABSync\SABSync\Program.cs:line 178
   at SABSync.Program.Main() in D:\Opensource\sabscripts\SABSync\SABSync\Program.cs:line 62
=====================================================================

Input string was not in a correct format.
System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt)
   at SABSync.Program.GetReports() in D:\Opensource\sabscripts\SABSync\SABSync\Program.cs:line 178
   at SABSync.Program.Main() in D:\Opensource\sabscripts\SABSync\SABSync\Program.cs:line 62
Number of reports added to the queue: 0
Process successfully completed. Duration 2.3s

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: December 12th, 2009, 4:24 pm
by markus101
Unfortunately SABSync only supports RSS Feeds from Newzbin, at this time we have no intention of opening this up for other feeds, due to the added functionality that Newzbin provides (mainly the Standard naming convention including the episode name).

I'm in the process of Creating a GUI front end for SABSync as I know not everyone wants/enjoys manually editing config files.

-Markus

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: December 13th, 2009, 5:28 am
by markus101
Hello,

I've uploaded a GUI front end, conveniently named SABSync GUI, it is available as a separate download on http://code.google.com/p/sabscripts.

Place it in the same directory as SABSync.exe and the config file and run SABSyncGUI.exe to edit the config file. You will still need to manually edit the rss.config file, using the template in the config as a base or as seen below.

Code: Select all

FeedName|Feed URL
Cheers,

Markus

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: December 14th, 2009, 1:43 pm
by markus101
Version 0.5.1 of SABSync has been released to fix a bug where a trailing semi-colon ; in the seasonIgnore string in the config file would break the app.

-Markus

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: December 16th, 2009, 8:36 pm
by Duffman
I just tried this with It's Always Sunny In Philadelphia but it just added everything in the search including the episodes i already had. Maybe i have not getting the  TV Template correct.


This is what my file system looks like currently
G:\TV\It's Always Sunny In Philadelphia\Season 5\its.always.sunny.in.philadelphia.507.ws.pdtv.xvid-xii.avi

Is there a way to set up different templates for different shows? Not all of mine look the same unfortunately.

Thanks for this though it looks pretty promising and awesome.

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: December 17th, 2009, 10:08 am
by markus101
Ideally for SABSync all shows should be renamed with SAB's TV Sorting functionality, but will all have to use the same naming standard or it won't be able to find the files. With what you posted below it would be possible to have SABSync setup with this string %sn\Season %s\%s.n.%s%0e.%e.n.%ext

If you're looking for a way to mass rename a large group of TV shows (into almost any naming format), check out TVRename (http://www.tvrename.com/). I've used it a number of times and it does a great job, but it may have some difficulty with shows with season/episode such as below (507), but then again it may be improved (And most of my shows were already named nicely through SAB's sorting piece).

-Markus

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: January 11th, 2010, 8:15 pm
by jansverre
Thanks Great thing to have. Some more documentation could be good, but hey :) I have some questions so I'll just ask them here .

1. Is it not possible to have a log or something on what it is doing? :)
2. I don't have to start it more than once when the machine starts? :)
3. No I guess that is it . no.. I have my tv series spread over 4 harddrives.. will there ever be a possibility to monitor more folders?

So, that should be it. Again, love SABsync.. just waiting for some of my shows to air so I can se it gets downloaded by itself ;)

..No I don't understand how it works. 2 series was ready for download and SABsync did nothing. When I started SABsync manually again it found one of the shows and downloaded that episode, but not the other.

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: January 12th, 2010, 10:14 am
by markus101
Glad you're enjoying it and yes the documentation is lacking... hopefully I'll get to that one day.

1. SABSync does log what it is doing, to both text file (in the log sub-folder) and to the Console screen
2. You do have to run it as often as you would like to check for new NZBs on Newzbin (15 minutes minimum or they get mad)
3. This isn't something I had thought of, I'm using Windows Home Server so the number of physical drives is irrelevant to me (as it all exists in a TV Show Share) - I'll look into this.

Take a look at the log and see why it skipped the one, the one it downloaded when you manually ran it just means you need to schedule it with Windows Task Scheduler.

-Markus

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: January 12th, 2010, 12:33 pm
by jansverre
Excelent. Wonder why I couldnt find the logs that where right in front of my eyes :D

Thanks again. Wonderful :)

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: January 21st, 2010, 4:31 am
by jansverre
hello again :)

.. is it somehow possible maybe to get this fantastic thing to check a windows7 library? .. I don't want to install whs on the machine since it has so much installed and I have so many computers connected to it hehe .. and it is becoming annoying to have many episodes doubled because I have the series over 5 hard drives :p

or maybe you have found out something about having it check more locations? :)

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: January 21st, 2010, 1:33 pm
by markus101
I haven't looked into multiple storage locations just yet, I did take a peek at looking at a Win7 Library, but it appears to be a major undertaking since they are not local paths, but an Index of multiple paths.

-Markus

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: January 21st, 2010, 2:29 pm
by jansverre
markus101 wrote: I did take a peek at looking at a Win7 Library, but it appears to be a major undertaking since they are not local paths, but an Index of multiple paths.

-Markus
I know.. stupid thing :p I will take a new look at setting up a whs :p Thanks again :)

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: January 27th, 2010, 5:49 am
by jansverre
Hello again.  Do you know why it downloads many shows that already is on hard drive? woke up today with 2 sets of castle season 1 .. and it is very often it downloads episodes that already is on the machine...

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: January 27th, 2010, 12:55 pm
by markus101
It sounds like it couldn't match those files - possible because it didn't find them in the same path, or if that's correct the Sort string that SAB uses to rename the file is not the same as the one that SABSync has so it won't properly match.

Looked into the site a bit more, really odd why that error is being thrown, but I have an idea about why, I'm working on resolving it, but unfortunately I have exceeded my 5 requests per hour, I've sent a request to the site asking for assistance with this, but I'll keep everyone posted.

Hope that helps.

-Markus