Page 14 of 15

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: November 8th, 2010, 7:42 am
by fanniecat
LarzJG wrote: WHS, HP Mediasmart system. I have it in a subfolder to sabnzbd on C, I'll move it to D.

I'm usually accessing it using the WHS console, using the addin that lets you minimize the WHS software. It's in the Startup-folder as a link - I can't figure out a better way to auto-launch it.
Easy way: Windows Task Scheduler (bring up the run box by pressing WindowsKey and R at the same time, then type taskschd.msc and press enter).  Click create a task and put in the exe location and when you want it to run (on boot, so you don't even have to log in for your automated downloading apps to get started).

Make a scheduled task for sabnzbd and any associated programs (sabsync,couchpotato,additional guis,utorrent,etc) that you want to always have running.  After doing this remove the now redundant links in the startup folder.

Running as admin should have the advantage of not getting inaccessible directories, and running all the time prevents you from "underutilizing" your bandwidth for days because you forgot to log onto the WHS after a reboot.  HTH

There is also a way to run any app as a service on WHS and it can be found using google, but I don't see any advantage to that for these kind of programs and it's a bit more complicated to set up.

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: November 8th, 2010, 2:11 pm
by markus101
I have my WHS box logging in on startup and then it starts SABnzbd and SABSync.

Followed this guide to enable auto-login: http://support.microsoft.com/kb/324737

I also disabled that annoying Short-cut to the webpage "warning" me that I was RDPing to the server. Plenty of options to run SABSync and SABnzbd on start-up. :)

-Markus

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: November 10th, 2010, 10:05 am
by psh
Hi

SABSync not Work add to sabnzb.
What can be wrong?

Sorry for my english  :o

Code: Select all

INFO: Downloading feed The Walking Dead from http://www.newzbin.com/search/?go=1&ss=584472&fpn=p&feed=rss&fauth=************************************

----------------------------------------------------------------
Verifying 'The Walking Dead - 1x02 - Guts'
'The Walking Dead' is being watched.
Title is: the walking dead - 1x02 - guts
Quality -xvid- is wanted for: The Walking Dead.
Checking SABSync.db for: [The Walking Dead - S01E02]
Getting Fixed Title for: The Walking Dead - 1x02 - Guts
Title Fix is: The Walking Dead - 1x02 - Guts
Checking Queue for  : [The Walking Dead - 1x02 - Guts] or [The Walking Dead - 1x02 - Guts]
Checking for Imported NZB for [The Walking Dead - 1x02 - Guts] or [The Walking Dead - 1x02 - Guts]
Building string for Episode Dir
E:\Serien\The Walking Dead\Season 1
Building string for Episode File Mask
*1x02*
Directory does not exist: E:\Serien\The Walking Dead\Season 1
Directory does not exist: E:\Serien\The Walking Dead\Season 1
Building string for Episode Dir
F:\Serien\The Walking Dead\Season 1
Building string for Episode File Mask
*1x02*
Checking directory: F:\Serien\The Walking Dead\Season 1 for [*1x02*]
Checking directory: F:\Serien\The Walking Dead\Season 1 for [*1x02*]
Checking directory: F:\Serien\The Walking Dead\Season 1 for [*S01E02*]
Checking directory: F:\Serien\The Walking Dead\Season 1 for [*102*]
Adding report [The Walking Dead - 1x02 - Guts] to the queue.
DEBUG: http://192.168.0.3:8080/sabnzbd/api?mode=addurl&name=http://www.newzbin.com/browse/post/5818774/&cat=tv&nzbname=The Walking Dead - 1x02 - Guts&priority=1&apikey=**********************&ma_username=***&ma_password=***
Queue Response: [ok]
Episode added to History Database: The Walking Dead - S01E02

----------------------------------------------------------------
Verifying 'The Walking Dead - 1x01 - Days Gone Bye'
'The Walking Dead' is being watched.
Title is: the walking dead - 1x01 - days gone bye
Quality -xvid- is wanted for: The Walking Dead.
Checking SABSync.db for: [The Walking Dead - S01E01]
Getting Fixed Title for: The Walking Dead - 1x01 - Days Gone Bye
Title Fix is: The Walking Dead - 1x01 - Days Gone Bye
Checking Queue for  : [The Walking Dead - 1x01 - Days Gone Bye] or [The Walking Dead - 1x01 - Days Gone Bye]
Checking for Imported NZB for [The Walking Dead - 1x01 - Days Gone Bye] or [The Walking Dead - 1x01 - Days Gone Bye]
Building string for Episode Dir
E:\Serien\The Walking Dead\Season 1
Building string for Episode File Mask
*1x01*
Directory does not exist: E:\Serien\The Walking Dead\Season 1
Directory does not exist: E:\Serien\The Walking Dead\Season 1
Building string for Episode Dir
F:\Serien\The Walking Dead\Season 1
Building string for Episode File Mask
*1x01*
Checking directory: F:\Serien\The Walking Dead\Season 1 for [*1x01*]
Episode on disk. 'F:\Serien\The Walking Dead\Season 1\The Walking Dead - 1x01 - Days Gone Bye.avi'


