[FeedScript] ImdbWatchlist - RSS with IMDb integration

Share your scripts or request scripts with specific features.
Forum rules
Please keep the forum clean - one topic per script. Questions not related to a specific script should be posted in Support forum.
bleachjt
Posts: 4
Joined: 09 Sep 2015, 11:34

Re: [FeedScript] ImdbWatchlist - RSS with IMDb integration

Post by bleachjt » 13 Sep 2015, 10:04

hugbug wrote:All scripts require Python 2.x; only few of them are compatible with Python 3.x.
Delete your python and install 2.x, hopefully this helps.
Thanks! That did the trick.

yawkyawk
Posts: 7
Joined: 22 Sep 2015, 23:36

Re: [FeedScript] ImdbWatchlist - RSS with IMDb integration

Post by yawkyawk » 23 Oct 2015, 20:19

Can someone please let me know what parameters I need to set in order to only grab *.mkv files of 720p or greater quality? At the moment, it seems to grab a lot of versions of HC, MP4 etc
Thanks for the work which has gone into this

hugbug
Developer & Admin
Posts: 7027
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [FeedScript] ImdbWatchlist - RSS with IMDb integration

Post by hugbug » 23 Oct 2015, 22:33

This can be configured via rss filter, see https://github.com/nzbget/nzbget/wiki/RSS for details.

Magic815
Posts: 2
Joined: 29 Oct 2015, 03:26

Re: [FeedScript] ImdbWatchlist - RSS with IMDb integration

Post by Magic815 » 29 Oct 2015, 03:31

So I'm unfortunately struggling with getting this to work. I get to the part below:
close preview dialog and click button "Choose" near field "FeedScript" and select "ImdbWatchlist" there, click "Apply";
click button "Preview feed", now the feed should contain only movies from your IMDb watchlist;
But I'm finding that after hitting apply, the feed still contains the entire list from the RSS feed.

I'm using a DogNZB rss list, and I didn't have to mess with the "&extended=1" part. Thoughts on what I'm doing wrong? I'm using NZBGet 16.2, stable. Any my IMDb watchlist is public.

maciver
Posts: 1
Joined: 29 Oct 2015, 15:40

Re: [FeedScript] ImdbWatchlist - RSS with IMDb integration

Post by maciver » 29 Oct 2015, 16:42

I have the exact same problem, I am attempting to use it with https://legendapi.oznzb.com's feeds (Oznzb.com) and everytime I get it going it lists everything they have available.

kloaknet
Posts: 327
Joined: 23 Jul 2014, 08:52

Re: [FeedScript] ImdbWatchlist - RSS with IMDb integration

Post by kloaknet » 29 Oct 2015, 16:48

Magic815 wrote:So I'm unfortunately struggling with getting this to work. I get to the part below:
close preview dialog and click button "Choose" near field "FeedScript" and select "ImdbWatchlist" there, click "Apply";
click button "Preview feed", now the feed should contain only movies from your IMDb watchlist;
But I'm finding that after hitting apply, the feed still contains the entire list from the RSS feed.

I'm using a DogNZB rss list, and I didn't have to mess with the "&extended=1" part. Thoughts on what I'm doing wrong? I'm using NZBGet 16.2, stable. Any my IMDb watchlist is public.
After apply and save, you prolly have to reload NZBget too

hugbug
Developer & Admin
Posts: 7027
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [FeedScript] ImdbWatchlist - RSS with IMDb integration

Post by hugbug » 29 Oct 2015, 17:24

Activate option Verbose, save and reload. Then click preview feed and post the log.

Microx
Posts: 9
Joined: 17 Aug 2013, 20:33

Re: [FeedScript] ImdbWatchlist - RSS with IMDb integration

Post by Microx » 02 Nov 2015, 17:29

Hi. Thanks a lot for this cool script that i'm testing for a few days already. I have an issue that repeats itself quite often unfortunately. When it happens, my queue gets filled with a lot of unwanted/unwatchlisted movies that passed the filters, from 15 up to 40+ depending on the content of the feed when the problem occurs. All items are set to Pause by default hopefully.

so I decided to get more knowledge about logs and I now have them when the issue occured again today with Verbose active. It would appear that a connection was lost and resulted in the fact that items in the feed were no longer matched against the imdb ids. Below is a partial and edited view of the logs. A TVShow was also downloading at that time.

