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
204 stars 12 forks source link

Add error checking for non numeric TMDB ids #46

Closed Tailslide closed 2 years ago

Tailslide commented 2 years ago

Fixes #44 so that program does not abort when ID's returned from TMDB have 'tt' on the start. Example output:

BAD TMDB IDS: ['tt11388406']
BAD TMDB IDS: ['tt11388406']

              ╷                       ╷                ╷                        
 Release Date │ Title                 │ Used Diskspace │ Streaming Providers    
╶─────────────┼───────────────────────┼────────────────┼───────────────────────╴
 2022-01-05   │ Test Movie            │ 0.00GB         │ Netflix  
Tailslide commented 2 years ago

Ok I pasted in this change thanks for taking the time to look at this.

haijeploeg commented 2 years ago

Cool! I will create a release for it today :)