Queued for download: The Walking Dead - 1x02 - Guts: ok


Number of reports added to the queue: 1
=====================================================================
Process successfully completed. Duration 9,3s
10.11.2010 15:34:49

Code: Select all

010-11-10 15:12:11,500::INFO::[urlgrabber:126] Grabbing URL http://www.newzbin.com/browse/post/5818774/
2010-11-10 15:12:11,842::ERROR::[misc:926] Failed to get URL http://www.newzbin.com/browse/post/5818774/ (Fehler = )
2010-11-10 15:12:11,921::INFO::[__init__:702] E:\Temp\cache\SABnzbd_nzo_od4vj6 removed
2010-11-10 15:12:11,921::INFO::[nzbqueue:92] Saving queue
gruß
psh

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: November 10th, 2010, 2:30 pm
by markus101
That appears to be an issue with SABnzbd, not SABSync, possibly your user information for Newzbin is not correct?

-Markus

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: November 10th, 2010, 3:48 pm
by psh
Newzbin login is correct!

Manually is retrievable
I do not know what else is wrong.

Code: Select all

500 Internal Server Error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "cherrypy\_cprequest.pyo", line 618, in respond
  File "cherrypy\_cpdispatch.pyo", line 25, in __call__
  File "sabnzbd\interface.pyo", line 990, in default
  File "_Programme_SABnzbd_interfaces_Plash_templates_nzo_tmpl.py", line 148, in respond
NotFound: cannot find 'filename' while searching for 'slot.filename'

Gruß
psh

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: November 10th, 2010, 5:40 pm
by markus101
It's a problem with the link that Newzbin is providing in the RSS feed. The issue is actually caused by a couple of things, one being that the link doesn't contain "nzb/" to actually get the NZB, but even with that added (in my testing) the NZB cannot be downloaded without logging in, which is what seems to be stopping SABnzbd from downloading the NZB (SABSync sends the link to SABnzbd, albeit not the right link, due to what Newzbin is providing). It looks like SABnzbd handles a RSS feed from Newzbin differently (likely using the ID) instead of the link.

Unfortunately at this time SABSync won't be able to support Newzbin, mostly due to how Newzbin provides their RSS feed, but I will look into supporting Newzbin again by way of Adding by ID to SABnzbd.

-Markus

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: November 10th, 2010, 5:45 pm
by psh
Hi

Ok thanks for Help  :)

I wait for new Version  :)

Gruß
Psh

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: November 16th, 2010, 5:01 pm
by LarzJG
My SABsync is running smooth now - no issues, I have some backfill to do from the week in which it was bugging on me, but I fix it one show at a time as I find it.

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: January 29th, 2011, 2:42 am
by DaFederal
[Edit]  Found the problem.  I didn't set the nzb directory  :-[

NZB Title causing problems?  Haven't seen this error before.  

Thanks for any help.

Code: Select all

Verifying 'Fringe S03E11 720p HDTV X264 DIMENSION'
'Fringe' is being watched.
Quality -720p- is wanted for: Fringe.
Checking SABSync.db for: [Fringe - S03E11]
Getting Fixed Title for: Fringe S03E11 720p HDTV X264 DIMENSION
Title Fix is: Fringe - 3x11 - Reciprocity
Checking Queue for  : [Fringe S03E11 720p HDTV X264 DIMENSION] or [Fringe - 3x11 - Reciprocity]
Checking for Imported NZB for [Fringe S03E11 720p HDTV X264 DIMENSION] or [Fringe - 3x11 - Reciprocity]
Unsupported Title: Fringe S03E11 720p HDTV X264 DIMENSION - System.ApplicationException: Configuration: Invalid nzbDir folder: C:\Test\nzb\imported
   at SABSync.Config.GetNzbDir() in C:\Users\mark.mcdowall\Documents\Visual Studio 2010\Projects\sabscripts\SABSync\SABSync\Config.cs:line 87
   at SABSync.Config.get_NzbDir() in C:\Users\mark.mcdowall\Documents\Visual Studio 2010\Projects\sabscripts\SABSync\SABSync\Config.cs:line 76
   at SABSync.SyncJob.IsArchivedNzb(FeedItem feedItem) in C:\Users\mark.mcdowall\Documents\Visual Studio 2010\Projects\sabscripts\SABSync\SABSync\SyncJob.cs:line 558
   at SABSync.SyncJob.IsEpisodeWanted(Episode episode) in C:\Users\mark.mcdowall\Documents\Visual Studio 2010\Projects\sabscripts\SABSync\SABSync\SyncJob.cs:line 436
   at SABSync.SyncJob.QueueIfWanted(NzbInfo nzb) in C:\Users\mark.mcdowall\Documents\Visual Studio 2010\Projects\sabscripts\SABSync\SABSync\SyncJob.cs:line 134

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: April 13th, 2011, 9:37 pm
by markus101
I just uploaded 0.9.9.7 which is a quick release to fix a bug that was introduced with TheTVDB's new caching mechanism (nginx was not properly handling a request for all series information that didn't end in a '/').

