Getting a 3rd party provider to work?

So you made CouchPotato even more awsome?
thade
Junior Member
Posts: 5
Joined: 19 Aug 2014 09:10
Has thanked: 1 time
Status: Offline

Re: Getting a 3rd party provider to work?

Postby thade » 20 Aug 2014 14:10

Hi, "filelist" is the one I'm using.

thade
Junior Member
Posts: 5
Joined: 19 Aug 2014 09:10
Has thanked: 1 time
Status: Offline

Re: Getting a 3rd party provider to work?

Postby thade » 11 Sep 2014 11:04

Any advice? :s

Thank you

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby clinton.hall » 11 Sep 2014 15:10

Sorry... I was going to look at this.
To be honest, trying to maintain someone else's code can be time consuming...
I can't see anyway to contact outkastm, but I have created an issue on his/her repo to ask for this to be updated.
https://github.com/outkastm/Filelist.ro/issues/2
If outkastm has email notifications enabled, hopefully something will happen.

If nothing happens there in the next few days, I can try and look at updating this, but I won't be able to test fully, so you may have to do some debugging as we go...

Prompt me again in a few days.

thade
Junior Member
Posts: 5
Joined: 19 Aug 2014 09:10
Has thanked: 1 time
Status: Offline

Re: Getting a 3rd party provider to work?

Postby thade » 12 Sep 2014 15:00

Ok, super!

Thank you very much.

outkastm
Junior Member
Posts: 6
Joined: 12 Mar 2014 23:09
Been thanked: 2 times
Status: Offline

Re: Getting a 3rd party provider to work?

Postby outkastm » 14 Sep 2014 00:09

Filelist is updated.

lwbord
Junior Member
Posts: 2
Joined: 16 Sep 2014 21:29
Status: Offline

Re: Getting a 3rd party provider to work?

Postby lwbord » 16 Sep 2014 22:11

Hi,

Could anyone please look at my custom provider? I had it working before, but now the plugin loads but isn't used when searching.
It is basically exactly the same as passthepopcorn.py with one small adjustment.

It's located here:
https://github.com/Amelandbor/PTPCustom

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby clinton.hall » 16 Sep 2014 23:10

go to the link above, then click on issues, create a new issue and ask Amelandbor to update the provider.

lwbord
Junior Member
Posts: 2
Joined: 16 Sep 2014 21:29
Status: Offline

Re: Getting a 3rd party provider to work?

Postby lwbord » 16 Sep 2014 23:15

That is my repository. I updated it to have the new import in the main and autoload in the init file, but no success so far.

Edit: success, I had to include the search params from couchpotato/core/media/movie/providers/torrent/passthepopcorn.py

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby clinton.hall » 17 Sep 2014 23:27

lwbord wrote:That is my repository. I updated it to have the new import in the main and autoload in the init file, but no success so far.

Edit: success, I had to include the search params from couchpotato/core/media/movie/providers/torrent/passthepopcorn.py


lol.. sorry.. thought you were a user asking for it to be updated :blush:
Glad you got it working.

thade
Junior Member
Posts: 5
Joined: 19 Aug 2014 09:10
Has thanked: 1 time
Status: Offline

Re: Getting a 3rd party provider to work?

Postby thade » 19 Sep 2014 23:19

Hi Clinton,
me again, sorry.
But, can you check this issue: https://github.com/outkastm/Filelist.ro/issues/3
It seams that we have now a authentication issue, somehow CP is cutting the password. Any advice?
Thank you

adrhc
Junior Member
Posts: 16
Joined: 09 Aug 2015 21:16
Status: Offline

Re: Getting a 3rd party provider to work?

Postby adrhc » 09 Aug 2015 21:20

Hi, I have the latest version of couchpotato and outkastm/Filelist.ro (2015.09.09).
I put the outkastm/Filelist.ro's *.py files in custom_plugins directory but no Filelist provider appears in couchpotato's web interface.
Am I doing something wrong ?

I'm starting with this command:
python /ffp/opt/couchpotato/CouchPotato.py --daemon --config_file /ffp/etc/couchpotato.conf --data_dir /ffp/opt/couchpotato_data
and the Filelist.ro's *.py files are locate in /ffp/opt/couchpotato_data/custom_plugins.
In logs there's no filelist case-insensitive word; there are no errors and the other torrent providers are working fine.

I have:
Linux nsa310 2.6.31.8 #2 Fri Aug 2 11:21:44 CST 2013 armv5tel GNU/Linux
Python 2.7.10

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby clinton.hall » 13 Aug 2015 14:05

