plex_debrid icon indicating copy to clipboard operation
plex_debrid copied to clipboard

MANY duplicates generated in real-debrid torrents account

Open pzinser opened this issue 2 years ago • 24 comments

I've been using itsToggle for a while and I am increasingly finding the number of torrents populating my real debrid account to be expanding exponentially into pages and pages of them.. Every time I run the script, it seems I get more and more torrents added to real debrid = MANY, MANY duplicates. This was still happening to a lesser degree when I ONLY had PLEX entries in the script. Since ADDITIONALLY adding Trakt entries to the script, the problem has "taken off".

This is what I'm currently using: Content Service - I have both Trakt AND Plex activated

Library Services - Plex Libraries only

Scraper Settings - using Jackett (20 indexers) with Currently defined versions: [1080p SDR], [2160]

Debrid Services - Real Debrid only

I doubt this is the way things are supposed to behave (or is it??). So, I'm strongly suspicious I have not set up things "correctly".

Any advice, suggestions, etc. would be most appreciated.

Thanks you very much.

Phil

pzinser avatar Aug 03 '23 17:08 pzinser

I'm seeing the same issue. Several duplicated downloads being added to RD.

SergeantPanda avatar Aug 10 '23 14:08 SergeantPanda

same

Ryu2O77 avatar Aug 10 '23 20:08 Ryu2O77

are you talking about a 1080p and a 2160p "duplicate"? If so, that's the intended behaviour. You have defined two versions, meaning you will download everything both in 1080p and 2160p. To only download the highest resolution, only define one version.

itsToggle avatar Aug 10 '23 21:08 itsToggle

No, that is not what is happening. MULTIPLE copies in Real Debrid of the exact same 1080 torrent.

On Thu, Aug 10, 2023 at 3:15 PM itsToggle @.***> wrote:

are you talking about a 1080p and a 2160p "duplicate"? If so, that's the intended behaviour. You have defined two versions, meaning you will download everything both in 1080p and 2160p. To only download the highest resolution, only define one version.

— Reply to this email directly, view it on GitHub https://github.com/itsToggle/plex_debrid/issues/519#issuecomment-1673929554, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3X5IGW64MMCWBF2MQOHQQLXUVFNLANCNFSM6AAAAAA3DCU4OQ . You are receiving this because you authored the thread.Message ID: @.***>

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free.www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

pzinser avatar Aug 11 '23 00:08 pzinser

That would suggest that plex_debrid doesn't know that you have those episodes already. This could be because:

  • Plex has matched these as a different show
  • Plex has not matched the media at all

itsToggle avatar Aug 11 '23 06:08 itsToggle

Here is an example of what is happening to me:

I have a show added in my watchlist for Plex, it went out and got all of the episodes for me. One of the packs was Season 1-5 MP4. Plex does see all the episodes for season 1-5 but it still had added the EXACT release to RD multiples times and I've had to go in and clean it up manually.

It could be like you're saying with the qualities messing it up, I did originally start with the default quality of 1080P and later changed the default to 4k, but it still shouldn't be grabbing the exact same release that has the same quality and episodes in it should it?

What I have now (and I wanted) is two qualities of the show, one 1080P and one 4k.

