[WINDOWS] SABSync - TV Show Syncing

Got a program that plays well with SABnzbd? Share it here!
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: [WINDOWS] SABSync - TV Show Syncing

Post by markus101 »

Hey all, I did some more work on getting SABSync to work on Linux with Mono and its working almost 100% (as near as I can tell). The downside is it requires mono with support for .Net 4.0 (currently in trunk). I will be providing specific instructions on how to get that installed.

I used a VMWare image of Ubuntu 10.04 that worked great.

I have also released updated versions of SABSync (0.9.8.2) and the SABSyncGUI (0.4.2) - The GUI is included in the SABSYnc zip, so there is no need to download it separately (unless you want to).

SABSync 0.9.8.2 adds some additional Verbose logging (if enabled) and support for running under mono on Linux.
SABSyncGUI 0.4.2 adds support for running under mono on Linux.

If you have any questions, please let me know.

How to compile mono from svn:
http://forums.sabnzbd.org/index.php?topic=4412.0

-Markus
Last edited by markus101 on May 22nd, 2010, 3:43 pm, edited 1 time in total.
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
feerlessleadr
Jr. Member
Jr. Member
Posts: 67
Joined: April 30th, 2009, 12:09 pm

Re: [WINDOWS] SABSync - TV Show Syncing

Post by feerlessleadr »

yea i figured that was the case.  My router rebooted and changed my htpc's ip so my sab port wasn't being forwarded to the correct IP.

I will let you know if it happens again and what conditions surround it.
LarzJG
Newbie
Newbie
Posts: 38
Joined: April 16th, 2010, 4:29 pm

Re: [WINDOWS] SABSync - TV Show Syncing

Post by LarzJG »

Still running this program, and it rocks - the new update that made it so much faster was pretty awesome.

I can't wait to see how it runs when the seasons start picking up again in the fall. :)
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: [WINDOWS] SABSync - TV Show Syncing

Post by markus101 »

Thanks :) Glad it's working out for you, not many new shows theses days so testing is light, but I'm getting a number of episodes that are missing from my collection now as they are reposted.

I also wanted to add in that the issue feerlessleadr was seeing where it was finding episodes on disk that matched Season 21, but not Season 6 was due to a leading 0 in the sorting string in SABSync, so when all else fails please copy that string straight from SABnzbd into SABSync.

Happy downloading,

Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
spazzed
Newbie
Newbie
Posts: 21
Joined: May 24th, 2010, 10:54 am

Re: [WINDOWS] SABSync - TV Show Syncing

Post by spazzed »

Just started setting up your progam and found it to be (somewhat) confusing, but I believe I have everything going now.  My problem is that one of my RSS feeds isn't cooperating.  Have you checked/tried support for tvnzb.ca?  I was one of the lucky ones that got an account and it seems to be outputting a valid rss feed.  Here is the error (i obviously X'd out the API code):

Code: Select all

INFO: Downloading feed TVNZB from http://www.tvnzb.ca/nzbs/rss/api/XXXXXXXXXX/encoding/0
ERROR: Could not download feed TVNZB from http://www.tvnzb.ca/nzbs/rss/api/XXXXXXXXXX/encoding/0
ERROR: System.UriFormatException: Invalid URI: The format of the URI could not be determined.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at System.Uri..ctor(String uriString)
   at Rss.RssReader.Read()
   at Rss.RssFeed.read(String url, HttpWebRequest request, RssFeed oldFeed)
   at SABSync.SyncJob.GetFeedItems(FeedInfo feedInfo) in C:\Users\Markus\Documents\Visual Studio 2010\Projects\sabscripts\SABSync\SABSync\SyncJob.cs:line 78
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: [WINDOWS] SABSync - TV Show Syncing

Post by markus101 »

I haven't tried it, but I also managed to get an account so I will be able to test it.

It should be pretty straight forward and the XML being output does look to be pretty standard (as best as I remember).

-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: [WINDOWS] SABSync - TV Show Syncing

Post by markus101 »

I've sorted out the issue (no update to SABSync is required), but the issue stems from the in the RSS feed being a relative link, and the way it is retrieved by SABSync requires it to be a full link. Speaking with the admin, this should be resolved soon as he continues to work on the site. I'll see if I can make it work regardless if I get a chance and I'll update everyone if I get it done successfully.

-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
LarzJG
Newbie
Newbie
Posts: 38
Joined: April 16th, 2010, 4:29 pm

Re: [WINDOWS] SABSync - TV Show Syncing

Post by LarzJG »