The .py files need to be in their own folder in the custom plugins folder.

adrhc
Junior Member
Posts: 16
Joined: 09 Aug 2015 21:16
Status: Offline

Re: Getting a 3rd party provider to work?

Postby adrhc » 13 Aug 2015 15:11

Hm, this seems a valid point; but which would be the py files folder ? would be Filelist for this situation ?

adrhc
Junior Member
Posts: 16
Joined: 09 Aug 2015 21:16
Status: Offline

Re: Getting a 3rd party provider to work?

Postby adrhc » 13 Aug 2015 15:18

Ok, I was blind: Make an folder named filelist ...

Thanks you!

adrhc
Junior Member
Posts: 16
Joined: 09 Aug 2015 21:16
Status: Offline

Re: Getting a 3rd party provider to work?

Postby adrhc » 23 Aug 2015 11:39

Now I have a problem with the detecting of torrents (e.g. Avengers: Age of Ultron) on filelist.ro; no torrent from filelist.ro is presented in the table which opens when clicking "pick one yourself" button.
When logged in filelist.ro the url https://filelist.ro/browse.php?search=%22avengers+age+of+ultron%22+2015&cat=19 is bringing the expected torrent.
Any idea about what's the problem ?

PS: same happens when extra score for filelist.ro is 0 or 1 or 100
PS: few days ago I noticed some torrent were presented in the "pick one yourself"'s table so at least at some point worked

08-23 12:16:40 INFO [hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/info/tt2395427/, data: []
08-23 12:16:42 INFO [ie.providers.info.omdbapi] Found: Avengers: Age of Ultron (2015)
08-23 12:16:42 INFO [hpotato.core.plugins.base] Opening url: get https://kat.cr, data: []
08-23 12:16:42 INFO [hpotato.core.plugins.base] Opening url: get https://thepiratebay.mn, data: []
08-23 12:16:44 INFO [hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/eta/tt2395427/, data: []
08-23 12:16:44 INFO [core.media.movie.searcher] Search for Avengers: Age of Ultron in BR-Disk ignoring ETA
08-23 12:16:44 INFO [ filelist] Logging in to filelist.ro with user [secret] and password [secret]
08-23 12:16:44 INFO [hpotato.core.plugins.base] Opening url: post https://www.torrentbytes.net/takelogin.php, data: ['username', 'login', 'password']
08-23 12:16:44 INFO [hpotato.core.plugins.base] Opening url: post https://filelist.ro/takelogin.php, data: ['username', 'ssl', 'password']
08-23 12:16:44 INFO [hpotato.core.plugins.base] Opening url: get https://yts.im, data: []
08-23 12:16:47 INFO [hpotato.core.plugins.base] Opening url: get https://yts.im/api/v2/list_movies.json? ... =tt2395427, data: []
08-23 12:16:47 INFO [hpotato.core.plugins.base] Opening url: get https://filelist.ro/browse.php?search=% ... 015&cat=19, data: []
08-23 12:16:47 INFO [hpotato.core.plugins.base] Opening url: get https://www.torrentbytes.net/browse.php ... 2015&cat=5, data: []
08-23 12:16:54 INFO [hpotato.core.plugins.base] Opening url: get https://filelist.ro/browse.php?search=% ... 015&cat=19, data: []
08-23 12:16:58 INFO [hpotato.core.plugins.base] Opening url: get https://torrentz.eu/feed_verified?q=%22 ... %20%3E%204, data: []
08-23 12:16:58 INFO [hpotato.core.plugins.base] Opening url: get https://kat.cr/m-i2395427/, data: []
08-23 12:16:58 INFO [hpotato.core.plugins.base] Opening url: get https://torrentapi.org/pubapi_v2.php?ge ... ouchpotato, data: []
08-23 12:16:58 INFO [hpotato.core.plugins.base] Opening url: get https://thepiratebay.mn/search/%22Aveng ... 22/0/7/207, data: []
08-23 12:16:59 INFO [hpotato.core.plugins.base] Opening url: get https://torrentz.eu/feed_verified?q=%22 ... %20%3E%204, data: []

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby clinton.hall » 23 Aug 2015 12:54

please enable debug logging, restart, try again and see if the logs include any additional data...

adrhc
Junior Member
Posts: 16
Joined: 09 Aug 2015 21:16
Status: Offline

Re: Getting a 3rd party provider to work?

Postby adrhc » 23 Aug 2015 16:38

https://filelist.ro/browse.php?search=% ... 015&cat=19 finds this torrent: Avengers.Age.of.Ultron.2015.1080p.WEB-DL.DD5.1.H.264.RoSubbed-AmazonHD.

So what this means: looking for BR-Disk, found ['brrip'] ?

PS: my quality preference is BR-Disk, 1080p, 720p (al with finish option set)
PS: ignore words list: TeleCine,DVDRip,DVD-Rip,BDSCR,DVD-SCR,DVDSCR,DVDSCREENER,PPVRip,PDVD,CAMRip,VODRip,WEBCap,WEB-Cap,WEBRIP,WEB-RIP,HDCAM,HD-CAM,TELESYNC,HDTS,TS,HDTS2DVD

08-23 17:27:35 INFO [hpotato.core.plugins.base] Opening url: get https://filelist.ro/browse.php?search=% ... 015&cat=19, data: []
08-23 17:27:35 DEBUG [hpotato.core.plugins.base] Setting cache 59f4fb345d073c9394e0ba8aa5420880
08-23 17:27:39 INFO [core.media._base.searcher] Wrong: 'avengers age of ultron 2015 720p webrip x264 ifail' contains 'ignored words'
08-23 17:27:41 DEBUG [hpotato.core.plugins.base] Getting cache [u'AvengersAgeofUltron20151080pWEB-DLDD51H264RoS']
08-23 17:27:41 INFO [core.media.movie.searcher] Wrong: Avengers.Age.of.Ultron.2015.1080p.WEB-DL.DD5.1.H.264.RoS..., looking for BR-Disk, found ['brrip']

adrhc
Junior Member
Posts: 16
Joined: 09 Aug 2015 21:16
Status: Offline

Re: Getting a 3rd party provider to work?

Postby adrhc » 23 Aug 2015 17:37

Why if founding 1080p and 720p (besides brrip) versions it says Wrong ... looking for 1080p, found ['brrip'] ?

08-23 18:14:14 DEBUG [tato.core.plugins.quality] Found 1080p via identifier 1080p in Avengers.Age.of.Ultron.2015.1080p.WEB-DL.DD5.1.H.264.RoS...
08-23 18:14:15 DEBUG [tato.core.plugins.quality] Found brrip via tags ['webdl', ('web', 'dl')] in Avengers.Age.of.Ultron.2015.1080p.WEB-DL.DD5.1.H.264.RoS...
08-23 18:14:15 DEBUG [tato.core.plugins.quality] Found 1080p via release size: 4000.0 MB < 9973.76 MB < 20000.0 MB
08-23 18:14:15 DEBUG [tato.core.plugins.quality] Found 720p via release size: 3000.0 MB < 9973.76 MB < 10000.0 MB
08-23 18:14:15 DEBUG [tato.core.plugins.quality] Found dvdr via release size: 3000.0 MB < 9973.76 MB < 10000.0 MB
08-23 18:14:15 DEBUG [hpotato.core.plugins.base] Setting cache [u'AvengersAgeofUltron20151080pWEB-DLDD51H264RoS']
08-23 18:14:16 INFO [core.media.movie.searcher] Wrong: Avengers.Age.of.Ultron.2015.1080p.WEB-DL.DD5.1.H.264.RoS..., looking for 1080p, found ['brrip']
08-23 18:14:16 INFO [hpotato.core.plugins.base] Opening url: get https://filelist.ro/browse.php?search=% ... 015&cat=19, data: []
08-23 18:14:18 DEBUG [hpotato.core.plugins.base] Setting cache 59f4fb345d073c9394e0ba8aa5420880
08-23 18:14:38 INFO [core.media._base.searcher] Wrong: 'avengers age of ultron 2015 720p webrip x264 ifail' contains 'ignored words'
08-23 18:14:53 DEBUG [hpotato.core.plugins.base] Getting cache [u'AvengersAgeofUltron20151080pWEB-DLDD51H264RoS']
08-23 18:14:53 INFO [core.media.movie.searcher] Wrong: Avengers.Age.of.Ultron.2015.1080p.WEB-DL.DD5.1.H.264.RoS..., looking for 1080p, found ['brrip']

adrhc
Junior Member
Posts: 16
Joined: 09 Aug 2015 21:16
Status: Offline

Re: Getting a 3rd party provider to work?

Postby adrhc » 23 Aug 2015 21:13

After modifying couchpotato_data/custom_plugins/filelist/__init__.py:
cat_ids = [
([25], ['3d']),
([19], ['720p', '1080p', 'brrip', 'dvdr']),
([3], ['dvdr']),
([1], ['dvdrip', 'scr', 'r5', 'tc', 'ts', 'cam']), -> from this line I removed 'brrip'
]
cat_backup_id = 19
now I get this:

08-23 22:01:57 INFO [core.media.movie.searcher] Search for Avengers: Age of Ultron in BR-Rip ignoring ETA
08-23 22:01:57 DEBUG [hpotato.core.plugins.base] Getting cache 7e2c166d7c9b3869909b082d3cacf7d8
08-23 22:01:57 INFO [hpotato.core.plugins.base] Opening url: get https://www.torrentbytes.net/browse.php ... 015&cat=19, data: []
08-23 22:01:58 DEBUG [hpotato.core.plugins.base] Setting cache 1a905ba7ed2f017de396da5de1ba4530
08-23 22:02:05 DEBUG [hpotato.core.plugins.base] Getting cache 1a905ba7ed2f017de396da5de1ba4530
08-23 22:02:07 DEBUG [hpotato.core.plugins.base] Getting cache [u'AvengersAgeofUltron20151080pWEB-DLDD51H264RoS']
08-23 22:02:07 DEBUG [hpotato.core.plugins.base] Getting cache [u'AvengersAgeofUltron20151080pWEB-DLDD51H264RoS']
08-23 22:02:07 INFO [core.media.movie.searcher] Wrong: "Avengers.Age.of.Ultron.2015.1080p.WEB-DL.DD5.1.H.264.RoS..." is too large to be BR-Rip. 9973.76MB instead of the maximum of 7000MB.
08-23 22:02:07 DEBUG [hpotato.core.plugins.base] Getting cache 59f4fb345d073c9394e0ba8aa5420880
08-23 22:02:16 DEBUG [hpotato.core.plugins.base] Getting cache [u'AvengersAgeofUltron20151080pWEB-DLDD51H264RoS']
08-23 22:02:16 DEBUG [hpotato.core.plugins.base] Getting cache [u'AvengersAgeofUltron20151080pWEB-DLDD51H264RoS']
08-23 22:02:16 INFO [core.media.movie.searcher] Wrong: "Avengers.Age.of.Ultron.2015.1080p.WEB-DL.DD5.1.H.264.RoS..." is too large to be BR-Rip. 9973.76MB instead of the maximum of 7000MB.
08-23 22:02:16 DEBUG [core.media.movie.searcher] Nothing found for Avengers: Age of Ultron in BR-Rip

Then modifying "Edit the minimal and maximum sizes (in MB) for each quality" for BR-Rip to be: 700 - 10000 solves the problem.

adrhc
Junior Member
Posts: 16
Joined: 09 Aug 2015 21:16
Status: Offline

Re: Getting a 3rd party provider to work?

Postby adrhc » 23 Aug 2015 21:22

Anyway what really I can't understand is why "Avengers.Age.of.Ultron.2015.1080p.WEB-DL.DD5.1.H.264.RoS..." is considered a brrip but not an 1080p ?

08-23 22:18:04 DEBUG [tato.core.plugins.quality] Found 1080p via identifier 1080p in Avengers.Age.of.Ultron.2015.1080p.WEB-DL.DD5.1.H.264.RoS...
08-23 22:18:04 DEBUG [tato.core.plugins.quality] Found brrip via tags ['webdl', ('web', 'dl')] in Avengers.Age.of.Ultron.2015.1080p.WEB-DL.DD5.1.H.264.RoS...
08-23 22:18:04 DEBUG [tato.core.plugins.quality] Found 1080p via release size: 4000.0 MB < 9973.76 MB < 20000.0 MB
08-23 22:18:04 DEBUG [tato.core.plugins.quality] Found 720p via release size: 3000.0 MB < 9973.76 MB < 10000.0 MB
08-23 22:18:04 DEBUG [tato.core.plugins.quality] Found brrip via release size: 700.0 MB < 9973.76 MB < 15000.0 MB
08-23 22:18:04 DEBUG [tato.core.plugins.quality] Found dvdr via release size: 3000.0 MB < 9973.76 MB < 10000.0 MB
08-23 22:18:04 DEBUG [hpotato.core.plugins.base] Setting cache [u'AvengersAgeofUltron20151080pWEB-DLDD51H264RoS']
08-23 22:18:04 INFO [core.media.movie.searcher] Wrong: Avengers.Age.of.Ultron.2015.1080p.WEB-DL.DD5.1.H.264.RoS..., looking for 1080p, found ['brrip']


Return to “External Tools”