Sharing Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Anyone want to see anything else added to the site? Just message Shaitan with your ideas.

Pages: 1 2 [3] 4 5 ... 30   Go Down

Author Topic: Episode butler  (Read 16960 times)

0 Members and 1 Guest are viewing this topic.

ragnar

  • Noviate
  • ***
  • Offline Offline
  • Posts: 38
Re: Episode butler
« Reply #30 on: June 18, 2008, 09:03:09 AM »

My problem with not downloading the series was my settings to download low quality versions and incorrect "lenght".

So i have another feature that might be usefull.
Read the lenght from tvrage, they state the Runtime there.

Thanks
  Ragnar

Janoz

  • Maestro
  • *****
  • Offline Offline
  • Posts: 115
    • Episodebutler
Re: Episode butler
« Reply #31 on: June 25, 2008, 08:13:14 AM »

My problem with not downloading the series was my settings to download low quality versions and incorrect "lenght".

So i have another feature that might be usefull.
Read the lenght from tvrage, they state the Runtime there.

Thanks
  Ragnar

I've already implemented it :D.. Previously tvrage didn't have the length in their quickinfo. A few weeks back I checked it again, and they added it. When you add a show now it will not assume it is 60 minutes, but it will take the length it got from tvrage.

This only works for shows you add. Shows that are already in the episodebutler database will not be updated.