(...)
Mon Nov 02 11:15:47 2015 DETAIL Successfully downloaded TVShow.S06E04.720p.WEB-DL.DD5.1.H.264-(group)\xxx.31 [10/69]
Mon Nov 02 11:15:47 2015 DETAIL Downloading TVShow.S06E04.720p.WEB-DL.DD5.1.H.264-(group)\xxx[27/69] @ Bucket (reader.usenetbucket.com)
Mon Nov 02 11:15:47 2015 DETAIL Successfully downloaded TVShow.S06E04.720p.WEB-DL.DD5.1.H.264-(group)\xxx.31 [9/69]
Mon Nov 02 11:15:47 2015 DETAIL Downloading TVShow.S06E04.720p.WEB-DL.DD5.1.H.264-(group)\xxx[28/69] @ Bucket (reader.usenetbucket.com)
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: Fetching watchlist from imdb.com...
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: Traceback (most recent call last):
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: File "C:\ProgramData\NZBGet\scripts\ImdbWatchlist.py", line 155, in <module>
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: watchlist = load_watchlist()
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: File "C:\ProgramData\NZBGet\scripts\ImdbWatchlist.py", line 98, in load_watchlist
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: watchlist = fetch_watchlist()
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: File "C:\ProgramData\NZBGet\scripts\ImdbWatchlist.py", line 86, in fetch_watchlist
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: data = response.read()
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: File "C:\Python27\lib\socket.py", line 351, in read
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: data = self._sock.recv(rbufsize)
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: File "C:\Python27\lib\httplib.py", line 543, in read
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: return self._read_chunked(amt)
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: File "C:\Python27\lib\httplib.py", line 612, in _read_chunked
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: value.append(self._safe_read(chunk_left))
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: File "C:\Python27\lib\httplib.py", line 658, in _safe_read
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: chunk = self.fp.read(min(amt, MAXAMOUNT))
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: File "C:\Python27\lib\socket.py", line 380, in read
Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: data = self._sock.recv(left)

Mon Nov 02 11:15:48 2015 INFO ImdbWatchlist: socket.error: [Errno 10054] An existing connection was forcibly closed by the remote host
Mon Nov 02 11:15:48 2015 INFO (name of feed in NZBGet) has 41 new item(s)

Mon Nov 02 11:15:48 2015 DETAIL Downloading (unwanted movie 1) @ (indexer)
Mon Nov 02 11:15:48 2015 DETAIL Downloading (unwanted movie 2) @ (indexer)
Mon Nov 02 11:15:48 2015 DETAIL Downloading (unwanted movie 3) @ (indexer)
Mon Nov 02 11:15:48 2015 DETAIL Downloading (unwanted movie 4) @ (indexer)
Mon Nov 02 11:15:48 2015 DETAIL Downloading (unwanted movie 5) @ (indexer)
Mon Nov 02 11:15:48 2015 DETAIL Downloading (unwanted movie 6) @ (indexer)
Mon Nov 02 11:15:48 2015 DETAIL Downloading (unwanted movie 7) @ (indexer)
Mon Nov 02 11:15:48 2015 DETAIL Downloading (unwanted movie 8) @ (indexer)
Mon Nov 02 11:15:48 2015 DETAIL Downloading (unwanted movie 9) @ (indexer)
Mon Nov 02 11:15:48 2015 DETAIL Downloading (unwanted movie 10) @ (indexer)
Mon Nov 02 11:15:48 2015 DETAIL Successfully downloaded TVShow.S06E04.720p.WEB-DL.DD5.1.H.264-(group)\xxx.31 [12/69]
Mon Nov 02 11:15:48 2015 DETAIL Downloading TVShow.S06E04.720p.WEB-DL.DD5.1.H.264-(group)\xxx[29/69] @ Bucket (reader.usenetbucket.com)
Mon Nov 02 11:15:49 2015 DETAIL Successfully downloaded TVShow.S06E04.720p.WEB-DL.DD5.1.H.264-(group)\xxx.31 [13/69]
(... and 31 other unwanted NZBs were later downloaded as well for a total of 41)

perhaps if the reason is that imdb.com closes the connection and then the imdb ids filtering isn't active anymore, then everything should stop and a warning or error be raised?

As for the filters applied to the feed, I raise Dupescores depending on criteria such as size and Groups names and finish with :
Q: dupescore:>=10000000
Accept: *


i'm using v16.3 in Windows 8.1 and find it strange no one else seem to have that..

thanks for help.

hugbug
Developer & Admin
Posts: 7027
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: [FeedScript] ImdbWatchlist - RSS with IMDb integration

Post by hugbug » 02 Nov 2015, 18:16

I don't think many use this script. May be you are the only one ;)

You make a very good point. I'll add error checking to the script to avoid flooding if the script fails for whatever reason. Even better, such check should be added to nzbget so that if any of feed scripts fails the feed isn't processed further.

Microx
Posts: 9
Joined: 17 Aug 2013, 20:33

Re: [FeedScript] ImdbWatchlist - RSS with IMDb integration

Post by Microx » 04 Nov 2015, 20:31

I confirm this happened again with exact same error and consequence. How will I know when I can test this again : when there's an update of this script or by reading the releases notes of a next version and looking for something like "Added check so that if feed scripts fails the feed isn't processed further" ?

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests