haijeploeg / excludarr

Excludarr manages your libraries in Radarr/Sonarr. It keeps track of your library and checks if your movies and series are also available on a configured streaming provider. It can exclude the movies and series that are available on a configured streaming provider. But it can also re-add movies and series if they are not streaming anymore.
MIT License
206 stars 13 forks source link

Only show streaming providers using the providers list command #33

Open ehwhattaugonnado opened 2 years ago

ehwhattaugonnado commented 2 years ago

Some shows are available for purchase on Amazon Prime Video but not included with the Prime Membership. If I have to purchase a show from Amazon I want to use Sonarr for it but if it's already included with Prime I do not. Examples: The Office #73244 Reading Rainbow #77547 Mr Roger's Neighborhood #77750 (Season 7 is available with Prime but no others) Arthur #74678 (Season 10 is available with Primew but no others)

Preferred behavior would be to flag purchasable shows as unavailable and included shows as available Another option is to simply add purchasable show to the exclude list manually.

haijeploeg commented 2 years ago

Hi,

Great question/feature request! I have checked this, but this concept already works with Excludarr versions 1 and higher. Amazon Prime Video is a streaming service listed in JustWatch (flatrate). However for movies and series you can buy, those are listed under the Amazon provider, which has the category buy in JustWatch.

Excludarr only filters on flatrate providers, so only movies and series that are really streaming on a provider are going to be excluded. I have checked this with all the series you listed in your issue with the en_US locale, this is the outcome:

Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
              ╷                             ╷                ╷         ╷                                                                                ╷                    ╷       ╷             
 Release Year │ Title                       │ Used Diskspace │ Seasons │ Episodes                                                                       │ Providers          │ Ended │ Full delete 
╶─────────────┼─────────────────────────────┼────────────────┼─────────┼────────────────────────────────────────────────────────────────────────────────┼────────────────────┼───────┼────────────╴
 1996         │ Arthur                      │ 0.00GB         │         │ S10E01, S10E02, S10E03, S10E04, S10E05, S10E06, S10E07, S10E08, S10E09, S10E10 │ Amazon Prime Video │ Yes   │ No          
 1983         │ Reading Rainbow             │ 0.00GB         │         │ S01E01, S01E02, S01E03, S01E04, S02E01, S02E02, S02E03, S02E04                 │ Amazon Prime Video │ Yes   │ No          
 1968         │ Mister Rogers' Neighborhood │ 0.00GB         │         │ S07E01, S07E02, S07E03, S07E04, S07E05, S07E06, S07E07, S07E08, S07E09, S07E10 │ Amazon Prime Video │ Yes   │ No          
╶─────────────┼─────────────────────────────┼────────────────┼─────────┼────────────────────────────────────────────────────────────────────────────────┼────────────────────┼───────┼────────────╴
              │        Total Used Diskspace │ 0.00GB         │         │                                                                                │                    │       │             
              ╵                             ╵                ╵         ╵                                                                                ╵                    ╵       ╵             
Are you sure you want to change the listed series to not-monitored? [y/n] (n):

The only thing I am realizing now is that the excludarr providers list commands also shows providers like Amazon which is a provider you need to buy from. When in the code I am filtering on flatrate (streaming providers only).

I am going to change that in version 1.1.0.

LanceSandino commented 1 year ago

Hi. I'm running into this problem currently.

Locale en_US

Example:

Release Date │ Title                                                          │ Used Diskspace │ Streaming Providers
╶─────────────┼────────────────────────────────────────────────────────────────┼────────────────┼─────────────────────────────────────────╴
 2019-10-24   │ 21 Bridges                                                     │ 2.97GB         │ Amazon Prime Video
 2021-10-01   │ The Addams Family 2                                            │ 4.94GB         │ Amazon Prime Video
 2019-10-10   │ The Addams Family                                              │ 3.39GB         │ Amazon Prime Video
 2017-09-14   │ American Assassin                                              │ 4.37GB         │ Amazon Prime Video
 2017-08-18   │ American Made                                                  │ 6.56GB         │ Netflix, Amazon Prime Video
 2017-07-26   │ Atomic Blonde                                                  │ 6.02GB         │ Amazon Prime Video
 2017-06-28   │ Baby Driver                                                    │ 2.18GB         │ Amazon Prime Video
 2017-10-04   │ Blade Runner 2049                                              │ 5.65GB         │ Amazon Prime Video
 2018-08-01   │ The Children Act                                               │ 3.27GB         │ Amazon Prime Video
 2018-11-21   │ Creed II                                                       │ 5.46GB         │ Amazon Prime Video
 2020-11-25   │ The Croods: A New Age                                          │ 4.07GB         │ Amazon Prime Video

image