At this point the only problem I'm still having is that double episodes will not be downloaded. I had to manually download the season ending of lost :'(. I have to think about a workaround for this problem.

Janoz

  • Maestro
  • *****
  • Offline Offline
  • Posts: 115
    • Episodebutler
Re: Episode butler
« Reply #32 on: June 25, 2008, 08:18:22 AM »

Hi Janoz,
i have a new feature request.

A list of all the episodes that you are missing that have already been aired.
I just checked and have a lot of missing shows in EB.

You mean you want a list like like the 'downloaded episodes' or 'upcoming episodes' which contains all the episodes of all series the episodebutler knows which are set too 'not downloaded'?

Maybe a sort of query tool is what you really want. I'll take a look into it.

Quote
also i found out that many of them should have been found and downloaded.
Mind of Mencia 4x02 is on newzbin for 11 days.
is there a way to check why its not downloaded


In the log file in the log dir you can find the search URLs the episodebutler is using. Also in the newest version  I updated the matching algorithm. This now also gives some extra log info which might give some extra insight into why a show isn't found.

ragnar

  • Noviate
  • ***
  • Offline Offline
  • Posts: 38
Re: Episode butler
« Reply #33 on: June 25, 2008, 02:39:29 PM »

great!
The series lenght and my quality settings were the reason why some shows didnt download. So no bug there.

You mean you want a list like like the 'downloaded episodes' or 'upcoming episodes' which contains all the episodes of all series the episodebutler knows which are set too 'not downloaded'?
Maybe a sort of query tool is what you really want. I'll take a look into it.

exactly

ragnar

  • Noviate
  • ***
  • Offline Offline
  • Posts: 38
Re: Episode butler
« Reply #34 on: July 17, 2008, 07:07:14 PM »

Hi Janoz,

fyi, i posted about episodebutler in the 3rd party forum of my favorite newsleecher sabnzb+.
http://forums.sabnzbd.org/index.php?topic=38.0

ragnar

  • Noviate
  • ***
  • Offline Offline
  • Posts: 38
Re: Episode butler
« Reply #35 on: August 06, 2008, 02:10:23 PM »

My PC is running on German Language and for some time now i get an error in the Log on startup: "Error parsing 00//2009 as date."

Seems to me that the buttler is running fine, my series get downloaded and i see the Upcomming episodes.

maybe thats of interest for further development.
German date format: tt.mm.yyyy  e.g. 25.04.2011

Aug 6 '08 14:40:05 PM
    Found 0.
Aug 6 '08 14:40:03 PM
    Searching for episodes.
Aug 6 '08 14:40:03 PM
    Updating done.
Aug 6 '08 14:40:03 PM
    Error parsing 00//2009 as date.
Aug 6 '08 14:39:12 PM
    Updating episode information.

nzb0.log
06.08.2008 14:40:03 com.janoz.eb.Core doEpisodeUpdate
SCHWERWIEGEND: Error updating serie info.
com.janoz.eb.service.ServiceException: Error parsing 00//2009 as date.
   at com.janoz.eb.impl.TvRageInfoService.toDate(TvRageInfoService.java:187)
   at com.janoz.eb.impl.TvRageInfoService.updateEpisode(TvRageInfoService.java:79)
   at com.janoz.eb.impl.TvRageInfoService.addEpisodes(TvRageInfoService.java:53)
   at com.janoz.eb.Core.doEpisodeUpdate(Core.java:361)
   at com.janoz.eb.Core.loop(Core.java:333)
   at com.janoz.eb.Core.<init>(Core.java:105)
   at com.janoz.eb.Core.main(Core.java:424)
Caused by: java.lang.NumberFormatException: For input string: ""
   at java.lang.NumberFormatException.forInputString(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at java.lang.Integer.parseInt(Unknown Source)
   at com.janoz.eb.impl.TvRageInfoService.toDate(TvRageInfoService.java:179)
   ... 6 more

"SCHWERWIEGEND" is german for "CRITICAL"

Janoz

  • Maestro
  • *****
  • Offline Offline
  • Posts: 115
    • Episodebutler
Re: Episode butler
« Reply #36 on: August 13, 2008, 12:04:36 PM »

Let me guess. You like Lost :). The problem is caused by the information gotten from TvRage. Episode Butler assumes a date, but TvRage only returns a year since the exact airdate of the season start isn't yet known. Episode Butler can't really handle only a year so an error is shown.

It doesn't influence the workings of the Episode Butler though. The only effect is that it can't add the season start of Lost to the episode list, but by the time the airdate is known the problem will go away.

The popups however aren't OK in my opinion. I've seen the critical mesage before, but since I'm running the episode butler on a headless computer I didn't think of the pop-up windows. In the next version I'll update the tvrage info parsing so it will not trigger a critical error when only a year is known. That way the irritating popups will be gone.



ragnar

  • Noviate
  • ***
  • Offline Offline
  • Posts: 38
Re: Episode butler
« Reply #37 on: August 13, 2008, 12:57:58 PM »

yeah, i just figured out that it happens for lost and "breaking bad".
There is no popup. I just included the error from the nzb0.log

Thanks
 Rag

ugokanain

  • Enlightened
  • ****
  • Offline Offline
  • Posts: 61
Re: Episode butler
« Reply #38 on: August 17, 2008, 04:23:40 AM »

Just installed EB on a mac and most seems to be working (doesn't talk to sabnzbd+). However, it seems that the nzbsaver.targetdir isn't an absolute path, but starts from the EB folder.

For instance I am trying to get the new episodes saved in my ~/Downloads folder, however it is going to /Users/Me/episodebutler/~/Downloads.

ragnar

  • Noviate
  • ***
  • Offline Offline
  • Posts: 38
Re: Episode butler
« Reply #39 on: August 17, 2008, 08:56:58 AM »

on what url can your browser open sabnzbd?
and post your "#    Sabnzbd configuration" section of the config.

my example
url:
http://mypc:1570/sabnzbd

configuration.properties:
sabnzbd         = on
sabnzbd.host      = mypc
sabnzbd.port      = 1570
sabnzbd.rootDir      = sabnzbd

ugokanain

  • Enlightened
  • ****
  • Offline Offline
  • Posts: 61
Re: Episode butler
« Reply #40 on: August 18, 2008, 07:30:24 AM »

I am using the default values:
sabnzbd.host      = localhost
sabnzbd.port      = 8080
sabnzbd.rootDir      = sabnzbd
sabnzbd.username   =
sabnzbd.password   =

My url is: http://localhost:8080/sabnzbd/, even tried it with a # in front of the user and password

Janoz

  • Maestro
  • *****
  • Offline Offline
  • Posts: 115
    • Episodebutler
Re: Episode butler
« Reply #41 on: August 18, 2008, 08:43:43 AM »

The relative vs absolute issue is probably caused by not handling a path starting with a ~ correctly. To get an absolute path, use the full path starting with a /.

I'm looking into the issue you are reporting about not being able to connect to sabnzbd. A work around might be saving the nzb files in a dir and let sabnzbd look at that directory but I agree it isn't a solution :).

When I look at the log you send me it isn't an issue with login info. The first request the episode butler makes to sabnzbd fails. It doesn't even come far enough to check for credentials. I'm not really familiar with a Mac, but do you have some kind of firewall running? Are there any other restrictions to connecting to localhost by a process? What happens when you use 127.0.0.1 or your own ip-adress (assuming sabnzbd also listens on that adress)  instead of localhost?

(I'm posting this reply in this thread instead of the mail so maybe another Mac user can shed its light on this problem)

ugokanain

  • Enlightened
  • ****
  • Offline Offline
  • Posts: 61
Re: Episode butler
« Reply #42 on: August 19, 2008, 09:42:14 PM »

When I type my ip, localhost, or 127.0.0.1, I get the local apache server, when I type http://localhost:8080/sabnzbd/ I get the sab web page.

Will try a full path, though I can of like the ~ shorcut. I was using a link to show the proper folder. Will let you know what happens with the full path, when EB finally downloads something more.

Came across another difficulty, I have set all my episodes to medium quality (I'm happy with 400 MB file for most shows). However nothing is dl, and I know that newzbin has those files. I decided to change one to any and it dled a 1GB mkv file (which can't use on my dvd player). The 400 file was even posted before the 1 GB on newzbin Any ideas on this?


The relative vs absolute issue is probably caused by not handling a path starting with a ~ correctly. To get an absolute path, use the full path starting with a /.

I'm looking into the issue you are reporting about not being able to connect to sabnzbd. A work around might be saving the nzb files in a dir and let sabnzbd look at that directory but I agree it isn't a solution :).

When I look at the log you send me it isn't an issue with login info. The first request the episode butler makes to sabnzbd fails. It doesn't even come far enough to check for credentials. I'm not really familiar with a Mac, but do you have some kind of firewall running? Are there any other restrictions to connecting to localhost by a process? What happens when you use 127.0.0.1 or your own ip-adress (assuming sabnzbd also listens on that adress)  instead of localhost?

(I'm posting this reply in this thread instead of the mail so maybe another Mac user can shed its light on this problem)

« Last Edit: August 19, 2008, 09:45:17 PM by ugokanain »

Janoz

  • Maestro
  • *****
  • Offline Offline
  • Posts: 115
    • Episodebutler
Re: Episode butler
« Reply #43 on: August 20, 2008, 12:04:07 PM »

When I type my ip, localhost, or 127.0.0.1, I get the local apache server, when I type http://localhost:8080/sabnzbd/ I get the sab web page.

What happens when you use your ip or 127.0.0.1 in the episode butler configuration?
Quote
Will try a full path, though I can of like the ~ shorcut. I was using a link to show the proper folder. Will let you know what happens with the full path, when EB finally downloads something more.

Came across another difficulty, I have set all my episodes to medium quality (I'm happy with 400 MB file for most shows). However nothing is dl, and I know that newzbin has those files. I decided to change one to any and it dled a 1GB mkv file (which can't use on my dvd player). The 400 file was even posted before the 1 GB on newzbin Any ideas on this?

Medium quality is the 800mb version, but I don't see them that often anymore. To download the 400 versions you should choose 'low' quality.

The reason why the 1GB version is downloaded is because the episode butler will take the most recent hit (which is marked complete). That post is the least effected by the retention.

The current version (i'm not shure if I already released it) also has a low/medium (and a medium/high) quality you can choose. That would be a good candidate for you (I use it too because my XBOX can't handle the 1GB+ versions either)..

ugokanain

  • Enlightened
  • ****
  • Offline Offline
  • Posts: 61
Re: Episode butler
« Reply #44 on: August 20, 2008, 01:55:14 PM »

When I type my ip, localhost, or 127.0.0.1, I get the local apache server, when I type http://localhost:8080/sabnzbd/ I get the sab web page.

What happens when you use your ip or 127.0.0.1 in the episode butler configuration?

When using 127.0.0.1 for the sab  ip, I get:
Log file
Quote
Aug 20, 2008 7:50:31 AM com.janoz.eb.impl.DatabaseInstall updateDatabase
INFO: Tables already exist
Aug 20, 2008 7:50:31 AM com.janoz.eb.impl.DatabaseInstall updateDatabase
INFO: Tables where in 0.6+ state
Aug 20, 2008 7:50:32 AM com.janoz.util.ExtProperties getProperty
INFO: Unable to retrieve integer, returning default.
Aug 20, 2008 7:50:34 AM com.janoz.news.impl.NewzBinConnector getNzbByReportId
INFO: X-DNZB-RText : Not Found, data doesn't exist?
Aug 20, 2008 7:50:34 AM com.janoz.news.impl.NewzBinConnector getNzbByReportId
INFO: X-DNZB-RCode : 404
Aug 20, 2008 7:50:34 AM com.janoz.news.impl.SabnzbdProcessor isAuthentcationRequired
FINE: Checking authentication
Aug 20, 2008 7:50:35 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Aug 20, 2008 7:50:35 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Aug 20, 2008 7:50:35 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Aug 20, 2008 7:50:35 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Aug 20, 2008 7:50:35 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
Aug 20, 2008 7:50:35 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Aug 20, 2008 7:50:35 AM com.janoz.eb.Core <init>
SEVERE: com.janoz.eb.ConfigurationException: Error connecting to sabnzbd.


Terminal
Quote
Error: Error connecting to sabnzbd.
Unable to reach Sabnzbd.
java[18781]: [FC] Operation took 23317ns
java[18781]: [FM] Building late: NO
java[18781]: [FM] Building...
2008-08-20 07:50:42.772 java[18781:80f] Error loading /Library/QuickTime/LiveType.component/Contents/MacOS/LiveType:  dlopen(/Library/QuickTime/LiveType.component/Contents/MacOS/LiveType, 262): Library not loaded: /System/Library/PrivateFrameworks/LiveType.framework/Versions/A/LiveType
  Referenced from: /Library/QuickTime/LiveType.component/Contents/MacOS/LiveType
  Reason: image not found
2008-08-20 07:50:42.969 java[18781:80f] Error loading /Library/QuickTime/Motion.component/Contents/MacOS/Motion:  dlopen(/Library/QuickTime/Motion.component/Contents/MacOS/Motion, 262): Library not loaded: /Library/Frameworks/Motion.framework/Versions/A/Motion
  Referenced from: /Library/QuickTime/Motion.component/Contents/MacOS/Motion
  Reason: image not found
2008-08-20 07:50:42.989 java[18781:80f] Error loading /Library/QuickTime/Motion.component/Contents/MacOS/Motion:  dlopen(/Library/QuickTime/Motion.component/Contents/MacOS/Motion, 262): Library not loaded: /Library/Frameworks/Motion.framework/Versions/A/Motion
  Referenced from: /Library/QuickTime/Motion.component/Contents/MacOS/Motion
  Reason: image not found
java[18781]: [FM] Added rlogout item with name: Log Out me
java[18781]: [FM] Added rlogout item with name: Log Out me
java[18781]: [FM] Added rlogout item with name: Log Out me

Pages: 1 2 [3] 4 5 ... 30   Go Up