http://code.google.com/p/sabscripts/downloads/list

Enjoy.

-Markus

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: April 17th, 2011, 8:33 am
by jrussell
Hey, I get an error with the new 0.9.9.7, as soon as I open the app....


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentException: The specified store provider cannot be found in the configuration, or is not valid. ---> System.ArgumentException: Unable to find the requested .Net Framework Data Provider.  It may not be installed.
  at System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName)
  at System.Data.EntityClient.EntityConnection.GetFactory(String providerString)
  --- End of inner exception stack trace ---
  at System.Data.EntityClient.EntityConnection.GetFactory(String providerString)
  at System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString)
  at System.Data.EntityClient.EntityConnection..ctor(String connectionString)
  at System.Data.Objects.ObjectContext.CreateEntityConnection(String connectionString)
  at SABSync.SABSyncEntities..ctor() in C:\Users\mark.mcdowall\Dropbox\Visual Studio 2010\sabscripts\SABSync\SABSync\SABSync.Designer.cs:line 41
  at SABSync.FrmMain.GetShows() in C:\Users\mark.mcdowall\Dropbox\Visual Studio 2010\sabscripts\SABSync\SABSync\FrmMain.cs:line 244
  at SABSync.FrmMain.Program_Load(Object sender, EventArgs e) in C:\Users\mark.mcdowall\Dropbox\Visual Studio 2010\sabscripts\SABSync\SABSync\FrmMain.cs:line 81
  at System.Windows.Forms.Form.OnLoad(EventArgs e)
  at System.Windows.Forms.Form.OnCreateControl()
  at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
  at System.Windows.Forms.Control.CreateControl()
  at System.Windows.Forms.Control.WmShowWindow(Message& m)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  at System.Windows.Forms.Form.WmShowWindow(Message& m)
  at System.Windows.Forms.Form.WndProc(Message& m)
  at SABSync.FrmMain.WndProc(Message& message) in C:\Users\mark.mcdowall\Dropbox\Visual Studio 2010\sabscripts\SABSync\SABSync\FrmMain.cs:line 124
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.225 (RTMGDR.030319-2200)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
SABSync
    Assembly Version: 0.9.9.7
    Win32 Version: 0.9.9.7
    CodeBase: file:///C:/Program%20Files%20(x86)/SABSync%200.9.9.7/SABSync.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Data.Entity
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.Entity/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Entity.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ObjectListView
    Assembly Version: 2.4.1.37818
    Win32 Version: 2.4.1.0
    CodeBase: file:///C:/Program%20Files%20(x86)/SABSync%200.9.9.7/ObjectListView.DLL
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Data.OracleClient
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data.OracleClient/v4.0_4.0.0.0__b77a5c561934e089/System.Data.OracleClient.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:


   


When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


running Server 2008 R2 Enterprise x64
and SABnzbd 0.5.6

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: April 17th, 2011, 1:35 pm
by markus101
I think the issue is with the config file (SQLite can be such a pain sometimes).

The config file currently contains this block:

Code: Select all

<system.data>
    <DbProviderFactories>
      <remove invariant="System.Data.SQLite" />
      <add name="SQLite Data Provider" invariant="System.Data.SQLite"
           description=".Net Framework Data Provider for SQLite"
           type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
    </DbProviderFactories>
  </system.data>
but that block should be commented out to look like this:

Code: Select all

<!--<system.data>
    <DbProviderFactories>
      <remove invariant="System.Data.SQLite" />
      <add name="SQLite Data Provider" invariant="System.Data.SQLite"
           description=".Net Framework Data Provider for SQLite"
           type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" />
    </DbProviderFactories>
  </system.data>-->
Which was working in 0.9.9.6, I'm not sure how this slipped in... If you can confirm that it works with the configuration change I will upload a new version of 0.9.9.7 with the proper configuration.

Here is a pastebin link with the complete configuration file if it's easier to copy+paste the entire file.

-Markus

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: April 17th, 2011, 2:33 pm
by LarzJG
I keep ignoring the config file when updating - I'm imagining that it will require me to re-enter my sabnzbd+ username and pass and more.

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: April 17th, 2011, 2:39 pm
by markus101
It only contains application specific configuration now, the rest is stored in the %appdata% folder, but that config file shouldn't change very often (and in thins case it was by error).

-Markus

Re: [WINDOWS] SABSync - TV Show Syncing

Posted: April 17th, 2011, 2:43 pm
by LarzJG
Figured :)

I had an issue before the update where the scan would hang on one easily recognizable show for ages and never recognize the show. Eventually it fixed itself, but I'd tried to add it at least 3 times - was that what you fixed?