I'd love some sort of integration with the webpage. Whenever I use SABsynch, the questions I most often ask myself is "did it download anything?" and "is it running smooth?" RSS-feeds from nzbmatrix have bugged out on us quite a bit lately, and it would be really helpful to somehow have an integration with sabnzbd, or maybe just a seperate simple webpage, that shows how often the rss-feeds have been Attempted/Downloaded/Failed over the last 24 hours/5 days.

I realize it's not a simple task, but it IS the slow season after all. ;)
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: [WINDOWS] SABSync - TV Show Syncing

Post by markus101 »

Hi Larz,

I'd love to be able to integrate it right into SAB, but as of now I'm not sure of a way. I do have a couple ideas on how to achieve a simple webpage with minimal work from the user, but allowing information to be displayed in a useful and efficient way. I'm going to give some ideas a shot and see where it goes. I already have some basic HTML logging, just need a way to allow users to view them easily.

-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
feerlessleadr
Jr. Member
Jr. Member
Posts: 67
Joined: April 30th, 2009, 12:09 pm

Re: [WINDOWS] SABSync - TV Show Syncing

Post by feerlessleadr »

I don't know if you are taking feature requests, but I would love an 'rss filter interface' similar to the current one in sab.

The reason I ask this is because right now I create empty folders for shows that I know will be on this summer, but I don't know or remember when they start.  Unfortunately, that means when I update my library in xbmc, it adds the shows, but since they are empty they just show up blank.

Is there a way that i could have sabsync watch for a show without having to add a folder?

thanks :-)
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: [WINDOWS] SABSync - TV Show Syncing

Post by markus101 »

Interesting idea, empty folders in XBMC are a bit of a pain... perhaps a list of shows that are added to the list of folders on disk when creating the "watched shows" list? - If I'm misunderstanding, let me know.

That's a good idea, while I do prefer the concept of using folders on disk as the list to watch, this would supplement it nicely, another thought (at least for the time being) would be to have another folder on disk that SABSync has as a watched folder, but XBMC does not, so the show(s) will download, but the empty folder won't show in XBMC, but this would be an ugly solution, I'll see if I can't make something more user friendly.

-Markus

P.S. Sent in your feature requests and I'll do what I can.
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
reodor
Newbie
Newbie
Posts: 1
Joined: August 13th, 2010, 3:32 pm

Re: [WINDOWS] SABSync - TV Show Syncing

Post by reodor »

Hey there,

Is there any way of syncing a show containing a semicolon? Take for example Spartacus: Blood and Sand.

The name in the feed and at thetvdb.com is:
Spartacus: Blood and Sand

The semicolon is not allowed in file and foldernames in windows, so it gets removed by default.

The local folder name is:
Spartacus Blood and Sand

Any help would be appreciated
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: [WINDOWS] SABSync - TV Show Syncing

Post by markus101 »

Yes, you should change sabReplaceChar in the config file to false and it should take care of it.

If you're still having issues you might have to setup an alias, but given that the name on thetvdb.com and the feed are the same you should be fine.
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
jrussell
Newbie
Newbie
Posts: 16
Joined: July 4th, 2010, 9:56 am

Re: [WINDOWS] SABSync - TV Show Syncing

Post by jrussell »

Hi Markus, Ive just setup your program and I think its awesome! but im having a little bit of trouble.
I have setup everything and it connects to my SABNZBD. I have used the TV XviD RSS feed from nzbs.org, but everytime SABSync adds a nzb to my que, it comes up as having 0Mbs. I use the rss feeds in SABNZBD on the same RSS feed link (TV XviD RSS feed from nzbs.org) that I have used in SABSync and the feeds work 100% on SABNZBD.

Any ideas why it keeps adding them with with no file size? and they dont download either.

-----Sorry it is working now, had too add extra options to the feed----- :)

And im not sure if its because of the "TV Template" and the "TV Daily Template" options that i have set, i am a little bit confused by them. I just copied my SABNZBD's TV sorting template into both of them.

Im running SABSync 0.9.8.2 and SABNZB 0.5.3 on Windows 7.

If you could help me that would be great  :)

Jason
Last edited by jrussell on August 15th, 2010, 2:27 pm, edited 1 time in total.
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: [WINDOWS] SABSync - TV Show Syncing

Post by markus101 »

I've had some issues with those 0MB NZB fiels as well, causes my whole queue to backup, it appears to be an issue with NZBs.org... As SABSync just tells SABnzbd which NZB to download (using the URL provided in he RSS Feed).

Your TV Sorting Template should be copied from SABnzbd to "TV Template" in the SABSync config. "TV Daily Template" would be for daily TV shows and you would fill in the configured sorting template from SABnzbd is applicable to your setup.

If you have any more questions, please let me know.

-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
Post Reply