I could see that MAYBE (I haven't checked) I don't have all of the episodes in seasons 1-5 for 4k and it is confusing the script but the release in question is clearly marked as 1080P.

Hopefully that makes some sense.

Thanks for responding!

SergeantPanda avatar Aug 11 '23 13:08 SergeantPanda

I have the same problem and I think its because when the library is refreshing, its downloading a lot a dead link. I experience this since two weeks.

Often when it’s redownloading, they don’t redownload all the files and it’s missing some episodes. IMG_2078 IMG_2077

bob1321 avatar Aug 18 '23 03:08 bob1321

I have the same problem and I think its because when the library is refreshing, its downloading a lot a dead link. I experience this since two weeks.

Often when it’s redownloading, they don’t redownload all the files and it’s missing some episodes. IMG_2078 IMG_2077

I'm beginning to think this is the case as well.

SergeantPanda avatar Aug 18 '23 13:08 SergeantPanda

This been like this for ages. I use to use a cleaner online that would group all duplicates.

KINGLIFER avatar Oct 11 '23 12:10 KINGLIFER

I'm experiencing same issue, it's downloading some torrents, over and over, by the end of the day i'll have 40-50 duplicates of the same torrent. It's causing plex to constantly scan media and it's a RD mess that i have to manually clean up using some debrid manager...

tourshi avatar Feb 16 '24 15:02 tourshi

Yeah this happens me too .. adding content that already exists in plex twice

skearney414 avatar Feb 24 '24 23:02 skearney414

Has anyone found a solution or some clues on why this is happening?

Would a simple check before download make sure a duplicate doesn't exist?

jmiller0 avatar Apr 19 '24 01:04 jmiller0

Yeah i have, are you using docker?

skearney414 avatar Apr 19 '24 08:04 skearney414

Yeah i have, are you using docker?

Yes. I have the same issue and using docker

please share your solution

ashipaek0 avatar Apr 20 '24 13:04 ashipaek0

Try this image skearney414/plex_debrid

On Sat 20 Apr 2024 at 14:39, ashipaek0 @.***> wrote:

Yeah i have, are you using docker?

Yes. I have the same issue and using docker

please share your solution

— Reply to this email directly, view it on GitHub https://github.com/itsToggle/plex_debrid/issues/519#issuecomment-2067677478, or unsubscribe https://github.com/notifications/unsubscribe-auth/APNUDNTPUBEVATPRROVXXOLY6JVYVAVCNFSM6AAAAAA3DCU4OSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXGY3TONBXHA . You are receiving this because you commented.Message ID: @.***>

skearney414 avatar Apr 20 '24 13:04 skearney414

Let me know if it works for you and I'll keep it published

skearney414 avatar Apr 21 '24 16:04 skearney414

Let me know if it works for you and I'll keep it published

thanks.

seems to be better than before. please keep it published

ashipaek0 avatar Apr 21 '24 19:04 ashipaek0

@skearney414 I'm using your image now and I still get duplicates. Duplicates meaning the exact same torrent name in real debrid, not plex duplicates.

jmiller0 avatar Apr 22 '24 15:04 jmiller0

Your plex db url must be incorrect or unreachable. One time this happened me I had it pointing to another plex server by accident which resulted in the torrents being downloaded every time. When plex debris starts it gets your library from the plex url and only downloads what’s missing.

On Mon 22 Apr 2024 at 16:38, jmiller0 @.***> wrote:

@skearney414 https://github.com/skearney414 I'm using your image now and I still get duplicates. Duplicates meaning the exact same torrent name in real debrid, not plex duplicates.

— Reply to this email directly, view it on GitHub https://github.com/itsToggle/plex_debrid/issues/519#issuecomment-2069932839, or unsubscribe https://github.com/notifications/unsubscribe-auth/APNUDNXAP4UKICYR5WTNN2DY6UVHHAVCNFSM6AAAAAA3DCU4OSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZHEZTEOBTHE . You are receiving this because you were mentioned.Message ID: @.***>

skearney414 avatar Apr 22 '24 15:04 skearney414

Hmnnn.

What if I use Jellyfin instead of Plex?

ashipaek0 avatar Apr 22 '24 16:04 ashipaek0

No, plex db is fine and reachable, this would easily be caught in the plex_debrid logs. I should state not every torrent is dupped, just some. And the reason is mostly because plex isn't matching correctly. I don't have any unmatched in movies/.

I use zurg as my mount and it mis-categorizes a show as movie or vice versa, or it simply matches to the wrong movie.

Either way, the api should never try and add the exact same torrent id, we should just print a big error and try to find the match issue.

jmiller0 avatar Apr 22 '24 16:04 jmiller0

I use zurg too and don’t get this, are you using custom categories ? And which version of zurg ?

On Mon 22 Apr 2024 at 17:30, jmiller0 @.***> wrote:

No, plex db is fine and reachable, this would easily be caught in the plex_debrid logs. I should state not every torrent is dupped, just some. And the reason is mostly because plex isn't matching correctly. I don't have any unmatched in movies/.

I use zurg as my mount and it mis-categorizes a show as movie or vice versa, or it simply matches to the wrong movie.

Either way, the api should never try and add the exact same torrent id, we should just print a big error and try to find the match issue.

— Reply to this email directly, view it on GitHub https://github.com/itsToggle/plex_debrid/issues/519#issuecomment-2070134123, or unsubscribe https://github.com/notifications/unsubscribe-auth/APNUDNTIY7JVQHM25ZJFD43Y6U3JBAVCNFSM6AAAAAA3DCU4OSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQGEZTIMJSGM . You are receiving this because you were mentioned.Message ID: @.***>

skearney414 avatar Apr 22 '24 19:04 skearney414

I'm using iampuid0/pd_zurg:latest, config is below which is mostly stock. I removed anime.

Are you on the Discord? Maybe I can create a trakt watchlist of movies that are failing and you can try to reproduce?

` zurg: v1 token: XXX host: "[::]" port: 9999 check_for_changes_every_secs: 5 enable_repair: true auto_delete_rar_torrents: true on_library_update: sh plex_update.sh "$@"

directories:

shows: group_order: 20 group: media filters: - has_episodes: true

movies: group_order: 30 group: media only_show_the_biggest_file: true filters: - regex: /.*/ `

jmiller0 avatar Apr 22 '24 20:04 jmiller0

Do you have plex debrid disabled in pd_zurg? Yeah hzzer._28540 On Mon 22 Apr 2024 at 21:07, jmiller0 @.***> wrote:

I'm using iampuid0/pd_zurg:latest, config is below which is mostly stock. I removed anime.

Are you on the Discord? Maybe I can create a trakt watchlist of movies that are failing and you can try to reproduce?

` zurg: v1 token: XXX host: "[::]" port: 9999 check_for_changes_every_secs: 5 enable_repair: true auto_delete_rar_torrents: true on_library_update: sh plex_update.sh "$@"

directories:

shows: group_order: 20 group: media filters:

  • has_episodes: true

movies: group_order: 30 group: media only_show_the_biggest_file: true filters:

  • regex: /.*/ `

— Reply to this email directly, view it on GitHub https://github.com/itsToggle/plex_debrid/issues/519#issuecomment-2070862840, or unsubscribe https://github.com/notifications/unsubscribe-auth/APNUDNVZSMJXBWEEL4Q7ID3Y6VUYRAVCNFSM6AAAAAA3DCU4OSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQHA3DEOBUGA . You are receiving this because you were mentioned.Message ID: @.***>

skearney414 avatar Apr 22 '24 22:04 skearney414